Your message dated Tue, 24 Nov 2015 16:24:42 +0000 with message-id <[email protected]> and subject line Bug#804905: fixed in pbuilder 0.221 has caused the Debian Bug report #804905, regarding pbuilder: pdebuild --auto-debsign not working for source only builds to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 804905: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804905 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: pbuilder Version: 0.220 Severity: normal Tags: patch Hi, when running 'gbp buildpackage -S' no *${architecture}.changes file is created, instead *source.changes is created. pdebuild can't find file to sign, thus throwing an error: "debsign: Can't find or can't read changes file " Attached patch is crude but is solving this problem. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing'), (100, 'unstable'), (10, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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 debconf [debconf-2.0] 1.5.57 ii debootstrap 1.0.74 ii dpkg-dev 1.18.3 ii wget 1.16.3-3 Versions of packages pbuilder recommends: ii devscripts 2.15.9 ii fakeroot 1.20.2-1 ii iproute2 4.1.1-1 ii net-tools 1.60+git20150829.73cef8a-1 ii sudo 1.8.12-1 Versions of packages pbuilder suggests: ii cowdancer 0.75 -- debconf information excluded>From 50281d23fd06f57aafe30d15c638a94da52c4c80 Mon Sep 17 00:00:00 2001 From: Marcin Kulisz <[email protected]> Date: Thu, 12 Nov 2015 18:18:22 +0000 Subject: [PATCH] Making pdebuild to sign *source.changes file if + build is for source only upload --- pdebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pdebuild b/pdebuild index 8a28aba..db6709a 100644 --- a/pdebuild +++ b/pdebuild @@ -33,6 +33,7 @@ PKG_SOURCENAME=$(dpkg-parsechangelog|sed -n 's/^Source: //p') PKG_VERSION=$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p') ARCHITECTURE="${ARCHITECTURE:-$(dpkg-architecture -qDEB_HOST_ARCH)}" CHANGES="${PKG_SOURCENAME}_${PKG_VERSION}_${ARCHITECTURE}.changes" +SOURCE_CHANGES="${PKG_SOURCENAME}_${PKG_VERSION}_source.changes" if [ -z "${PBUILDER_BUILD_LOGFILE}" ]; then PBUILDER_BUILD_LOGFILE="../${PKG_SOURCENAME}_${PKG_VERSION}_${ARCHITECTURE}.build" @@ -96,5 +97,8 @@ if [ "${AUTO_DEBSIGN}" = "yes" ]; then DEBSIGN_PARAM[1]="-k${DEBSIGN_KEYID}" fi DEBSIGN_PARAM[2]="${BUILDRESULT}/${CHANGES}" + if [ ! -f "${DEBSIGN_PARAM[2]}" ]; then + DEBSIGN_PARAM[2]="${BUILDRESULT}/${SOURCE_CHANGES}" + fi debsign "${DEBSIGN_PARAM[@]}" fi -- 2.6.2
--- End Message ---
--- Begin Message ---Source: pbuilder Source-Version: 0.221 We believe that the bug you reported is fixed in the latest version of pbuilder, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Mattia Rizzolo <[email protected]> (supplier of updated pbuilder package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 24 Nov 2015 14:04:30 +0000 Source: pbuilder Binary: pbuilder pbuilder-uml Architecture: source Version: 0.221 Distribution: unstable Urgency: medium Maintainer: Debian pbuilder maintenance team <[email protected]> Changed-By: Mattia Rizzolo <[email protected]> Description: pbuilder - personal package builder for Debian packages pbuilder-uml - user-mode-linux version of pbuilder Closes: 490184 607607 608636 629947 683848 753944 804729 804905 805392 805552 Changes: pbuilder (0.221) unstable; urgency=medium . [ Reiner Herrmann ] * doc/Makefile: make the build reproducible by using a fixed temp dir to build the pdf. Closes: #804729 . [ Luca Falavigna ] * add binNMU support. Closes: #683848 . [ Andreas Beckmann ] * add "binary-only=yes" mark to the binNMU changelog. * only set Changed-By to --binnmu-maintainer in .changes do not override Maintainer. . [ Mattia Rizzolo ] * debian/control: + Add dependency on dpkg-dev >= 1.7.0 due to `dpkg-parsechangelog -S` * {create,update}: consider APTGETOPT also when running apt-get update. Closes: #608636 * make the output level configurable through LOGLEVEL (--loglevel) valid values are D/I/W/E. Closes: #490184 * pbuilder: + add an (undocumented) --help operation. Exit 0 if the help was requested. + clean: use `rm -f` when removing APTCACHE/*, so we don't fail when there is nothing in it. Closes: #607607 + update: correctly detect if debdelta is available. Closes: #805392 + build: umount as the very last option, due keeping the bindmounts while executing the hooks. Closes: #805552 * pdebuild: + make debsign work if only a source build was perfomed and only _source.changes is available. Closes: #804905 Thanks to Marcin Kulisz <[email protected]> for the original patch. * modules: + add 3 log.{i,w,e}() functions to be used instead of log(). - also use them instead of plain log() everywhere in the code. + mainly style improvments to binNMU(). + short the --help output and point to the manual pages instead. + copy /etc/resolv.conf from the host only when USENETWORK=yes. Closes: #753944 * checkparams: + override "experimental" DISTRIBUTION only in the create and update target. * docs: + add an empty POT file in the documentation directory, to ease the work of translators. Closes: #629947 * t: + testlib: add a expect_stderr(), to explicitly test stderr. + pbuilder-modules: also test the expected stderr from log(). * debian/tests/build-procenv: use archive.ubuntu.com for amd64/i386 and ports.ubuntu.com for everything else to fix autopkgtests on ubuntu. Checksums-Sha1: 62a5aff97746252d7d653dfcbe3505fa89b5a976 1915 pbuilder_0.221.dsc 03855ecd2a5782b8abbc0bd627c383b8b7f5009f 306672 pbuilder_0.221.tar.xz Checksums-Sha256: 5394b7f85463a9853ad9cad6e98af728a8b4caf867ec6fcdf2f84e20738beba8 1915 pbuilder_0.221.dsc 4a4a150bd5dd48e2d4f3cf0c9ac98754661c9069ebeeee9fa828722e782b8903 306672 pbuilder_0.221.tar.xz Files: 13a84bab32662f398055ec9eb059e880 1915 devel extra pbuilder_0.221.dsc 9a9c114b5aa184bf0be1b88927702162 306672 devel extra pbuilder_0.221.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWVG6kAAoJEEsEP825REVAVR0QAKN+EqLpkCWdtBlKAbBUjky3 MXJTiQLooxPuglGyEixJVMpldIDcRLj0htqjkqqJlJ82njo4ZjyBuHeVr3Zrfe/D pUhsHpU1REe3zVWs9dtRtMjVVpkyCcDwZh+DQKKxdI2STHcM8ba01UY3TAKXelRL 7uLAQEBWOXPvl265EQECTHcNajyGEtzVoQtb5ZUTsYxhwRSLLD8IhZ9+wlwoAGDe N8e3jARtLIySBAIEtGaC80PCvq89BGxRU8yfELwz6z1Feb/KD2PHBXuruNy3rFog 1UJ+ce6NNF2mnt3exqsqhiUwtE3et5tK5j+EdsZhJ3YX/flL2Nj05CvugUWv+M58 17Klgap+lOqBQoTzuPXMBpnRFL+7168acwoYpQCbkCR7q0tGpD0Um4AhOB3mgHmq rFIjiIBLtDmQZOID0HJAteVIuB7jTd0+B7gONfwCSaLB5YjkI+UrcLA4i8FLICef ocNEgu4agLe1BOzRSTK2WtvvEAHrRziwFZivoPaWowLwAvFXw9B35MvdaOQgIYaB 96r8YzbigNC/wPHuRwNc1wSumUGayET5gjsXCTfnqzsdwUFdg4i1tHN4jfKolhmZ P8iL3bc+hnkgci62byTrERliZvIBQFS0xb7A/3z1nv/NxyetNdPeNnelKX8dKUCP 7YhY1vAdiNwpAx9GS8xb =o9Sr -----END PGP SIGNATURE-----
--- End Message ---

