[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#855675: hunspell-dict-ko: Fails to build from source, No module named 'lxml'



Package: hunspell-ko
Version: 0.6.0-1
Severity: serious

hunspell-dict-ko fails to build from source in a clean chroot, such as
used by Reproducible Builds.

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/hunspell-dict-ko.html

dh_auto_build
make -j1
make[1]: Entering directory '/build/1st/hunspell-dict-ko-0.6.0'
python3 make-aff-dic.py ko.aff ko.dic dict-ko-builtins.json dict-ko-galkwi.json
Traceback (most recent call last):
  File "make-aff-dic.py", line 42, in <module>
    from lxml import etree as lxml_etree
ImportError: No module named 'lxml'
Makefile:28: recipe for target 'ko.aff' failed
make[1]: *** [ko.aff] Error 1
make[1]: Leaving directory '/build/1st/hunspell-dict-ko-0.6.0'
dh_auto_build: make -j1 returned exit code 2
debian/rules:5: recipe for target 'build' failed


I didn't test it, but maybe all you need is to add python3-lxml to
your Build-Depends.

Also, I recommend you consider doing source-only uploads where you can.

https://wiki.debian.org/SourceOnlyUpload

Thanks,
Jeremy Bicha


Reply to: