[Python-modules-team] Bug#838646: python-markdown: FTBFS in testing (OSError: Could not load libtidy)

Santiago Vila sanvila at debian.org
Fri Sep 23 09:29:20 UTC 2016


Package: src:python-markdown
Version: 2.6.6-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,python3 --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config 
running config
I: pybuild base:184: python3.5 setup.py config 
running config
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build 
running build
running build_py

[... snipped ...]

copying markdown/treeprocessors.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown
copying markdown/serializers.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown
copying markdown/preprocessors.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown
copying markdown/__version__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown
copying markdown/inlinepatterns.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown
copying markdown/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown
copying markdown/blockparser.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown
copying markdown/blockprocessors.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/meta.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/headerid.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/def_list.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/codehilite.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/wikilinks.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/admonition.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/fenced_code.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/sane_lists.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/attr_list.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/extra.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/footnotes.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/tables.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/smarty.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/abbr.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/toc.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/nl2br.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
copying markdown/extensions/smart_strong.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/markdown/extensions
running build_scripts
creating build/scripts-3.5
copying and adjusting bin/markdown_py -> build/scripts-3.5
changing mode of build/scripts-3.5/markdown_py from 664 to 775
running build_docs
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYBUILD_SYSTEM=custom dh_auto_test
I: pybuild base:184: python2.7 /<<PKGBUILDDIR>>/run-tests.py --verbose
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/run-tests.py", line 3, in <module>
    import tests
  File "/<<PKGBUILDDIR>>/tests/__init__.py", line 15, in <module>
    import tidylib
  File "/usr/lib/python2.7/dist-packages/tidylib/__init__.py", line 68, in <module>
    raise OSError("Could not load libtidy using any of these names: %s" % (",".join(LIB_NAMES)))
OSError: Could not load libtidy using any of these names: libtidy,libtidy.so,libtidy-0.99.so.0,cygtidy-0-99-0,tidylib,libtidy.dylib,tidy
E: pybuild pybuild:276: test: plugin custom failed with: exit code=1: python2.7 /<<PKGBUILDDIR>>/run-tests.py --verbose
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13
debian/rules:15: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

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 page for this package.

Thanks.



More information about the Python-modules-team mailing list