[PKG-Openstack-devel] Bug#806489: python-os-testr: FTBFS under pbuilder

Daniel Schepler dschepler at gmail.com
Fri Nov 27 20:37:37 UTC 2015


Source: python-os-testr
Version: 0.2.0-3
Severity: important

>From my pbuilder build log:

...
 fakeroot debian/rules clean
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=python_distutils --with python2,python3,sphinxdoc
   dh_testdir -O--buildsystem=python_distutils
   dh_auto_clean -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
        python setup.py clean -a
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
        find . -name \*.pyc -exec rm {} \+
   debian/rules override_dh_clean
make[1]: Entering directory '/build/python-os-testr-0.2.0'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh_clean -O--buildsystem=python_distutils
/bin/sh: 1: sed: not found
/bin/sh: 1: sed: not found
dh_clean: rm -f debian/python-os-testr.substvars failed to to execute: No such file or directory
debian/rules:65: recipe for target 'override_dh_clean' failed
make[1]: *** [override_dh_clean] Error 2
make[1]: Leaving directory '/build/python-os-testr-0.2.0'
debian/rules:14: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

In my debugging, it appears that PATH is getting set to
"/usr/local/bin:/usr/bin:/bin :/build/python-os-testr-0.2.0/debian/bin"
(including the space).  Therefore, without /bin in PATH (only /bin" "), sed
cannot be found.
-- 
Daniel Schepler



More information about the Openstack-devel mailing list