Hi, Here is a status update on this issue, as I a currently working on it.
On 2015-05-14 11:16, Dima Kogan wrote: > Hi Andi. Thanks for the reply. > > As you saw, there's some cleanup stuff mixed in with the actual > foreign-arch build-dep stuff. I did a rebase so that these aren't > interleaved anymore, and the cleanup can be evaluated somewhat > independently. The build-dep stuff does depend on the cleanup, however. > > The new tree lives in a branch: > > > http://anonscm.debian.org/cgit/users/dkogan-guest/wanna-build.git/log/?h=770925_foreign_arch_bd > > Same code as before, with a small, uninteresting bug fix: > > --- b/bin/wanna-build > +++ a/bin/wanna-build > @@ -1920,1 +1920,1 @@ > - my @arch_foreign = grep { !/^(?:native|all|any|$arch_native)/ } keys > %qualified_arches; > + my @arch_foreign = grep { !/^(?:native|all|any|$arch_native)$/ } > keys %qualified_arches; > > > The tree now looks like this: > > * 800aaee..: more correct handling of dose exit codes, as defined in the > latest dose3 This has been merged a few months ago. > * 4428317..: dose-builddebcheck now has Packages for native and ALL foreign > arches This doesn't work, as when passing Packages file from foreign architectures, this also passes arch:all packages which might be at a different version than on the native architecture. This would cause some packages without cross-build-dependencies to be wrongly marked as needs-build or bd-uninstallable. I am currently working on an improve triggered code which passes the other Packages file explicitely. That will also clean up a bit the arch:all handling code. > * 62fe41c..: I now pass --deb-foreign-archs to dose-builddebcheck as needed This patch looks fine on principle, but the calls to dpkg triggers it to determine its native architecture, which looks a bit scaring, given we run it on an amd64 machine, not a buildd. This leads to this error messsages: | sh: 1: gcc: not found | wanna-build: warning: couldn't determine gcc system type, falling back to default (native compilation) > * e041d64..: I now call dose-builddebcheck with IPC::Run This has been merged a few months ago. > * b857c74..: some small syntactic corrections This has been merged a few months ago. I am currently working on this, I really hope to get something working by the end of the week. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net