Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176126 - media-libs/mlt++ links with old libs when rebuilding
Summary: media-libs/mlt++ links with old libs when rebuilding
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 14:12 UTC by Alex
Modified: 2007-04-26 21:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2007-04-26 14:12:08 UTC
Emerging media-libs/mlt++ gives an error: undefined reference to `Mlt::Properties::listen(char*, void*, void (*)(void*, ...))'




Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge mlt++

Actual Results:  
Error Message:
----------------
c++  -o server server.o -L/usr/lib -lmlt -L/usr/lib -lmiracle -L../src -lmlt++ -lmiracle -lvalerie `mlt-config --libs`
server.o: In function `Custom::execute(char*)':
/var/tmp/portage/media-libs/mlt++-20060601/work/mlt++-20060601/test/server.cpp:84: undefined reference to `Mlt::Properties::listen(char*, void*, void (*)(void*, ...))'
collect2: ld returned 1 exit status
make[1]: *** [server] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mlt++-20060601/work/mlt++-20060601/test'
make: *** [all] Error 2

!!! ERROR: media-libs/mlt++-20060601 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3103:   Called src_compile
  mlt++-20060601.ebuild, line 27:   Called die
----------------


Expected Results:  
Should emerge mlt++

emerge --info
---------------
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r5 i686)
=================================================================
System uname: 2.6.20-gentoo-r5 i686 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 26 Apr 2007 12:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /local/www/conf /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi akode alsa apm arts artswrappersuid asf audiofile avi bash-completion berkdb bitmap-fonts blas bluetooth browserplugin bzip2 bzlib cairo calendar cdda cddb cdf cdio cdparanoia cdr clanJavaScript clanVoice cle266 cli cracklib crypt cscope css cups curl dbus de divx4linux dri dts dv dvd dvdnav dvdr dvdread eds emboss encode ethereal exif fam fame fbcon ffmpeg fftw firefox flac foomaticdb fortran fpx freetds freetype gcj gd gdbm geoip gif gimp gimpprint glitz glut gnokii gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal hdf5 howl iconv idea idn ilbc imagemagick imap imlib innodb ipv6 irmc isdnlog java javascript jbig jikes joystick jpeg jpeg2k kde kdeenablefinal kipi lame lapack latex lcms libclamav libg++ libwww live lm_sensors lzo lzw-tiff mad maildir matroska midi mikmod mjpeg mmap mmx mng mozcalendar mozilla mozsvg mp2 mp3 mp4 mpeg mplayer musepack musicbrainz nas ncurses network nfs nls nocd nptl nptlonly nsplugin nvidia ogg oggvorbis openexr opengl oss pam pcre pda pdf pdflib perl php plotutils png pnp povray ppds pppd pvm python qt qt3 qt4 qtmt quicktime rdesktop readline real reflection rtc rtsp samba sametime scanner sdl session shout skins slp sms sndfile snmp soundtouch speex spell spl sql sqlite srt sse sse2 ssl stream subversion svg svga tcltk tcpd tetex tga theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb utempter v4l v4l2 vcd vidix visualization vlm vorbis wavpack wifi win32codecs wmf wxwindows x264 x86 xanim xattr xcomposite xine xinerama xinetd xml xml2 xorg xosd xprint xv xvid xvmc yaz yv12 zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="joystick keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
---------------
Comment 1 Alexis Ballier gentoo-dev 2007-04-26 16:08:48 UTC
hmmm weird, cannot reproduce it here, did you have any mlt++ version installed before ?
Comment 2 Alex 2007-04-26 16:46:12 UTC
Yes, I already have mlt++ installed. I want to reinstall it because kdenlive does not compile (can't remember the kdenlive error message exactly, but it seems to be an mlt issue).

emerge -pv mlt mlt++
--------------------
Calculating dependencies... done!
[ebuild   R   ] media-libs/mlt-0.2.2  USE="dv gtk lame mmx ogg quicktime sdl theora vorbis xine xml -jack -sox" 0 kB
[ebuild   R   ] media-libs/mlt++-20060601  0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
--------------------
Comment 3 Alexis Ballier gentoo-dev 2007-04-26 16:49:04 UTC
could you please try removing mlt++ and then remerging it ?
Comment 4 Alex 2007-04-26 17:03:16 UTC
Removing and reinstalling the package did work. Now even kdenlive compiles fine. Thank your for your help, Alexis.
Comment 5 Alexis Ballier gentoo-dev 2007-04-26 17:17:57 UTC
cool, but it's not fixed imho, that's because your installed libmlt++ was broken and it tried to relink against it since it found it in /usr/lib, which is not sane
Comment 6 Alexis Ballier gentoo-dev 2007-04-26 21:05:53 UTC
should be really fixed now, thanks for reporting !