Your message dated Fri, 5 Jun 2015 12:00:39 +0200
with message-id <[email protected]>
and subject line Re: Bug#779934: git-buildpackage: --git-pbuilder does not pass 
env variables such as DIST
has caused the Debian Bug report #779934,
regarding git-buildpackage: --git-pbuilder does not pass env variables such as 
DIST
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
779934: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779934
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.6.22
Severity: important

Dear Maintainer,

I have several cow images and set the DIST env variable to easily switch
between them. I found that `git-buildpackage --git-pbuilder` does not
receive the DIST variable I have set:

    $ DIST=mydist git-buildpackage --git-pbuilder
    Building with cowbuilder for distribution sid
                                              ^^^--- wrong!

The workaround is to use either:

a) --git-builder=git-pbuilder`:

    $ git-buildpackage --git-builder=git-pbuilder
    building with cowbuilder for distribution mydist
                                              ^^^^^^--- good!

b) --git-pbuilder --git-dist=mydist

    $ git-buildpackage --git-pbuilder --git-dist=mydist
    building with cowbuilder for distribution mydist
                                              ^^^^^^--- good!

The function handling the --git-pbuilder command does not seem to pass
the whole OS environement when invoking `git-pbuilder`. Unlike
--git-builder which does pass the OS env.

--git-dist should probably be set to default to whatever is provided in
the DIST env variable.


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git-buildpackage depends on:
ii  devscripts            2.15.1
ii  git                   1:2.1.4-2.1
ii  man-db                2.7.0.2-5
ii  python                2.7.8-3
ii  python-dateutil       2.2-2
ii  python-pkg-resources  5.5.1-1

Versions of packages git-buildpackage recommends:
ii  cowbuilder    0.73
ii  pristine-tar  1.33

Versions of packages git-buildpackage suggests:
ii  python-notify  0.1.1-4
ii  unzip          6.0-16

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,
On Sat, Mar 07, 2015 at 09:00:52AM +0100, Guido Günther wrote:
> severity 779934 wishlist
> thanks
> 
> On Fri, Mar 06, 2015 at 03:04:47PM +0100, Antoine Musso wrote:
> > Package: git-buildpackage
> > Version: 0.6.22
> > Severity: important
> > 
> > Dear Maintainer,
> 
> [..snip..]
> > 
> > b) --git-pbuilder --git-dist=mydist
> > 
> >     $ git-buildpackage --git-pbuilder --git-dist=mydist
> >     building with cowbuilder for distribution mydist
> >                                               ^^^^^^--- good!
> > 
> This is the intended (and documented) usage since we want to have
> 
>    --git-pbuilder
> 
> just build on sid (unless you override with --git-dist). That's why we
> ignore DIST= on purpose.
> 
> Why would you propose this should be changed?

I'm closing this due to lack of feedback from the submitter.
Cheers,
 -- Guido

--- End Message ---

Reply via email to