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

Bug#525984: aap: FTBFS with Python 2.6

Package: aap
Version: 1.090-1
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu jaunty ubuntu-patch

aap 1.090-1 uses quilt patch system to apply patches instead of patching

The way debian/rules uses quilt makes dpkg-buildpackage fail when
Python 2.6 is used.

Attached patch makes clean target depend on configure (to ensure that
all files are patched). It also moves ``quilt pop'' under calls to th ./app
so patched version is called.

*** /tmp/tmpejD32V
In Ubuntu, we've applied the attached patch to achieve the following:

  * Fix FTBFS. 

We thought you might be interested in doing the same. 

-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (700, 'jaunty-updates'), (650, 'jaunty'), (600, 'jaunty-proposed'), (500, 'jaunty-security')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u aap-1.090/debian/changelog aap-1.090/debian/changelog
diff -u aap-1.090/debian/rules aap-1.090/debian/rules
--- aap-1.090/debian/rules
+++ aap-1.090/debian/rules
@@ -25,16 +25,16 @@
 	touch build-stamp
+clean: configure
-	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 	rm -f build-stamp configure-stamp
 	# Add here commands to clean up after the build process.
 	$(MAKE) clean
 	$(MAKE) cleanALL
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 	# the above runs ./aap clean.  This has the side-effect that
 	# all .py files are compiled to pyc, which we don't want.
 	rm -f *.pyc

Reply to: