[PKG-Openstack-devel] Bug#880130: openstack-doc-tools: FTBFS Could not import extension openstackdocstheme (exception: No module named openstackdocstheme)
Andreas Beckmann
anbe at debian.org
Sun Oct 29 19:38:02 UTC 2017
Source: openstack-doc-tools
Version: 1.6.0-1
Severity: serious
Justification: fails to build from source
Hi,
openstack-doc-tools/experimental FTBFS in a current sid+experimental
environment:
[...]
set -e ; set -x ; for i in /build/openstack-doc-tools-1.6.0/debian/openstack-doc-tools-common/usr/share/openstack-doc-tools/cleanup/retf/*.py ; do \
BASEFILE=`basename $i` ; \
DIRNAME=`dirname $i` ; \
cp $i /build/openstack-doc-tools-1.6.0/debian/python-openstack-doc-tools/usr/share/openstack-doc-tools/cleanup/retf/python2-$BASEFILE ; \
cp $i /build/openstack-doc-tools-1.6.0/debian/python3-openstack-doc-tools/usr/share/openstack-doc-tools/cleanup/retf/python3-$BASEFILE ; \
rm $i ; \
done
+ basename /build/openstack-doc-tools-1.6.0/debian/openstack-doc-tools-common/usr/share/openstack-doc-tools/cleanup/retf/retf.py
+ BASEFILE=retf.py
+ dirname /build/openstack-doc-tools-1.6.0/debian/openstack-doc-tools-common/usr/share/openstack-doc-tools/cleanup/retf/retf.py
+ DIRNAME=/build/openstack-doc-tools-1.6.0/debian/openstack-doc-tools-common/usr/share/openstack-doc-tools/cleanup/retf
+ cp /build/openstack-doc-tools-1.6.0/debian/openstack-doc-tools-common/usr/share/openstack-doc-tools/cleanup/retf/retf.py /build/openstack-doc-tools-1.6.0/debian/python-openstack-doc-tools/usr/share/openstack-doc
-tools/cleanup/retf/python2-retf.py
+ cp /build/openstack-doc-tools-1.6.0/debian/openstack-doc-tools-common/usr/share/openstack-doc-tools/cleanup/retf/retf.py /build/openstack-doc-tools-1.6.0/debian/python3-openstack-doc-tools/usr/share/openstack-doc-tools/cleanup/retf/python3-retf.py
+ rm /build/openstack-doc-tools-1.6.0/debian/openstack-doc-tools-common/usr/share/openstack-doc-tools/cleanup/retf/retf.py
find /build/openstack-doc-tools-1.6.0/debian/python3-openstack-doc-tools/usr/share/openstack-doc-tools -exec sed -i '1 s/python/python3/' {} \;
sed: couldn't edit /build/openstack-doc-tools-1.6.0/debian/python3-openstack-doc-tools/usr/share/openstack-doc-tools: not a regular file
sed: couldn't edit /build/openstack-doc-tools-1.6.0/debian/python3-openstack-doc-tools/usr/share/openstack-doc-tools/cleanup: not a regular file
sed: couldn't edit /build/openstack-doc-tools-1.6.0/debian/python3-openstack-doc-tools/usr/share/openstack-doc-tools/cleanup/retf: not a regular file
make[1]: Leaving directory '/build/openstack-doc-tools-1.6.0'
dh_installdocs -O--buildsystem=python_distutils
debian/rules override_dh_sphinxdoc
make[1]: Entering directory '/build/openstack-doc-tools-1.6.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
sphinx-build -D today="October 03, 2017" -b html doc/source /build/openstack-doc-tools-1.6.0/debian/python-openstack-doc-tools/usr/share/doc/python-openstack-doc-tools/html
Running Sphinx v1.6.5
making output directory...
Generating grammar tables from /usr/share/sphinx/pycode/Grammar-py2.txt
Extension error:
Could not import extension openstackdocstheme (exception: No module named openstackdocstheme)
debian/rules:53: recipe for target 'override_dh_sphinxdoc' failed
make[1]: *** [override_dh_sphinxdoc] Error 1
make[1]: Leaving directory '/build/openstack-doc-tools-1.6.0'
debian/rules:9: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
The find command seems to be missing a '-type f' ... and is therefore
trying to invoke sed on directories.
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openstack-doc-tools_1.6.0-1.log.gz
Type: application/gzip
Size: 12204 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20171029/511b7ae9/attachment.bin>
More information about the Openstack-devel
mailing list