found 555208 5.03-3 tags 555208 + patch thanks Unfortunately, fix for this bug was incorrect: http://launchpadlibrarian.net/36929318/buildlog_ubuntu-lucid-i386.file_5.03-4_FAILEDTOBUILD.txt.gz
The attached patch really fixes this problem. -- Jakub Wilk
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
include /usr/share/quilt/quilt.make
+-include /usr/share/python/python.mk
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@@ -77,13 +78,13 @@
for python in $(PYTHON_VERSIONS); \
do \
(cd python && $$python setup.py install --no-compile \
- --root=$(CURDIR)/debian/python-magic --prefix=/usr); \
+ --root=$(CURDIR)/debian/python-magic $(py_setup_install_args)); \
done
set -e; \
for python in $(PYTHON_VERSIONS); do \
(cd python && $$python-dbg setup.py install --no-compile \
- --root=$(CURDIR)/debian/python-magic-dbg --prefix=/usr); \
+ --root=$(CURDIR)/debian/python-magic-dbg $(py_setup_install_args)); \
done
find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f
find debian/python-*-dbg -depth -empty -exec rmdir {} \;
signature.asc
Description: Digital signature

