Bug#782150: pbuilder: pdebuild fails with --changes-option=-[AaBbFg] or just -g

Ondřej Surý ondrej at debian.org
Wed Apr 8 14:15:23 UTC 2015


Package: pbuilder
Version: 0.215+nmu3
Severity: normal

Hi,

pdebuild doesn't work with -g or with any binary option given in
--changes-option, simple workaround fixes that:

echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | \
    perl -pe 's/(^|\s|=)-[AbBFg](\s|$|'\'')/$1-S$2/g' | \
    /bin/bash

Add = as a start delimiter and ' as end delimiter and -g to the list
of stripped options.  It's probably not a complete solution, but it
helps right now to build with --changes-option=-g that I use almost
exclusively.

Cheers,
Ondrej

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (700, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pbuilder depends on:
ii  coreutils              8.23-4
ii  debconf [debconf-2.0]  1.5.56
ii  debianutils            4.4+b1
ii  debootstrap            1.0.67
ii  dpkg-dev               1.17.24
ii  wget                   1.16-1

Versions of packages pbuilder recommends:
ii  devscripts  2.15.1
ii  fakeroot    1.20.2-1
ii  iproute2    3.16.0-2
ii  net-tools   1.60-26+b1
ii  sudo        1.8.10p3-1+deb8u2

Versions of packages pbuilder suggests:
ii  cowdancer     0.73
pn  gdebi-core    <none>
pn  pbuilder-uml  <none>

-- debconf information excluded

-- debsums errors found:
debsums: changed file /usr/bin/pdebuild (from pbuilder package)



More information about the Pbuilder-maint mailing list