[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336282: xorg-x11: *-dbg packages have stripped debug files



Package: xorg-x11
Severity: important
Tags: experimental patch


Because DH_OPTIONS set to -s dh_strip processes all packages at each for
cycle iteration. So only lbxproxy-dbg package actually contains debug
symbols. Fix attached.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-k7xen0
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
--- a/debian/rules	2005-10-10 22:19:35.000000000 +0800
+++ b/debian/rules	2005-10-29 14:56:30.000000000 +0800
@@ -576,9 +576,7 @@
 	dh_installlogrotate
 	dh_installchangelogs
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	for PACKAGE in $(NONDBG_PACKAGES); do \
-	dh_strip --package=$$PACKAGE --dbg-package=$$PACKAGE; \
-	done
+	dh_strip $(addprefix --dbg-package=,$(NONDBG_PACKAGES))
 endif
 	dh_link
 	dh_compress

Reply to: