Your message dated Sun, 22 Feb 2009 07:02:09 +0000
with message-id <[email protected]>
and subject line Bug#485343: fixed in flasm 1.62-3
has caused the Debian Bug report #485343,
regarding flasm: 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.)
--
485343: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485343
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: flasm
Version: 1.62-2
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, flasm failed, you can try yourself with those
commands (and dpkg-dev >= 1.14.19 [2]) :
$ apt-get source flasm
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' flasm-1.62/debian/control
$ dpkg-source -b flasm-1.62
$ dpkg-source -x flasm_1.62-2.dsc
$ cd flasm-1.62 && 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.62-2 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 flasm, 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 "flasm-1.62.orig" and
"b" by "flasm-1.62" 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: flasm
Source-Version: 1.62-3
We believe that the bug you reported is fixed in the latest version of
flasm, which is due to be installed in the Debian FTP archive:
flasm_1.62-3.diff.gz
to pool/main/f/flasm/flasm_1.62-3.diff.gz
flasm_1.62-3.dsc
to pool/main/f/flasm/flasm_1.62-3.dsc
flasm_1.62-3_amd64.deb
to pool/main/f/flasm/flasm_1.62-3_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.
Paul Wise <[email protected]> (supplier of updated flasm 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, 22 Feb 2009 15:34:10 +0900
Source: flasm
Binary: flasm
Architecture: source amd64
Version: 1.62-3
Distribution: unstable
Urgency: low
Maintainer: Paul Wise <[email protected]>
Changed-By: Paul Wise <[email protected]>
Description:
flasm - assembler and disassembler for Flash (SWF) bytecode
Closes: 485343
Changes:
flasm (1.62-3) unstable; urgency=low
.
* Fix src pkg to work with dpkg-source 3.0 (quilt) (Closes: #485343)
* Fix FTBFS with new version of bison (2.4.1) (patch from Gentoo/Fedora)
* Implement support for parallel=n in DEB_BUILD_OPTIONS
* Add a README.source pointing at the quilt README.source
* Bump Standards-Version for the above changes
Checksums-Sha1:
013c90a31fa3a954930d379659195bfc386e3660 1148 flasm_1.62-3.dsc
f133c65e42c757b698c722584d8d09a3fdecb7b0 5974 flasm_1.62-3.diff.gz
740790159eb674655b9ee7768368d58c3b4c309e 96750 flasm_1.62-3_amd64.deb
Checksums-Sha256:
ba91fe43278710c9ab58fbc4abcd63c95ac7d01739c26953d5851da11a3aa709 1148
flasm_1.62-3.dsc
604373d79f41b80fb8cfd4230a0f780289689fdf2e8cf9114025abe5ce1dc95d 5974
flasm_1.62-3.diff.gz
5fc8682b92106114c24d3ee844d5677f316a10e7c8f28de99e7b8946ff470b28 96750
flasm_1.62-3_amd64.deb
Files:
f0c1bcedec13feeb3c872c13a7903231 1148 utils extra flasm_1.62-3.dsc
2fffed55e896f9280237a0619464153c 5974 utils extra flasm_1.62-3.diff.gz
16fe2b815ebba7a5e7096a591098530e 96750 utils extra flasm_1.62-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmg8/gACgkQ5Sc9mGvjxCPRZACgy+6m6ZPq4AX+t3DakhuCp0Q6
p9MAmQGovRe5lR8UXX6cHLYMM3Mn2ru0
=djkf
-----END PGP SIGNATURE-----
--- End Message ---