On Fri, 29 Nov 2013 20:51:51 +0100
Guido Günther <[email protected]> wrote:
> Hi Antonio,
> On Fri, Nov 29, 2013 at 04:23:23PM +0100, Antonio Ospite wrote:
> > Package: git-buildpackage
> > Version: 0.6.6
> > Severity: important
> >
> > Dear Maintainer,
> >
> > git-pbuilder fails to create or update chroots, this is how I am using
> > it:
> >
> > $ BUILDER=pbuilder git pbuilder create
> > W: /home/ao2/.pbuilderrc does not exist
> > E: Unknown option [--dist] was specified
> >
> > It looks like this is because in /usr/bin/git-pbuilder (around line 230)
> > you are using --dist "$DIST", however the pbuilder and cowbuilder man
> > pages only mention the --distribution option, not the --dist one.
>
> It sure works here but I agree that the manpage doesn't mention --dist I
> do wonder why it works here and not for you though. I've changed this in
> git but maybe Russ has an idea why --dist doesn't work for you.
> Cheers,
Actually I was wondering why it worked at all for you guys :)
Ah, I think I figured it out, maybe you only use cowbuilder and never
pbuilder? It looks like cowbuilder unofficially supports --dist.
This one fails:
sudo pbuilder --create --dist sid
This one succeeds:
sudo cowbuilder --create --dist sid
Actually this is because cowbuilder uses getopt_long() which accepts
abbreviations of long options (from getopt_long man page):
Long option names may be abbreviated if the abbreviation is
unique or is an exact match for some defined option.
BTW thanks for fixing it, better being strict when supporting different
compatible tools.
Ciao,
Antonio
--
Antonio Ospite
http://ao2.it
A: Because it messes up the order in which people normally read text.
See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]