Package: src:python-omemo
Version: 2.0.0-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-omemo, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_omemo  
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/omemo
copying omemo/message.py -> build/lib/omemo
copying omemo/types.py -> build/lib/omemo
copying omemo/storage.py -> build/lib/omemo
copying omemo/session_manager.py -> build/lib/omemo
copying omemo/version.py -> build/lib/omemo
copying omemo/session.py -> build/lib/omemo
copying omemo/identity_key_pair.py -> build/lib/omemo
copying omemo/bundle.py -> build/lib/omemo
copying omemo/backend.py -> build/lib/omemo
copying omemo/__init__.py -> build/lib/omemo
creating build/lib/examples
copying examples/btbv_session_manager.py -> build/lib/examples
creating build/lib/docs
copying docs/conf.py -> build/lib/docs
running egg_info
creating OMEMO.egg-info
writing OMEMO.egg-info/PKG-INFO
writing dependency_links to OMEMO.egg-info/dependency_links.txt
writing requirements to OMEMO.egg-info/requires.txt
writing top-level names to OMEMO.egg-info/top_level.txt
writing manifest file 'OMEMO.egg-info/SOURCES.txt'
reading manifest file 'OMEMO.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'OMEMO.egg-info/SOURCES.txt'
copying omemo/py.typed -> build/lib/omemo
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/omemo
copying build/lib/omemo/message.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/types.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/py.typed -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/storage.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/session_manager.py -> 
build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/version.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/session.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/identity_key_pair.py -> 
build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/bundle.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/backend.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/__init__.py -> build/bdist.linux-x86_64/wheel/./omemo
creating build/bdist.linux-x86_64/wheel/examples
copying build/lib/examples/btbv_session_manager.py -> 
build/bdist.linux-x86_64/wheel/./examples
creating build/bdist.linux-x86_64/wheel/docs
copying build/lib/docs/conf.py -> build/bdist.linux-x86_64/wheel/./docs
running install_egg_info
Copying OMEMO.egg-info to build/bdist.linux-x86_64/wheel/./OMEMO-2.0.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/omemo-2.0.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_omemo/.tmp-df6v7pfe/omemo-2.0.0-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'docs/conf.py'
adding 'examples/btbv_session_manager.py'
adding 'omemo/__init__.py'
adding 'omemo/backend.py'
adding 'omemo/bundle.py'
adding 'omemo/identity_key_pair.py'
adding 'omemo/message.py'
adding 'omemo/py.typed'
adding 'omemo/session.py'
adding 'omemo/session_manager.py'
adding 'omemo/storage.py'
adding 'omemo/types.py'
adding 'omemo/version.py'
adding 'omemo-2.0.0.dist-info/licenses/LICENSE'
adding 'omemo-2.0.0.dist-info/METADATA'
adding 'omemo-2.0.0.dist-info/WHEEL'
adding 'omemo-2.0.0.dist-info/top_level.txt'
adding 'omemo-2.0.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built omemo-2.0.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_omemo  
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/build/lib/omemo
copying build/lib/omemo/message.py -> build/lib/build/lib/omemo
copying build/lib/omemo/types.py -> build/lib/build/lib/omemo
copying build/lib/omemo/storage.py -> build/lib/build/lib/omemo
copying build/lib/omemo/session_manager.py -> build/lib/build/lib/omemo
copying build/lib/omemo/version.py -> build/lib/build/lib/omemo
copying build/lib/omemo/session.py -> build/lib/build/lib/omemo
copying build/lib/omemo/identity_key_pair.py -> build/lib/build/lib/omemo
copying build/lib/omemo/bundle.py -> build/lib/build/lib/omemo
copying build/lib/omemo/backend.py -> build/lib/build/lib/omemo
copying build/lib/omemo/__init__.py -> build/lib/build/lib/omemo
creating build/lib/build/lib/examples
copying build/lib/examples/btbv_session_manager.py -> 
build/lib/build/lib/examples
creating build/lib/build/lib/docs
copying build/lib/docs/conf.py -> build/lib/build/lib/docs
running egg_info
writing OMEMO.egg-info/PKG-INFO
writing dependency_links to OMEMO.egg-info/dependency_links.txt
writing requirements to OMEMO.egg-info/requires.txt
writing top-level names to OMEMO.egg-info/top_level.txt
reading manifest file 'OMEMO.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'OMEMO.egg-info/SOURCES.txt'
copying build/lib/omemo/py.typed -> build/lib/build/lib/omemo
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/build
creating build/bdist.linux-x86_64/wheel/build/lib
creating build/bdist.linux-x86_64/wheel/build/lib/omemo
copying build/lib/build/lib/omemo/message.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/types.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/py.typed -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/storage.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/session_manager.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/version.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/session.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/identity_key_pair.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/bundle.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/backend.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
copying build/lib/build/lib/omemo/__init__.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/omemo
creating build/bdist.linux-x86_64/wheel/build/lib/examples
copying build/lib/build/lib/examples/btbv_session_manager.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/examples
creating build/bdist.linux-x86_64/wheel/build/lib/docs
copying build/lib/build/lib/docs/conf.py -> 
build/bdist.linux-x86_64/wheel/./build/lib/docs
creating build/bdist.linux-x86_64/wheel/omemo
copying build/lib/omemo/message.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/types.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/py.typed -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/storage.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/session_manager.py -> 
build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/version.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/session.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/identity_key_pair.py -> 
build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/bundle.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/backend.py -> build/bdist.linux-x86_64/wheel/./omemo
copying build/lib/omemo/__init__.py -> build/bdist.linux-x86_64/wheel/./omemo
creating build/bdist.linux-x86_64/wheel/examples
copying build/lib/examples/btbv_session_manager.py -> 
build/bdist.linux-x86_64/wheel/./examples
creating build/bdist.linux-x86_64/wheel/docs
copying build/lib/docs/conf.py -> build/bdist.linux-x86_64/wheel/./docs
running install_egg_info
Copying OMEMO.egg-info to build/bdist.linux-x86_64/wheel/./OMEMO-2.0.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/omemo-2.0.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_omemo/.tmp-ea4nsqr3/omemo-2.0.0-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'build/lib/docs/conf.py'
adding 'build/lib/examples/btbv_session_manager.py'
adding 'build/lib/omemo/__init__.py'
adding 'build/lib/omemo/backend.py'
adding 'build/lib/omemo/bundle.py'
adding 'build/lib/omemo/identity_key_pair.py'
adding 'build/lib/omemo/message.py'
adding 'build/lib/omemo/py.typed'
adding 'build/lib/omemo/session.py'
adding 'build/lib/omemo/session_manager.py'
adding 'build/lib/omemo/storage.py'
adding 'build/lib/omemo/types.py'
adding 'build/lib/omemo/version.py'
adding 'docs/conf.py'
adding 'examples/btbv_session_manager.py'
adding 'omemo/__init__.py'
adding 'omemo/backend.py'
adding 'omemo/bundle.py'
adding 'omemo/identity_key_pair.py'
adding 'omemo/message.py'
adding 'omemo/py.typed'
adding 'omemo/session.py'
adding 'omemo/session_manager.py'
adding 'omemo/storage.py'
adding 'omemo/types.py'
adding 'omemo/version.py'
adding 'omemo-2.0.0.dist-info/licenses/LICENSE'
adding 'omemo-2.0.0.dist-info/METADATA'
adding 'omemo-2.0.0.dist-info/WHEEL'
adding 'omemo-2.0.0.dist-info/top_level.txt'
adding 'omemo-2.0.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built omemo-2.0.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_omemo/build; 
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_omemo/build
configfile: pyproject.toml
plugins: cov-5.0.0, asyncio-1.2.0, typeguard-4.4.4
asyncio: mode=Mode.STRICT, debug=False, 
asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 0 items / 1 error

