Bug#867822: pbuilder: pdebuild cannot build source-only packages
Sven Joachim
svenjoac at gmx.de
Sun Jul 9 18:31:06 UTC 2017
Package: pbuilder
Version: 0.228.7
Severity: normal
Passing "--debbuildopts -S" to pdebuild does not currently work, because
that produces a *_source.changes file while pbuilder expects a
*_${ARCH}.changes:
,----
| $ pdebuild --debbuildopts -S
| W: /home/sven/.pbuilderrc does not exist
| [...]
| dpkg-source -i -b ncurses-6.0+20161126
| dpkg-source: info: using source format '3.0 (quilt)'
| dpkg-source: info: building ncurses using existing ./ncurses_6.0+20161126.orig.tar.gz
| dpkg-source: info: building ncurses in ncurses_6.0+20161126-1+deb9u1.debian.tar.xz
| dpkg-source: info: building ncurses in ncurses_6.0+20161126-1+deb9u1.dsc
| dpkg-genbuildinfo --build=source
| dpkg-genchanges --build=source >../ncurses_6.0+20161126-1+deb9u1_source.changes
| dpkg-genchanges: info: not including original source code in upload
| dpkg-source -i --after-build ncurses-6.0+20161126
| dpkg-buildpackage: info: binary and diff upload (original source NOT included)
| I: copying local configuration
| E: Missing changes file: /var/cache/pbuilder/build/26303/build/ncurses_6.0+20161126-1+deb9u1_i386.changes
`----
Now I _can_ of course produce the source package outside of pbuilder,
but it would be nicer and safer to build it in a chroot dedicated to the
distribution the upload is intended for.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.12.0-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.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 cdebootstrap 0.7.7+b1
ii debconf 1.5.62
ii debootstrap 1.0.90
ii dpkg-dev 1.18.24
ii wget 1.19.1-4
Versions of packages pbuilder recommends:
ii devscripts 2.17.7
ii eatmydata 105-5
ii fakeroot 1.21-3.1
ii iproute2 4.9.0-1
ii net-tools 1.60+git20161116.90da8a0-1
ii sudo 1.8.20p2-1
Versions of packages pbuilder suggests:
pn cowdancer <none>
pn gdebi-core <none>
-- debconf information:
* pbuilder/mirrorsite: http://ftp.de.debian.org/debian/
* pbuilder/rewrite: false
pbuilder/nomirror:
More information about the Pbuilder-maint
mailing list