FS#10883 - lib32-e2fsprogs 1.40.8-1 contains de-referenced symlinks
Attached to Project:
Community Packages
Opened by David Spicer (azleifel) - Thursday, 10 July 2008, 19:39 GMT
Last edited by Mikko Seppälä (Neverth) - Friday, 18 July 2008, 13:47 GMT
Opened by David Spicer (azleifel) - Thursday, 10 July 2008, 19:39 GMT
Last edited by Mikko Seppälä (Neverth) - Friday, 18 July 2008, 13:47 GMT
|
Details
See discussion at
http://bbs.archlinux.org/viewtopic.php?id=51469. lib32-e2fsprogs 1.40.8-1 in [community] contains
de-referenced library symlinks, causing ldconfig to issue
"not a symbolic link" errors each time it is run, e.g.
/sbin/ldconfig: /opt/lib32/lib/libe2p.so.2 is not a symbolic link The PKGBUILD for lib32-e2fsprogs in ABS (but not the older version still available from the AUR page) uses the install command to copy the libs from the 32 bit package. The consequence is that the symbolic links get dereferenced. Changing the line install -m755 $startdir/src/lib/* $startdir/pkg/opt/lib32/lib/ in the build() section to cp -dp $startdir/src/lib/* $startdir/pkg/opt/lib32/lib/ as used in other lib32 PKGBUILDs fixes the problem. |
This task depends upon
Closed by Mikko Seppälä (Neverth)
Friday, 18 July 2008, 13:47 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed, only affected people with /opt/lib32 stuff in their linker config, I dont have them there so I only heard about it today.
New pkg alredy upped with pkgrel 1.1
Friday, 18 July 2008, 13:47 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed, only affected people with /opt/lib32 stuff in their linker config, I dont have them there so I only heard about it today.
New pkg alredy upped with pkgrel 1.1
But did you check the PKGBUILD for lib32-e2fsprogs in ABS?
It doesn't use the line
install -m755 $startdir/src/lib/* $startdir/pkg/opt/lib32/lib/
It is quite different.
And the PKGBUILD in AUR provides exactly the same version with the one in ABS (1.40.8-1) but hasn't the two patches.
Anyway, its 3 days and this so simply bug is still unconfirmed and assigned to no-one, thats strange...
build() {
install -d $startdir/pkg/opt/lib32/lib/
install -m755 $startdir/src/lib/* $startdir/pkg/opt/lib32/lib/
}
whilst the AUR PKGBUILD has:
build() {
mkdir -p $startdir/pkg/opt/lib32/lib/
cp -rPf $startdir/src/lib $startdir/pkg/opt/lib32/
}
and neither applies any patches. When I rolled my own version I used:
build() {
install -d $startdir/pkg/opt/lib32/lib/
cp -dp $startdir/src/lib/* $startdir/pkg/opt/lib32/lib/
}
which is pretty much the same as the other lib32-* PKBUILDs in ABS.