Public bug reported:

When running pbuilder-dist <dist> <arch> create, pbuilder-dist creates
the base tarball per hardcoded naming conventions. In doing so, it
disregards the contents of ~/.pbuilderrc and also provides no easy
workaround.

When run on an amd64 system,

pbuilder-dist saucy amd64 create && pbuilder-dist saucy i386 create

produces the following base tarballs :
saucy-base.tgz saucy-i386-base.tgz

These tarballs, consequently, have the following problems :
1. The names are inconsistent. Running the same commands on i386 and amd64 
machines produces markedly different results, making other third-party helper 
tools and scripts harder to write.
2. The names are inconsistent with the names set out in ~/.pbuilderrc, 
specifically as BASETGZ
3. (My specific instance of trouble) rebuildd, for whatever reason, wants the 
tarballs as saucy-amd64.tgz and saucy-i386.tgz. I have no way to provide these 
without making (minor) modifications to /usr/bin/pbuilder-dist. 

This is alright, and one could argue that rebuildd should provide a
nomenclature specification method, which it probably does, but I think
that for the sake of convenience and consistent experience, pbuilder-
dist should do one of more of the following:

1. Honor whatever is in ~/.pbuilderrc in terms of BASETGZ
2. Allow modification of BASETGZ with either an argument or using an 
environment variable to override whatever is hardcoded and/or whatever is in 
.pbuilderrc
3. Name the tarballs consistently by default. I expect there are various other 
dependencies involved, but I really don't see why arch should not just be 
included in the tgz name by default. The only possible explanation I can think 
of is if it is something used for truely arch-independent packaging (any), but 
that logic does not really support enforced arch-free naming for the host arch.

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1257909

Title:
  [pbuilder-dist] should honour BASETGZ or name consistantly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1257909/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to