[PKG-Openstack-devel] Bug#906410: stevedore: FTBFS in buster/sid (TypeError: cannot use a string pattern on a bytes-like object)

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


Package: src:stevedore
Version: 1.28.0-2
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 --with=python2,python3,sphinxdoc
   dh_update_autotools_config -i
   dh_auto_configure -i
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.
   debian/rules override_dh_auto_build
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

[... snipped ...]

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 -b html doc/source /<<PKGBUILDDIR>>/debian/python-stevedore-doc/usr/share/doc/python-stevedore-doc/html
Running Sphinx v1.7.6
loading stevedore.sphinxext
making output directory...
WARNING: The config value `version' has type `bytes', defaults to `str'.
WARNING: The config value `release' has type `bytes', defaults to `str'.
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 14 source files that are out of date
updating environment: 14 added, 0 changed, 0 removed
reading sources... [  7%] index
reading sources... [ 14%] install/index
reading sources... [ 21%] reference/index
reading sources... [ 28%] user/essays/pycon2013
reading sources... [ 35%] user/history
reading sources... [ 42%] user/index
reading sources... [ 50%] user/patterns_enabling
reading sources... [ 57%] user/patterns_loading
reading sources... [ 64%] user/sphinxext
documenting plugins from 'stevedore.example.formatter'
documenting plugins from 'stevedore.example.formatter'
reading sources... [ 71%] user/tutorial/creating_plugins
reading sources... [ 78%] user/tutorial/index
reading sources... [ 85%] user/tutorial/loading
reading sources... [ 92%] user/tutorial/naming
reading sources... [100%] user/tutorial/testing

/<<PKGBUILDDIR>>/doc/source/user/history.rst:5: WARNING: Problems with "include" directive path:
InputError: [Errno 2] No such file or directory: 'ChangeLog'.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... 
Exception occurred:
  File "/usr/lib/python3/dist-packages/sphinx/builders/html.py", line 479, in prepare_writing
    release = return_codes_re.sub('', self.config.release),
TypeError: cannot use a string pattern on a bytes-like object
The full traceback has been saved in /tmp/sphinx-err-7_bj5ntt.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make[1]: *** [debian/rules:36: override_dh_sphinxdoc] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: 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/stevedore.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