Debian Bug report logs - #338515
rpm: Bogus requirement generated for linux-gate.so

version graph

Package: rpm; Maintainer for rpm is Michal Čihař <nijel@debian.org>; Source for rpm is src:rpm.

Reported by: Ken Schalk <ken@vanguard.xorian.net>

Date: Thu, 10 Nov 2005 19:48:01 UTC

Severity: normal

Fixed in version rpm/4.4.1-5

Done: Anand Kumria <wildfire@progsoc.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ken Schalk <ken@vanguard.xorian.net>, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#338515; Package rpm. Full text and rfc822 format available.

Acknowledgement sent to Ken Schalk <ken@vanguard.xorian.net>:
New Bug report received and forwarded. Copy sent to Ken Schalk <ken@vanguard.xorian.net>, Anibal Monsalve Salazar <anibal@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Ken Schalk <ken@vanguard.xorian.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: rpm: Bogus requirement generated for linux-gate.so
Date: Thu, 10 Nov 2005 14:42:02 -0500 (EST)
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)



Reply sent to Anand Kumria <wildfire@progsoc.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Ken Schalk <ken@vanguard.xorian.net>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 338515-close@bugs.debian.org (full text, mbox):

From: Anand Kumria <wildfire@progsoc.org>
To: 338515-close@bugs.debian.org
Subject: Bug#338515: fixed in rpm 4.4.1-5
Date: Tue, 27 Dec 2005 10:32:11 -0800
Source: rpm
Source-Version: 4.4.1-5

We believe that the bug you reported is fixed in the latest version of
rpm, which is due to be installed in the Debian FTP archive:

librpm-dev_4.4.1-5_i386.deb
  to pool/main/r/rpm/librpm-dev_4.4.1-5_i386.deb
librpm4_4.4.1-5_i386.deb
  to pool/main/r/rpm/librpm4_4.4.1-5_i386.deb
lsb-rpm_4.4.1-5_i386.deb
  to pool/main/r/rpm/lsb-rpm_4.4.1-5_i386.deb
python2.3-rpm_4.4.1-5_i386.deb
  to pool/main/r/rpm/python2.3-rpm_4.4.1-5_i386.deb
rpm_4.4.1-5.diff.gz
  to pool/main/r/rpm/rpm_4.4.1-5.diff.gz
rpm_4.4.1-5.dsc
  to pool/main/r/rpm/rpm_4.4.1-5.dsc
rpm_4.4.1-5_i386.deb
  to pool/main/r/rpm/rpm_4.4.1-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 338515@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anand Kumria <wildfire@progsoc.org> (supplier of updated rpm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 27 Dec 2005 03:27:41 +1100
Source: rpm
Binary: python2.3-rpm rpm librpm-dev lsb-rpm librpm4
Architecture: source i386
Version: 4.4.1-5
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Changed-By: Anand Kumria <wildfire@progsoc.org>
Description: 
 librpm-dev - RPM shared library, development kit
 librpm4    - RPM shared library
 lsb-rpm    - Red Hat package manager for LSB package building
 python2.3-rpm - Python bindings for RPM
 rpm        - Red Hat package manager
Closes: 338515
Changes: 
 rpm (4.4.1-5) unstable; urgency=low
 .
   * Don't generate dependancies on linux-gate.so, it is a virtual library
     and only exists on linux 2.6 anyway. Thanks for the patch Ken Schalk.
     (Closes: #338515)
Files: 
 689e9168bae4ac51201add3a8c7d153f 1008 admin optional rpm_4.4.1-5.dsc
 0bed0f0303805e3c305130ac3e87bca3 45581 admin optional rpm_4.4.1-5.diff.gz
 4a7d5f1279edaf18ed68848e6fc3a224 836206 admin optional rpm_4.4.1-5_i386.deb
 d61f310f5761ecb80946340d84fb9f2c 2212824 devel optional lsb-rpm_4.4.1-5_i386.deb
 eebef3425871ed3a7cf21a9763e9004b 941358 libs optional librpm4_4.4.1-5_i386.deb
 dd6b0f62973a978a7e7fdd92146183d9 1263704 libdevel extra librpm-dev_4.4.1-5_i386.deb
 b023dca1e734a914ebd5c2c4fc04f7dc 477910 python extra python2.3-rpm_4.4.1-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQCVAwUBQ7GHOmRmcAD8BdppAQIgHQP5AfwZQL1AovYsGwoacbeG3t/CdtivYo3e
UGWV5JQjuP9y2iH0F1F3wtpOxH5qq6uucYc5C3EXBhcshYkAc7hXsvk86xHDGtoX
nyFqyj56dps6cUBbG0DtMh9lT1ETlieGaSH5ERBOfef0kF0UxwnkcKvQjH5JOUWR
4AxSMxOckpo=
=y15m
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 24 Jun 2007 16:54:07 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Feb 9 19:36:02 2010; Machine Name: busoni.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.