[Pkg-mailman-hackers] Bug#485253: Bug#485253: mailman: FTBFS when converted to new source format 3.0 (quilt): require -p0 for some patches

Thijs Kinkhorst thijs at debian.org
Sat Jun 14 16:34:52 UTC 2008


Hi Raphael,

> 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, mailman failed, you can try yourself with those
> commands (and dpkg-dev >= 1.14.19 [2]) :
>
> $ apt-get source mailman
> $ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)'
> mailman-2.1.10/debian/control $ dpkg-source -b mailman-2.1.10
> $ dpkg-source -x mailman_2.1.10-2.dsc
> $ cd mailman-2.1.10 && debuild -us -uc

I've briefly looked into this. I've updated our quilt usage to match the
above and since it doesn't break exising functionality I've committed it.
However, the package doesn't build yet with format 3.0, see for output
below.

As said I haven't dived into the format further yet.


cheers,
Thijs


 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package mailman
dpkg-buildpackage: source version 1:2.1.10-3
dpkg-buildpackage: source changed by Thijs Kinkhorst <thijs at debian.org>
dpkg-buildpackage: host architecture powerpc
 fakeroot debian/rules clean
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test
$? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
[ ! -f Makefile ] || /usr/bin/make distclean
rm -rf build-stamp Makefile debian/ucffiles debian/mailman.postinst.ucf
rm -f debian/mailman.postrm.ucf
dh_clean
chmod +x debian/{prerm,postinst}
 dpkg-source -b mailman-2.1.10
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building mailman using existing
./mailman_2.1.10.orig.tar.gz
dpkg-source: error: line after --- isn't as expected in diff
`mailman-2.1.10.orig.iVU8r7/debian/patches/00_stolen_from_HEAD.patch'
(line 7)
dpkg-buildpackage: failure: dpkg-source -b mailman-2.1.10 gave error exit
status 2
debuild: fatal error at line 1319:
dpkg-buildpackage -rfakeroot -D -us -uc failed







More information about the Pkg-mailman-hackers mailing list