[Build-common-hackers] Bug#462130: -dbg packages are not handled automatically with compat=6

Modestas Vainius modestas at vainius.eu
Tue Jan 22 18:10:09 UTC 2008


Package: cdbs
Version: 0.4.50
Severity: important
Tags: patch

Hello,

when debhelper compat level is set to 6, -dbg package ends up empty
contrary to the behaviour when compat is 5. I think the bug is rather
important because it is very unexpected and undesired behaviour might
be left unnoticed for quite a while. The patch for debhelper.mk is
attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-1-amd64 (SMP w/1 CPU core)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cdbs depends on:
ii  debhelper                     6.0.3      helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20070725.1 Update infrastructure for config.{

-- no debconf information
-------------- next part --------------
--- debhelper.mk	2007-11-02 14:22:46.000000000 +0200
+++ debhelper.mk	2008-01-22 20:00:44.000000000 +0200
@@ -122,7 +122,7 @@
 endif
 endif
 cdbs_dbg_package = $(if $(DEB_DBG_PACKAGE_$(cdbs_curpkg)),$(DEB_DBG_PACKAGE_$(cdbs_curpkg)),$(DEB_DBG_PACKAGE_ALL))
-cdbs_dbg_package_option = $(if $(cdbs_dbg_package),$(shell if [ "$(DH_COMPAT)" -eq 5 ]; then echo "--dbg-package=$(strip $(cdbs_dbg_package))"; fi))
+cdbs_dbg_package_option = $(if $(cdbs_dbg_package),$(shell if [ "$(DH_COMPAT)" -qe 5 ]; then echo "--dbg-package=$(strip $(cdbs_dbg_package))"; fi))
 DEB_DH_STRIP_ARGS = $(cdbs_dbg_package_option)
 endif
 


More information about the Build-common-hackers mailing list