Your message dated Sat, 05 Jul 2008 14:02:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#484950: fixed in hobbit 4.2.0.dfsg-13
has caused the Debian Bug report #484950,
regarding hobbit: FTBFS when converted to new source format 3.0 (quilt): due to 
patches that require -p0
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.)


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

$ apt-get source hobbit
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' hobbit-4.2.0.dfsg/debian/control
$ dpkg-source -b hobbit-4.2.0.dfsg
$ dpkg-source -x hobbit_4.2.0.dfsg-12.dsc
$ cd hobbit-4.2.0.dfsg && 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-4.2.0.dfsg-12 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 hobbit, 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 "hobbit-4.2.0.dfsg.orig" and
"b" by "hobbit-4.2.0.dfsg" 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: hobbit
Source-Version: 4.2.0.dfsg-13

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

hobbit-client_4.2.0.dfsg-13_amd64.deb
  to pool/main/h/hobbit/hobbit-client_4.2.0.dfsg-13_amd64.deb
hobbit_4.2.0.dfsg-13.diff.gz
  to pool/main/h/hobbit/hobbit_4.2.0.dfsg-13.diff.gz
hobbit_4.2.0.dfsg-13.dsc
  to pool/main/h/hobbit/hobbit_4.2.0.dfsg-13.dsc
hobbit_4.2.0.dfsg-13_amd64.deb
  to pool/main/h/hobbit/hobbit_4.2.0.dfsg-13_amd64.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.
Christoph Berg <[EMAIL PROTECTED]> (supplier of updated hobbit 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: Sat, 05 Jul 2008 14:57:16 +0200
Source: hobbit
Binary: hobbit hobbit-client
Architecture: source amd64
Version: 4.2.0.dfsg-13
Distribution: unstable
Urgency: low
Maintainer: Christoph Berg <[EMAIL PROTECTED]>
Changed-By: Christoph Berg <[EMAIL PROTECTED]>
Description: 
 hobbit     - monitoring system for systems, networks and applications - server
 hobbit-client - client for the Hobbit network monitor
Closes: 484950 487157
Changes: 
 hobbit (4.2.0.dfsg-13) unstable; urgency=low
 .
   * Use lsb init functions.
   * ncv-ignoretext.patch uses -p1. (Closes: #484950)
   * Do not ignore tmpfs mountpoints in hobbitclient-linux.sh, but add
     /dev, /dev/shm, and /lib/init/rw to the default IGNORE list in
     /etc/hobbit/hobbit-clients.cfg. (Closes: #487157)
   * Add README.source.
Checksums-Sha1: 
 e4c38571a0f0624a9b325f5ef688f79d754207e0 1257 hobbit_4.2.0.dfsg-13.dsc
 857fe3ec974cb73c511de06350a815545fc1182b 32303 hobbit_4.2.0.dfsg-13.diff.gz
 7b4c18aab40addcc1ad38bae9df37a5318960488 3320166 hobbit_4.2.0.dfsg-13_amd64.deb
 eb325e5a6e741490005278414086c2c228b0e3c0 419478 
hobbit-client_4.2.0.dfsg-13_amd64.deb
Checksums-Sha256: 
 41b2750deb36d4ef631a7b8b426df3bc7c4c2faad409039d78c5461769fb2c4f 1257 
hobbit_4.2.0.dfsg-13.dsc
 637a8662d83e5bfd29a14a2a41a2e29a19590cb87c8d168c689fe9072a36dcc9 32303 
hobbit_4.2.0.dfsg-13.diff.gz
 8bcb2c2a962050a6163000ff81714082bd9ce801f038ac3372d5d2f4f37ab994 3320166 
hobbit_4.2.0.dfsg-13_amd64.deb
 e6ca8931ff3e8d93c87295dcf3aabf7f85fdcc2ebc2bd94a81889791879fcda5 419478 
hobbit-client_4.2.0.dfsg-13_amd64.deb
Files: 
 2bd67201d1128273c7f9fadca5e06eb3 1257 net extra hobbit_4.2.0.dfsg-13.dsc
 98808987a538c2cb4c164e5eb7f65b44 32303 net extra hobbit_4.2.0.dfsg-13.diff.gz
 286407122b1f8ba449a8aeb87123f077 3320166 net extra 
hobbit_4.2.0.dfsg-13_amd64.deb
 0d3f8a98d213f5359cc7961af677e393 419478 net extra 
hobbit-client_4.2.0.dfsg-13_amd64.deb

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

iEYEARECAAYFAkhve3gACgkQxa93SlhRC1pxvACfWC0puBkuU663ueuHEEmMNDhm
gYcAni4A9FHPVc9ZFtUEYQH0zltDdXip
=X7qr
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to