-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Zak B. Elep schrieb: > On Thu, 2009-08-27 at 08:36 +0800, Zak B. Elep wrote: >> Thanks, all in all, that was a better take on why separate patching >> should be done. I'll take a look at topgit (and quilt, too) and will >> probably rebuild the package. > > OK, I've updated my package, here's 0.8.0-3's changelog: > > opendchub (0.8.0-3) unstable; urgency=low > > * Use TopGit and Quilt to manage patches > * Re-add debian/patches, with diffs autogenerated from git branches > * Add debian/README.source describing the package build > > And here's the diffstat: > > NEWS | 20 ++++ > README.Debian | 37 +++++++ > README.source | 34 ++++++ > changelog | 151 > +++++++++++++++++++++++++++++++ > compat | 1 > config.default | 62 ++++++++++++ > control | 41 ++++++++ > copyright | 33 ++++++ > docs | 2 > init | 58 +++++++++++ > manpages | 1 > motd.default | 3 > opendchub.1 | 71 ++++++++++++++ > patches/bugs/495063.diff | 58 +++++++++++ > patches/fixes/avoid-buffer-overflow.diff | 29 +++++ > patches/series | 2 > postinst | 85 +++++++++++++++++ > postrm | 20 ++++ > rules | 30 ++++++ > watch | 4 > 20 files changed, 742 insertions(+) > > dget > http://mentors.debian.net/debian/pool/main/o/opendchub/opendchub_0.8.0-3.dsc >
Your build ftbfs: make[1]: Entering directory `/tmp/buildd/opendchub-0.8.0' make[1]: *** No rule to make target `distclean'. make[1]: Leaving directory `/tmp/buildd/opendchub-0.8.0' make: [makefile-clean] Error 2 (ignored) rm -f debian/stamp-makefile-build for i in ./config.guess ./config.sub ; do \ if test -e $i.cdbs-orig ; then \ mv $i.cdbs-orig $i ; \ fi ; \ done dh_clean /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/tmp/buildd/opendchub-0.8.0' for i in ./config.guess ./config.sub ; do \ if test -e $i.cdbs-orig ; then \ mv $i.cdbs-orig $i ; \ fi ; \ done make[1]: Leaving directory `/tmp/buildd/opendchub-0.8.0' if [ -d "." ]; then \ cd . && QUILT_PATCHES=/tmp/buildd/opendchub-0.8.0/debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 ; \ fi No patch removed rm -rf ./.pc rm -f debian/stamp-patch* rm -f debian/stamp-autotools-files rm -f Makefile.in config.h.in configure src/Makefile.in dpkg-source -b opendchub-0.8.0 dpkg-source: info: using source format `1.0' dpkg-source: info: building opendchub using existing opendchub_0.8.0.orig.tar.gz dpkg-source: info: building opendchub in opendchub_0.8.0-3.diff.gz dpkg-source: warning: ignoring deletion of file Makefile.in dpkg-source: warning: ignoring deletion of file config.h.in dpkg-source: warning: ignoring deletion of file ChangeLog~ dpkg-source: warning: ignoring deletion of file configure dpkg-source: warning: ignoring deletion of file src/Makefile.in dpkg-source: info: building opendchub in opendchub_0.8.0-3.dsc debian/rules build test -x debian/rules mkdir -p "." /usr/bin/make -f debian/rules reverse-config make[1]: Entering directory `/tmp/buildd/opendchub-0.8.0' for i in ./config.guess ./config.sub ; do \ if test -e $i.cdbs-orig ; then \ mv $i.cdbs-orig $i ; \ fi ; \ done make[1]: Leaving directory `/tmp/buildd/opendchub-0.8.0' cd . && QUILT_PATCHES=/tmp/buildd/opendchub-0.8.0/debian/patches quilt - --quiltrc /dev/null push -a || test $? = 2 Applying patch bugs/495063.diff patching file src/perl_utils.c Applying patch fixes/avoid-buffer-overflow.diff patching file src/commands.c Now at patch fixes/avoid-buffer-overflow.diff touch debian/stamp-patched /usr/bin/make -f debian/rules update-config make[1]: Entering directory `/tmp/buildd/opendchub-0.8.0' if test -e /usr/share/misc/config.guess ; then \ for i in ./config.guess ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.guess $i ; \ fi ; \ done ; \ fi if test -e /usr/share/misc/config.sub ; then \ for i in ./config.sub ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.sub $i ; \ fi ; \ done ; \ fi make[1]: Leaving directory `/tmp/buildd/opendchub-0.8.0' if test -e /usr/share/misc/config.guess ; then \ for i in ./config.guess ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.guess $i ; \ fi ; \ done ; \ fi if test -e /usr/share/misc/config.sub ; then \ for i in ./config.sub ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.sub $i ; \ fi ; \ done ; \ fi /usr/share/cdbs/1/class/autotools-files.mk:49: *** insufficient number of arguments (1) to function `if'. Stop. dpkg-buildpackage: error: debian/rules build gave error exit status 2 E: Failed autobuilding of package I: unmounting dev/pts filesystem I: unmounting proc filesystem I: cleaning the build env I: removing directory /var/cache/pbuilder/build//9552 and its subdirectories - -- /* Mit freundlichem Gruß / With kind regards, Patrick Matthäi GNU/Linux Debian Developer E-Mail: pmatth...@debian.org patr...@linux-dev.org Comment: Always if we think we are right, we were maybe wrong. */ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqWcg4ACgkQ2XA5inpabMdlrgCeO4jpMrNRW+YWS090/Hqz+cvE XvMAn0ijpkiG+XuU/np+HrycBeiXok4J =7Icm -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org