Your message dated Tue, 01 Jul 2008 12:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#485270: fixed in turbomail 2.1-2
has caused the Debian Bug report #485270,
regarding turbomail: FTBFS when converted to new source format 3.0 (quilt): 
require -p0 for some patches
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.)


-- 
485270: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485270
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: turbomail
Version: 2.1-1
Severity: wishlist
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, turbomail failed, you can try yourself with those
commands (and dpkg-dev >= 1.14.19 [2]) :

$ apt-get source turbomail
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' turbomail-2.1/debian/control
$ dpkg-source -b turbomail-2.1
$ dpkg-source -x turbomail_2.1-1.dsc
$ cd turbomail-2.1 && 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.1-1 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 turbomail, it already uses quilt but some of the patches
require the '-p0' option of patch to be properly applied and this
option has been hardcoded in the series file. The new source package
format doesn't support this quilt feature and requires patches
to be applicable with the '-p1' option.

You can use the following command to easily update all the patches
that use the '-p0' option:
awk '{ if ($2 == "-p0") print $1 }' debian/patches/series | while read f; do 
perl -pi -e 's|^--- (?:\./)?|--- a/|; s|^\+\+\+ (?:\./)?|+++ b/|;' 
debian/patches/$f ; done

Not that you can replace "a" by "turbomail-2.1.orig" and
"b" by "turbomail-2.1" if you prefer.

Then don't forget to strip the "-p0" options from debian/patches/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
format:
- 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)

Cheers,

[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:
http://people.debian.org/~hertzog/packages/dpkg-dev_1.14.20_all.deb
-- 
Raphael Hertzog




--- End Message ---
--- Begin Message ---
Source: turbomail
Source-Version: 2.1-2

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

python-turbomail-doc_2.1-2_all.deb
  to pool/main/t/turbomail/python-turbomail-doc_2.1-2_all.deb
python-turbomail_2.1-2_all.deb
  to pool/main/t/turbomail/python-turbomail_2.1-2_all.deb
turbomail_2.1-2.diff.gz
  to pool/main/t/turbomail/turbomail_2.1-2.diff.gz
turbomail_2.1-2.dsc
  to pool/main/t/turbomail/turbomail_2.1-2.dsc



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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Arnaud Fontaine <[EMAIL PROTECTED]> (supplier of updated turbomail 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 01 Jul 2008 13:09:16 +0200
Source: turbomail
Binary: python-turbomail python-turbomail-doc
Architecture: source all
Version: 2.1-2
Distribution: unstable
Urgency: low
Maintainer: Arnaud Fontaine <[EMAIL PROTECTED]>
Changed-By: Arnaud Fontaine <[EMAIL PROTECTED]>
Description: 
 python-turbomail - multi-threaded mail queue manager for TurboGears 
applications
 python-turbomail-doc - multi-threaded mail queue manager for TurboGears 
applications
Closes: 485270
Changes: 
 turbomail (2.1-2) unstable; urgency=low
 .
   [ Arnaud Fontaine ]
   * Remove useless debian/control.in.
   * debian/patches:
     + Update patch in order to apply with level 1. Closes: #485270.
   * debian/control:
     + Update Standards-Version to 3.8.0.
     + Wrap Build-Depends and Build-Depends-Indep fields.
     + Drop -1 revision on Build-Depends-Indep of python-setuptools and
       python-turbogears in order to make backporting easier.
   * debian/python-turbomail-doc.doc-base:
     + Change the section from Apps/Programming to Programming/Python as
       the former is no longer valid.
 .
   [ Sandro Tosi ]
   * debian/control:
     - Uniform Vcs-Browser field.
Checksums-Sha1: 
 f7fd65e68a66903f000156ca54d6156313250a25 1472 turbomail_2.1-2.dsc
 372f4033f177cf5d703d30a698dd19322d696c59 5809 turbomail_2.1-2.diff.gz
 bba06dd917d963f498e69003c238a17132dc4d7c 20268 python-turbomail_2.1-2_all.deb
 03484562bd645256c9195f4ba52fb8b8c3a92fb4 81776 
python-turbomail-doc_2.1-2_all.deb
Checksums-Sha256: 
 b5eccafa6b3b39028ae5e938214153aca665e1cf76e499ce007f69f01381a1d4 1472 
turbomail_2.1-2.dsc
 46a3a6205ab3a25d6759ef13796a11f24110a2dc4a57ef40ef1d08c5d5b7563e 5809 
turbomail_2.1-2.diff.gz
 76c3bb008e7eebd050ec5b35e686c446b8d4951b5ba7bad9cdef5a9d5c7793ef 20268 
python-turbomail_2.1-2_all.deb
 74afd1ad10b255d0feb6fe3fd548f3e20dc4361507bb474d6ba49526c67e2cf9 81776 
python-turbomail-doc_2.1-2_all.deb
Files: 
 728e797e0b8d84c672e6052210c8fb57 1472 python optional turbomail_2.1-2.dsc
 961484246d198d290f1e0f99b809bfb5 5809 python optional turbomail_2.1-2.diff.gz
 d88a00c833e28d8c9d696e6acf9404ed 20268 python optional 
python-turbomail_2.1-2_all.deb
 abbdf60d2d293aecfe2865e9601c4d8b 81776 doc optional 
python-turbomail-doc_2.1-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhqGMoACgkQvfKiIF42GdNrkgCeI7ss6YKPrnWPp+/RNEODut50
ThIAoKEZeFWob+xOAv7sT/3F4DLyFdeq
=qjwV
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to