Your message dated Mon, 31 Oct 2005 18:32:10 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#336698: dh_strip: debug data going to the wrong place
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; 31 Oct 2005 23:48:19 +0000
>From [EMAIL PROTECTED] Mon Oct 31 15:48:19 2005
Return-path: <[EMAIL PROTECTED]>
Received: from anchor-post-36.mail.demon.net [194.217.242.86] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EWjNz-0003NL-00; Mon, 31 Oct 2005 15:48:19 -0800
Received: from youmustbejoking.demon.co.uk ([212.228.127.8] 
helo=pentagram.youmustbejoking.demon.co.uk)
        by anchor-post-36.mail.demon.net with esmtp (Exim 4.42)
        id 1EWjNw-000Dgo-Je
        for [EMAIL PROTECTED]; Mon, 31 Oct 2005 23:48:17 +0000
Received: from [192.168.0.2] (helo=riscpc)
        by pentagram.youmustbejoking.demon.co.uk with esmtp (Exim 4.50)
        id 1EWjNu-0005uL-NO
        for [EMAIL PROTECTED]; Mon, 31 Oct 2005 23:48:14 +0000
Date: Mon, 31 Oct 2005 23:08:39 +0000
From: Darren Salt <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Messenger-Pro/3.30b4 (MsgServe/3.10) (RISC-OS/4.02) POPstar/2.06+cvs
To: [EMAIL PROTECTED]
Subject: dh_strip: debug data going to the wrong place
X-Editor: Zap 1.47 (17 Oct 2005) [TEST], ZapEmail 0.28.3 (25 Mar 2005) (32)
X-SDate: Mon, 4444 Sep 1993 23:08:39 +0000
X-Message-Flag: Outlook Express is broken. Upgrade to mail(1).
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-SA-Exim-Connect-IP: 192.168.0.2
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
X-SA-Exim-Scanned: No (on pentagram.youmustbejoking.demon.co.uk); SAEximRunCond 
expanded to false
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=-6.5 required=4.0 tests=BAYES_01,HAS_PACKAGE,
        RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: debhelper
Version: 4.9.13
Severity: serious
Justification: causes incorrectly-built packages

While trying to do some debugging involving a GTK-based package, using
libgtk2.0-0-dbg and friends in order to get better backtraces, I noticed that
the better backtraces aren't appearing.

On closer examination, I found that the debug data isn't in /usr/lib/debug,
where it is expected to be, but in /usr/lib/debug/usr/lib. Checking via
packages.d.o shows several other packages with the same and similar problems.

For testing, I picked fontconfig, that being a nice small source package,
from which a -dbg package is built, and tried it... sure enough,
/usr/lib/debug/usr/lib appeared in the -dbg deb. Trying a few commands with a
modified dh_strip (to print out some debug info):

  $ ./debian/rules build
...
  $ export DH_COMPAT=4
  $ dh_clean -k
  $ make install DESTDIR=`pwd`/debian/tmp
  $ dh_install -plibfontconfig1
  $ dh_install -plibfontconfig1-dbg
  $ ls -R debian/libfontconfig1-dbg/usr/lib/debug
  ls: debian/libfontconfig1-dbg/usr/lib/debug: No such file or directory
  $ dh_strip -plibfontconfig1 --dbg-package=libfontconfig1
  Debug: file = debian/libfontconfig1/usr/lib/libfontconfig.so.1.0.4
         tmp  = debian/libfontconfig1
         dest = debian/libfontconfig1-dbg
         base = /usr/lib/libfontconfig.so.1.0.4
         path = 
debian/libfontconfig1-dbg/usr/lib/debug//usr/lib/libfontconfig.so.1.0.4
         dir  = debian/libfontconfig1-dbg/usr/lib/debug//usr/lib
  $ ls -R debian/libfontconfig1-dbg/usr/lib/debug
  debian/libfontconfig1-dbg/usr/lib/debug:
  usr/
  
  debian/libfontconfig1-dbg/usr/lib/debug/usr:
  lib/
  
  debian/libfontconfig1-dbg/usr/lib/debug/usr/lib:
  libfontconfig.so.1.0.4

(The variables in the debug output are in the order in which they're defined
in make_debug().)

-- 
| Darren Salt   | linux (or ds) at | nr. Ashington,
| sarge,        | youmustbejoking  | Northumberland
| RISC OS       | demon co uk      | Toon Army
|   I don't ask for much, just untold riches...

Errare umanum est.

---------------------------------------
Received: (at 336698-done) by bugs.debian.org; 1 Nov 2005 02:32:13 +0000
>From [EMAIL PROTECTED] Mon Oct 31 18:32:13 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net (tennyson.dodds.net) 
[66.93.39.86] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EWlwb-0001JZ-00; Mon, 31 Oct 2005 18:32:13 -0800
Received: by tennyson.dodds.net (Postfix, from userid 1000)
        id 708A67014; Mon, 31 Oct 2005 18:32:10 -0800 (PST)
Date: Mon, 31 Oct 2005 18:32:10 -0800
From: Steve Langasek <[EMAIL PROTECTED]>
To: Darren Salt <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED], debian-devel@lists.debian.org
Subject: Re: Bug#336698: dh_strip: debug data going to the wrong place
Message-ID: <[EMAIL PROTECTED]>
Mail-Followup-To: Darren Salt <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED], debian-devel@lists.debian.org
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="Cqq5NadOW2RfLMJ/"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--Cqq5NadOW2RfLMJ/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 01, 2005 at 12:19:07AM +0000, Darren Salt wrote:
> I've noticed that several files which should be in /usr/lib/debug are in =
fact
> in /usr/lib/debug/usr/lib. Checking via packages.d.o shows that as well as
> this, debug data is showing up in /usr/lib/debug/usr/bin and
> /usr/lib/debug/lib.

> There is at least one bug (no. 324681) already reported concerning this; =
I've
> not yet checked for others.

> Affected maintainers have not yet been CC'd; bugs will be filed once a fi=
xed
> debhelper appears in unstable (or I'm told that I'm completely wrong :-) =
).

Sorry, you're completely wrong.  The files installed in
/usr/lib/debug/usr/lib are detached symbol files, that are loaded
automatically by gdb -- *not* using LD_LIBRARY_PATH; and gdb looks for
detached symbol files by prepending /usr/lib/debug to the full path of the
original object file.  So there's no debhelper bug here.  If there are
detached symbol files that aren't working, that bug must lie elsewhere.

--=20
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

--Cqq5NadOW2RfLMJ/
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFDZtOpKN6ufymYLloRAkRXAJ9EyapcGjERBgTbcJa60HHawhQ3bQCgrNbv
GwQXgsEYlfsTTJ7S3bcHso0=
=PVAL
-----END PGP SIGNATURE-----

--Cqq5NadOW2RfLMJ/--


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

Reply via email to