Package: git-buildpackage Version: 0.6.32 Severity: normal When building a package in “overlay” mode, the upstream source is by definition not in the VCS working tree until the overlay is assembled.
So commands such as ‘debian/rules clean’ will not work, if issued before the overlay is assembled: $ gbp config buildpackage.overlay buildpackage.overlay=true $ ls -1F debian/ $ gbp buildpackage --source dh clean --with python3 --buildsystem=pybuild dh_testdir -O--buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/home/bignose/Projects/debian/python-adventure/trunk' dh_auto_clean E: pybuild pybuild:88: cannot detect build system, please use --system option or set PYBUILD_SYSTEM env. variable dh_auto_clean: pybuild --clean -i python{version} -p 3.4 --dir . returned exit code 11 debian/rules:97: recipe for target 'override_dh_auto_clean' failed […] The ‘gbp buildpackage’ command, for a package in “overlay” mode, should not assume any of the ‘debian/rules’ commands will work in the absence of the upstream source. That includes ‘clean’. Instead, before issuing the ‘debian/rules clean’ command, the overlay needs to be assembled: get the upstream source for the package, then overlay the Debian packaging files onto it. Only after that can ‘debian/rules clean’ be expected to work in the exported tree. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages git-buildpackage depends on: ii devscripts 2.15.9 ii git 1:2.6.1-1 ii man-db 2.7.4-1 ii python 2.7.9-1 ii python-dateutil 2.2-2 ii python-pkg-resources 18.4-1 ii python-six 1.10.0-1 Versions of packages git-buildpackage recommends: ii cowbuilder 0.74 ii pbuilder 0.219 ii pristine-tar 1.33 ii python-requests 2.7.0-3 ii sbuild 0.66.0-2 Versions of packages git-buildpackage suggests: ii python-notify 0.1.1-4 ii unzip 6.0-18 -- no debconf information -- \ “Isn't it enough to see that a garden is beautiful without | `\ having to believe that there are fairies at the bottom of it | _o__) too?” —Douglas Adams | Ben Finney <b...@benfinney.id.au>
signature.asc
Description: PGP signature