bzr builddeb takes tarball from upstream when it should use Debian

Bug #510312 reported by Scott Kitterman
6
This bug affects 1 person
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://www.unbound.net/downloads/unbound-1.4.1.tar.gz
  (local version is 1.4.1)
unbound: Successfully downloaded updated package unbound-1.4.1.tar.gz
    and renamed it as unbound_1.4.1.orig.tar.gz
Building the package in ../build-area/unbound-1.4.1, using debuild -sa -us -uc -S

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.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

apt is now checked before get-orig-source

Changed in bzr-builddeb (Ubuntu):
status: New → Fix Released
assignee: nobody → Jelmer Vernooij (jelmer)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.