bzr builddeb takes tarball from upstream when it should use Debian
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builddeb (Ubuntu) |
Fix Released
|
Undecided
|
Jelmer Vernooij |
Bug Description
Binary package hint: bzr-builddeb
Just trying to merge unbound from sid and when I built the package for the first time, I got:
$ bzr builddeb -S -- -sa -us -uc
Building using working tree
Looking for a way to retrieve the upstream tarball
Using apt to look for the upstream tarball.
apt could not find the needed tarball.
Trying to use get-orig-source to retrieve needed tarball.
dh get-orig-source
dh: Unknown sequence get-orig-source (choose from: binary binary-arch binary-indep build clean install)
make: *** [get-orig-source] Error 1
Trying to run get-orig-source rule failed
Using uscan to look for the upstream tarball.
unbound: Version (1.4.1) available on remote site:
http://
(local version is 1.4.1)
unbound: Successfully downloaded updated package unbound-
and renamed it as unbound_
Building the package in ../build-
It won't matter in this case, but sometimes there is more than one source for a tarball and they aren't always md5sum identical (this seems common for Perl modules on CPAN for some reason). It is important to have an md5sum matched tarball from Debian, so in case like this, bzr builddep should prefer the tarball from Debian.
apt is now checked before get-orig-source