I've also been using the following patch to build the new source package on various flavors of Debian and Ubuntu. The problem is that quilt returns various error codes depending on the version of quilt. For example:
For example, with Debian 3.1/i386, quilt 0.39-2: $ ( cd /tmp ; quilt pop -a ; echo $? ) No patch removed 1 With Ubuntu 7.04/i386, quilt 0.45-6: $ (cd /tmp ; quilt pop -a ; echo $? ) No patch removed 2 With Debian stable/testing/unstable mix, quilt 0.46-2: $ (cd /tmp ; quilt pop -a ; echo $? ) No patch removed 1 The quilt manpage doesn't document any exit codes, so I don't know which version is correct, and instead work around it by allowing either in the rules file. Should I resubmit this email as a separate BTS entry? It seemed too tiny to be worth it, but let me know. -Sanjoy --- a/debian/rules 2007-05-07 19:04:23.000000000 +0100 +++ b/debian/rules 2007-05-07 18:46:24.000000000 +0100 @@ -23,14 +23,14 @@ -$(MAKE) -i distclean rm -f doc/gv.info dh_clean - quilt pop -a -R || test $$? = 2 + quilt pop -a -R || test $$? = 2 -o $$? = 1 rm -f patches patch-stamp configure-stamp build-stamp rm -rf .pc patch: patch-stamp patch-stamp: ln -sf debian/patches - quilt push -a || test $$? = 2 + quilt push -a || test $$? = 2 -o $$? = 1 touch $@ configure-stamp: patch-stamp configure -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]