Package: src:python-ezsnmp
Version: 1.1.0-2
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-ezsnmp, 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
I: pybuild base:384: 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 :: BSD License

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

!!
  self._finalize_license_expression()
in_tree: False
compile_args: ['-std=c++17', '-Wunused-function', '-fpermissive']
link_args: []
platform: linux
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ezsnmp/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:384: 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 :: BSD License

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

!!
  self._finalize_license_expression()
in_tree: False
compile_args: ['-std=c++17', '-Wunused-function', '-fpermissive']
link_args: []
platform: linux
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ezsnmp/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 --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:384: 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 :: BSD License

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

!!
  self._finalize_license_expression()
in_tree: False
compile_args: ['-std=c++17', '-Wunused-function', '-fpermissive']
link_args: []
platform: linux
running config
I: pybuild base:384: 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 :: BSD License

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

!!
  self._finalize_license_expression()
in_tree: False
compile_args: ['-std=c++17', '-Wunused-function', '-fpermissive']
link_args: []
platform: linux
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:384: /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 :: BSD License

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

!!
  self._finalize_license_expression()
in_tree: False
compile_args: ['-std=c++17', '-Wunused-function', '-fpermissive']
link_args: []
platform: linux
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ezsnmp/build/ezsnmp
copying ezsnmp/ez.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ezsnmp/build/ezsnmp
copying ezsnmp/session.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ezsnmp/build/ezsnmp
copying ezsnmp/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ezsnmp/build/ezsnmp
copying ezsnmp/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ezsnmp/build/ezsnmp
copying ezsnmp/variables.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ezsnmp/build/ezsnmp
copying ezsnmp/helpers.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ezsnmp/build/ezsnmp
copying ezsnmp/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ezsnmp/build/ezsnmp
running build_ext
building 'ezsnmp.interface' extension
creating build/temp.linux-x86_64-cpython-314/ezsnmp
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/include/python3.14 -c ezsnmp/interface.cpp -o 
build/temp.linux-x86_64-cpython-314/ezsnmp/interface.o -std=c++17 
-Wunused-function -fpermissive
In file included from ezsnmp/interface.cpp:37:
ezsnmp/interface.h:51:8: error: redefinition of ‘struct session_list’
   51 | struct session_list
      |        ^~~~~~~~~~~~
In file included from /usr/include/net-snmp/types.h:433,
                 from /usr/include/net-snmp/definitions.h:22,
                 from /usr/include/net-snmp/net-snmp-includes.h:24,
                 from ezsnmp/interface.cpp:6:
/usr/include/net-snmp/library/snmp_api.h:745:12: note: previous definition of 
‘struct session_list’
  745 |     struct session_list {
      |            ^~~~~~~~~~~~
In file included from ezsnmp/interface.cpp:36:
ezsnmp/simple_bitarray.h:216:20: warning: ‘void 
bitarray_print_base16(bitarray*)’ defined but not used [-Wunused-function]
  216 | static inline void bitarray_print_base16(bitarray *ba)
      |                    ^~~~~~~~~~~~~~~~~~~~~
ezsnmp/simple_bitarray.h:129:25: warning: ‘bitarray* 
bitarray_alloc(size_t)’ defined but not used [-Wunused-function]
  129 | static inline bitarray *bitarray_alloc(size_t nbits)
      |                         ^~~~~~~~~~~~~~
ezsnmp/simple_bitarray.h:72:20: warning: ‘void bitarray_change_bit(bitarray*, 
size_t)’ defined but not used [-Wunused-function]
   72 | static inline void bitarray_change_bit(bitarray *ba, size_t n)
      |                    ^~~~~~~~~~~~~~~~~~~
ezsnmp/simple_bitarray.h:57:22: warning: ‘size_t 
bitarray_num_bits(bitarray*)’ defined but not used [-Wunused-function]
   57 | static inline size_t bitarray_num_bits(bitarray *ba)
      |                      ^~~~~~~~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
E: pybuild pybuild:483: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3.14 setup.py build 
I: pybuild base:384: /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 :: BSD License

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

!!
  self._finalize_license_expression()
in_tree: False
compile_args: ['-std=c++17', '-Wunused-function', '-fpermissive']
link_args: []
platform: linux
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ezsnmp/build/ezsnmp
copying ezsnmp/ez.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ezsnmp/build/ezsnmp
copying ezsnmp/session.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ezsnmp/build/ezsnmp
copying ezsnmp/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ezsnmp/build/ezsnmp
copying ezsnmp/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ezsnmp/build/ezsnmp
copying ezsnmp/variables.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ezsnmp/build/ezsnmp
copying ezsnmp/helpers.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ezsnmp/build/ezsnmp
copying ezsnmp/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ezsnmp/build/ezsnmp
running build_ext
building 'ezsnmp.interface' extension
creating build/temp.linux-x86_64-cpython-313/ezsnmp
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/include/python3.13 -c ezsnmp/interface.cpp -o 
build/temp.linux-x86_64-cpython-313/ezsnmp/interface.o -std=c++17 
-Wunused-function -fpermissive
In file included from ezsnmp/interface.cpp:37:
ezsnmp/interface.h:51:8: error: redefinition of ‘struct session_list’
   51 | struct session_list
      |        ^~~~~~~~~~~~
In file included from /usr/include/net-snmp/types.h:433,
                 from /usr/include/net-snmp/definitions.h:22,
                 from /usr/include/net-snmp/net-snmp-includes.h:24,
                 from ezsnmp/interface.cpp:6:
/usr/include/net-snmp/library/snmp_api.h:745:12: note: previous definition of 
‘struct session_list’
  745 |     struct session_list {
      |            ^~~~~~~~~~~~
In file included from ezsnmp/interface.cpp:36:
ezsnmp/simple_bitarray.h:216:20: warning: ‘void 
bitarray_print_base16(bitarray*)’ defined but not used [-Wunused-function]
  216 | static inline void bitarray_print_base16(bitarray *ba)
      |                    ^~~~~~~~~~~~~~~~~~~~~
ezsnmp/simple_bitarray.h:129:25: warning: ‘bitarray* 
bitarray_alloc(size_t)’ defined but not used [-Wunused-function]
  129 | static inline bitarray *bitarray_alloc(size_t nbits)
      |                         ^~~~~~~~~~~~~~
ezsnmp/simple_bitarray.h:72:20: warning: ‘void bitarray_change_bit(bitarray*, 
size_t)’ defined but not used [-Wunused-function]
   72 | static inline void bitarray_change_bit(bitarray *ba, size_t n)
      |                    ^~~~~~~~~~~~~~~~~~~
ezsnmp/simple_bitarray.h:57:22: warning: ‘size_t 
bitarray_num_bits(bitarray*)’ defined but not used [-Wunused-function]
   57 | static inline size_t bitarray_num_bits(bitarray *ba)
      |                      ^~~~~~~~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
E: pybuild pybuild:483: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3 setup.py build 
dh_auto_build: error: pybuild --build -i python{version} -p "3.14 3.13" 
returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to