Package: cowbuilder
Version: 0.62+nmu2
Severity: normal

I'm pimping my local package build environments, by enabling
cowbuilder/ccache/eatmydata.  However, cowbuilder doesn't like to install
extra packages that I ask for.  In my /etc/pbuilderrc, I have specified:

EXTRAPACKAGES="eatmydata ccache"

Building a new sid chroot with pbuilder works fine, and those packages are
installed.  However, when I run cowbuilder with substantially the same
options, the package is not installed.  It would appear that cowbuilder is
calling pbuilder with the --extrapackages option explicitly specified, which
is overriding my config option:

$ sudo cowbuilder --create --distribution sid --mirror 
http://localhost:9999/debian --basepath /var/cache/pbuilder/chroots/sid.cow
 -> Invoking pbuilder
   forking: pbuilder create --buildplace /var/cache/pbuilder/chroots/sid.cow 
--mirror http://localhost:9999/debian --distribution sid --no-targz 
--extrapackages cowdancer

(Note the explicit --extrapackages cowdancer at the end)

I've also tried explicitly setting --extrapackages in my cowbuilder command
line, but that doesn't seem to do the trick either:

$ sudo cowbuilder --create --distribution sid --mirror 
http://localhost:9999/debian --basepath /var/cache/pbuilder/chroots/sid.cow 
--extrapackages="ccache eatmydata"
 -> Invoking pbuilder
   forking: pbuilder create --extrapackages ccache eatmydata --buildplace 
/var/cache/pbuilder/chroots/sid.cow --mirror http://localhost:9999/debian 
--distribution sid --no-targz --extrapackages cowdancer

It just tacks my extrapackages on the front, which presumably pbuilder then
decides to ignore in favour of the later-specified extrapackages that
cowbuilder provides.

I think that cowbuilder needs to intelligently incorporate any existing
extra packages options into it's own call to pbuilder.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental'), (1, 'unstable'), (1, 
'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages cowbuilder depends on:
ii  cowdancer                     0.47       Copy-on-write directory tree utili
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  pbuilder                      0.181      personal package builder for Debia

cowbuilder recommends no packages.

cowbuilder suggests no packages.

-- no debconf information



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

Reply via email to