Package: src:bernhard
Version: 0.2.6-5
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:bernhard, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bernhard/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
I: pybuild base:317: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_bernhard/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py config 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
I: pybuild base:317: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
   debian/rules execute_before_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
protoc -I=debian --python_out=bernhard debian/riemann.proto
[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax 
specified for the proto file: riemann.proto. Please use 'syntax = "proto2";' or 
'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
mv bernhard/riemann_pb2.py bernhard/pb.py
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:317: /usr/bin/python3.14 setup.py build 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bernhard/build/bernhard
copying bernhard/proto_pb2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bernhard/build/bernhard
copying bernhard/pb.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bernhard/build/bernhard
copying bernhard/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bernhard/build/bernhard
running egg_info
creating bernhard.egg-info
writing bernhard.egg-info/PKG-INFO
writing dependency_links to bernhard.egg-info/dependency_links.txt
writing requirements to bernhard.egg-info/requires.txt
writing top-level names to bernhard.egg-info/top_level.txt
writing manifest file 'bernhard.egg-info/SOURCES.txt'
reading manifest file 'bernhard.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'bernhard.egg-info/SOURCES.txt'
I: pybuild base:317: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_bernhard/build/bernhard
copying bernhard/proto_pb2.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_bernhard/build/bernhard
copying bernhard/pb.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_bernhard/build/bernhard
copying bernhard/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_bernhard/build/bernhard
running egg_info
writing bernhard.egg-info/PKG-INFO
writing dependency_links to bernhard.egg-info/dependency_links.txt
writing requirements to bernhard.egg-info/requires.txt
writing top-level names to bernhard.egg-info/top_level.txt
reading manifest file 'bernhard.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'bernhard.egg-info/SOURCES.txt'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bernhard/build; 
python3.14 -m unittest discover -v 
bernhard (unittest.loader._FailedTest.bernhard) ... ERROR

======================================================================
ERROR: bernhard (unittest.loader._FailedTest.bernhard)
----------------------------------------------------------------------
ImportError: Failed to import test module: bernhard
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 460, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bernhard/build/bernhard/__init__.py", 
line 20, in <module>
    from . import pb
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bernhard/build/bernhard/pb.py", 
line 5, in <module>
    from google.protobuf.internal import builder as _builder
  File "/usr/lib/python3/dist-packages/google/protobuf/internal/builder.py", 
line 42, in <module>
    from google.protobuf import reflection as _reflection
  File "/usr/lib/python3/dist-packages/google/protobuf/reflection.py", line 51, 
in <module>
    from google.protobuf import message_factory
  File "/usr/lib/python3/dist-packages/google/protobuf/message_factory.py", 
line 42, in <module>
    from google.protobuf.internal import api_implementation
  File 
"/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py",
 line 104, in <module>
    from google.protobuf.pyext import _message
SystemError: <built-in function __import__> returned a result with an exception 
set


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_bernhard/build; python3.14 -m unittest 
discover -v 
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_bernhard/build; 
python3.13 -m unittest discover -v 

----------------------------------------------------------------------
Ran 0 tests in 0.000s

NO TESTS RAN
dh_auto_test: error: pybuild --test -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