Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107177 - cracklib-2.3.8-r1 emerge on amd64 failed: fails to stat *.so*
Summary: cracklib-2.3.8-r1 emerge on amd64 failed: fails to stat *.so*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
: 107184 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-25 07:45 UTC by Albert Lash
Modified: 2005-10-07 21:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Lash 2005-09-25 07:45:53 UTC
Emerging cracklib 2.3.8-r1 on amd64 results in:   
  
mv: cannot stat `/var/tmp/portage/cracklib-2.8.3-r1/image//usr/lib64/*.so*':  
No such file or directory  
  
To handle both lib32 and lib64, cracklib attempts to find the libdir, using  
this:  
 
mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ || die "could not move 
shared" 
 
I think only the second one is needed. 

Reproducible: Always
Steps to Reproduce:
1.emerge cracklib-2.8.3-r1 on amd64 
2. 
3. 
 
Actual Results:  
mv: cannot stat `/var/tmp/portage/cracklib-2.8.3-r1/image//usr/lib64/*.so*': 
No such file or directory 


--- cracklib-2.8.3-r1.ebuild_old        2005-09-25 06:32:45.000000000 -0400  
+++ cracklib-2.8.3-r1.ebuild    2005-09-25 06:33:29.000000000 -0400  
@@ -40,7 +40,7 @@  
  
        # move shared libs to /  
        dodir /$(get_libdir)  
-       mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ || die "could  
not move shared"  
+       mv "${D}"usr/lib/*.so* "${D}"/$(get_libdir)/ || die "could not move  
shared"  
        gen_usr_ldscript libcrack.so  
  
        echo -n "Generating cracklib dicts ... "
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-25 08:08:47 UTC
Seems like the fix for Bug 101602 does not work...
Comment 2 Albert Lash 2005-09-25 12:00:37 UTC
Yeah I saw that one, tried adding the multilib USE flag to /etc/portage/packages.use to no avail. 

(In reply to comment #1)
> Seems like the fix for Bug 101602 does not work...

Comment 3 SpanKY gentoo-dev 2005-09-25 15:14:03 UTC
works fine for me on amd64

no idea what profile you're using though as you neglected to post `emerge info`
like the bug report page told you to
Comment 4 SpanKY gentoo-dev 2005-09-25 15:15:59 UTC
*** Bug 107184 has been marked as a duplicate of this bug. ***
Comment 5 Albert Lash 2005-09-25 16:08:21 UTC
franklin ~ # emerge info
Portage 2.0.51.22-r2 (selinux/2005.1/amd64, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-hardened-r15 
x86_64)
===============================================================
==
System uname: 2.6.11-hardened-r15 x86_64 Dual Core AMD Opteron(tm) Processor 275
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
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.6
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox selinux sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 apache2 berkdb crypt emul-linux-x86 gif gpm innodb memlimit mysql ncurses nls nptl 
nptlonly pam perl png python readline samba selinux snmp ssl tcpd vhosts xml xml2 zlib 
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


(In reply to comment #4)
> *** Bug 107184 has been marked as a duplicate of this bug. ***

Comment 6 Albert Lash 2005-09-25 16:22:20 UTC
I'm sorry - I think the patch I posted has a bug. I will emerge sync tomorrow and post a fresh patch. 

(In reply to comment #5)
> franklin ~ # emerge info
> Portage 2.0.51.22-r2 (selinux/2005.1/amd64, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-hardened-r15 
> x86_64)
> 
===============================================================
> ==
> System uname: 2.6.11-hardened-r15 x86_64 Dual Core AMD Opteron(tm) Processor 275
> Gentoo Base System version 1.6.13
> ccache version 2.3 [enabled]
> dev-lang/python:     2.3.5-r2
> 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.6
> 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="amd64"
> AUTOCLEAN="yes"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=k8 -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
> qmail/control"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
> CXXFLAGS="-march=k8 -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig ccache distlocks sandbox selinux sfperms strict"
> GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
> gentoo"
> MAKEOPTS="-j9"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="amd64 apache2 berkdb crypt emul-linux-x86 gif gpm innodb memlimit mysql ncurses nls nptl 
> nptlonly pam perl png python readline samba selinux snmp ssl tcpd vhosts xml xml2 zlib 
> userland_GNU kernel_linux elibc_glibc"
> Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
> 
> 
> (In reply to comment #4)
> > *** Bug 107184 has been marked as a duplicate of this bug. ***
> 
> 

Comment 7 Chris PeBenito (RETIRED) gentoo-dev 2005-09-25 19:34:24 UTC
this is a profile problem.  I updated the amd64 selinux profile, and it should
now compile
Comment 8 Chris PeBenito (RETIRED) gentoo-dev 2005-10-07 21:23:35 UTC
fixed in portage