Your message dated Sun, 08 Jun 2008 11:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#484908: fixed in erlang-manpages 1:12.b.2-2
has caused the Debian Bug report #484908,
regarding erlang-manpages: FTBFS when converted to new source format 3.0 
(quilt): unprotected quilt push -a
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.)


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

$ apt-get source erlang-manpages
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' 
erlang-manpages-12.b.2/debian/control
$ dpkg-source -b erlang-manpages-12.b.2
$ dpkg-source -x erlang-manpages_12.b.2-1.dsc
$ cd erlang-manpages-12.b.2 && 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-1:12.b.2-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 erlang-manpages, it already uses quilt but the package
fails to build because "quilt push -a" fails when the patch 
are already applied (by dpkg-source -x or dpkg-source -b). You should
really uses patch/unpatch rules like those in /usr/share/quilt/quilt.make
(you can directly use those by using "include /usr/share/quilt/quilt.make"
in your debian/rules file). The call to quilt is protected like this
"quilt push -a || test $? = 2" because 2 is the error code returned by
quilt when it has nothing to do.

Furthermore, you must also pay attention to the following points in your
quilt usage to guarantee compatibility with the new source package
format:
- 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)

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: erlang-manpages
Source-Version: 1:12.b.2-2

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

erlang-manpages_12.b.2-2.diff.gz
  to pool/main/e/erlang-manpages/erlang-manpages_12.b.2-2.diff.gz
erlang-manpages_12.b.2-2.dsc
  to pool/main/e/erlang-manpages/erlang-manpages_12.b.2-2.dsc
erlang-manpages_12.b.2-2_all.deb
  to pool/main/e/erlang-manpages/erlang-manpages_12.b.2-2_all.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.
Sergei Golovan <[EMAIL PROTECTED]> (supplier of updated erlang-manpages 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.7
Date: Sun, 08 Jun 2008 14:41:46 +0400
Source: erlang-manpages
Binary: erlang-manpages
Architecture: source all
Version: 1:12.b.2-2
Distribution: unstable
Urgency: low
Maintainer: Erlang Packagers <[EMAIL PROTECTED]>
Changed-By: Sergei Golovan <[EMAIL PROTECTED]>
Description: 
 erlang-manpages - Erlang man pages
Closes: 484908
Changes: 
 erlang-manpages (1:12.b.2-2) unstable; urgency=low
 .
   * Fixed clean target to work with debhelper 7.0 (made dh_clean the last
     command, so debhelper logs are removed now).
   * Protected quilt calls in debian/rules to make it possible to convert the
     erlang-manpages source package to 3.0 (quilt) format (closes: #484908).
Files: 
 da8ba7d1c6aab656da4599cafe1d774b 1154 doc optional erlang-manpages_12.b.2-2.dsc
 5e47db7436ba32511fc0e460a82e2078 6389 doc optional 
erlang-manpages_12.b.2-2.diff.gz
 f555c96072da584294c21762a1fed172 940504 doc optional 
erlang-manpages_12.b.2-2_all.deb

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

iD8DBQFIS7lCIcdH02pGEFIRAnZVAKCTAxYWJN/98j4Ue1fVNiG2xa0hpACfWf96
DChXcG4Utd4ayqGKWasBcfI=
=8hjJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to