linker invocation by libtool is broken in upstream makefile, i think. chmlib-0.32 and later are fine (these are using autoconf) Reproducible: Always Steps to Reproduce: 1. emerge chmlib 2. 3. Actual Results: [...] >>> Unpacking source... >>> Unpacking chmlib-0.31.tgz to /var/tmp/portage/chmlib-0.31/work >>> Source unpacked. libtool gcc -c -o chm_lib.lo chm_lib.c -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE libtool gcc -c -o lzx.lo lzx.c -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. mkdir .libs gcc -c lzx.c -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE -fPIC -DPIC -o .libs/lzx.o gcc -c chm_lib.c -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE -fPIC -DPIC -o .libs/chm_lib.o gcc -c lzx.c -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE -o lzx.o >/dev/null 2>&1 gcc -c chm_lib.c -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE -o chm_lib.o >/dev/null 2>&1 libtool gcc -o libchm.la chm_lib.lo lzx.lo -lpthread -rpath //var/tmp/portage/chmlib-0.31/image//usr//lib *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/crtbeginS.o .libs/chm_lib.o .libs/lzx.o -lpthread -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../crtn.o -Wl,-soname -Wl,libchm.so.0 -o .libs/libchm.so.0.0.0 i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../crti.o: No such file or directory i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/crtbeginS.o: No such file or directory i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/crtendS.o: No such file or directory i686-pc-linux-gnu-g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../crtn.o: No such file or directory make: *** [libchm.la] Error 1 !!! ERROR: app-doc/chmlib-0.31 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: build and emerge chmlib Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 AMD Sempron(tm) 2800+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 4 2005, 17:05:05)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="pl_PL.ISO-8859-2" LC_ALL="pl_PL.ISO-8859-2" LINGUAS="pl en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync2.pl.gentoo.org/gentoo-portage" USE="3dnow X acl alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzlib cdb cdr crypt cscope encode fortran gdbm geoip gif gnome gpm gtk gtk2 imagemagick imlib ipv6 java jpeg ldap libg++ libwww mad mbox mikmod motif mp3 mpeg mysql ncurses nls opengl oss pam pcre pdflib perl png postgres python qt quicktime readline ruby samba sdl slang spell sqlite sse ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts video_cards_radeon x86 xml2 xv zlib linguas_pl linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Run fix_libtool_files.sh 3.3.5 *** This bug has been marked as a duplicate of 84324 ***