pdebuild-cross fails to build things
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emdebian-crush (Ubuntu) |
Fix Released
|
Undecided
|
Wookey |
Bug Description
Various minor but fatal bugs were found using pdebuild-cross to actually build packages:
1) It didn't fall back to debian/control when debian/xcontrol was not present (it almost never is) (this fix somehow escpaed previous release)
2) It was not respecting arch qualifiers on dependencies so would try to install packages only available for kfreebsd, for example
3) When collecting the list of available apt sources it used any files in /etc/sources.
4) It would default to 'main contrib non-free' instead of 'main universe', which is wrong on ubuntu
5) It wouldn't install any packages if any unauthenticated repos were present.
6) Build dependencies from build-depends-indep were not installed. I'm not sure how much this matters, but it doesn't do any harm to include those.
All these are fixed in the attached patch. It now uses lsb-release to correctly default to ubuntu or debian system behaviour.
Related branches
tags: | added: patch |
Here is an updated patch which doesn't add an lsb-release dependency and does work properly with latest apt. The upload should be syncronised with multstrap fix: https:/ /bugs.launchpad .net/ubuntu/ +source/ multistrap/ +bug/646901
It also removes vestiges of the now-superceded apt-cross which were just wasting time on every build.