<snip>strip: i686-pc-linux-gnu-strip --strip-unneeded lib/libnss_mysql.so.2.0.0 removing executable bit: lib/libnss_mysql.la [33;01m*[0m QA Notice: Excessive files found in the / partition [33;01m*[0m /var/tmp/portage/sys-auth/libnss-mysql-1.5/image/lib/libnss_mysql.la !!! ERROR: sys-auth/libnss-mysql-1.5 failed. Call stack: misc-functions.sh, line 570: Called install_qa_check misc-functions.sh, line 276: Called die !!! static archives (*.a) and libtool library files (*.la) do not belong in / !!! 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/sys-auth/libnss-mysql-1.5/temp/build.log'. </snip> Reproducible: Always Portage 2.1.2_rc4-r9 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.19-ck2-r3 i686) ================================================================= System uname: 2.6.19-ck2-r3 i686 AMD Opteron(tm) Processor 144 Gentoo Base System version 1.12.8 Timestamp of tree: Sat, 13 Jan 2007 11:31:01 +0000 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=opteron -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-W1,--as-needed" PKGDIR="/usr/portage//packages/x86/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/portage/local/layman/chtekk-syscp" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 berkdb chroot crypt dlloader gd gif gpm hardened icc imap innodb ipv6 jpeg maildir memlimit mmx mysql nls no-old-linux nptl nptlonly pam pdflib pic png readline sasl session snmp sse sse2 ssl symlink tcpd threads tiff userlocales vda vhosts x86 xml xml2 xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Same problem here with version 1.2 --- >>> Completed installing libnss-mysql-1.2 into /var/tmp/portage/sys-auth/libnss-mysql-1.2/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded lib/libnss_mysql.so.2.0.0 removing executable bit: lib/libnss_mysql.la * QA Notice: Excessive files found in the / partition * /var/tmp/portage/sys-auth/libnss-mysql-1.2/image/lib/libnss_mysql.la !!! ERROR: sys-auth/libnss-mysql-1.2 failed. Call stack: misc-functions.sh, line 570: Called install_qa_check misc-functions.sh, line 276: Called die !!! static archives (*.a) and libtool library files (*.la) do not belong in / !!! 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/sys-auth/libnss-mysql-1.2/temp/build.log'. !!! install_qa_check failed; exiting. --- # emerge --info Portage 2.1.2 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.5-r0, 2.6.19-ck2-hdt i686) ================================================================= System uname: 2.6.19-ck2-hdt i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.12.8 Timestamp of tree: Unknown ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS=" http://gentoo.intergenia.de/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2"
*** Bug 168429 has been marked as a duplicate of this bug. ***
in cvs
The fix it to move the thing to /usr/$(get_libdir), not to wipe it.
(In reply to comment #4) > The fix it to move the thing to /usr/$(get_libdir), not to wipe it. > This stuff is authentication library, need to stay in /lib (i.e. accessible if /usr is still un-mounted) or to die, missing something? BTW the real fix should be to mask sys-auth/libnss-mysql and switch to "FSSOS" from the same author which superceded libnss-mysql dec.2004.
(In reply to comment #5) > This stuff is authentication library, need to stay in /lib (i.e. accessible if > /usr is still un-mounted) or to die, missing something? Move the libtool archive (.la) file there, not the library itself... :) > BTW the real fix should be to mask sys-auth/libnss-mysql and switch to "FSSOS" > from the same author which superceded libnss-mysql dec.2004. Well yeah, that'd be ideal solution of course ;)
Same problem here Emerge info. Portage 2.1.2.2 (default-linux/amd64, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r7 x86_64) ================================================================= System uname: 2.6.20-gentoo-r7 x86_64 Intel(R) Xeon(R) CPU E5310 @ 1.60GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 03 May 2007 14:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=nocona -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ " MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cscope dri dvd encode fbcon ffmpeg fortran ftp gpm iconv ipv6 isdnlog java lm_sensors midi mime mp3 ncurses nis nls nptl ogg pam pcre perl pppd python readline reflection session sockets sox spl ssl tcpd threads truetype-fonts type1-fonts unicode usb verbose vim-syntax xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ---------------------------------------------------------------------- Error message lib/libshadow.a removing executable bit: lib/libshadow.la ^G ^[[33;01m*^[[0m QA Notice: Excessive files found in the / partition ^[[33;01m*^[[0m /var/tmp/portage/sys-apps/shadow-4.0.18.1/image/lib/libshadow.a /var/tmp/portage/sys-apps/shadow-4.0.18.1/image/lib/libshadow.la ^G !!! ERROR: sys-apps/shadow-4.0.18.1 failed. Call stack: misc-functions.sh, line 570: Called install_qa_check misc-functions.sh, line 276: Called die !!! static archives (*.a) and libtool library files (*.la) do not belong in / !!! 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/sys-apps/shadow-4.0.18.1/temp/build.log'.
the summary of the bug is for package sys-auth/libnss-mysql and my case is for shadow.
Created attachment 128610 [details] proposed fix I think this would be the proper fix. mysql-team, any objections if I take this package?
done
*** Bug 197963 has been marked as a duplicate of this bug. ***
Still broken, you need dodir /usr/$(get_libdir) for amd64, not dodir /usr/lib
Created attachment 135093 [details] fixed build on x86_64
Yes, the change Jakub Moc mentioned fixed it for me.
Created attachment 144828 [details] Debug flag added I hope this is the correct may to do : - way to had a debug flag - submitting an ebuild update into a bug that has nothing to do with the update Please tell me if i'm doing wrong :)
I have hopefully fixed this for good. I bumped to an upstream snapshot, as this has some fixes that make the dodir-stuff obsolete. I'm now just removing the la-file, so it shouldn't hurt us any more.