bzr builddeb --native complains if the package number suggests a non-native package

Bug #509377 reported by Michael Hudson-Doyle
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brz-debian
Triaged
Low
Unassigned
bzr-builddeb
Confirmed
Medium
Unassigned

Bug Description

example-local-0.4.2 contains a debianized source tree (built with bzr-builder, but that's not too important here) with a version of "0.4.2-654+24" or similar. I want to build it into a source package, but that builddeb won't let me:

mwh@grond:building-packages-on-launchpad$ bzr builddeb -S --native example-local-0.4.2/
Building using working tree
Running in native mode
Purging the build dir: ../build-area/bzr-git-0.4.2
Building the package in ../build-area/bzr-git-0.4.2, using debuild -S
This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of bzr-git_0.4.2.orig.tar.gz, bzr-git_0.4.2.orig.tar.bz2,
bzr-git_0.4.2.orig.tar.lzma or bzr-git-0.4.2.orig)
continue anyway? (y/n)

Revision history for this message
Robert Collins (lifeless) wrote :

What happens if you say 'y' ?

Changed in bzr-builddeb:
status: New → Incomplete
Revision history for this message
James Westby (james-w) wrote :

The user has already made their intent clear, so we should just use the flag
that disables this check.

If we want we can add a warning if something doesn't already do that, but
asking the user is wrong IMO.

Thanks,

James

Changed in bzr-builddeb:
status: Incomplete → Confirmed
importance: Undecided → Medium
Revision history for this message
John A Meinel (jameinel) wrote :

James mentions that there is code in bzr-builder to do exactly this.

Jelmer Vernooij (jelmer)
Changed in brz-debian:
status: New → Triaged
importance: Undecided → Low
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.