Your message dated Mon, 24 Aug 2009 22:38:49 +0000
with message-id <[email protected]>
and subject line Bug#485106: fixed in newmat 1.10.4-5
has caused the Debian Bug report #485106,
regarding newmat: FTBFS when converted to new source format 3.0 (quilt): clean 
fails with patches applied
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.)


-- 
485106: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485106
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: newmat
Version: 1.10.4-4
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, newmat failed, you can try yourself with those
commands (and dpkg-dev >= 1.14.19 [2]) :

$ apt-get source newmat
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' newmat-1.10.4/debian/control
$ dpkg-source -b newmat-1.10.4
$ dpkg-source -x newmat_1.10.4-4.dsc
$ cd newmat-1.10.4 && 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.10.4-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 newmat, debian/rules clean fails if patches are already
applied. It can happen when the patches adds/remove files which are
involved in some upstream Makefile clean rules. Or when you remove files
that have been created by a patch and that you later try to unapply the
patch...

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:
- 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: newmat
Source-Version: 1.10.4-5

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

libnewmat10-dev_1.10.4-5_i386.deb
  to pool/main/n/newmat/libnewmat10-dev_1.10.4-5_i386.deb
libnewmat10ldbl_1.10.4-5_i386.deb
  to pool/main/n/newmat/libnewmat10ldbl_1.10.4-5_i386.deb
newmat_1.10.4-5.diff.gz
  to pool/main/n/newmat/newmat_1.10.4-5.diff.gz
newmat_1.10.4-5.dsc
  to pool/main/n/newmat/newmat_1.10.4-5.dsc



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.
Philippe Coval <[email protected]> (supplier of updated newmat 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: SHA256

Format: 1.8
Date: Sat, 01 Aug 2009 00:56:03 +0200
Source: newmat
Binary: libnewmat10ldbl libnewmat10-dev
Architecture: source i386
Version: 1.10.4-5
Distribution: unstable
Urgency: low
Maintainer: Philippe Coval <[email protected]>
Changed-By: Philippe Coval <[email protected]>
Description: 
 libnewmat10-dev - matrix manipulations library (C++ headers files)
 libnewmat10ldbl - matrix manipulations library (C++)
Closes: 485106
Changes: 
 newmat (1.10.4-5) unstable; urgency=low
 .
   * debian/control:
     + Updated to latest standards and autotools
     + Updated description
   * debian/rules:
     + clean before unpatch for format "3.0 (quilt)" (Closes: #485106)
     + patch before configure
   * debian/watch:
     + updated to track upcoming version if needed
   * debian/copyright debian/README.Debian:
     + updated and changed maintainer email (sf.net was bouncing)
   * ./*.cpp:
     + include config.h in cpp files (instead of include.h),
       will prevent propagation on config.h defines (LP: #204338)
Checksums-Sha1: 
 20596824699dfa24c422e4e39d91379b5846005a 1442 newmat_1.10.4-5.dsc
 d110cda3df3b96d7e0c434d9aa54a41666963ec7 8164 newmat_1.10.4-5.diff.gz
 707ce5405aa9dfcb8f0c2b88be152edec0e8bbe8 174220 
libnewmat10ldbl_1.10.4-5_i386.deb
 5dc3771c89d380c3bf7bd0275bbd59a160328ae2 170498 
libnewmat10-dev_1.10.4-5_i386.deb
Checksums-Sha256: 
 352dc561f35e39cda53334ce8d1a6655747ed985487462c9853203ab506291cd 1442 
newmat_1.10.4-5.dsc
 8e060b03e7f43015ef507c4fe1a76ec98d591aa1c915fe0a587b9521e21408a3 8164 
newmat_1.10.4-5.diff.gz
 efa86753fabbb73068615e95ccc001b188967a8944c1e155580f063374c04fbc 174220 
libnewmat10ldbl_1.10.4-5_i386.deb
 649e48e50938ee68e4c9ddf642e219a844869b2986c56ff1e0884399bef8a6e3 170498 
libnewmat10-dev_1.10.4-5_i386.deb
Files: 
 44c69e6fa123bf34e617c2d85236513f 1442 libs optional newmat_1.10.4-5.dsc
 601ad05f0fe67440f5e594ee4a9c6246 8164 libs optional newmat_1.10.4-5.diff.gz
 afe5585a19c6c02dc955c30539be7edb 174220 libs optional 
libnewmat10ldbl_1.10.4-5_i386.deb
 f12dacce4b00b20aea78caef186f947a 170498 libdevel optional 
libnewmat10-dev_1.10.4-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Signed by Raphael Hertzog

iQEcBAEBCAAGBQJKkvdmAAoJEAOIHavrwpq5swIH/2nBZSFPfCqurAR5oL9YFOXB
wJaM8fwsmKnE+916yYILJZXOnIW5y29yd93hevg7Rk1f6g0/1begMXjGb4mU5trO
PcWNLfeoqS2XslVhw1a8MTFF70Ki2hnfLEEHdqAUoAlBf79faiPidW9seht6OSjY
4w1WTm+97BG+ngwgAj+4npj1etF/WznB1ockMcNRK0bmOv+0DzNlOUiGMSfVyJ8x
mtr4aNur5A3sXHkXGB8xBso2ZYSzSKcaLyv09hCosJ+0owfip+MluFJi9lc/1xlS
89b/DpKUc2vVJpGgtuj64pQl1L2KedvWn3Fm17HUVJ2qsP1aKm1y7GRLfYkW8Zw=
=CtVt
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to