[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#485162: marked as done (newpki-client: FTBFS when converted to new source format 3.0 (quilt): patch depends on changes from the diff.gz)

Your message dated Sun, 11 Apr 2010 19:36:08 +0000
with message-id <E1O12wy-000062-66@ries.debian.org>
and subject line Bug#485162: fixed in newpki-client 2.0.0+rc1-6
has caused the Debian Bug report #485162,
regarding newpki-client: FTBFS when converted to new source format 3.0 (quilt): patch depends on changes from the diff.gz
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 owner@bugs.debian.org

485162: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485162
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: newpki-client
Version: 2.0.0+rc1-3
Severity: minor
Usertags: 3.0-quilt-by-default

To prepare a possible switch to the new source package format "3.0
(quilt)" [1], I converted all source packages and tried to rebuild them.
Unfortunately, newpki-client failed, you can try yourself with those
commands (and dpkg-dev >= 1.14.19 [2]) :

$ apt-get source newpki-client
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' newpki-client-2.0.0+rc1/debian/control
$ dpkg-source -b newpki-client-2.0.0+rc1
$ dpkg-source -x newpki-client_2.0.0+rc1-3.dsc
$ cd newpki-client-2.0.0+rc1 && debuild -us -uc

In this process, if the .diff.gz contains changes to upstream files,
dpkg-source will have created a corresponding patch in
debian/patches/debian-changes-2.0.0+rc1-3 and will have registered that
patch in a quilt series (debian/patches/series, it is created if needed).
All the patches listed in the "series" file are applied directly during
the extraction (dpkg-source -x). quilt itself is used if available (and
will thus lead to the creation of the .pc directory), otherwise
dpkg-source applies the patches by itself. For more information about the
new source package format see the manual page dpkg-source(1).

In the case of newpki-client, some patches of the quilt series rely on changes
contained in the .diff.gz. Please move those changes in the quilt series
as well.

With the new source format this fails because the new debian-changes-*
patch gets applied _after_ the quilt series.

As a side note, you must also pay attention to the following points in
your quilt usage to guarantee compatibility with the new source package
- all your patches must be applicable with the "-p1" option of patch
  (and you shouldn't use options in the series file to override this)
- the patches must be in debian/patches/ together with the "series" file
  (you can use QUILT_PATCHES=debian/patches if needed)
- you should not override QUILT_PC to change the location of quilt's
  internal directory (".pc" by default)
- the patches should not reference absolute filenames (in +++/--- lines)
- your clean target must work even if the patches are already applied
- your build target must work with patches applied even if the clean
  target is supposed to unapply them (because dpkg-source -b might
  have applied them back)


[1] http://lists.debian.org/debian-devel-announce/2008/04/msg00004.html
[2] the upcoming dpkg-dev 1.14.20 is more tolerant with patches, you can
grab it here if you want to try with that version:
Raphael Hertzog

--- End Message ---
--- Begin Message ---
Source: newpki-client
Source-Version: 2.0.0+rc1-6

We believe that the bug you reported is fixed in the latest version of
newpki-client, which is due to be installed in the Debian FTP archive:

  to main/n/newpki-client/newpki-client_2.0.0+rc1-6.debian.tar.gz
  to main/n/newpki-client/newpki-client_2.0.0+rc1-6.dsc
  to main/n/newpki-client/newpki-client_2.0.0+rc1-6_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 485162@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Santiago Vila <sanvila@debian.org> (supplier of updated newpki-client package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA256

Format: 1.8
Date: Sun, 11 Apr 2010 20:59:04 +0200
Source: newpki-client
Binary: newpki-client
Architecture: source amd64
Version: 2.0.0+rc1-6
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
 newpki-client - PKI based on the OpenSSL low-level API (client package)
Closes: 334229 485162
 newpki-client (2.0.0+rc1-6) unstable; urgency=low
   * QA upload.
   * Fixed several lintian warnings.
   * Switch to 3.0 (quilt) source format. Closes: #485162.
   * Removed empty debconf template. Closes: #334229. Note: As the new 3.0
     source format allows to override the debian/* files completely, there
     is really no need to repackage the orig tarball as far as i18n checks
     are run on the uncompressed source as produced by "dpkg-source -x".
 100d9b0f8e168a858c9406a28c4567e0001ccc7e 1456 newpki-client_2.0.0+rc1-6.dsc
 c12c91dd9a0a4b59b330379d90c72c81342e2cc6 111486 newpki-client_2.0.0+rc1-6.debian.tar.gz
 9c91d4cb8a93ee56d6460a819e956cadd9cc7f5d 581040 newpki-client_2.0.0+rc1-6_amd64.deb
 ae2d3c1cf5fbd7aafc2c1b49cf92cfe8ad4fc0379f8a113e19e04e15ad623bbc 1456 newpki-client_2.0.0+rc1-6.dsc
 83abe21e1e17c79db2181b1dca9f469b60c6688b998c7a38aa1f91771ece8d5a 111486 newpki-client_2.0.0+rc1-6.debian.tar.gz
 8ffc35768569cbfb4f567b064578b32b85701ea28f3f08b95d053edae3412520 581040 newpki-client_2.0.0+rc1-6_amd64.deb
 2495374e70a63455dfddc314d28a649f 1456 net optional newpki-client_2.0.0+rc1-6.dsc
 498be7a6703a52ba90bb51569ede7634 111486 net optional newpki-client_2.0.0+rc1-6.debian.tar.gz
 bbe620e59a04ad38136ec8ce926eff80 581040 net optional newpki-client_2.0.0+rc1-6_amd64.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: