Looks like currently I cannot compile any version of lighttpd except the latest and the oldest. The error I get for other version if the following: checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for correct ltmain.sh version... no *** Gentoo sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.18, ltmain.sh = 1.5.8) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. It looks like ltmain.sh is used from the lighttpd package instead (1.5.8) of from the system (1.5.18) and that's why there is an mismatch. Copying over system ltmain.sh into package directory solves the problem. Reproducible: Always Steps to Reproduce: 1.emerge =lighttpd-1.3.16 2. 3. Expected Results: lighttpd should compile I could reproduce problem on x86 and ~amd64
You neglected to post emerge --info output as you were instructed to when filing the bug.
I don't think it might help, but I might be wrong... Here it is: First system: gringo@sun ~ $ emerge --info Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-reiser4 x86_64) ================================================================= System uname: 2.6.12-reiser4 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre6 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -fweb -frename-registers -ftracer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -mtune=athlon64 -fweb -frename-registers -ftracer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.nutsmaas.nl/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.1.2/gentoo-portage" USE="amd64 X a52 aac aalib accessibility acpi adns alsa apache2 apm audiofile avi bash-completion bcmath berkdb bidi bindist bitmap-fonts bmp bzlib cdparanoia cdr crypt cscope ctype cups curl curlwrappers dga diet dio directfb dv dvb dvd dvdr dvdread eds emul-linux-x86 encode evo exif expat fam fbcon ffmpeg fftw flac flatfile foomaticdb ftp gb gcj gd gdbm ggi gif ginac glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imlib ipv6 java javascript jikes jpeg lcms lesstif libcaca libedit libgda libwww lm_sensors lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal memlimit mhash mikmod mime mmap mng motif mozilla mp3 mpeg mpi msession ncurses nls nptl offensive ogg oggvorbis openal opengl osc oss pam pcntl pcre pda pdflib perl pic plotutils png portaudio posix ppds profile python quicktime readline recode scanner sdl session sharedmem shorten simplexml skey slang sndfile snmp sockets socks5 sox speex spell ssl svg sysvipc szip tcltk tcpd test theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd videos vorbis wifi wmf wxwindows xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yaz zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LINGUAS Second system: gringo@ftp ~ $ emerge --info Portage 2.0.51.22-r2 (hardened/x86/2.6, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-march=pentium3 -Os -pipe" DISTDIR="/var/tmp/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.nutsmaas.nl/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acpi adns alsa apache2 apm audiofile avi bash-completion bcmath berkdb bidi bindist bmp bzlib cdparanoia cpdflib crypt cscope ctype cups curl curlwrappers dio divx4linux dlloader dv dvb encode evo exif expat fam fbcon fdftk ffmpeg fftw flac flatfile foomaticdb ftp gb gd gdbm gif ginac glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hardened hardenedphp iconv imagemagick imlib ipv6 javascript jikes jpeg lcms lesstif libcaca libedit libgda libwww lm_sensors m17n-lib mad maildir matroska mbox mcal memlimit mhash mikmod mime mmap mmx mng mono motif mozilla mp3 mpeg mpi msession multilib ncurses nls nptl offensive ogg oggvorbis opengl osc pam pcntl pcre pda pdflib perl pic plotutils png portaudio posix ppds profile python readline recode scanner sdl session sharedmem shorten simplexml slang slp sndfile snmp sockets socks5 sox speex spell sqlite sse ssl svg sysvipc szip tcltk tcpd test theora threads tidy tiff truetype unicode usb userlocales vcd videos vorbis win32codecs wmf wxwindows x86 xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yaz zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
You forgot to reopen.
crap. It's because I removed the -i flag to autoreconf to fix bug 101299. It worked here without it so I figured it wasn't necessary. I've reverted the change and implemented an alternate (albeit uglier) solution for bug 101299.
Seems to work. Thanks.
Has been fixed for more than a year, closing.