[Build-common-hackers] Bug#214327: marked as done (cbds: new -dbg changes break stripping of binaries/libs in packages)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 06 Oct 2003 08:18:30 -0500


Your message dated Mon, 06 Oct 2003 09:02:17 -0400
with message-id <E1A6V0D-00042z-00@auric.debian.org>
and subject line Bug#214327: fixed in cdbs 0.4.12
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; 6 Oct 2003 07:51:53 +0000
>From dilinger@voxel.net Mon Oct 06 02:51:43 2003
Return-path: <dilinger@voxel.net>
Received: from hq.voxel.net (wax.hq.voxel.net) [66.109.37.2] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A6Q9f-0007Wc-00; Mon, 06 Oct 2003 02:51:43 -0500
Received: by wax.hq.voxel.net (Postfix, from userid 1000)
	id 975131F7FB; Mon,  6 Oct 2003 03:51:42 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Andres Salomon <dilinger@voxel.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cbds: new -dbg changes break stripping of binaries/libs in packages
X-Mailer: reportbug 2.33
Date: Mon, 06 Oct 2003 03:51:42 -0400
Message-Id: <20031006075142.975131F7FB@wax.hq.voxel.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0
	tests=HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_10_05
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_05 (1.174.2.15-2003-03-30-exp)

Package: cdbs
Version: 0.4.11
Severity: important
Tags: sid


The new change, which makes cdbs not call dh_strip on -dbg packages,
causes cdbs to not call dh_strip at all.  The logic in the script
(from /usr/share/cdbs/1/rules/debhelper.mk, line 151) is:

if test "$(is_debug_package)"; then : else dh_strip -p$(cdbs_curpkg) $(foreach entry,$(DEB_STRIP_EXCLUDE),$(patsubst %,-X %,$(entry))) $(DEB_DH_STRIP_ARGS); fi

	
Unfortunately, that doesn't work:

dilinger@wax:~$ export is_debug_package=""; if test "$is_debug_package";
then : else echo "not debug"; fi
dilinger@wax:~$

What that line should be is:

if test "$(is_debug_package)"; then true; else dh_strip -p$(cdbs_curpkg) $(foreach entry,$(DEB_STRIP_EXCLUDE),$(patsubst %,-X %,$(entry))) $(DEB_DH_STRIP_ARGS); fi

or even better:

if ! test "$(is_debug_package)"; then dh_strip -p$(cdbs_curpkg) $(foreach entry,$(DEB_STRIP_EXCLUDE),$(patsubst %,-X %,$(entry))) $(DEB_DH_STRIP_ARGS); fi


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux wax.hq.voxel.net 2.4.21 #1 Wed Jul 9 14:15:24 EDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

-- no debconf information


---------------------------------------
Received: (at 214327-close) by bugs.debian.org; 6 Oct 2003 13:08:29 +0000
>From katie@auric.debian.org Mon Oct 06 08:08:29 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A6V68-0000IN-00; Mon, 06 Oct 2003 08:08:24 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1A6V0D-00042z-00; Mon, 06 Oct 2003 09:02:17 -0400
From: Colin Walters <walters@debian.org>
To: 214327-close@bugs.debian.org
X-Katie: $Revision: 1.37 $
Subject: Bug#214327: fixed in cdbs 0.4.12
Message-Id: <E1A6V0D-00042z-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Mon, 06 Oct 2003 09:02:17 -0400
Delivered-To: 214327-close@bugs.debian.org

Source: cdbs
Source-Version: 0.4.12

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

cdbs_0.4.12.dsc
  to pool/main/c/cdbs/cdbs_0.4.12.dsc
cdbs_0.4.12.tar.gz
  to pool/main/c/cdbs/cdbs_0.4.12.tar.gz
cdbs_0.4.12_all.deb
  to pool/main/c/cdbs/cdbs_0.4.12_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 214327@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Walters <walters@debian.org> (supplier of updated cdbs 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: Mon,  6 Oct 2003 08:48:58 -0400
Source: cdbs
Binary: cdbs
Architecture: source all
Version: 0.4.12
Distribution: unstable
Urgency: low
Maintainer: CDBS Hackers <build-common-hackers@lists.alioth.debian.org>
Changed-By: Colin Walters <walters@debian.org>
Description: 
 cdbs       - common build system for Debian packages
Closes: 214316 214327
Changes: 
 cdbs (0.4.12) unstable; urgency=low
 .
   * Colin Walters <walters@debian.org>:
     - Fix is_debug_package logic (Closes: #214327, #214316)
Files: 
 ac5efa456c6761e79713fbf7d8a2c3c7 829 devel optional cdbs_0.4.12.dsc
 25f7a0ee1c23993903347415540ed8ba 214214 devel optional cdbs_0.4.12.tar.gz
 1804d48e422c57018a97244d7620727b 64516 devel optional cdbs_0.4.12_all.deb

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

iD8DBQE/gWWsOIkJWWp2WGURAk0xAJ4oQw10x4jiGyyGuj71Wig81NTFzACcCokq
No5qaSOpQXlFhP/r35ajrhA=
=1Wg9
-----END PGP SIGNATURE-----