Your message dated Thu, 01 Jan 2004 17:32:07 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#225823: fixed in mklibs 0.1.14
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; 1 Jan 2004 21:48:10 +0000
>From [EMAIL PROTECTED] Thu Jan 01 15:48:09 2004
Return-path: <[EMAIL PROTECTED]>
Received: from cpc1-hem11-4-0-cust109.lutn.cable.ntl.com (thinkpad.home) 
[80.2.252.109] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AcAOU-00051A-00; Thu, 01 Jan 2004 15:30:14 -0600
Received: by thinkpad.home (Postfix, from userid 1000)
        id 6A68A9E718; Thu,  1 Jan 2004 20:55:16 +0000 (GMT)
Date: Thu, 1 Jan 2004 20:55:16 +0000
From: Richard Hirst <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: mklibs 0.1.13 fails on ia64
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 
        2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_29 
        (1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
        version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_29
X-Spam-Level: 

Package: mklibs
Version: 0.1.13
tags: d-i

Trying to build debian-installer-20031230:

...
...
Object: ./tmp/cdrom/tree/lib/libm.so.6.1-so-stripped
Object: ./tmp/cdrom/tree/lib/libdebconfclient.so.0-so-stripped
Object: ./tmp/cdrom/tree/lib/libslang.so.1-UTF8-so-stripped
Object: ./tmp/cdrom/tree/lib/ld-linux-ia64.so.2-so-stripped
557 symbols, 20 unresolved
Moving libresolv.so.2 to libresolv.so.2.
Unlinking libnss_dns.so.2.
Moving libtextwrap.so.1 to libtextwrap.so.1.
Moving libdebian-installer.so.4 to libdebian-installer.so.4.
Moving libresolv-2.3.2.so to libresolv.so.2.
Moving libnss_dns-2.3.2.so to libnss_dns.so.2.
Moving libdiscover.so.1 to libdiscover.so.1.
Moving libc.so.6.1 to libc.so.6.1.
Unlinking libdiscover.so.
Moving ld-linux-ia64.so.2 to ld-linux-ia64.so.2.
Moving libnewt.so.0.51 to libnewt.so.0.51.
Moving libdl.so.2 to libdl.so.2.
Moving libm.so.6.1 to libm.so.6.1.
Moving libdebconfclient.so.0 to libdebconfclient.so.0.
Moving libdiscover.so.1.0.0 to libdiscover.so.1.
Command failed with status 1 : objcopy --strip-unneeded -R .note -R .comment  
./tmp/cdrom/tree/lib/
With output: objcopy: ./tmp/cdrom/tree/lib/: File format not recognized
make[2]: *** [cdrom-tree-stamp] Error 1
make[2]: Leaving directory `/root/debian-installer-20031230'
make[1]: *** [all_images] Error 2
make[1]: Leaving directory `/root/debian-installer-20031230'
make: *** [build-stamp] Error 2
chilly:~/debian-installer-20031230# 



Looking at the end of mklibs.py:

   # Canonicalize library names.
   for lib in regexpfilter(os.listdir(dest_path), "(.*so[.\d]*)$").elems():
       lib_path = dest_path + "/" + lib
       if os.path.islink(lib_path):
           debug(DEBUG_VERBOSE, "Unlinking %s." % lib)
           os.remove(lib_path)
           continue
       soname = extract_soname(lib_path)
       if soname:
           debug(DEBUG_VERBOSE, "Moving %s to %s." % (lib, soname))
           os.rename(dest_path + "/" + lib, dest_path + "/" + soname)
   
   # Make sure the dynamic linker is present and is executable
   ld_file = find_lib(ldlib)
   ld_file_name = os.path.basename(ld_file)
   
   if not os.access(dest_path + "/" + lib, os.F_OK):
       command(target + "objcopy", "--strip-unneeded -R .note -R .comment",
               ld_file, dest_path + "/" + ld_file_name)
   
   os.chmod(dest_path + "/" + ld_file_name, 0755)


That for-loop corrupts global lib_path, which makes find_lib() fail.

That "if not os.access(..." line is testing for 'lib' which never exists
as it just moved it.   I believe it should be using ldlib:

-  if not os.access(dest_path + "/" + lib, os.F_OK):
+  if not os.access(dest_path + "/" + ldlib, os.F_OK):


Richard


---------------------------------------
Received: (at 225823-close) by bugs.debian.org; 1 Jan 2004 23:36:27 +0000
>From [EMAIL PROTECTED] Thu Jan 01 17:36:27 2004
Return-path: <[EMAIL PROTECTED]>
Received: from auric.debian.org [206.246.226.45] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AcBP1-0002tE-00; Thu, 01 Jan 2004 16:34:51 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
        id 1AcBMN-0001bb-00; Thu, 01 Jan 2004 17:32:07 -0500
From: Phil Blundell <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.43 $
Subject: Bug#225823: fixed in mklibs 0.1.14
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 01 Jan 2004 17:32:07 -0500
Delivered-To: [EMAIL PROTECTED]

Source: mklibs
Source-Version: 0.1.14

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_0.1.14.dsc
  to pool/main/m/mklibs/mklibs_0.1.14.dsc
mklibs_0.1.14.tar.gz
  to pool/main/m/mklibs/mklibs_0.1.14.tar.gz
mklibs_0.1.14_all.deb
  to pool/main/m/mklibs/mklibs_0.1.14_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Phil Blundell <[EMAIL PROTECTED]> (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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Thu,  1 Jan 2004 21:43:40 +0000
Source: mklibs
Binary: mklibs
Architecture: source all
Version: 0.1.14
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <[EMAIL PROTECTED]>
Changed-By: Phil Blundell <[EMAIL PROTECTED]>
Description: 
 mklibs     - Shared library reduction script
Closes: 225823
Changes: 
 mklibs (0.1.14) unstable; urgency=low
 .
   * Phil Blundell
     - Fix corruption of global lib_path introduced in previous version,
     courtesy Richard Hirst.  (Closes: #225823)
Files: 
 75246b289f95107e97cb18c3cfa695fc 597 devel optional mklibs_0.1.14.dsc
 2fddb88fc2f3c3b8879e4414a84cd6bd 10634 devel optional mklibs_0.1.14.tar.gz
 00eae13a57ce0037512997917b19dbc6 10748 devel optional mklibs_0.1.14_all.deb

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

iD8DBQE/9JnwVTLPJe9CT30RAoz1AKC3QgaenFxGCXdGiTk0JzibbOfT8QCgkXoA
YYUWzGfzEVkI0rY0DhkH77A=
=aQh7
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to