tags 697298 + pending thanks On Thu, Jan 03, 2013 at 06:10:06PM +0000, Colin Watson wrote: > If you attempt to build a package with a build-dependency on foo:native > (as documented in https://wiki.ubuntu.com/MultiarchCross), you get a > parse error from Dpkg::Deps. This is because Sbuild::ResolverBase > doesn't pass sufficient options to Dpkg::Deps::deps_parse to explain the > situation to it. Here are the relevant chunks of perldoc: > > =item union (defaults to 0) > > If set to 1, returns a Dpkg::Deps::Union instead of a Dpkg::Deps::AND. Use > this when parsing non-dependency fields like Conflicts. > > =item build_dep (defaults to 0) > > If set to 1, allow build-dep only arch qualifiers, that is “:native”. > This should be set whenever working with build-deps. > > I've also added build_arch, in order to correctly handle a case such as > mine where I have an i386 base system with amd64->armhf cross-building > chroots. This won't work until my patch in #697297 is also applied, but > it also isn't harmful.
Looks good, applied to git, thanks. It doesn't appear to do anything in Debian at present (build_arch, that is) or at least it's not documented to work, but doesn't appear to break anything. BTW, would it be helpful for you to be able to work on sbuild directly? You would be welcome to join (buildd-tools-devel on alioth). Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org