==================================== ERRORS ====================================
________________ ERROR collecting tests/test_session_manager.py ________________
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:
tests/test_session_manager.py:4: in <module>
    import oldmemo
/usr/lib/python3/dist-packages/oldmemo/__init__.py:3: in <module>
    from .oldmemo import Oldmemo as Oldmemo
/usr/lib/python3/dist-packages/oldmemo/oldmemo.py:35: in <module>
    from .oldmemo_pb2 import (  # pylint: disable=no-name-in-module
/usr/lib/python3/dist-packages/oldmemo/oldmemo_pb2.py:5: in <module>
    from google.protobuf.internal import builder as _builder
/usr/lib/python3/dist-packages/google/protobuf/internal/builder.py:42: in 
<module>
    from google.protobuf import reflection as _reflection
/usr/lib/python3/dist-packages/google/protobuf/reflection.py:51: in <module>
    from google.protobuf import message_factory
/usr/lib/python3/dist-packages/google/protobuf/message_factory.py:42: in 
<module>
    from google.protobuf.internal import api_implementation
/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py:104:
 in <module>
    from google.protobuf.pyext import _message
E   SystemError: <built-in function __import__> returned a result with an 
exception set

---------- coverage: platform linux, python 3.14.2-final-0 -----------
Name                         Stmts   Miss  Cover   Missing
----------------------------------------------------------
omemo/backend.py                73      8    89%   108-121, 131, 140
omemo/bundle.py                 23      4    83%   21, 26, 31, 36
omemo/identity_key_pair.py      71     26    63%   64-90, 135, 139, 143, 146, 
150, 159, 173, 177, 181, 184, 188, 197
omemo/message.py                25      3    88%   46, 51, 63
omemo/session.py                37      3    92%   51, 56, 61
omemo/session_manager.py       557    462    17%   90-92, 244-253, 329-497, 
504-521, 550-600, 612-649, 675-741, 763-794, 1030-1140, 1159-1163, 1184-1185, 
1201-1205, 1242-1314, 1329-1348, 1371-1386, 1412, 1440-1539, 1550-1556, 
1571-1574, 1603-1605, 1618-1662, 1680-1698, 1751-2012, 2061-2300
omemo/storage.py               111     50    55%   111, 115, 118, 121, 124, 
140, 144, 148, 151, 154, 157, 189, 246-252, 266-269, 283-286, 300, 317-322, 
338-343, 364-369, 386-391, 412-418
----------------------------------------------------------
TOTAL                          934    556    40%

3 files skipped due to complete coverage.

=========================== short test summary info ============================
ERROR tests/test_session_manager.py - SystemError: <built-in function __impor...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.32s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_omemo/build; python3.14 -m pytest tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_omemo/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_omemo/build
configfile: pyproject.toml
plugins: cov-5.0.0, asyncio-1.2.0, typeguard-4.4.4
asyncio: mode=Mode.STRICT, debug=False, 
asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 2 items

tests/test_session_manager.py ..                                         [100%]

=============================== warnings summary ===============================
<frozen importlib._bootstrap>:488
  <frozen importlib._bootstrap>:488: DeprecationWarning: Type 
google.protobuf.pyext._message.ScalarMapContainer uses PyType_Spec with a 
metaclass that has custom tp_new. This is deprecated and will no longer be 
allowed in Python 3.14.

<frozen importlib._bootstrap>:488
  <frozen importlib._bootstrap>:488: DeprecationWarning: Type 
google.protobuf.pyext._message.MessageMapContainer uses PyType_Spec with a 
metaclass that has custom tp_new. This is deprecated and will no longer be 
allowed in Python 3.14.

../../../../../../usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91
  
/usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91: 
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC).
    _EPOCH_DATETIME_NAIVE = datetime.datetime.utcfromtimestamp(0)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

