Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77925 - apmd won't compile
Summary: apmd won't compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 91961 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-13 19:17 UTC by Jason Melton
Modified: 2006-02-19 14:18 UTC (History)
2 users (show)

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 Jason Melton 2005-01-13 19:17:25 UTC
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"
Comment 1 Jason Melton 2005-01-13 19:28:38 UTC
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?
Comment 2 Jason Melton 2005-01-13 19:35:57 UTC
FYI..prior to emerge libtool which eventually fixed it, I tried to fix_libtool_files.sh 3.3.4 which did not work.
Comment 3 Omar Alhafidh 2005-01-16 14:02:52 UTC
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.
Comment 4 Henrik Brix Andersen 2005-01-16 14:44:31 UTC
Ok. So the problem lies in libtool. Reassigning.
Comment 5 SpanKY gentoo-dev 2005-01-16 14:47:32 UTC
run fix_libtool_files.sh
Comment 6 Jason Melton 2005-01-16 18:16:09 UTC
"FYI..prior to emerge libtool which eventually fixed it, I tried to fix_libtool_files.sh 3.3.4 which did not work."
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-05-09 00:44:44 UTC
*** Bug 91961 has been marked as a duplicate of this bug. ***
Comment 8 Steve Arnold archtester gentoo-dev 2006-02-19 09:29:33 UTC
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...
Comment 9 SpanKY gentoo-dev 2006-02-19 14:18:28 UTC
there's already other bugs open about it