[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#334544: marked as done (mklibs: Patch to reduce number of rlibs in ld calls)



Your message dated Sat, 22 Oct 2005 13:33:55 -0700
with message-id <E1ETQ3v-0002gf-00@spohr.debian.org>
and subject line Bug#334544: fixed in mklibs 0.1.18
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Oct 2005 16:17:34 +0000
>From aragorn@tiscali.nl Tue Oct 18 09:17:34 2005
Return-path: <aragorn@tiscali.nl>
Received: from smtp-out0.tiscali.nl [195.241.79.175] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ERu9e-0008OV-00; Tue, 18 Oct 2005 09:17:34 -0700
Received: from [195.240.184.66] (helo=strider.fjphome.nl)
	by smtp-out0.tiscali.nl with esmtp (Tiscali http://www.tiscali.nl)
	id 1ERu9d-0005jF-Ij
	for <submit@bugs.debian.org>; Tue, 18 Oct 2005 18:17:33 +0200
From: Frans Pop <aragorn@tiscali.nl>
To: submit@bugs.debian.org
Subject: mklibs: Patch to reduce number of rlibs in ld calls
Date: Tue, 18 Oct 2005 18:17:47 +0200
User-Agent: KMail/1.7.2
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart5514871.6BLuIxgKpY";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <[🔎] 200510181817.48235.aragorn@tiscali.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

--nextPart5514871.6BLuIxgKpY
Content-Type: multipart/mixed;
  boundary="Boundary-01=_sASVDAxwNm1nYkR"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_sASVDAxwNm1nYkR
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Package: mklibs
Version: 0.1.17
Severity: minor
Tags: patch

The attached patch makes sure a path to libraries in --root is only=20
included once. Currently the same path may be included multiple times.
This significantly reduces the length of the command line when gcc is=20
called to actually reduce a library.

During tests using mklibs while building the gtk-miniiso for d-i, this=20
resulted in only 4 instead of 31 paths being included.


--Boundary-01=_sASVDAxwNm1nYkR
Content-Type: text/x-diff;
  charset="us-ascii";
  name="mklibs_rpath.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="mklibs_rpath.patch"

=2D-- /usr/bin/mklibs	2005-10-14 10:03:03.000000000 +0200
+++ mklibs	2005-10-18 00:39:28.920890609 +0200
@@ -325,9 +325,11 @@
     rpath_val =3D rpath(obj)
     if rpath_val:
         if root:
=2D            if debuglevel >=3D DEBUG_VERBOSE:
=2D                print "Adding rpath " + ':'.join(rpath_val) + " for " + =
obj
=2D            lib_rpath.extend(rpath_val)
+            for rpath_elem in rpath_val:
+                if not rpath_elem in lib_rpath:
+                    if debuglevel >=3D DEBUG_VERBOSE:
+                        print "Adding rpath " + rpath_elem + " for " + obj
+                    lib_rpath.append(rpath_elem)
         else:
             print "warning: " + obj + " may need rpath, but --root not spe=
cified"
=20

--Boundary-01=_sASVDAxwNm1nYkR--

--nextPart5514871.6BLuIxgKpY
Content-Type: application/pgp-signature

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

iD8DBQBDVSAsgm/Kwh6ICoQRAjIgAKCvZ9vNEZd4KgYNVa+shFwhSX1SZQCfXIk0
aua5dOswfwcsjsq49+oapaU=
=3TB3
-----END PGP SIGNATURE-----

--nextPart5514871.6BLuIxgKpY--

---------------------------------------
Received: (at 334544-close) by bugs.debian.org; 22 Oct 2005 20:40:28 +0000
>From katie@spohr.debian.org Sat Oct 22 13:40:28 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1ETQ3v-0002gf-00; Sat, 22 Oct 2005 13:33:55 -0700
From: Frans Pop <fjp@debian.org>
To: 334544-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#334544: fixed in mklibs 0.1.18
Message-Id: <E1ETQ3v-0002gf-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Sat, 22 Oct 2005 13:33:55 -0700
Delivered-To: 334544-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: mklibs
Source-Version: 0.1.18

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

mklibs-copy_0.1.18_i386.deb
  to pool/main/m/mklibs/mklibs-copy_0.1.18_i386.deb
mklibs_0.1.18.dsc
  to pool/main/m/mklibs/mklibs_0.1.18.dsc
mklibs_0.1.18.tar.gz
  to pool/main/m/mklibs/mklibs_0.1.18.tar.gz
mklibs_0.1.18_all.deb
  to pool/main/m/mklibs/mklibs_0.1.18_all.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 334544@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frans Pop <fjp@debian.org> (supplier of updated mklibs 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: Sat, 22 Oct 2005 21:21:18 +0200
Source: mklibs
Binary: mklibs mklibs-copy
Architecture: source all i386
Version: 0.1.18
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
Description: 
 mklibs     - Shared library reduction script
 mklibs-copy - Shared library reduction script
Closes: 33277 327698 334544
Changes: 
 mklibs (0.1.18) unstable; urgency=low
 .
   * Do not include rpaths multiple times (closes: #334544).
   * Add debugging output when adding undefined symbols (closes: #33277).
   * Add myself to uploaders.
   * Acknowlegde NMU (closes: #327698).
Files: 
 eb1590f7dc9c6b81a8d906fbc45d5e4e 697 devel optional mklibs_0.1.18.dsc
 bd90cf9cba96650557430a8ba2f0bce4 104447 devel optional mklibs_0.1.18.tar.gz
 5acfe0122906939095ad0a4463d45fe9 31104 devel optional mklibs-copy_0.1.18_i386.deb
 665746cb0f08c929014c090d6614b231 11156 devel optional mklibs_0.1.18_all.deb

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

iD8DBQFDWpURgm/Kwh6ICoQRAmYNAJ9X4UP2ngQwuYjNKssJiNoEyGyVtACgr2pt
6EwDd0qtisAd60ORwQGTDVY=
=Be+U
-----END PGP SIGNATURE-----



Reply to: