[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#683786: apt-get cross build dependency resolution of arch:all, m-a:none packages



On Sat, Aug 4, 2012 at 7:25 PM, Johannes Schauer <j.schauer@email.de> wrote:
> tldr: the issue seems solved, dose3 and apt-get only differ on 3 out of
> 635 source packages. You can probably close this bugreport using your
> fixed patch.

Thanks for testing! Well appreciated that we have a second tool working on
these cross-dependencies now around. Gives me personally a little more
confident that at least not everything is wrong in that code …
(frankly, I expected worse, given that I have never cross-compiled anything,
 so that my experience in that context is … limited.)

Now I just need to figure out how to get, build and run dose3.
If you have some doc for this already written somewhere I would welcome
a pointer, otherwise I presume I should reread your gsoc reports and
get the info from there. :)

> Both source packages build depend on libpng-dev which is a virtual
> package provided by libpng12-dev which is also selected by apt in its
> native version.

Attached is a diff for bug-class which should ensure that APT chooses by
default a host-arch packages (and especially a provider from that arch)
instead of sometimes ending up using build-arch. Either by just not using
build-arch if it could use host-arch (only if it needs to of course) or
by erroring out if no solution exists instead of claiming everything is fine
and ignoring all problems encountered.


Our tests are fine with it and the two mentioned packages seem to be fine too
(but I could solve build-deps before for both with an empty dpkg/status so
 I may as well just be lucky -- and it is late now in Germany, so I am
 probably even more "lucky" in overlooking new bugs than usual …).
I will give it more thoughts until Monday - Michael should be back then, too.


Best regards

David Kalnischkies

Attachment: apt-683786-build-dep-on-virtual-packages.diff
Description: Binary data


Reply to: