Your message dated Thu, 19 Jun 2008 21:47:05 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#485178: fixed in netcat 1.10-38
has caused the Debian Bug report #485178,
regarding netcat: FTBFS when converted to new source format 3.0 (quilt): 
patches modify files in debian directory
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.)


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

$ apt-get source netcat
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' netcat-1.10/debian/control
$ dpkg-source -b netcat-1.10
$ dpkg-source -x netcat_1.10-37.dsc
$ cd netcat-1.10 && 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-37 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 netcat, the quilt series contains patches that
modify files in the debian directory. You shouldn't have to dynamically
patch the files in the debian directory since its content is
provided by the .diff.gz (or the new .debian.tar.gz in the new format).

Dynamic modification of files from the debian directory makes it
impossible for dpkg-source to generate debian-changes-* patch
because the quilt series doesn't apply on top of the upstream
sources with a copy of the current debian directory (where the
changes has been applied already).

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: netcat
Source-Version: 1.10-38

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

netcat-traditional_1.10-38_amd64.deb
  to pool/main/n/netcat/netcat-traditional_1.10-38_amd64.deb
netcat_1.10-38.diff.gz
  to pool/main/n/netcat/netcat_1.10-38.diff.gz
netcat_1.10-38.dsc
  to pool/main/n/netcat/netcat_1.10-38.dsc
netcat_1.10-38_all.deb
  to pool/main/n/netcat/netcat_1.10-38_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.
Decklin Foster <[EMAIL PROTECTED]> (supplier of updated netcat 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: Thu, 19 Jun 2008 16:24:35 -0400
Source: netcat
Binary: netcat netcat-traditional
Architecture: source all amd64
Version: 1.10-38
Distribution: unstable
Urgency: low
Maintainer: Decklin Foster <[EMAIL PROTECTED]>
Changed-By: Decklin Foster <[EMAIL PROTECTED]>
Description: 
 netcat     - TCP/IP swiss army knife -- transitional package
 netcat-traditional - TCP/IP swiss army knife
Closes: 485178
Changes: 
 netcat (1.10-38) unstable; urgency=low
 .
   * Move nc.1 from debian/ to top level directory, so that debian/ is not
     a self-referential patch. This will allow the package to trivially be
     converted to 3.0 (quilt) format. Thanks to Raphael Hertzog for pointing
     this out. (Closes: #485178)
   * Clarify documentation for -q.
Checksums-Sha1: 
 93fbf075054d7f9d07c81be547faa65ddf61f07e 957 netcat_1.10-38.dsc
 d313522dcc704de74dfe31c0f705ea75a5edf40b 22252 netcat_1.10-38.diff.gz
 b64ab47fcadeb0e0ad84885e9313ed432517998a 6144 netcat_1.10-38_all.deb
 2dc00a5602e875e9feb80d1eced46817d6eabee0 69666 
netcat-traditional_1.10-38_amd64.deb
Checksums-Sha256: 
 153d80e346e6186a9a11bf91c21e3ab0102796546af728f218d6bfe08f4afc90 957 
netcat_1.10-38.dsc
 2e409fe2eee860eef73f62bd4f78d68798c6db6d61fb5039001ae30aa4ef1f47 22252 
netcat_1.10-38.diff.gz
 7ecfa02f99f611d3813c7e168558cdacdc820fb0cc5df11c880a7bdd3928d246 6144 
netcat_1.10-38_all.deb
 ac30aaac044277f53edda3a4ca930b7435c1a9f5e315ba5a8e7c32b60cc4b7aa 69666 
netcat-traditional_1.10-38_amd64.deb
Files: 
 55754fe066ade39ed2bd00a2cc65d4e1 957 net - netcat_1.10-38.dsc
 302727e98c1eb2e85a6b2c33274929c8 22252 net - netcat_1.10-38.diff.gz
 e9f878a968b5d0a4b1c32e9ebc03494d 6144 net extra netcat_1.10-38_all.deb
 8ab7a32006903aedcc4d3e1f410d8a77 69666 net important 
netcat-traditional_1.10-38_amd64.deb

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

iD8DBQFIWtD/uIJGh/GWjRsRAlXNAJ4sKG+k+xfp+iu+RmFvPUQ3IkFTrACcDRaT
c1pgiC54QxQ+1h+1MKAmIoc=
=VMog
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to