Package: python-4suite
Version: 1.0.2-7
Severity: important
Tags: patch
User: [email protected]
Usertags: python2.6 ftbfs

Hello,

Starting from Python 2.6, the installation paths for distutils have
changed. /usr/local is now used by default.

When rebuilt against python-all{,-dev,-dbg} (and thus python2.6) from Debian experimental, your package FTBFS:

ls -l debian/python-4suite-xml/usr/lib/python2.6/site-packages
ls: cannot access debian/python-4suite-xml/usr/lib/python2.6/site-packages: No 
such file or directory
make[1]: *** [install-python2.6-stamp] Error 2
make[1]: Leaving directory 
`/dane/python2.6/build/python-4suite/python-4suite-1.0.2'
make: *** [install] Error 1

The attached patch fixed is bug. However, please consider also
switching from python-central to python-support:
http://wiki.debian.org/DebianPython/central2support

--
Jakub Wilk
--- a/debian/rules
+++ b/debian/rules
@@ -128,8 +128,8 @@
 		rm "$(SRCDIR)/dist/$$name-"*.tar.gz; \
 	done
 
-	ls -l $(XMLPKGDIR)/usr/lib/python$(PVER)/site-packages
-	d=$(XMLPKGDIR)/usr/lib/python$(PVER)/site-packages; \
+	ls -l $(XMLPKGDIR)/usr/lib/python$(PVER)/*-packages
+	d=$(wildcard $(XMLPKGDIR)/usr/lib/python$(PVER)/*-packages); \
 	if [ -f $$d/4Suite_XML-$(SRCPKGVERS)-py$(PVER).egg-info ]; then \
 	  mv -f $$d/4Suite_XML-$(SRCPKGVERS)-py$(PVER).egg-info \
 	    $$d/4Suite_XML-$(SRCPKGVERS).egg-info; \

Reply via email to