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.




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

Reply via email to