Package: pbuilder Version: 0.215ubuntu2 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Dear Maintainer, debsign does not sign changes and dsc file when build for diverent architecture When i try to build an packkage on my AMD64 architecture for i386 architecture i get the error : This is the command i give an the out put : sudo DIST=sid ARCH=i386 pdebuild --auto-debsign --debsign-k E231FCB2 --debbuildopts \"-sa\" dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package pgtop dpkg-buildpackage: source version 3.7.0-2 dpkg-buildpackage: source changed by Bastiaan Franciscus van den Dikkenberg <[email protected]> dpkg-source --before-build build fakeroot debian/rules clean dh_testdir <snip> I: Copying back the cached apt archive contents I: unmounting dev/pts filesystem I: unmounting run/shm filesystem I: unmounting proc filesystem I: cleaning the build env I: removing directory /var/cache/pbuilder/build//24172 and its subdirectories I: Current time: Sun Feb 9 17:53:40 CET 2014 I: pbuilder-time-stamp: 1391964820 debsign: Can't find or can't read changes file /var/cache/pbuilder/sid-i386/result//pgtop_3.7.0-2_amd64.changes! The file that are created pgtop_3.7.0-2.debian.tar.gz pgtop_3.7.0-2.debian.tar.xz pgtop_3.7.0-2.dsc pgtop_3.7.0-2_i386.changes pgtop_3.7.0-2_i386.deb pgtop_3.7.0.orig.tar.gz ptop_3.7.0-2_all.deb You would exspect that the i386.changes file and the .dsc are signed but thats not the case The work around is to sign the file by hand, but pdebuild sould have done this for me. When i run the same command for the amd64 architecture the amd64.changes file is created and signed. as you can see below: sudo DIST=sid ARCH=amd64 pdebuild --auto-debsign --debsign-k E231FCB2 --debbuildopts \"-sa\" dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package pgtop dpkg-buildpackage: source version 3.7.0-2 dpkg-buildpackage: source changed by Bastiaan Franciscus van den Dikkenberg <[email protected]> dpkg-source --before-build build fakeroot debian/rules clean dh_testdir <snip> I: Copying back the cached apt archive contents I: unmounting dev/pts filesystem I: unmounting run/shm filesystem I: unmounting proc filesystem I: cleaning the build env I: removing directory /var/cache/pbuilder/build//47064 and its subdirectories I: Current time: Sun Feb 9 18:02:54 CET 2014 I: pbuilder-time-stamp: 1391965374 signfile /var/cache/pbuilder/sid-amd64/result//pgtop_3.7.0-2.dsc E231FCB2 signfile /var/cache/pbuilder/sid-amd64/result//pgtop_3.7.0-2_amd64.changes E231FCB2 Successfully signed dsc and changes files The files that are created now are: pgtop_3.7.0-2_amd64.changes pgtop_3.7.0-2_amd64.deb pgtop_3.7.0-2.debian.tar.gz pgtop_3.7.0-2.debian.tar.xz pgtop_3.7.0-2.dsc pgtop_3.7.0.orig.tar.gz ptop_3.7.0-2_all.deb And the i386.changes and dsc are not signed. Below you also see .pbuilderrc *** .pbuilderrc # Codenames for Debian suites according to their alias. Update these when # needed. UNSTABLE_CODENAME="sid" TESTING_CODENAME="jessie" STABLE_CODENAME="wheezy" STABLE_BACKPORTS_SUITE="$STABLE_CODENAME-backports" # List of Debian suites. DEBIAN_SUITES=($UNSTABLE_CODENAME $TESTING_CODENAME $STABLE_CODENAME "unstable" "testing" "stable") # List of Ubuntu suites. Update these when needed. UBUNTU_SUITES=("saucy" "raring" "precise" "quantal" "oneiric" "natty" "maverick" "lucid") # Mirrors to use. Update these to your preferred mirror. DEBIAN_MIRROR="ftp.nl.debian.org" UBUNTU_MIRROR="nl.archive.ubuntu.com" OTHERMIRROR="deb http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu raring main|deb-src http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu raring main" # Optionally use the changelog of a package to determine the suite to use if # none set. if [ -z "${DIST}" ] && [ -r "debian/changelog" ]; then DIST=$(dpkg-parsechangelog | awk '/^Distribution: / {print $2}') DIST="${DIST%%-*}" # Use the unstable suite for certain suite values. if $(echo "experimental UNRELEASED" | grep -q $DIST); then DIST="$UNSTABLE_CODENAME" fi fi # Optionally set a default distribution if none is used. Note that you can set # your own default (i.e. ${DIST:="unstable"}). : ${DIST:="$(lsb_release --short --codename)"} # Optionally change Debian release states in $DIST to their names. case "$DIST" in unstable) DIST="$UNSTABLE_CODENAME" ;; testing) DIST="$TESTING_CODENAME" ;; stable) DIST="$STABLE_CODENAME" ;; esac # Optionally set the architecture to the host architecture if none set. Note # that you can set your own default (i.e. ${ARCH:="i386"}). : ${ARCH:="$(dpkg --print-architecture)"} NAME="$DIST" if [ -n "${ARCH}" ]; then NAME="$NAME-$ARCH" DEBOOTSTRAPOPTS=("--arch" "$ARCH" "${DEBOOTSTRAPOPTS[@]}") fi BASETGZ="/var/cache/pbuilder/$NAME-base.tgz" # Optionally, set BASEPATH (and not BASETGZ) if using cowbuilder # BASEPATH="/var/cache/pbuilder/$NAME/base.cow/" DISTRIBUTION="$DIST" BUILDRESULT="/var/cache/pbuilder/$NAME/result/" APTCACHE="/var/cache/pbuilder/$NAME/aptcache/" BUILDPLACE="/var/cache/pbuilder/build/" if $(echo ${DEBIAN_SUITES[@]} | grep -q $DIST); then # Debian configuration MIRRORSITE="http://$DEBIAN_MIRROR/debian/" COMPONENTS="main contrib non-free" DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}" "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg") elif $(echo ${UBUNTU_SUITES[@]} | grep -q $DIST); then # Ubuntu configuration MIRRORSITE="http://$UBUNTU_MIRROR/ubuntu/" COMPONENTS="main restricted universe multiverse" DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}" "--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg") else echo "Unknown distribution: $DIST" exit 1 fi - -- System Information: Debian Release: wheezy/sid APT prefers saucy-updates APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy'), (100, 'saucy-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11.0-15-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pbuilder depends on: ii coreutils 8.20-3ubuntu5 ii debconf [debconf-2.0] 1.5.50ubuntu1 ii debianutils 4.4 ii debootstrap 1.0.53ubuntu0.1 ii dpkg-dev 1.16.12ubuntu1 ii wget 1.14-2ubuntu1 Versions of packages pbuilder recommends: ii aptitude 0.6.8.2-1ubuntu2 ii devscripts 2.13.4ubuntu0.1 ii fakeroot 1.20-1 ii sudo 1.8.6p3-0ubuntu3 Versions of packages pbuilder suggests: pn cowdancer <none> pn gdebi-core <none> pn pbuilder-uml <none> - -- debconf information: pbuilder/rewrite: false pbuilder/mirrorsite: http://nl.archive.ubuntu.com/ubuntu/ pbuilder/nomirror: -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iF4EAREIAAYFAlL3uhUACgkQ++KvngokTULqMQD/cHi9KyJQgZFkivRr4Hn6nlKC m2Oi2IX376ZVy+28i0YA/0PSqkJ9CIVw9OIWvuz5tcd60SCGmzqtkXOzmauoOENc =S9f7 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

