Package: dpkg-dev
Version: 1.15.3.1
Severity: normal
I do all of my package builds inside a clean chroot using the normal
pbuilder process. I therefore always want to pass the -d -nc options to
dpkg-buildpackage -S used to build the source package to move the
build into the chroot, since otherwise I may have to have the package
build dependencies installed outside of the chroot for the clean
target. I ensure that the source package is already clean via other
means (normally because I just generated it from a VCS or just unpacked
a source package).
However, pdebuild doesn't provide a way of passing certain options only
to the initial dpkg-buildpackage invocation (which is a separate bug
that I'll also report), and -nc is passed to the dpkg-buildpackage run
in the chroot as well. This triggers the following limitation:
-nc Do not clean the source tree (implies -b if nothing else has
been selected among -B, -A or -S).
But there is no option to select a normal build that includes both the
source and binaries.
This seems wrong to me. Why the restriction? -nc is obviously safe in
this case; the source package was just freshly unpacked, so running the
clean target is pointless.
I don't understand why -nc should have anything to do with whether or not
the build is binary-only, but even assuming that you want to keep that
linkage for backwards compatibility, I think there should be another option
specifying the sort of package build that's done in the absence of any of
-B, -A, or -S.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dpkg-dev depends on:
ii binutils 2.19.91.20090910-1 The GNU assembler, linker and bina
ii bzip2 1.0.5-3 high-quality block-sorting file co
ii dpkg 1.15.3.1 Debian package management system
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii lzma 4.43-14 Compression method of 7z format in
ii make 3.81-6 An utility for Directing compilati
ii patch 2.5.9-5 Apply a diff file to an original
ii perl [perl5] 5.10.0-25 Larry Wall's Practical Extraction
ii perl-modules 5.10.0-25 Core Perl modules
Versions of packages dpkg-dev recommends:
ii build-essential 11.4 Informational list of build-essent
ii gcc [c-compiler] 4:4.3.3-9 The GNU C compiler
ii gcc-4.3 [c-compiler] 4.3.4-2 The GNU C compiler
ii gcc-4.4 [c-compiler] 4.4.1-1 The GNU C compiler
ii gnupg 1.4.9-4 GNU privacy guard - a free PGP rep
ii gpgv 1.4.9-4 GNU privacy guard - signature veri
Versions of packages dpkg-dev suggests:
ii debian-keyring [debian-mainta 2009.08.27 GnuPG (and obsolete PGP) keys of D
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]