Your message dated Sun, 19 Apr 2009 19:08:01 +0000
with message-id <[email protected]>
and subject line Bug#485243: fixed in bibutils 4.1-1
has caused the Debian Bug report #485243,
regarding bibutils: 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.)
--
485243: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485243
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bibutils
Version: 3.40-4
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, bibutils failed, you can try yourself with those
commands (and dpkg-dev >= 1.14.19 [2]) :
$ apt-get source bibutils
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' bibutils-3.40/debian/control
$ dpkg-source -b bibutils-3.40
$ dpkg-source -x bibutils_3.40-4.dsc
$ cd bibutils-3.40 && 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-3.40-4 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 bibutils, 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 "bibutils-3.40.orig" and
"b" by "bibutils-3.40" 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: bibutils
Source-Version: 4.1-1
We believe that the bug you reported is fixed in the latest version of
bibutils, which is due to be installed in the Debian FTP archive:
bibutils_4.1-1.diff.gz
to pool/main/b/bibutils/bibutils_4.1-1.diff.gz
bibutils_4.1-1.dsc
to pool/main/b/bibutils/bibutils_4.1-1.dsc
bibutils_4.1-1_i386.deb
to pool/main/b/bibutils/bibutils_4.1-1_i386.deb
bibutils_4.1.orig.tar.gz
to pool/main/b/bibutils/bibutils_4.1.orig.tar.gz
libbibutils-dev_4.1-1_i386.deb
to pool/main/b/bibutils/libbibutils-dev_4.1-1_i386.deb
libbibutils1_4.1-1_i386.deb
to pool/main/b/bibutils/libbibutils1_4.1-1_i386.deb
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.
David Bremner <[email protected]> (supplier of updated bibutils 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: Sun, 15 Mar 2009 12:48:29 -0300
Source: bibutils
Binary: bibutils libbibutils-dev libbibutils1
Architecture: source i386
Version: 4.1-1
Distribution: unstable
Urgency: low
Maintainer: Yaroslav Halchenko <[email protected]>
Changed-By: David Bremner <[email protected]>
Description:
bibutils - interconvert various bibliographic data formats
libbibutils-dev - bibliography file converter, development kit
libbibutils1 - bibliography file converter, shared library
Closes: 485243 506960
Changes:
bibutils (4.1-1) unstable; urgency=low
.
* New Upstream Version (Closes: #506960)
* Convert to topgit (Closes: #485243)
* Change maintainer to [email protected]
* Update Vcs-Git and Vcs-Browser
* Converted packaging to topgit
* Upgraded to standards version 3.8.1 (added debian/README.source)
Checksums-Sha1:
f89baa974349d5bccb7b9d11c5ec4c19ac3d1cda 1316 bibutils_4.1-1.dsc
f8e714594d13c15656e55539f860869fc7243019 405014 bibutils_4.1.orig.tar.gz
625f190ce3853ccd3b994a690a6746a548354f11 7819 bibutils_4.1-1.diff.gz
27e56952bf6f6a78b0a1ba4afe4c035c973dc82e 3812062 bibutils_4.1-1_i386.deb
f2b32db38f909b768bad17abce0421db0562a75c 339560 libbibutils-dev_4.1-1_i386.deb
0d89c1f5a7c0950830e7d63fea316d28b063cb9f 313822 libbibutils1_4.1-1_i386.deb
Checksums-Sha256:
2ba285cbf086d0cf78973e1d35f2d9fdb64632c3fba10fbd02b2cf46f1762d98 1316
bibutils_4.1-1.dsc
236ea65c6cfa84df5031663e99303ef73c635065759de5407507c572f06ed1e4 405014
bibutils_4.1.orig.tar.gz
a8a2bd910b52a068642677e711e2d8bdd2d1369e2a2b050a59b7c6f5a9f173fe 7819
bibutils_4.1-1.diff.gz
294529b42ab005bdd60c0f146c0fb026d4607a3de73045ef45b346cbe32b9f70 3812062
bibutils_4.1-1_i386.deb
155b651c5ddb6d978f5c81d6b14015e64b2266cd29ec70c0e40b45186a3d0d1d 339560
libbibutils-dev_4.1-1_i386.deb
ed0dc97e24aa8acfbadbee28b3452f593999f41c8c01304828ed9919b12d968a 313822
libbibutils1_4.1-1_i386.deb
Files:
179987b01dc3cf0560892ed325a918d8 1316 text optional bibutils_4.1-1.dsc
4781d1f53aa9527b1eb17b218027b604 405014 text optional bibutils_4.1.orig.tar.gz
573122c52e9c81017a9e7a7065a25877 7819 text optional bibutils_4.1-1.diff.gz
7378e87c1ad6fc95cd198d352c80d023 3812062 text optional bibutils_4.1-1_i386.deb
e00873f4dd73c7fb44d2cd596b36a8e7 339560 libdevel optional
libbibutils-dev_4.1-1_i386.deb
888dd8191d822e1466e38069375210ef 313822 libs optional
libbibutils1_4.1-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknramMACgkQjRFFY3XAJMh+ywCgpUG46ZzlxaYztdXp3pIlnsey
hD0An3uSmnX3Xhey8XOu6pRCa8WW+2M7
=Seck
-----END PGP SIGNATURE-----
--- End Message ---