Your message dated Sun, 27 Jun 2010 20:49:48 +0200
with message-id <20100627184948.gb14...@rivendell>
and subject line Re: Bug#587347: dpkg-dev: "dpkg-source -b" doesn't
automatically refresh the .pc directory when using source format 3.0 (quilt)
has caused the Debian Bug report #587347,
regarding dpkg-dev: "dpkg-source -b" doesn't automatically refresh the .pc
directory when using source format 3.0 (quilt)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
587347: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587347
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Hi,
On Sun, 27 Jun 2010, Michael Gilbert wrote:
> 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
It should not refresh that directory, it uses it and it should trust its
content. The format is called 3.0 (quilt), you're supposed to use quilt to
manipulate patches (except for adding a new one at the end which is
supported as a special case) and not mixing manual operations without
quilt and then expecting quilt to still work.
Closing the bug since the problem is not in dpkg-source but in your
expectations.
Cheers,
--
Raphaƫl Hertzog
Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/
--- End Message ---