[Debian-med-packaging] Bug#737707: FTBFS for wheezy backport

Mathieu Malaterre malat at debian.org
Wed Feb 5 08:13:16 UTC 2014


Package: openslide-python
Severity: important
Version: 0.5.1-2

The package cannot currently be backported to wheezy it fails with:

$ dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: paquet source openslide-python
dpkg-buildpackage: version source 0.5.1-2
dpkg-buildpackage: source changé par Mathieu Malaterre <malat at debian.org>
dpkg-buildpackage: architecture hôte amd64
 dpkg-source --before-build openslide-python-0.5.1
 fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
running clean
removing '/tmp/o/openslide-python-0.5.1/.pybuild/pythonX.Y_2.7/build'
(and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
running clean
removing '/tmp/o/openslide-python-0.5.1/.pybuild/pythonX.Y_2.6/build'
(and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.6' does not exist -- can't clean it
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    exec(_fh.read())
  File "<string>", line 25
    __version__ = u'0.5.1'
                         ^
SyntaxError: invalid syntax
E: pybuild pybuild:256: clean: plugin distutils failed with: exit
code=1: python3.2 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 3.2 --dir .
returned exit code 13
make: *** [clean] Erreur 13
dpkg-buildpackage: erreur: fakeroot debian/rules clean a produit une
erreur de sortie de type 2

with:

$ apt-cache policy dh-python
dh-python:
  Installé : 1.20131021-1~bpo70+1
  Candidat : 1.20131021-1~bpo70+1
 Table de version :
     1.20140128-1 0
        100 http://ftp.fr.debian.org/debian/ unstable/main amd64 Packages
     1.20131021-1 0
        200 http://ftp.fr.debian.org/debian/ testing/main amd64 Packages
 *** 1.20131021-1~bpo70+1 0
        600 http://ftp.fr.debian.org/debian/ wheezy-backports/main
amd64 Packages
        100 /var/lib/dpkg/status



More information about the Debian-med-packaging mailing list