Package: cowbuilder Version: 0.87+b1 Severity: normal Hi,
currently, cowbuilder seems to support only one occurance of the --extrapackages option, where each subsequent occurance overrides the previous one. E.g.: sudo -E cowbuilder --build --extrapackages=a.deb --extrapackages=b.deb some.dsc results in: I: forking: pbuilder build --buildplace /var/cache/pbuilder/build/cow.22054 --buildresult /var/cache/pbuilder/result/ --mirror http://ftp.nl.debian.org/debian --distribution sid --extrapackages b.deb --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.22054 cow-shell' some.dsc Which only has the latter package. The source code (0.87) seems to agree on this: } else if (!strcmp(long_options[index_point].name, "extrapackages")) { /* this is for qemubuilder and cowbuilder (adds cowdancer) */ pc.extrapackages = strdup(optarg); } However, pbuilder allows specifying this option multiple times: --extrapackages [packages to add] Adds packages specified as an addition to the default, which is build-essential by default. This is used in build and create (after successâ fully creating the initial chroot) and update. The packages should be specified as a space-delimited list, or by specifying --extrapackages multiple times. It would make sense for cowbuilder to support this as well, or if not at least raise an error when multiple --extra-packages options are given. Gr. Matthijs