Package: src:pysmi Version: 0.2.2-1 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_autoreconf -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py config running config I: pybuild base:217: python3.6 setup.py config running config dh_auto_build -i -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pysmi/build/pysmi [... snipped ...] testTypeDeclarationGauge32ClassTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationGauge32SymbolTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationInteger32ClassTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationInteger32SymbolTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationIpAddressClassTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationIpAddressSymbolTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationObjectIdentifierClassTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationObjectIdentifierSymbolTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationOctetStringClassTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationOctetStringSymbolTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationOpaqueClassTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationOpaqueSymbolTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationTimeTicksClassTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationTimeTicksSymbolTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationUnsigned32ClassTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok testTypeDeclarationUnsigned32SymbolTestCase (tests.test_typedeclaration_smiv2_pysnmp.TypeDeclarationTestCase) ... ok ====================================================================== ERROR: testObjectTypeSyntax (tests.test_objecttype_smiv2_pysnmp.ObjectTypeBitsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/test_objecttype_smiv2_pysnmp.py", line 365, in testObjectTypeSyntax self.ctx['testObjectType'].getSyntax().clone(('set',)), str2octs('@'), File "/usr/lib/python2.7/dist-packages/pysnmp/proto/rfc1902.py", line 202, in clone return univ.OctetString.clone(self, *args, **kwargs).setFixedLength(self.getFixedLength()) File "/usr/lib/python2.7/dist-packages/pyasn1/type/base.py", line 349, in clone return self.__class__(value, **initilaizers) File "/usr/lib/python2.7/dist-packages/pysnmp/proto/rfc1902.py", line 603, in __new__ Bits = cls.withNamedBits(**kwargs.pop('namedValues')) File "/usr/lib/python2.7/dist-packages/pysnmp/proto/rfc1902.py", line 642, in withNamedBits class X(cls): File "/usr/lib/python2.7/dist-packages/pysnmp/proto/rfc1902.py", line 643, in X namedValues = cls.namedValues + namedval.NamedValues(*values.items()) File "/usr/lib/python2.7/dist-packages/pyasn1/type/namedval.py", line 166, in __add__ return self.__class__(*tuple(self.items()) + tuple(namedValues.items())) File "/usr/lib/python2.7/dist-packages/pyasn1/type/namedval.py", line 74, in __init__ raise error.PyAsn1Error('Duplicate name %s' % (name,)) PyAsn1Error: Duplicate name notification ---------------------------------------------------------------------- Ran 108 tests in 6.721s FAILED (errors=1) E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_pysmi/build; python2.7 -m unittest discover -v dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13 make: *** [debian/rules:5: build-indep] Error 25 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The build was made with "dpkg-buildpackage -A" in my autobuilder. Most probably, it also fails here in reproducible builds: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pysmi.html where you can get a full build log if you need it. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.