[Pkg-bazaar-maint] Bug#619294: Bug#619294: bzr-builddeb: Don't disallow unknown distributions

James Westby jw+debian at jameswestby.net
Tue Mar 22 18:58:24 UTC 2011


On Tue, 22 Mar 2011 13:58:39 -0400, "Michael Alan Dorman" <mdorman at ironicdesign.com> wrote:
> Package: bzr-builddeb
> Version: 2.7.2
> Severity: normal
> 
> 
> Changes in version 2.7 have caused bzr-builddeb to start confirming
> the distribution named in the changelog matches a Debian or Ubuntu
> distribution that it knows about.
> 
> In doing so, you have rendered bzr-builddeb useless to me, and perhaps
> others.
> 
> I maintain a private repository using reprepro for branches of
> packages I have tweaked or that are inapplicable to a wider audience,
> and to make sure that I don't accidentally upload one to a public
> repository, I have taken to setting the distribution in the changelog
> to 'private'.
> 
> Unfortunately, with the update to version 2.7.2, I can no longer build
> such packages with bzr-builddeb, because I now get:
> 
>  Building branch from revision adorman at ironicdesign.com-20110322143630-ubwg87cqyrz9zo9q
>  bzr: ERROR: Unknown distribution: private.
> 
> This seems unnecessarily restrictive, and looking at the code, I can't
> understand why this error exists---it would seem to be a heuristic
> meant to be convenient to Ubuntu users, but it hardly seems like a
> requirement.
> 
> I would recommend that this be turned into a warning, at most, or at
> least give a user a way to not have it be a fatal error
> 
> Prior versions had no problem with any of this, and for the moment I
> have downgraded bzr-builddeb to 2.4 to avoid this issue.

This should now be fixed in trunk, thanks for the report.

James





More information about the Pkg-bazaar-maint mailing list