Package: pbuilder
Version: 0.181
Severity: normal
Tags: patch

The B<x11-utils> package has funny comments in its F<debian/control>.
Those comments are accepted by B<get_control_re> function as part of
I<Build-Depends:> field.  Then B<pbuilder-satisfydepends-experimental>
dies with C<(not adding  to #)> (please, note double space and hash).

With F<bugfix.diff> aplied (and successful build and install)
B<x11-utils> builds happily.

Excuse me a bit of speculation.  If my understanding of Debian Policy is
correct than B<x11-utils> package in state of B<7.3+2> (in sid) violates
it.  However (at moment of writing this) no one complains.  May be it's
just some modern trend.  As if it's the only trend.

Hence this, personally I'm not going to fight B<x11-utils> folks that
they are darn houligans.  I'm just keeping building C<lenny> on C<etch>
and would like to share that success story.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'stable'), (400, 'oldstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-2-686
Locale: LANG=C, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8)
--- pbuilder-0.181.orig/pbuilder-satisfydepends-funcs
+++ pbuilder-0.181/pbuilder-satisfydepends-funcs
@@ -55,6 +55,7 @@
     re="$2"
 
     cat "$control" |
+    grep --invert-match '^#' |
         awk '
         BEGIN { source=1 }
         /^$/ { source=0 }

Reply via email to