Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70946 - avifile-0.7.41.20041001 can't find Xrender-lib (there's no X installed on this system) while using gcc-3.4
Summary: avifile-0.7.41.20041001 can't find Xrender-lib (there's no X installed on thi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-12 03:37 UTC by Holly
Modified: 2004-12-08 20:52 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 Holly 2004-11-12 03:37:14 UTC
while trying to emerge avifile, i get the following error:

make[2]: Entering directory `/tmp/portage/avifile-0.7.41.20041001/work/avifile-0.7-0.7.41/lib'
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include     -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\"  -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -mtune=athlon-tbird -O2 -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c codeckeeper.cpp
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include     -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\"  -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -mtune=athlon-tbird -O2 -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c Uncompressed.cpp
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -mtune=athlon-tbird -O2 -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c Uncompressed.cpp  -fPIC -DPIC -o .libs/Uncompressed.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -mtune=athlon-tbird -O2 -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c codeckeeper.cpp  -fPIC -DPIC -o .libs/codeckeeper.o
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -finline-limit-200 -mtune=athlon-tbird -O2 -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe  -o libaviplay.la -rpath /usr/lib -release 0.7 -version-info 0:41:0 codeckeeper.lo Uncompressed.lo aviplay/libaviplay.la  aviread/libaviread.la  aviwrite/libaviwrite.la  common/libcommon.la  subtitle/libsubtitle.la  video/libvideo.la -lpthread -lnsl -ldl
i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/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/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib /usr/lib/libSDL.so /usr/lib/libaa.so -lslang /usr/lib/libfreetype.so -lz -lXrender -lpthread -lnsl -ldl -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.3 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../.. /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../crtn.o  -mtune=athlon-tbird -Wl,-soname -Wl,libaviplay-0.7.so.0 -o .libs/libaviplay-0.7.so.0.0.41
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../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 `/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 `/tmp/portage/avifile-0.7.41.20041001/work/avifile-0.7-0.7.41/lib'
make: *** [all-recursive] Error 1

i have no xorg-x11 or xfree installed on this system. i changed my useflags recently, to contain more video-codec-specific flags, but i also did an "emerge -uv --newuse world", to fix stuff that was already installed. i marked the new useflags with a prepended asterisk in the emerge info output below.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mtune=athlon-tbird -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/fax /usr/share/config /var/qmail/alias /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=athlon-tbird -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow aalib acl acpi apache2 apm *avi berkdb bzlib crypt cups curl dba
dedicated dhcp *divx4linux *dvd *dvdread encode ethereal fam fastcgi foomaticdb
ftp gd gif icq imagemagick imap imlib ipv6 jpeg libwww lm_sensors *mad maildir
mailwrapper mime mmx *mpeg mysql ncurses network nls nocd nptl odbc *oggvorbis
pam pcre perl php png pnp ppds python qmail *quicktime readline rrdtool samba
session slang snmp soap sockets spamassassin spell ssl svg tcpd threads tidy
tiff truetype unicode usb vhosts wmf xml xml2 *xvid zlib"
Comment 1 Holly 2004-11-14 15:16:17 UTC
i just discovered, that it compiles well with gcc-3.3.4-r1. i also updated the summary, to emphasize, that this is most likely a gcc-3.4 related problem.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-11-15 01:01:50 UTC
Is it possible that you synced between both attempts and have 0.7.41.20041001-r1 installed now?
Comment 3 Holly 2004-11-15 02:17:46 UTC
Oh yes, I didn't notice that the version had changed. avifile-0.7.41.20041001-r1 works for me with gcc-3.4.3.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2004-11-16 00:51:32 UTC
Ok. Adding the fixes from -r1 to the stable version.
Comment 5 Gregg Casillo 2004-12-08 20:52:28 UTC
I would ask that -r1 be promoted to stable as I could not get avifile-0.7.41-20041001 to build because of the -lXrender bug. I am running stable (no keywords) on several boxes that do not run X. My emerge info for reference:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r8 i686)
=================================================================
System uname: 2.6.9-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /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="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi alsa apache2 apm audiofile avi bash-completion berkdb bzlib crypt divx4linux encode flac gdbm libg++ libwww mad mmx mpeg mssql ncurses nls nptl nptlonly oggvorbis pam perl python quicktime readline samba simplexml sndfile soap speex sse ssl tcpd theora x86 xml xml2 xmlrpc xvid zlib"