Control: tag -1 moreinfo Hi, and sorry for the late reply.
On Sun, Feb 09, 2014 at 06:25:41PM +0100, Bastiaan Franciscus van den Dikkenberg wrote: > 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 > <b...@dikkenberg.net> > 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 reason for this is that you are not communicating to pbuilder which architecture you are building for. > # 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)"} Here you really should also be setting the ARCHITECTURE variable, which is what pbuilder/pdebiuld actually read. If ARCHITECTURE is not set it will default to the host architecture, which in you case is clearly amd64. I recommend you just replace the above with: ARCHITECTURE="${ARCH:-$(dpkg --print-architecture)}" or similar. I plan on closing this bug at some point, if you some of the above show some misunderstanding on my side please feel free to follow up. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. More about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature