... /bin/sh ../libtool --quiet --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include -I/usr/include -I/usr/include/libxml2 -I.. -O2 -march=nocona -pipe -ggdb -c ne_207.c -o ne_207.lo /bin/sh ../libtool --quiet --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include -I/usr/include -I/usr/include/libxml2 -I.. -O2 -march=nocona -pipe -ggdb -c ne_xml.c -o ne_xml.lo /bin/sh ../libtool --quiet --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include -I/usr/include -I/usr/include/libxml2 -I.. -O2 -march=nocona -pipe -ggdb -c ne_props.c -o ne_props.lo ne_xml.c: In function ‘start_element’: ne_xml.c:330: warning: passing argument 5 of ‘hand->startelm_cb’ discards qualifiers from pointer target type /bin/sh ../libtool --quiet --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include -I/usr/include -I/usr/include/libxml2 -I.. -O2 -march=nocona -pipe -ggdb -c ne_locks.c -o ne_locks.lo /bin/sh ../libtool --quiet --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include -I/usr/include -I/usr/include/libxml2 -I.. -O2 -march=nocona -pipe -ggdb -c ne_xmlreq.c -o ne_xmlreq.lo /bin/sh ../libtool --quiet --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include -I/usr/include -I/usr/include/libxml2 -I.. -O2 -march=nocona -pipe -ggdb -c ne_acl.c -o ne_acl.lo /bin/sh ../libtool --quiet --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include -I/usr/include -I/usr/include/libxml2 -I.. -O2 -march=nocona -pipe -ggdb -c ne_gnutls.c -o ne_gnutls.lo /bin/sh ../libtool --quiet --mode=link i686-pc-linux-gnu-gcc -no-undefined -Wl,-O1 -rpath /usr/lib -version-info 28:3:1 -export-symbols-regex '^ne_[^_]' -o libneon.la ne_request.lo ne_session.lo ne_basic.lo ne_string.lo ne_uri.lo ne_dates.lo ne_alloc.lo ne_md5.lo ne_utils.lo ne_socket.lo ne_auth.lo ne_redirect.lo ne_compress.lo ne_i18n.lo ne_pkcs11.lo ne_207.lo ne_xml.lo ne_props.lo ne_locks.lo ne_xmlreq.lo ne_acl.lo ne_gnutls.lo -lz -L/usr/lib -lgnutls -L/usr/lib -ltasn1 -lgcrypt -lgpg-error -lsocks -L/usr/lib -Wl,-rpath -Wl,/usr/lib -O2 -march=nocona -pipe -ggdb -Wl,-O1 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lxml2 -lz -lm grep: /usr/lib/libpam.la: No such file or directory /bin/sed: can't read /usr/lib/libpam.la: No such file or directory libtool: link: `/usr/lib/libpam.la' is not a valid libtool archive make[1]: *** [libneon.la] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/neon-0.28.3/work/neon-0.28.3/src' make: *** [subdirs] Error 2 * * ERROR: net-misc/neon-0.28.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2818: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-misc/neon-0.28.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/neon-0.28.3/temp/environment'. *
macbook overlay # emerge --info Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-6-686 i686) ================================================================= System uname: 2.6.18-6-686 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz Timestamp of tree: Sun, 14 Sep 2008 17:00:02 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alsa altenburgcards amarok amr amuled apm applet async asyncns atm automount avahi bash-completion berkdb bluetooth bonjour bookmarks branding bzip2 c++ cairo cdr cisco cli cracklib crypt cups cxx d daap dbus dedicated deskbar dga dhcp divx dri dv dvd dvdr dvdread dvi eap-tls eds emboss enblend encode esd evo exif extra-algorithms fam fasttrack ffmpeg firefox flac ftp galago gd gdbm german gif glib glitz gmedia gnome gnutella gnutls gphoto2 gpm gsf gstreamer gtk h323 hal haskell hddtemp hfs howl-compat iconv icu id3 id3tag ieee1394 imlib injection inkjar ipv6 irda isdnlog isight jabber java javascript jit joystick jpeg jpeg2k kde kerberos kig-scripting kqemu latex lcms ldap libnotify lirc lm_sensors lua lzo macbook mad madwifi maps mdnsresponder-compat midi mikmod mmap mmx mng mozdevelop mp2 mp3 mp4 mpeg mplayer mtp mudflap music musicbrainz nautilus ncurses net network networking njb nls nntp nptl nptlonly nsplugin ntfs ogg opengl openmp oss pam pascal pch pcre pdf perl pidgin plotutils pmu png pnm posix postgres postscript ppds pptp ps pth pulseaudio python qt3 qt3support qt4 quicktime rar rc5 rdesktop readline real realmedia reflection reiser4 reiserfs rtc samba screen sdl sdl-image sdl-sound sdlaudio server session sftp sharedmem sift slp smp sockets socks5 solver sourceview speex spell spl spoof-source sse sse2 ssl ssse3 startup-notification subversion svg sysfs tetex theora threads threadsafe tiff timidity tk trayicon truetype unicode unzip usb v4l2 valgrind vcd video voice vorbis weak-algorithms wifi win32codecs wma wmp wxwindows x264 x86 xanim xattr xcomposite xext xface xine xml xmlreader xorg xrandr xscreensaver xulrunner xv xvid zeroconf zip zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="sony_dscf1 sony_dscf55" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="inputlirc macmini" USERLAND="GNU" VIDEO_CARDS="i810 vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
macbook overlay # ls -la /usr/lib/libpam.so -rwxr-xr-x 1 root root 322 2008-09-14 22:12 /usr/lib/libpam.so macbook overlay # file /usr/lib/libpam.so /usr/lib/libpam.so: ASCII C program text macbook overlay # cat /usr/lib/libpam.so /* GNU ld script Since Gentoo has critical dynamic libraries in /lib, and the static versions in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we run into linking problems. See bug http://bugs.gentoo.org/4411 for more info. */ OUTPUT_FORMAT ( elf32-i386 ) GROUP ( /lib/libpam.so ) macbook overlay # file /lib/libpam.so /lib/libpam.so: symbolic link to `libpam.so.0.81.12' macbook overlay # file /lib/libpam.so.0.81.12 /lib/libpam.so.0.81.12: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
Oh, I misread the output. There is no such file as libpam.la. macbook overlay # file /usr/lib/libpam* /usr/lib/libpamc.so: ASCII C program text /usr/lib/libpam_misc.so: ASCII C program text /usr/lib/libpam.so: ASCII C program text
I wonder a bit why it tries to link against libpam.la. macbook neon-0.28.3 # grep pam -R * macbook neon-0.28.3 # pwd /var/tmp/portage/net-misc/neon-0.28.3/work/neon-0.28.3
I am very sure that this is not related to my filesystem. There are a lot of other people having the same issue: See for example bug #218745 or bug #228143 (hey, funny that I myself reported that bug; but it was 2 month ago on another system).
The burden is on you now to prove that this is can be reproduced with a normal filesystem. And no, this isn't funny anymore let alone interesting - now you're just burdening Gentoo developers with an extra workload. So the burden of proof is on you.
OK, it was indeed *not* related to case sensitivity. (A not found file indicates that already...) The bug was a follow up of the bug #218745. My old dante linked to libpam.la and therefore it got in here as a dependency (see bug #218745, it's a very similar case there). After reemerging dante, I was able to emerge neon. Therefore I think this bug can stay as invalid. Or just close it.
I am adding this comment because I googled for this problem after running into it on a production system. I will post my emerge --info at the end of this. It appears that dante is statically linked in the 2008.0 tarball. This is detected and fixed by a revdep-rebuild but *only* once you build something that actually depends on dante, otherwise it gets missed somehow. I fixed my issue with revdep-rebuild. A check of my emerege.log after the error and the fix shows: 1224812130: ::: completed emerge (13 of 24) dev-python/psycopg-2.0.2 to / 1224812130: >>> emerge (14 of 24) net-misc/neon-0.28.3 to / 1224812131: === (14 of 24) Cleaning (net-misc/neon-0.28.3::/usr/portage/net-misc/neon/neon-0.28.3.ebuild) 1224812131: === (14 of 24) Compiling/Packaging (net-misc/neon-0.28.3::/usr/portage/net-misc/neon/neon-0.28.3.ebuild) 1224812159: *** Finished. Cleaning up... 1224812159: *** exiting unsuccessfully with status '1'. 1224812162: *** terminating. 1224813278: Started emerge on: Oct 23, 2008 21:54:38 1224813278: *** emerge --oneshot --buildpkg net-proxy/dante:0 1224813279: >>> emerge (1 of 1) net-proxy/dante-1.1.19-r1 to / 1224813280: === (1 of 1) Cleaning (net-proxy/dante-1.1.19-r1::/usr/portage/net-proxy/dante/dante-1.1.19-r1.ebuild) 1224813280: === (1 of 1) Compiling/Packaging (net-proxy/dante-1.1.19-r1::/usr/portage/net-proxy/dante/dante-1.1.19-r1.ebuild) 1224813329: === (1 of 1) Merging (net-proxy/dante-1.1.19-r1::/usr/portage/net-proxy/dante/dante-1.1.19-r1.ebuild) 1224813331: === (1 of 1) Post-Build Cleaning (net-proxy/dante-1.1.19-r1::/usr/portage/net-proxy/dante/dante-1.1.19-r1.ebuild) 1224813331: ::: completed emerge (1 of 1) net-proxy/dante-1.1.19-r1 to / 1224813331: *** Finished. Cleaning up... 1224813331: *** exiting successfully. 1224813331: *** terminating. that is the first (and only) appearance of dante in my emerge.log file and I have not yet set up logrotate on this machine. It is the second time I have run revdep-rebuild on this system. This error can (and will) show up more. emerge --info WARNING: repository at /usr/local/portage is missing a repo_name entry Portage 2.2_rc12 (hardened/x86/2.6, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_E7200_@_2.53GHz-with-glibc2.0 Timestamp of tree: Wed, 22 Oct 2008 02:05:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distcc distlocks notitles parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ " LDFLAGS="" LINGUAS="en en_US" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aalib acl apache2 bash-completion bashlogger berkdb bzip2 calendar caps cracklib crypt ctype curl curlwrappers diskio djvu dlz dovecot-sasl elf enscript extensions extras fastcgi gdbm glep glibc-omitfp gnutls hardened hash hddtemp iconv idea idn imap inifile ipv6 ithreads java jbig jpeg jpeg2k json kerberos ldap ldap-sasl libgcrypt libssh2 lm_sensors lzo md5sum mhash midi mmx mysql mysqli ncurses network-cron nis nls nptl nptlonly nss overlays pam parse-clocks pcre perl pic plugins png posix postgres python readline resolvconf samba sasl sdl session silvercity simplexml smux snmp soap sockets socks5 spell sse2 ssl tcpd threads tidy tiff tokenizer truetype unicode urandom utils vda vhosts vim-pager vim-syntax webdav-serf x86 xattr xml xmldoclet xmlreader xmlrpc xmlwriter xorg xpm xsl yaz zip zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="cern_meta imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http substitute version mime mime_magic mem_cache log_config status speling setenvif rewrite include headers filter file_cache ext_filter expires env disk_cache dir deflate dav_lock dav_fs dav cache autoindex authz_user authz_owner authz_host alias actions auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile info logio negotiation unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS