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

Kurt Roeckx kurt at roeckx.be
Sat Jan 23 14:04:12 UTC 2010


On Sat, Jan 23, 2010 at 01:57:50PM +0000, Roger Leigh wrote:
> 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.

It doesn't inside the chroot, only outside the chroot.

> 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.

What $arch option?

I already had to change $arch in .builddrc to:
built_architecture => 'i386'

There is no $arch in example .builddrc files anymore.

.sbuildrc still contains:
$arch = 'i386';


Kurt






More information about the Buildd-tools-devel mailing list