"apt-get source" should warn when sources cannot be built using debuild or dpkg-buildpackage.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
For context see comments 10, 11, 12, 13, 17, 18, and 21 of:
https:/
In lines 2425-2435 of cmdline/apt-get.cc I see:
if(vcs == "Bzr")
break;
So when running "apt-get source SOMEPACKAGE" I am sometimes warned to use "bzr branch" instead.
Sometimes I am warned to use "git clone" or "svn checkout", but I can't find the code for this in the apt package; maybe it is located elsewhere?
At any rate, I was recently advised that for packages stored in git repositories, I should (sometimes) use "git-buildpackage" instead of "debuild binary" or "dpkg-buildpackage" to build from source.
At the risk of making Ubuntu dangerously user-friendly, I suggest that the same code that warns to check out from a repository should also advise that non-standard build tools may be needed, or at least point to a documentation page somewhere that lists the various possibilities.
"Sometimes I am warned to use "git clone" or "svn checkout", but I can't find the code for this in the apt package; maybe it is located elsewhere?"
This line is in debian/control file wiki.ubuntu. com/BugSquad
---
Ubuntu Bug Squad volunteer triager
http://