Package: cowbuilder
Version: 0.60
Severity: normal

Hello,

cowbuilder parses pbuilder-only pbuilderrc options in
parameter.c:load_config_file() and later repasses them as command line options
to the internal pbuilder calls. For example, DEBBUILDOPTS gets passed as
--debbuildopts command line option to pbuilder call. There are numerous issues
with this behaviour:

1) pbuilder shell-expands DEBBUILDOPTS="" when passing it to dpkg-buildpackage.
On the contrary, --debbuildopts is interpreted as a single dpkg-buildpackage
option. Therefore, DEBBUILDOPTS="-j3 -b" works file, but --debbuildopts "-j3
-b" fails with "unknown option or argument '-j3 -b'". Therefore, my
DEBBUILDOPTS that contains multiple options do not work anymore.

2) --binary-arch combined with --debbuildopts does not work in pbuilder,
because --debbuildopts overrides it. --binary-arch + DEBBUILDOPTS work fine.
Again, cowbuilder repasses DEBBUILDOPTS as --debbuildopts and breaks
--binary-arch.

3) This repassing is pretty useless. cowbuilder passes --configfile to pbuilder
anyway, so the latter will figure out what to do with its config options by
itself. In the end, "smart" cowbuilder repassing is reduntant. What's more,
even cowbuilder(8) says that apart from a couple of configuration options,
others should be ignored.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/1 CPU core)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cowbuilder depends on:
ii  cowdancer                     0.60       Copy-on-write directory tree utili
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  pbuilder                      0.194      personal package builder for Debia

cowbuilder recommends no packages.

cowbuilder suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to