Your message dated Mon, 21 Jul 2008 22:02:53 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#485345: fixed in grace 1:5.1.22-1 has caused the Debian Bug report #485345, regarding grace: 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.) -- 485345: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485345 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: grace Version: 1:5.1.21-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, grace failed, you can try yourself with those commands (and dpkg-dev >= 1.14.19 [2]) : $ apt-get source grace $ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' grace-5.1.21/debian/control $ dpkg-source -b grace-5.1.21 $ dpkg-source -x grace_5.1.21-2.dsc $ cd grace-5.1.21 && 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:5.1.21-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 grace, 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 "grace-5.1.21.orig" and "b" by "grace-5.1.21" 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: grace Source-Version: 1:5.1.22-1 We believe that the bug you reported is fixed in the latest version of grace, which is due to be installed in the Debian FTP archive: grace_5.1.22-1.diff.gz to pool/main/g/grace/grace_5.1.22-1.diff.gz grace_5.1.22-1.dsc to pool/main/g/grace/grace_5.1.22-1.dsc grace_5.1.22-1_i386.deb to pool/main/g/grace/grace_5.1.22-1_i386.deb grace_5.1.22.orig.tar.gz to pool/main/g/grace/grace_5.1.22.orig.tar.gz 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. Torsten Werner <[EMAIL PROTECTED]> (supplier of updated grace 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: Mon, 21 Jul 2008 21:24:48 +0200 Source: grace Binary: grace Architecture: source i386 Version: 1:5.1.22-1 Distribution: unstable Urgency: low Maintainer: Ionut Georgescu <[EMAIL PROTECTED]> Changed-By: Torsten Werner <[EMAIL PROTECTED]> Description: grace - An XY plotting tool Closes: 264201 485345 Changes: grace (1:5.1.22-1) unstable; urgency=low . [ Ionut Georgescu ] * Switch from FFTW2 to FFTW3. Use pkg-config to locate FFTW3. (Closes: #264201). * NetCDF support was no longer build. Use the AC_CHECK_LIB macro to check for the existence of the library. * Make sure that all patches are applied with -p1. (Closes: #485345) * Update Standards-Version, Homepage, and Depends. * Update manpage fdf2fit.1. * Update doc-base file. . [ Torsten Werner ] * New upstream release Checksums-Sha1: 7492f2659e9041f81f7234a2a1f49c6fd5f47e54 1292 grace_5.1.22-1.dsc 3ce88c7c264d2de73b8935f835a1c1f8e368c78f 2516576 grace_5.1.22.orig.tar.gz c4a9a513604d8cfa241eb4aa6642ded0fbccf717 38119 grace_5.1.22-1.diff.gz e64663b5f997fc475a8786f20672282fd8f4828f 991692 grace_5.1.22-1_i386.deb Checksums-Sha256: e70ed18a6eec1d903301ef745d74b248e99c800109447a24da78feef69dfc0dc 1292 grace_5.1.22-1.dsc 4ce8f058b6c1267a842419a3edbf471421dea9cf5744783745b6cb375cdf5f25 2516576 grace_5.1.22.orig.tar.gz 6d4b88cfe3af727dc40cdda1d4f90184666ea4b8463f4d43453e15cfbcd49832 38119 grace_5.1.22-1.diff.gz fb6f1562079184cd848ea37fb129c2150a771cc0237ee755d887b5e4e2c45f58 991692 grace_5.1.22-1_i386.deb Files: 0eb489f92b950fd1d799a78603dcdfe2 1292 math optional grace_5.1.22-1.dsc 672356466f18fe59ed21a8fb44f9851d 2516576 math optional grace_5.1.22.orig.tar.gz d487c80094180c187a41b196eb45827d 38119 math optional grace_5.1.22-1.diff.gz aad19d6c27c36f33028eb8a01c746b9b 991692 math optional grace_5.1.22-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIhOkyfY3dicTPjsMRAhiUAJ0QIGkmUO/Xn9TNUVY1ZeWLM0mkPgCfZahP lY60TpMXK4RUKhLEOsKTcuM= =x3lb -----END PGP SIGNATURE-----
--- End Message ---