---------- coverage: platform linux, python 3.13.11-final-0 ----------
Name                         Stmts   Miss  Cover   Missing
----------------------------------------------------------
omemo/backend.py                73      2    97%   109, 115
omemo/bundle.py                 23      4    83%   21, 26, 31, 36
omemo/identity_key_pair.py      71      8    89%   139, 143, 146, 177, 181, 
184, 188, 197
omemo/message.py                30      3    90%   46, 51, 63
omemo/session.py                37      3    92%   51, 56, 61
omemo/session_manager.py       561    189    66%   90-92, 330, 333, 441-478, 
488-491, 512-521, 550-600, 612-649, 685-688, 700-723, 763-794, 1042, 1126-1135, 
1184-1185, 1242-1314, 1329-1348, 1371-1386, 1477-1484, 1504-1508, 1519-1525, 
1571-1574, 1603-1605, 1642-1660, 1762, 1807, 1886, 1958-1962, 1997, 2068, 
2078-2080, 2090-2113, 2120, 2149, 2190, 2199-2210, 2253-2254, 2280-2292
omemo/storage.py               111     13    88%   111, 115, 144, 148, 247, 
251, 269, 286, 320, 341, 367, 389, 416
----------------------------------------------------------
TOTAL                          943    222    76%

3 files skipped due to complete coverage.

======================== 2 passed, 3 warnings in 0.78s =========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to