Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162117 - [QA] sys-auth/libnss-mysql install fails - excessive files found in the / partition
Summary: [QA] sys-auth/libnss-mysql install fails - excessive files found in the / par...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
: 168429 197963 (view as bug list)
Depends on:
Blocks: 189746
  Show dependency tree
 
Reported: 2007-01-14 21:48 UTC by Robert Förster
Modified: 2010-02-23 12:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed fix (libnss-mysql-1.5.ebuild,1.06 KB, text/plain)
2007-08-19 20:37 UTC, Hanno Böck
Details
fixed build on x86_64 (libnss-mysql-1.5-r1.ebuild,1.07 KB, text/plain)
2007-11-03 15:19 UTC, Markus Lidel
Details
Debug flag added (libnss-mysql-1.5-r2.ebuild,1.25 KB, text/plain)
2008-02-28 10:44 UTC, Erwan Lerale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Förster 2007-01-14 21:48:47 UTC
<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
Comment 1 Michael Hampicke 2007-01-16 21:50:22 UTC
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"
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 09:12:45 UTC
*** Bug 168429 has been marked as a duplicate of this bug. ***
Comment 3 Francesco R. (RETIRED) gentoo-dev 2007-03-04 17:11:06 UTC
in cvs
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-06 15:49:19 UTC
The fix it to move the thing to /usr/$(get_libdir), not to wipe it.
Comment 5 Francesco R. (RETIRED) gentoo-dev 2007-03-06 17:32:18 UTC
(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.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-03-06 23:29:45 UTC
(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 ;) 

Comment 7 Marco Avila 2007-05-04 10:27:54 UTC
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'. 
Comment 8 Marco Avila 2007-05-04 10:30:24 UTC
the summary of the bug is for package sys-auth/libnss-mysql and my case is for shadow.
Comment 9 Hanno Böck gentoo-dev 2007-08-19 20:37:18 UTC
Created attachment 128610 [details]
proposed fix

I think this would be the proper fix. mysql-team, any objections if I take this package?
Comment 10 Hanno Böck gentoo-dev 2007-08-19 23:23:37 UTC
done
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-11-03 14:46:07 UTC
*** Bug 197963 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-11-03 14:46:43 UTC
Still broken, you need dodir /usr/$(get_libdir) for amd64, not dodir /usr/lib
Comment 13 Markus Lidel 2007-11-03 15:19:53 UTC
Created attachment 135093 [details]
fixed build on x86_64
Comment 14 Markus Lidel 2007-11-03 15:21:24 UTC
Yes, the change Jakub Moc mentioned fixed it for me.
Comment 15 Erwan Lerale 2008-02-28 10:44:33 UTC
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 :)
Comment 16 Hanno Böck gentoo-dev 2010-02-23 12:42:17 UTC
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.