[Pkg-xmpp-devel] Bug#1008325: python-omemo-backend-signal: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sat Mar 26 20:36:41 GMT 2022
Source: python-omemo-backend-signal
Version: 0.3.0~beta-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220326 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/omemo_backend_signal'
> protoc --python_out=. WhisperTextProtocol.proto
> mv WhisperTextProtocol_pb2.py whispertextprotocol_pb2.py
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/omemo_backend_signal'
> dh_auto_build
> I: pybuild base:237: /usr/bin/python3.10 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/project.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/wireformat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/backend.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/whispertextprotocol_pb2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/x3dh
> copying omemo_backend_signal/x3dh/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/x3dh
> copying omemo_backend_signal/x3dh/state.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/x3dh
> copying omemo_backend_signal/x3dh/x3dhpkencoder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/x3dh
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/cbcaead.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/sendrecvchain.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/rootchain.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/doubleratchet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/symmetrickeyratchet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> running egg_info
> creating omemo_backend_signal.egg-info
> writing omemo_backend_signal.egg-info/PKG-INFO
> writing dependency_links to omemo_backend_signal.egg-info/dependency_links.txt
> writing requirements to omemo_backend_signal.egg-info/requires.txt
> writing top-level names to omemo_backend_signal.egg-info/top_level.txt
> writing manifest file 'omemo_backend_signal.egg-info/SOURCES.txt'
> reading manifest file 'omemo_backend_signal.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'omemo_backend_signal.egg-info/SOURCES.txt'
> I: pybuild base:237: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/project.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/wireformat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/backend.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/whispertextprotocol_pb2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal
> copying omemo_backend_signal/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/x3dh
> copying omemo_backend_signal/x3dh/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/x3dh
> copying omemo_backend_signal/x3dh/state.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/x3dh
> copying omemo_backend_signal/x3dh/x3dhpkencoder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/x3dh
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/cbcaead.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/sendrecvchain.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/rootchain.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/doubleratchet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> copying omemo_backend_signal/doubleratchet/symmetrickeyratchet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/doubleratchet
> running egg_info
> writing omemo_backend_signal.egg-info/PKG-INFO
> writing dependency_links to omemo_backend_signal.egg-info/dependency_links.txt
> writing requirements to omemo_backend_signal.egg-info/requires.txt
> writing top-level names to omemo_backend_signal.egg-info/top_level.txt
> reading manifest file 'omemo_backend_signal.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'omemo_backend_signal.egg-info/SOURCES.txt'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build'; python3.10 -m unittest discover -v
> omemo_backend_signal (unittest.loader._FailedTest) ... ERROR
>
> ======================================================================
> ERROR: omemo_backend_signal (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: omemo_backend_signal
> Traceback (most recent call last):
> File "/usr/lib/python3.10/unittest/loader.py", line 470, in _find_test_path
> package = self._get_module_from_name(name)
> File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/__init__.py", line 6, in <module>
> from .backend import BACKEND as BACKEND
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build/omemo_backend_signal/backend.py", line 1, in <module>
> from omemo.backends import Backend
> File "/usr/lib/python3/dist-packages/omemo/__init__.py", line 3, in <module>
> from . import backends
> File "/usr/lib/python3/dist-packages/omemo/backends/__init__.py", line 3, in <module>
> from .x3dhpkencoder import X3DHPKEncoder
> File "/usr/lib/python3/dist-packages/omemo/backends/x3dhpkencoder.py", line 1, in <module>
> import x3dh
> File "/usr/lib/python3/dist-packages/x3dh/__init__.py", line 6, in <module>
> from . import implementations
> File "/usr/lib/python3/dist-packages/x3dh/implementations/__init__.py", line 3, in <module>
> from .keypaircurve25519 import KeyPairCurve25519
> File "/usr/lib/python3/dist-packages/x3dh/implementations/keypaircurve25519.py", line 8, in <module>
> from nacl.bindings import crypto_box_NONCEBYTES
> ModuleNotFoundError: No module named 'nacl'
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_omemo_backend_signal/build'; python3.10 -m unittest discover -v
> I: pybuild base:237: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build'; python3.9 -m unittest discover -v
> omemo_backend_signal (unittest.loader._FailedTest) ... ERROR
>
> ======================================================================
> ERROR: omemo_backend_signal (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: omemo_backend_signal
> Traceback (most recent call last):
> File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
> package = self._get_module_from_name(name)
> File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/__init__.py", line 6, in <module>
> from .backend import BACKEND as BACKEND
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build/omemo_backend_signal/backend.py", line 1, in <module>
> from omemo.backends import Backend
> File "/usr/lib/python3/dist-packages/omemo/__init__.py", line 3, in <module>
> from . import backends
> File "/usr/lib/python3/dist-packages/omemo/backends/__init__.py", line 3, in <module>
> from .x3dhpkencoder import X3DHPKEncoder
> File "/usr/lib/python3/dist-packages/omemo/backends/x3dhpkencoder.py", line 1, in <module>
> import x3dh
> File "/usr/lib/python3/dist-packages/x3dh/__init__.py", line 6, in <module>
> from . import implementations
> File "/usr/lib/python3/dist-packages/x3dh/implementations/__init__.py", line 3, in <module>
> from .keypaircurve25519 import KeyPairCurve25519
> File "/usr/lib/python3/dist-packages/x3dh/implementations/keypaircurve25519.py", line 8, in <module>
> from nacl.bindings import crypto_box_NONCEBYTES
> ModuleNotFoundError: No module named 'nacl'
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_omemo_backend_signal/build'; python3.9 -m unittest discover -v
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/03/26/python-omemo-backend-signal_0.3.0~beta-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-xmpp-devel
mailing list