[buildd-tools-devel] Bug#566398: Bug#566398: sbuild: Generates .changes file with wrong arch.

Roger Leigh rleigh at codelibre.net
Sat Jan 23 13:57:50 UTC 2010


On Sat, Jan 23, 2010 at 12:56:00PM +0100, Kurt Roeckx wrote:
> All my i386 uploads got rejected, because I have filenames like:
> ffmpeg_0.5+svn20090706-5_amd64.changes
> instead of:
> ffmpeg_0.5+svn20090706-5_i386.changes
> 
> sbuild is called with the proper --arch=i386.

The architecture used is determined by
"dpkg --print-architecture" inside the chroot.
In your case, it must be returning amd64 for
some reason.

The --arch and $arch options are used to identify a
chroot with $arch in the name, but this doesn't
set the arch directly; it does require the chroot
to report that it the correct arch.

If dpkg --print-architecture is the wrong way to
do this, we can look for a more reliable alternative.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100123/cca9b7fe/attachment.pgp>


More information about the Buildd-tools-devel mailing list