Package: dpkg-dev
Version: 1.15.7.1
Severity: wishlist
File: /usr/bin/dpkg-buildpackage

Hi,

I just run into the problem with the following command sequence:

dpkg-source -x foo.dsc
cd */
quilt pop
edit file
quilt refresh
dpkg-buildpackage -b

I simply forgot to quilt push -a again before building. Due to the
nature of the missing patch the package did build succesfully but is
completly useless.

Given that dpkg now consistently uses the .pc dir to track applied
patches it should be easy to detect if patches have been forgotten and
abort. There could be an option to build anyway and an option to apply
missing patches. Since aborting is the least harmfull, it doesn't
build broken debs and does not alter the working dir, I think that
should be the default behaviour.

MfG
        Goswin

PS: Personally I want the option to apply missing patches before build.

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

Kernel: Linux 2.6.31.6-xen-2010.02.18 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-dev depends on:
ii  base-files        5.0.0                  Debian base system miscellaneous f
ii  binutils          2.20-5                 The GNU assembler, linker and bina
ii  bzip2             1.0.5-4                high-quality block-sorting file co
ii  libdpkg-perl      1.15.7.1               Dpkg perl modules
ii  make              3.81-7                 An utility for Directing compilati
ii  patch             2.6-2                  Apply a diff file to an original
ii  xz-utils          4.999.9beta+20100117-1 XZ-format compression utilities

Versions of packages dpkg-dev recommends:
ii  build-essential               11.4       Informational list of build-essent
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  gcc [c-compiler]              4:4.4.3-1  The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.3-7    The GNU C compiler
ii  gnupg                         1.4.10-2   GNU privacy guard - a free PGP rep
ii  gpgv                          1.4.10-2   GNU privacy guard - signature veri
pn  libalgorithm-merge-perl       <none>     (no description available)

Versions of packages dpkg-dev suggests:
ii  debian-keyring                2009.11.04 GnuPG (and obsolete PGP) keys of D

-- 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