Your message dated Tue, 10 Jun 2008 01:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#485255: fixed in libogg 1.1.3-4
has caused the Debian Bug report #485255,
regarding libogg: 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.)


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

$ apt-get source libogg
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' libogg-1.1.3/debian/control
$ dpkg-source -b libogg-1.1.3
$ dpkg-source -x libogg_1.1.3-3.dsc
$ cd libogg-1.1.3 && 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.1.3-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 libogg, 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 "libogg-1.1.3.orig" and
"b" by "libogg-1.1.3" 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: libogg
Source-Version: 1.1.3-4

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

libogg-dev_1.1.3-4_amd64.deb
  to pool/main/libo/libogg/libogg-dev_1.1.3-4_amd64.deb
libogg0_1.1.3-4_amd64.deb
  to pool/main/libo/libogg/libogg0_1.1.3-4_amd64.deb
libogg_1.1.3-4.diff.gz
  to pool/main/libo/libogg/libogg_1.1.3-4.diff.gz
libogg_1.1.3-4.dsc
  to pool/main/libo/libogg/libogg_1.1.3-4.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.
Clint Adams <[EMAIL PROTECTED]> (supplier of updated libogg 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, 09 Jun 2008 20:38:54 -0400
Source: libogg
Binary: libogg0 libogg-dev
Architecture: source amd64
Version: 1.1.3-4
Distribution: unstable
Urgency: low
Maintainer: Debian Xiph.org Maintainers <[EMAIL PROTECTED]>
Changed-By: Clint Adams <[EMAIL PROTECTED]>
Description: 
 libogg-dev - Ogg Bitstream Library Development
 libogg0    - Ogg Bitstream Library
Closes: 463164 485255
Changes: 
 libogg (1.1.3-4) unstable; urgency=low
 .
   * Bump to Standards-Version 3.8.0.
   * Refresh external_rfc_links.diff to -p ab.  closes: #485255.
   * Add doc_links.diff from Martin Pitt to fix HTML link to ogg/ subdir.
     closes: #463164.
Checksums-Sha1: 
 8002a9e2a141c3c8ae245738d8cfb3910c13c740 1137 libogg_1.1.3-4.dsc
 9b55d63c2fc556b8abbc585dc8a5fc5d60ea3a1d 4811 libogg_1.1.3-4.diff.gz
 7a79b36c8bab2afe0b422940b94538e6ac8a8fe0 14984 libogg0_1.1.3-4_amd64.deb
 e34bcadb34c609f20193cd58cdb767d01ab6adaa 57846 libogg-dev_1.1.3-4_amd64.deb
Checksums-Sha256: 
 fe4a77dfd06edfdc499dee2537b427eca1d9a320cfce6930f41e2fcb1ed76948 1137 
libogg_1.1.3-4.dsc
 bce078ae34039a5deee1bb3279d4cfba6207cdd7bee5f1c097775cee9c46d44b 4811 
libogg_1.1.3-4.diff.gz
 5403e096e11376615717dac1c7563ca3d45541b6b17553714335afc688f9d1bc 14984 
libogg0_1.1.3-4_amd64.deb
 77bd78ee3dc8002a3dbb5746fbcc046d23545ed35d4785a1dd93119de5c17bf9 57846 
libogg-dev_1.1.3-4_amd64.deb
Files: 
 b591491746c894cc7494dad94ca70c23 1137 libs optional libogg_1.1.3-4.dsc
 d279e9d9fc5a122ebb7da9673c54d282 4811 libs optional libogg_1.1.3-4.diff.gz
 3d9e9cc3f8cc0ddf0e83b977c0e9f040 14984 libs optional libogg0_1.1.3-4_amd64.deb
 59b97aa9d6a9e2836c6b1851ff3b0c7d 57846 libdevel optional 
libogg-dev_1.1.3-4_amd64.deb

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

iD8DBQFITdDb5m0u66uWM3ARAnrCAKDWQhBLEAt0n0X/MKFJl0A2gk5M8gCcCKYe
9MuQol865XmpXnNyD3BqvO0=
=xzlt
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to