[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#538619: libxcomposite: FTBFS with new source format 3.0 (quilt): cruft in .diff.gz



Package: libxcomposite
Version: 1:0.4.0-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 rebuilt the packages
afterwards to see what breaks, and libxcomposite does break. To reproduce the
problem you can do this:
$ apt-get source libxcomposite
$ mkdir -p libxcomposite-0.4.0/debian/source
$ echo "3.0 (quilt)" >libxcomposite-0.4.0/debian/source/format
$ dpkg-source -b libxcomposite-0.4.0
$ dpkg-source -x libxcomposite_0.4.0-3.dsc
$ cd libxcomposite-0.4.0 && 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:0.4.0-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 libxcomposite, it contains changes in .diff.gz
that is either not wanted or that should be in a separate quilt
patch instead of there.

For fbi: Make.config ends up in the debian diff and is recreated by clean
target before patch application

For libdrm: it remove Changelog in .diff.gz, before it leads to empty
files, now it's removed (and the build fails later)

For libxcomposite: quilt patches depends on changes in the diff.gz and
hence the quilt patches do not apply anymore when the prerequesite patch
ends up at the end of the series.

Cheers,

[1] http://wiki.debian.org/Projects/DebSrc3.0




Reply to: