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

git-buildpackage python3, python3.4: not found



Hello,

I use git-buildpackage to build packages and so far everything worked fine.

I started packaging python-multipletau [0] and added python3 stanza to the control file and in general followed https://wiki.debian.org/Python/LibraryStyleGuide

However when I try to build the package with python3 I get the followoing:

$git-buildpackage --git-pbuilder --git-arch=amd64
dh clean --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean
running clean
removing '/home/toor/debian-med/python-multipletau/.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
I: pybuild base:170: python3.4 setup.py clean
/bin/sh: 1: python3.4: not found
E: pybuild pybuild:256: clean: plugin distutils failed with: exit code=127: python3.4 setup.py clean dh_auto_clean: pybuild --clean -i python{version} -p 3.4 --dir . returned exit code 13
make: *** [clean] Error 13
gbp:error: Couldn't run 'fakeroot debian/rules clean': fakeroot debian/rules clean returned 2


I looked on some other python3 packages and for example I get a similar result for python-dnsq package:

gbp-clone git://anonscm.debian.org/collab-maint/python-dnsq.git

/tmp/test/python-dnsq$ git-buildpackage --git-pbuilder --git-arch=amd64
dh clean --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean
running clean
removing '/tmp/test/python-dnsq/.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
I: pybuild base:170: python3.4 setup.py clean
/bin/sh: 1: python3.4: not found
E: pybuild pybuild:256: clean: plugin distutils failed with: exit code=127: python3.4 setup.py clean dh_auto_clean: pybuild --clean -i python{version} -p 3.4 3.3 --dir . returned exit code 13
make: *** [clean] Error 13
gbp:error: Couldn't run 'fakeroot debian/rules clean': fakeroot debian/rules clean returned 2

So I assume that there is something wrong with git-buildpackage or pbuilder... or pybuild...


I would be thankful for any hint ...

Alex

[0] http://anonscm.debian.org/gitweb/?p=debian-med/python-multipletau.git


Reply to: