package: dpkg-dev version: 1.15.7.2 severity: important in the process of building a package, "dpkg-source -b" is run, but the quilt .pc directory is not refreshed. this leads to various problems with out-of-sync patches and patches getting applied even though they were removed. the following are steps demonstrate the problem:
$ apt-get source hello Reading package lists... Done Building dependency tree Reading state information... Done Need to get 590kB of source archives. Get:1 http://ftp.us.debian.org sid/main hello 2.5-1 (dsc) [1,219B] Get:2 http://ftp.us.debian.org sid/main hello 2.5-1 (tar) [583kB] Get:3 http://ftp.us.debian.org sid/main hello 2.5-1 (diff) [5,965B] Fetched 590kB in 1s (506kB/s) dpkg-source: info: extracting hello in hello-2.5 dpkg-source: info: unpacking hello_2.5.orig.tar.gz dpkg-source: info: applying hello_2.5-1.diff.gz dpkg-source: info: upstream files that have been modified: hello-2.5/doc/Makefile.in $ cd hello-2.5 $ echo '3.0 (quilt)' > debian/source/format $ debuild [...] $ ls .pc applied-patches debian-changes-2.5-1 $ mv debian/patches/debian-changes-2.5-1 debian/patches/makefile.patch $ echo 'makefile.patch' > debian/patches/series $ debuild [...] $ ls .pc applied-patches debian-changes-2.5-1 $ cd .. $ dpkg-source -x hello_2.5-1.dsc $ cd hello-2.5 $ ls .pc applied-patches makefile.patch the core of the problem is demonstrated by the contents of the .pc directory after the second "debuild". quilt thinks its still working with the patches from the initial debuild. ultimately this leads to errors and problems when trying to do anything further with quilt. the 'dpkg-source' and subsequent output demonstrate that the right info is stored in the debian.tar.gz, and can be recovered by extracting it, which is a workaround. however, it seems rather unnecessary and is likely error prone. thanks for looking into this. best wishes, mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org