Your message dated Wed, 1 Jun 2005 23:59:31 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#311434: debuild --preserve-envvar PATH doesn't work.
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Jun 2005 02:07:11 +0000
>From [EMAIL PROTECTED] Tue May 31 19:07:11 2005
Return-path: <[EMAIL PROTECTED]>
Received: from note.orchestra.cse.unsw.edu.au [129.94.242.24] (root)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DdIdS-0003PC-00; Tue, 31 May 2005 19:07:11 -0700
Received: From lemon.gelato.unsw.edu.au ([129.94.173.27])
        (for <[EMAIL PROTECTED]>) By note With Smtp ;
        Wed, 1 Jun 2005 12:07:08 +1000 
Received: from berry.gelato.unsw.edu.au ([129.94.173.230]:49734)
        by lemon.gelato.unsw.edu.au with esmtp (Exim 4.50)
        id 1DdIdQ-0001gz-Aa
        for [EMAIL PROTECTED]; Wed, 01 Jun 2005 12:07:08 +1000
Received: from peterc by berry.gelato.unsw.EDU.AU with local (Exim 3.36 #1 
(Debian))
        id 1DdIdP-0003Ss-00
        for <[EMAIL PROTECTED]>; Wed, 01 Jun 2005 12:07:07 +1000
From: Peter Chubb <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Wed, 1 Jun 2005 12:07:07 +1000
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Subject: debuild --preserve-envvar PATH doesn't work.
X-Mailer: VM 7.19 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
Comments: Hyperbole mail buttons accepted, v04.18.
X-Face: GgFg(Z>fx((4\32hvXq<)|jndSniCH~~$D)Ka:[EMAIL 
PROTECTED]@JR1P%Vr}EwUdfwf-4j\rUs#JR{'h#
 !]])6%Jh~b$VA|ALhnpPiHu[-x~@<"@Iv&|%R)Fq[[,(&Z'O)Q)xCqe1\M[F8#9l8~}#u$S$Rm`S9%
 \'[EMAIL PROTECTED]:&8>Sb*c5d'=eDYI&GF`+t[LfDH="MP5rwOO]w>ALi7'=QJHz&y&C&TE_3j!
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_01,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 



Package: devscripts
Version: 2.8.14

When I do:
        $ debuild -nc --preserve-envvar PATH      
I see:
        dpkg-buildpackage: unknown option or argument --preserve-envvar
        Debian dpkg-buildpackage .  
        Copyright (C) 1996 Ian Jackson.
        Copyright (C) 2000 Wichert Akkerman
        This is free software; see the GNU General Public Licence version 2
        or later for copying conditions.  There is NO warranty.

        Usage: dpkg-buildpackage [options]
                ....


The manual says:

         The only way to prevent PATH from being reset is to specify a
         --preserve-envvar PATH option.

(I want to use ccache and distcc to speed package building, so want to
pass these environment variables:
        PATH=/usr/lib/ccache:$PATH
        MAKEFLAGS=-j17
        DISTCC_HOSTS="localhost/1 tutti/8 eisbock/8"
        CCACHE_PREFIX=distcc

I have DEBUILD_PRESERVE_ENV=yes in the environment as well.  The full
invocation is:
        env PATH=/usr/lib/ccache:$PATH MAKEFLAGS=-j17 \
        DISTCC_HOSTS="localhost/1 tutti/8 eisbock/8" \
        CCACHE_PREFIX=distcc debuild -nc --preserve-envvar PATH

in the xfree86 tree

Without -nc it seems to work.  

--
Dr Peter Chubb     http://www.gelato.unsw.edu.au  [EMAIL PROTECTED]
You are lost in a maze of BitKeeper repositories,   all slightly different.



---------------------------------------
Received: (at 311434-done) by bugs.debian.org; 1 Jun 2005 22:59:33 +0000
>From [EMAIL PROTECTED] Wed Jun 01 15:59:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail3.uklinux.net [80.84.72.33] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DdcBR-0001yX-00; Wed, 01 Jun 2005 15:59:33 -0700
Received: from ip6-localhost (adsl-static-1-123.uklinux.net [62.245.36.123])
        by mail3.uklinux.net (Postfix) with ESMTP
        id D2CC2409FBC; Wed,  1 Jun 2005 22:59:31 +0000 (UTC)
Received: from jdg by ip6-localhost with local (Exim 4.50)
        id 1DdcBP-0004eA-DP; Wed, 01 Jun 2005 23:59:31 +0100
Date: Wed, 1 Jun 2005 23:59:31 +0100
From: Julian Gilbey <[EMAIL PROTECTED]>
To: Peter Chubb <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED]
Subject: Re: Bug#311434: debuild --preserve-envvar PATH doesn't work.
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Wed, Jun 01, 2005 at 12:07:07PM +1000, Peter Chubb wrote:
> 
> 
> Package: devscripts
> Version: 2.8.14
> 
> When I do:
>       $ debuild -nc --preserve-envvar PATH      
> I see:
>       dpkg-buildpackage: unknown option or argument --preserve-envvar

Note that it is *dpkg-buildpackage* which is complaining.

The manual says:

debuild [debuild options] [dpkg-buildpackage options] ...

Note that -nc is a dpkg-buildpackage option, whereas --preserve-envvar
is a debuild option, so the --preserve-envvar option must go first if
it is to be recognised by debuild.

Sorry for this rather non-intuitive interface; unfortunately, it was
the way I originally decided to handle the multiple options for the
multiple programs involved, and I'm not sure I want to change the
interface at this stage.

   Julian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to