On Sat, Jan 23, 2010 at 03:19:51PM +0000, Roger Leigh wrote: > On Sat, Jan 23, 2010 at 03:18:02PM +0100, Philipp Kern wrote: > > 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. > > > > I doubt that: > > > > pk...@puccini:~$ sudo -u buildd schroot -c sid-i386-sbuild -u root -d /root > > -- dpkg --print-architecture > > I: [sid-i386-sbuild-bd3bc9da-cfdd-4650-9b71-d07a3168a5f4 chroot] > > (buildd->root) Running command: "dpkg --print-architecture" > > i386 > > > > And that worked until the most recent sbuild/buildd were deployed, > > before it worked just fine. > > This is odd. I'll do some checking when I get home from work. > > The result of dpkg --print-architecture is what's used when > opening the log, so they should not be able to differ. This > code hasn't changed recently. > > Could you check the name of the temporary build directory > under /build. This also has the arch name in the filename; can > you confirm this is also incorrect? > > If you run sbuild with --debug, it should print out the value > of each variable being set. If you grep for 'Arch', does this > get set once or multiple times; is it being assigned the > correct value?
The problem does not seem to be when building, but when I send back a signed .changes file. There are i386.changes files in the build dir, but they end up as amd64.changes after signing. Kurt -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

