Your message dated Fri, 20 Jan 2006 11:53:03 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#348942: mklibs should ignore .la files.
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; 20 Jan 2006 00:10:50 +0000
>From [EMAIL PROTECTED] Thu Jan 19 16:10:50 2006
Return-path: <[EMAIL PROTECTED]>
Received: from smtp9.wanadoo.fr ([193.252.22.22])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Ezjq8-0007D2-R8
        for [EMAIL PROTECTED]; Thu, 19 Jan 2006 16:09:17 -0800
Received: from me-wanadoo.net (localhost [127.0.0.1])
        by mwinf0912.wanadoo.fr (SMTP Server) with ESMTP id 9E5A51C00613
        for <[EMAIL PROTECTED]>; Fri, 20 Jan 2006 01:08:45 +0100 (CET)
Received: from pegasos (AStrasbourg-251-1-3-6.w82-126.abo.wanadoo.fr 
[82.126.193.6])
        by mwinf0912.wanadoo.fr (SMTP Server) with ESMTP id 7B4571C005FE
        for <[EMAIL PROTECTED]>; Fri, 20 Jan 2006 01:08:45 +0100 (CET)
X-ME-UUID: [EMAIL PROTECTED]
Received: from sven by pegasos with local (Exim 4.50)
        id 1EzjoT-0003XS-Q7
        for [EMAIL PROTECTED]; Fri, 20 Jan 2006 01:07:33 +0100
Date: Fri, 20 Jan 2006 01:07:28 +0100
To: [EMAIL PROTECTED]
Subject: mklibs should ignore .la files.
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="KsGdsel6WgEHnImy"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
From: Sven Luther <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
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=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02


--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Subject: mklibs should ignore .la files.
Package: mklibs
Version: 0.1.20
Severity: normal
Tags: patch, d-i

*** Please type your report below this line ***

Well, mklibs should probably ignore .la files, as it ignores .so and.sh
and other such files. Not sure, but it dies saying that readelf can't
handle .la files, which seems logical since la files are plain text
files.

Attached is a patch, which allows me to build, but i am far from certain
this is the right thing to do.

Friendly,

Sven Luther

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages mklibs depends on:
ii  binutils             2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii  gcc                  4:4.0.2-2           The GNU C compiler
ii  python2.4            2.4.2-2             An interactive high-level object-o

Versions of packages mklibs recommends:
ii  libc6-pic                     2.3.5-12   GNU C Library: PIC archive library

-- no debconf information

--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mklibs.la.diff"

--- /usr/bin/mklibs.orig        2006-01-19 23:22:39.000000000 +0000
+++ /usr/bin/mklibs     2006-01-19 23:24:36.000000000 +0000
@@ -253,6 +253,7 @@
 target = ""
 root = ""
 so_pattern = re.compile("((lib|ld).*)\.so(\..+)*")
+la_pattern = re.compile("(.*)\.la(\..+)*")
 script_pattern = re.compile("^#!\s*/")
 
 try:
@@ -301,6 +302,8 @@
         debug(DEBUG_SPAM, prog, "is a hardlink to", objects[inode])
     elif so_pattern.match(prog):
         debug(DEBUG_SPAM, prog, "is a library")
+    elif la_pattern.match(prog):
+        debug(DEBUG_SPAM, prog, "is a library archive")
     elif script_pattern.match(open(prog).read(256)):
         debug(DEBUG_SPAM, prog, "is a script")
     else:

--KsGdsel6WgEHnImy--


---------------------------------------
Received: (at 348942-done) by bugs.debian.org; 20 Jan 2006 11:00:31 +0000
>From [EMAIL PROTECTED] Fri Jan 20 03:00:31 2006
Return-path: <[EMAIL PROTECTED]>
Received: from wavehammer.waldi.eu.org ([82.139.196.55])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EzttB-0002s0-6s
        for [EMAIL PROTECTED]; Fri, 20 Jan 2006 02:53:05 -0800
Received: by wavehammer.waldi.eu.org (Postfix, from userid 1000)
        id AF7733C022; Fri, 20 Jan 2006 11:53:03 +0100 (CET)
Date: Fri, 20 Jan 2006 11:53:03 +0100
From: Bastian Blank <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#348942: mklibs should ignore .la files.
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.11
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

On Fri, Jan 20, 2006 at 01:07:28AM +0100, Sven Luther wrote:
> Well, mklibs should probably ignore .la files, as it ignores .so and.sh
> and other such files. Not sure, but it dies saying that readelf can't
> handle .la files, which seems logical since la files are plain text
> files.

mklibs only looks at files it got on the command line which have to be
binaries.

Bastian


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

Reply via email to