[PKG-Openstack-devel] Bug#906405: python-oslo.config: FTBFS in buster/sid (Could not import extension openstackdocstheme)

Santiago Vila sanvila at debian.org
Fri Aug 17 12:21:25 BST 2018


Package: src:python-oslo.config
Version: 1:5.2.0-4
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
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 build-indep --buildsystem=python_distutils --with python2,python3,sphinxdoc
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   dh_autoreconf -i -O--buildsystem=python_distutils
   dh_auto_configure -i -O--buildsystem=python_distutils
dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_configure: This feature will be removed in compat 12.
   dh_auto_build -i -O--buildsystem=python_distutils
dh_auto_build: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_build: This feature will be removed in compat 12.
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions

[... snipped ...]

byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/tests/testmods/fbar_foo_opt.py to fbar_foo_opt.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/tests/testmods/__init__.py to __init__.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/tests/testmods/fblaa_opt.py to fblaa_opt.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/tests/testmods/blaa_opt.py to blaa_opt.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/tests/testmods/baz_qux_opt.py to baz_qux_opt.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/tests/test_iniparser.py to test_iniparser.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/__init__.py to __init__.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/version.py to version.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/fixture.py to fixture.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/types.py to types.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo_config/cfg.py to cfg.cpython-36.pyc
running install_egg_info
Copying oslo.config.egg-info to /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/lib/python3/dist-packages/oslo.config-5.2.0.egg-info
Skipping SOURCES.txt
running install_scripts
Installing oslo-config-generator script to /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/bin
+ pwd
+ rm -rf /<<PKGBUILDDIR>>/debian/python*/usr/lib/python*/dist-packages/*.pth
+ pwd
+ [ -d /<<PKGBUILDDIR>>/debian/python-oslo.config/usr/bin ]
+ pwd
+ basename /<<PKGBUILDDIR>>/debian/python-oslo.config/usr/bin/oslo-config-generator
+ SCRIPT_NAME=oslo-config-generator
+ [ yes = yes ]
+ pwd
+ pwd
+ mv /<<PKGBUILDDIR>>/debian/python-oslo.config/usr/bin/oslo-config-generator /<<PKGBUILDDIR>>/debian/python-oslo.config/usr/bin/python2-oslo-config-generator
+ [ yes = yes ]
+ pwd
+ pwd
+ mv /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/bin/oslo-config-generator /<<PKGBUILDDIR>>/debian/python3-oslo.config/usr/bin/python3-oslo-config-generator
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -i -O--buildsystem=python_distutils
   debian/rules override_dh_sphinxdoc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
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
PYTHONPATH=/<<PKGBUILDDIR>> sphinx-build -D html_last_updated_fmt="May 22, 2018" -b html doc/source /<<PKGBUILDDIR>>/debian/python-oslo.config-doc/usr/share/doc/python-oslo.config-doc/html
Running Sphinx v1.7.6

Extension error:
Could not import extension openstackdocstheme (exception: No module named 'openstackdocstheme')
make[1]: *** [debian/rules:26: override_dh_sphinxdoc] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-oslo.config.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Openstack-devel mailing list