Bug#1060985: prewikka: FTBFS: ModuleNotFoundError: No module named 'six'

2024-01-20 Thread Hans Joachim Desserud

tags 1060985 patch
thanks

Looks like the package has a missing build dependency on python3-six. 
Builds successfully with the attached patch.


--
mvh / best regards
Hans Joachim Desserud
http://desserud.orgdiff --git a/debian/control b/debian/control
index 403eaea..59746b8 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends: debhelper-compat (= 13),
 python3-setuptools,
 python3-babel,
 python3-lesscpy,
+python3-six,
 gettext,
 Standards-Version: 4.6.0
 Homepage: https://www.prelude-siem.org/


Bug#1060985: prewikka: FTBFS: ModuleNotFoundError: No module named 'six'

2024-01-16 Thread Lucas Nussbaum
Source: prewikka
Version: 5.2.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240115 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with=python3 --buildsystem=pybuild
>dh_update_autotools_config -O--buildsystem=pybuild
>dh_autoreconf -O--buildsystem=pybuild
>dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:305: python3.12 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
> 
> 
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> 
> 
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running config
> I: pybuild base:305: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
> 
> 
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> 
> 
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running config
>dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /usr/bin/python3.12 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
> 
> 
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> 
> 
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running build
> running compile_catalog
> compiling catalog prewikka/locale/en/LC_MESSAGES/prewikka.po to 
> prewikka/locale/en/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/ru/LC_MESSAGES/prewikka.po:168: unknown named 
> placeholder 'version'
> error: prewikka/locale/ru/LC_MESSAGES/prewikka.po:2793: placeholders are 
> incompatible
> compiling catalog prewikka/locale/ru/LC_MESSAGES/prewikka.po to 
> prewikka/locale/ru/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/pl/LC_MESSAGES/prewikka.po:2162: placeholders are 
> incompatible
> error: prewikka/locale/pl/LC_MESSAGES/prewikka.po:2854: placeholders are 
> incompatible
> compiling catalog prewikka/locale/pl/LC_MESSAGES/prewikka.po to 
> prewikka/locale/pl/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/de/LC_MESSAGES/prewikka.po:2804: placeholders are 
> incompatible
> compiling catalog prewikka/locale/de/LC_MESSAGES/prewikka.po to 
> prewikka/locale/de/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po:2397: placeholders are 
> incompatible
> error: prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po:2810: placeholders are 
> incompatible
> compiling catalog prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po to 
> prewikka/locale/pt_BR/LC_MESSAGES/prewikka.mo
> compiling catalog prewikka/locale/fr/LC_MESSAGES/prewikka.po to 
> prewikka/locale/fr/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/es/LC_MESSAGES/prewikka.po:2393: placeholders are 
> incompatible
> error: prewikka/locale/es/LC_MESSAGES/prewikka.po:2807: placeholders are 
> incompatible
> compiling catalog prewikka/locale/es/LC_MESSAGES/prewikka.po to 
> prewikka/locale/es/LC_MESSAGES/prewikka.mo
> compiling catalog prewikka/locale/it/LC_MESSAGES/prewikka.po to 
> prewikka/locale/it/LC_MESSAGES/prewikka.mo
> 9 errors encountered.
> running build_custom
> Traceback (most recent call last):
>   File "/usr/bin/lesscpy", line 33, in 
> sys.exit(load_entry_point('lesscpy==0.15.1', 'console_scripts', 
> 'lesscpy')())
>  ^
>   File "/usr/bin/lesscpy", line 25, in importlib_load_entry_point
> return next(matches).load()
>
>   File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
> module = import_module(match.group('module'))
>  
>   File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
> return _bootstrap._gcd_import(name[level:],