I'm trying to emerge gnome & xscreensaver, i'm hitting a snag in compiling apmd-3.2.1_p4. Reproducible: Always Steps to Reproduce: 1.emerge apmd 2. 3. Actual Results: Compile failed Expected Results: The winning lottery numbers should have appeared on my screen. ;) No, really it should have compiled.. libtool --quiet --mode=compile gcc -c -O -g -Wall -pipe -I. - I/usr/src/linux/include -I/usr/src/linux-2.2/include -I /usr/src/linux- 2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib - version-info 1:0 apmsleep.c:60: warning: `rcsid' defined but not used i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux- gnu/3.3.4/../../../crti.o: No such file or directory i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o: No such file or directory i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o: No such file or directory i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux- gnu/3.3.4/../../../crtn.o: No such file or directory make: *** [libapm.la] Error 1 make: *** Waiting for unfinished jobs.... rm apm.o !!! ERROR: sys-apps/apmd-3.2.1_p4 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. gentoo ~ # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808- r1, 2.6.10-gentoo-r4 i686) ================================================================= System uname: 2.6.10-gentoo-r4 i686 AMD Duron(tm) processor Gentoo Base System version 1.6.8 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.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config / usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit 3dnow 3dnowext S3TC X X509 aac acl acpi activefilter aim amd ansi apache2 apm arts artworkextra audiofile authdaemond avantgo avi bash- completion bcmath bdf berkdb bidi bitmap-fonts blender-game bluetooth bzip2 bzlib cap cddb cdinstall cdparanoia cdrom cgi chroot cjk clanJavaScript clanVoice client code crypt cups encode esd f77 fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imap imlib ipv6 jpeg jython kadu-modules kadu-voice kakasi kde kerberos krb4 latex lcms leim libclamav libdsk libg++ libgd libgda libsamplerate libwww live lua lufsusermount lzo lzw lzw-tiff m17n- lib mad maildir matroska mbox mcal mdb memlimit migemo mikmod mime mixer mjpeg mls mmap mmx mng monkey motif mozcalendar mozdevelop mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses net netcdf network neural nis nls nowin nptl ntlm nviz oav objc ocaml offensive ofx oggvorbis openal opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pdf pdflib perl pg-hier pg- intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio posix postgresql povray ppds pri print procmail pthreads python qt quicktime quotas quotes readline real resperl rhino rogue rplay samba sasl sdl servlet-2.3 servlet-2.4 session sftplogging shared sharedmem silc simplexml skk slp smime sndfile snortsam sockets socks5 softquota sox spell spl ssl stencil-buffer stroke struts svg svga sysvipc szip t1lib tcpd tcsim tga theora tidy tiff transcode truetype truetype-fonts type1-fonts uim underscores unicode usb v4l v4l2 vcd vda videos virus-scan wddx winbind wmf wxwindows x86 xanim xatrix xchatdccserver xchattext xemacs xface xgetdefault xine xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi"
Did a re-emerge of libtool and it took... That is probably the 3rd time in 2 days that I have had to emerge libtool again. Will there be a fix for it?
FYI..prior to emerge libtool which eventually fixed it, I tried to fix_libtool_files.sh 3.3.4 which did not work.
Had this same issue when emerging gnome & xscreensaver also but in the libjpg code I believe. I followed Jason's advice with emerging libtool again and that fixed it.
Ok. So the problem lies in libtool. Reassigning.
run fix_libtool_files.sh
"FYI..prior to emerge libtool which eventually fixed it, I tried to fix_libtool_files.sh 3.3.4 which did not work."
*** Bug 91961 has been marked as a duplicate of this bug. ***
This just happened again with apmd on a fresh modular X/Gnome install (and no, running fix_libtool_files.sh still doesn't fix it). I noticed the huge number of duplicate bugs don't always involve apmd (maybe 10-20% are apmd) but this goofy libtool thing is obviously not fixed in all cases. Maybe every gcc upgrade should force a libtool rebuild, but it seems to me like it still deserves some attention...
there's already other bugs open about it