Package: python3-coverage Version: FTBFS ImportError: No module named sphinx_rtd_theme Severity: serious Justification: fails to build from source
Dear Maintainer, from debuild -us -uc -b : x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/home/themusicgod1/python/python-coverage-4.2+dfsg.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-amd64-3.5/coverage/ctracer/datastack.o build/temp.linux-amd64-3.5/coverage/ctracer/filedisp.o build/temp.linux-amd64-3.5/coverage/ctracer/module.o build/temp.linux-amd64-3.5/coverage/ctracer/tracer.o -o /home/themusicgod1/python/python-coverage-4.2+dfsg.1/.pybuild/pythonX.Y_3.5/build/coverage/tracer.cpython-35m-x86_64-linux-gnu.so sphinx-build -N -bhtml doc/ \ doc/_build/html/ Running Sphinx v1.4.9 making output directory... Exception occurred: File "conf.py", line 107, in <module> ImportError: No module named sphinx_rtd_theme The full traceback has been saved in /tmp/sphinx-err-AINte2.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! debian/rules:160: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 1 make[1]: Leaving directory '/home/themusicgod1/python/python-coverage-4.2+dfsg.1' debian/rules:72: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1116: dpkg-buildpackage -rfakeroot -us -uc -b failed themusicgod1@wicksell:~/python/python-coverage-4.2+dfsg.1$ cat /tmp/sphinx-err-AINte2.log # Sphinx version: 1.4.9 # Python version: 2.7.13 (CPython) # Docutils version: 0.13.1 release # Jinja2 version: 2.8 # Last messages: # Loaded extensions: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 243, in main opts.warningiserror, opts.tags, opts.verbosity, opts.jobs) File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 137, in __init__ confoverrides or {}, self.tags) File "/usr/lib/python2.7/dist-packages/sphinx/config.py", line 287, in __init__ execfile_(filename, config) File "/usr/lib/python2.7/dist-packages/sphinx/util/pycompat.py", line 130, in execfile_ exec_(code, _globals) File "/usr/lib/python2.7/dist-packages/six.py", line 699, in exec_ exec("""exec _code_ in _globs_, _locs_""") File "<string>", line 1, in <module> File "conf.py", line 107, in <module> ImportError: No module named sphinx_rtd_theme This happens when installing via apt-src install python3-coverage on both debian stable as well as ubuntu artful/bionic ( see ubuntu bug : https://bugs.launchpad.net/ubuntu/+source/python-coverage/+bug/1744365 ) ( In the case of ubuntu bionic, there is some complaining about python3-sphinxcontrib.spelling as well but that might be out of scope for this ticket, see launchpad for details ) Jeff Cliff -- System Information: Debian Release: 9.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-coverage depends on: ii libc6 2.24-11+deb9u1 ii python3 3.5.3-1 ii python3-pkg-resources 33.1.1-1 Versions of packages python3-coverage recommends: ii libjs-jquery 3.1.1-2 pn libjs-jquery-hotkeys <none> pn libjs-jquery-isonscreen <none> ii libjs-jquery-tablesorter 11-3 pn libjs-jquery-throttle-debounce <none> Versions of packages python3-coverage suggests: pn python-coverage-doc <none>