Package: rpm
Severity: normal
When creating an rpm ("rpmbuild -bb"), if running on a 2.6 kernel the
rpm can get a bogus dependency on linux-gate.so. See:
http://lists.suse.com/archive/suse-linux-e/2005-May/2094.html
http://www.trilithium.com/johan/2005/08/linux-gate/
I'm including a small patch to /usr/lib/rpm/find-requires which seems
to fix the problem.
--Ken Schalk
--- find-requires.orig 2005-11-10 13:53:35.000000000 -0500
+++ find-requires 2005-11-10 13:53:52.000000000 -0500
@@ -34,7 +34,7 @@
lib64=`if file -L $f 2>/dev/null | \
grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi`
ldd $f | awk '/=>/ {
- if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /fakeroot/)
{
+ if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /fakeroot/
&& $1 !~ /linux-gate.so/) {
gsub(/'\''"/,"\\&",$1);
printf "%s'$lib64'\n", $1
}
@@ -48,7 +48,7 @@
lib64=`if file -L $f 2>/dev/null | \
grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi`
ldd $f | awk '/=>/ {
- if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /fakeroot/)
{
+ if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /fakeroot/
&& $1 !~ /linux-gate.so/) {
gsub(/'\''"/,"\\&",$1);
printf "%s'$lib64'\n", $1
}
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]