avifile-0.7.41.20041001 failed to compile with: ld: cannot find -lXrender Reproducible: Always Steps to Reproduce: 1.emerge -U avifile Actual Results: g++ -shared -nostdlib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o .libs/codeckeeper.o .libs/Uncompressed.o -Wl,--whole-archive aviplay/.libs/libaviplay.a aviread/.libs/libaviread.a aviwrite/.libs/libaviwrite.a common/.libs/libcommon.a subtitle/.libs/libsubtitle.a video/.libs/libvideo.a -Wl,--no-whole-archive -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib /usr/lib/libSDL.so /usr/lib/libasound.so -lvga /usr/lib/libfreetype.so -lz -lXrender -lpthread -lnsl -ldl -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../.. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o -march=pentium3 -Wl,-soname -Wl,libaviplay-0.7.so.0 -o .libs/libaviplay-0.7.so.0.0.41 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXrender collect2: ld returned 1 exit status make[2]: *** [libaviplay.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001/work/avifile-0.7-0.7.41/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001/work/avifile-0.7-0.7.41/lib' make: *** [all-recursive] Error 1 !!! ERROR: media-video/avifile-0.7.41.20041001 failed. !!! Function src_compile, Line 125, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: avifile should merge without error :-) I've already try to reemerge xorg-x11 -> no changes in behavior video root # emerge info Portage 2.0.51-r2 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://kamikaze/gentoo-portage" USE="acpi alsa apm avi berkdb bitmap-fonts crypt dvb dvd encode f77 gdbm gif imlib jpeg libg++ libwww lirc mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd truetype wmf x86 xml2 xmms xprint xv zlib"
Please try using revdep-rebuild
I have tryed: revdep-rebuild (transcode has been reemerged) revdep-rebuild -X avifile (Dynamic linking on your system is consistent... All done.) revdep-rebuild --soname Xrender (There are no dynamic links to Xrender... All done.) avifile has the same behavior :-( any ideas?
I'll emerge xorg-x11 and give it a try. Let's hope I run into the same trouble :-)
Sorry, I can't reproduce this problem. What's the output of ldconfig -p | grep Xrender on your system?
video root # ldconfig -p | grep Xrender libXrender.so.1 (libc6) => /usr/X11R6/lib/libXrender.so.1 libXrender.so (libc6) => /usr/X11R6/lib/libXrender.so video root # cat /etc/ld.so.conf # ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /usr/local/lib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 /usr/lib/opengl/xorg-x11/lib /usr/X11R6/lib64 /usr/X11R6/lib video root # ll /usr/X11R6/lib/libXrender* -rw-r--r-- 1 root root 38776 Oct 25 01:54 /usr/X11R6/lib/libXrender.a lrwxrwxrwx 1 root root 19 Oct 25 01:54 /usr/X11R6/lib/libXrender.so -> libXrender.so.1.2.2 lrwxrwxrwx 1 root root 19 Oct 25 01:54 /usr/X11R6/lib/libXrender.so.1 -> libXrender.so.1.2.2 -rwxr-xr-x 1 root root 35514 Oct 25 01:54 /usr/X11R6/lib/libXrender.so.1.2.2
i had to remove hard coded dependancies on Xrender in files lib/video/.libs/libvideo.la lib/video/Makefile.in lib/video/Makefile.am in order to build the avifile-0.7.41.20041001.ebuild. (yes, no X here) should not this depend on X use flag?
fixing in -r1