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

Re: new source package format in dpkg-dev



Raphael Hertzog writes:

Hi,

> 
>> So please try it out, I built a package here:
>> http://people.debian.org/~hertzog/packages/dpkg-dev_1.14.17_all.deb


I've just did some tests on my 3 quilt-managed source packages
(whichman, dictd and zapping).

It seems format 2.0 doesn't work at all for such packages:

 LC_ALL=C dpkg-source --format=2.0 -b whichman-2.4
dpkg-source: info: using source format `2.0'
dpkg-source: info: building whichman using existing
./whichman_2.4.orig.tar.gz
dpkg-source: warning: diff
`whichman-2.4.orig.kHu7K8/debian/patches/series' doesn't contain any patch
patch: **** Only garbage was found in the patch input.
dpkg-source: failure: patch -s -t -F 0 -N -p1 -u -V never -g0 -b -z
.dpkg-orig -E gave error exit status 2


Format "3.0 (quilt)" always create a
debian/patches/debian-changes-*.diff file which reverts any changes made
by other existing debian/patches files. Additionally it gives some
warnings for whichman:
LC_ALL=C dpkg-source --format="3.0 (quilt)" -b whichman-2.4
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building whichman using existing
./whichman_2.4.orig.tar.gz
dpkg-source: warning: ignoring deletion of file statduplcheck.c
dpkg-source: warning: ignoring deletion of file statduplcheck.h
dpkg-source: info: building whichman in whichman_2.4-4.debian.tar.gz
dpkg-source: info: building whichman in whichman_2.4-4.dsc

...and fails with the following error for dictd:

LC_ALL=C dpkg-source --format="3.0 (quilt)" -b dictd-1.10.10.dfsg
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building dictd using existing
./dictd_1.10.10.dfsg.orig.tar.gz
dpkg-source: error: diff
`dictd-1.10.10.dfsg.orig.Ly3JcL/debian/patches/colorit-bashisms.patch'
patches file with no subdirectory

... because colorit-bashisms.patch contains:
Index: dictd/colorit.in
===================================================================
--- colorit.in  2007/09/29 18:57:47     1.7
+++ colorit.in  2008/02/08 10:59:15     1.8
@@ -16,7 +16,7 @@



I've also tried one non-quilt-managed package, and both format 2.0 and
3.0 worked as documented on it (2.0 created zz_debian-diff-auto which
wasn't automatically applied, in contradiction to debian-changes*.diff
from 3.0).

Regards,
robert


Reply to: