Your message dated Fri, 28 Nov 2008 22:32:17 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#484945: fixed in gdb 6.8.50.20081120.python-1
has caused the Debian Bug report #484945,
regarding gdb: FTBFS when converted to new source format 3.0 (quilt): due to 
patches that require -p0
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.)


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

$ apt-get source gdb
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' gdb-6.8/debian/control
$ dpkg-source -b gdb-6.8
$ dpkg-source -x gdb_6.8-3.dsc
$ cd gdb-6.8 && 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-6.8-3 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 gdb, 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 "gdb-6.8.orig" and
"b" by "gdb-6.8" 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: gdb
Source-Version: 6.8.50.20081120.python-1

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

gdb_6.8.50.20081120.python-1.diff.gz
  to pool/main/g/gdb/gdb_6.8.50.20081120.python-1.diff.gz
gdb_6.8.50.20081120.python-1.dsc
  to pool/main/g/gdb/gdb_6.8.50.20081120.python-1.dsc
gdb_6.8.50.20081120.python-1_amd64.deb
  to pool/main/g/gdb/gdb_6.8.50.20081120.python-1_amd64.deb
gdb_6.8.50.20081120.python.orig.tar.gz
  to pool/main/g/gdb/gdb_6.8.50.20081120.python.orig.tar.gz
libgdb-dev_6.8.50.20081120.python-1_amd64.deb
  to pool/main/g/gdb/libgdb-dev_6.8.50.20081120.python-1_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.
Daniel Jacobowitz <[EMAIL PROTECTED]> (supplier of updated gdb 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: Fri, 28 Nov 2008 14:28:47 -0500
Source: gdb
Binary: gdb gdb64 libgdb-dev
Architecture: source amd64
Version: 6.8.50.20081120.python-1
Distribution: experimental
Urgency: low
Maintainer: Daniel Jacobowitz <[EMAIL PROTECTED]>
Changed-By: Daniel Jacobowitz <[EMAIL PROTECTED]>
Description: 
 gdb        - The GNU Debugger
 gdb64      - The GNU Debugger (64-bit)
 libgdb-dev - The GNU Debugger (libgdb.a)
Closes: 484945
Changes: 
 gdb (6.8.50.20081120.python-1) experimental; urgency=low
 .
   * Package archer-tromey-python branch for experimental.  Highlights since
     GDB 6.8 (for more, see the NEWS file):
     - Python scripting support.  This is experimental; the interfaces
       are subject to change.  Some example scripts are packaged, including
       STL pretty-printers for libstdc++.
     - Improved preprocessor macro support.
     - Non-stop debugging support (for 32-bit i386 only).  You can stop just
       one thread of interest while the others continue to run.
     - Improved tab completion, including C structure fields.
     - Faster remote debugging.
     - Compressed debug information support; the new "gold" linker can generate
       compressed debug sections.
     - New "find" command to search memory.
   * Build depend on zlib1g-dev and python-dev.
   * Removed bfd-get-mtime-less.patch, gdb-rbreak-quoting.patch,
   ia64-array-bound.patch, cp-support-uninit.patch,
   and m68k-nat-build-fix.patch, merged upstream.
   * Build depend on procps for testsuite cleanup calls to "kill".
   * Remove use of -p0 in series file (Closes: #484945).
Checksums-Sha1: 
 59065addb460523adc5bec367ed37c3323b69f08 2006 gdb_6.8.50.20081120.python-1.dsc
 57478c3b92e6e32a7398dc9e4ad1ec5da01922f9 20477583 
gdb_6.8.50.20081120.python.orig.tar.gz
 5c07f330c19ed041efc19b8d4f3af801cbd6b48c 25893 
gdb_6.8.50.20081120.python-1.diff.gz
 eb68e739e6385a2b5aecd93561692ac3359766de 3511632 
gdb_6.8.50.20081120.python-1_amd64.deb
 823535d3b1b7f5ba344ab20784c2b84026b944c2 1750638 
libgdb-dev_6.8.50.20081120.python-1_amd64.deb
Checksums-Sha256: 
 2a2111c7ba99126ba8d144ecd226d95baaf8c48e212395283b207738207c788e 2006 
gdb_6.8.50.20081120.python-1.dsc
 9e0d25a56836609508dbac8a885ea772312183a16aeec31858b0b22b55675223 20477583 
gdb_6.8.50.20081120.python.orig.tar.gz
 f61cef8073cc71fdb9900c6a9d089e17e68a20610db1811df4d5b8d594d85ede 25893 
gdb_6.8.50.20081120.python-1.diff.gz
 92436334cef1f505e8a23be7f316336a4dc36814f60e76ecdba48971c4834d78 3511632 
gdb_6.8.50.20081120.python-1_amd64.deb
 7660c9f2fedaaa33801c788153b889bf7416780c18bf1e26e9b6e2f932521cd8 1750638 
libgdb-dev_6.8.50.20081120.python-1_amd64.deb
Files: 
 6918bd173038f9a3f19d6d3dfbf497c5 2006 devel optional 
gdb_6.8.50.20081120.python-1.dsc
 04f4170292594ee4e1c2bd6e0c643774 20477583 devel optional 
gdb_6.8.50.20081120.python.orig.tar.gz
 fafa2c51ead3b4ae9345c6fe60cd14d4 25893 devel optional 
gdb_6.8.50.20081120.python-1.diff.gz
 a7b47678c72b14259cb67188cb860d54 3511632 devel optional 
gdb_6.8.50.20081120.python-1_amd64.deb
 4726cd89c4b17b756ffe13c594bfb032 1750638 libdevel extra 
libgdb-dev_6.8.50.20081120.python-1_amd64.deb

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

iD8DBQFJMGz0bgOPXuCjg3cRAoOrAJ9teqBa8hLeNhQqfXSjLaFKcG4HrwCgvoTv
pd+FhY+R+YBnuGJqmwcQmcs=
=RA+5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to