[01:18] <psusi> so gcc on amd64 can build binaries for i386... how do you tell debuild that's what you want to do?
[01:44] <bregma> psusi, try -mi36
[01:51] <psusi> bregma, to get gcc to build it yea, but how to tell debuild that the package arch should be i386?
[02:00] <bregma> I just use pbuilder-dist, it takes care of all that stuff
[02:46] <psusi> it seems dpkg gets the arch from dpkg-architecture, which detects your current arch... you can pass -ai386 to force it to use 386, but even if I set all of the env vars to what it says for i386, it seems they are ignored when I run debuild as it runs dpkg-architecture again, without the -a....
[02:51] <psusi> ohh, there we go, just had to pass -ai386 to debuild... except dh_strip is trying to run "i686-linux-gnu-strip" instead of just strip... hrm...