[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) [] 
	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
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_05 (

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

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

-- 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 [] 
	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:

  to pool/main/c/cdbs/cdbs_0.4.12.dsc
  to pool/main/c/cdbs/cdbs_0.4.12.tar.gz
  to pool/main/c/cdbs/cdbs_0.4.12_all.deb

A summary of the changes between this version and the previous one is

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
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)

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>
 cdbs       - common build system for Debian packages
Closes: 214316 214327
 cdbs (0.4.12) unstable; urgency=low
   * Colin Walters <walters@debian.org>:
     - Fix is_debug_package logic (Closes: #214327, #214316)
 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

Version: GnuPG v1.2.3 (GNU/Linux)