Source: python-netfilter
Version: 0.6.4-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh: warning: Compatibility levels before 10 are deprecated (level 7 in use)
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> dh_auto_configure: warning: Compatibility levels before 10 are deprecated 
> (level 7 in use)
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 
> 7 in use)
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/netfilter
> copying netfilter/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/netfilter
> copying netfilter/parser.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/netfilter
> copying netfilter/firewall.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/netfilter
> copying netfilter/rule.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/netfilter
> copying netfilter/table.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/netfilter
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/netfilter
> copying netfilter/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/netfilter
> copying netfilter/parser.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/netfilter
> copying netfilter/firewall.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/netfilter
> copying netfilter/rule.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/netfilter
> copying netfilter/table.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/netfilter
>    dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 7 
> in use)
> I: pybuild base:310: python3.12 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> creating netfilter.egg-info
> writing netfilter.egg-info/PKG-INFO
> writing dependency_links to netfilter.egg-info/dependency_links.txt
> writing top-level names to netfilter.egg-info/top_level.txt
> writing manifest file 'netfilter.egg-info/SOURCES.txt'
> reading manifest file 'netfilter.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'COPYING'
> writing manifest file 'netfilter.egg-info/SOURCES.txt'
> running build_ext
> testJump (tests.test_netfilter.BufferedTestCase.testJump) ... ok
> testRewriteDestPorts 
> (tests.test_netfilter.MatchTestCase.testRewriteDestPorts) ... ok
> testRewriteSourcePort 
> (tests.test_netfilter.MatchTestCase.testRewriteSourcePort) ... ok
> testRewriteSourcePorts 
> (tests.test_netfilter.MatchTestCase.testRewriteSourcePorts) ... ok
> testDestinationNegated 
> (tests.test_netfilter.ParseRuleTestCase.testDestinationNegated) ... ok
> testEmpty (tests.test_netfilter.ParseRuleTestCase.testEmpty) ... ok
> testGoto (tests.test_netfilter.ParseRuleTestCase.testGoto) ... ok
> testInterfacesNegated 
> (tests.test_netfilter.ParseRuleTestCase.testInterfacesNegated) ... ok
> testJump (tests.test_netfilter.ParseRuleTestCase.testJump) ... ok
> testMatch (tests.test_netfilter.ParseRuleTestCase.testMatch) ... ok
> testProtocol (tests.test_netfilter.ParseRuleTestCase.testProtocol) ... ok
> testProtocolNegated 
> (tests.test_netfilter.ParseRuleTestCase.testProtocolNegated) ... ok
> testSourceNegated (tests.test_netfilter.ParseRuleTestCase.testSourceNegated) 
> ... ok
> testParseChains (tests.test_netfilter.ParserTestCase.testParseChains) ... 
> ERROR
> testParseRules (tests.test_netfilter.ParserTestCase.testParseRules) ... ERROR
> testSplitWords (tests.test_netfilter.ParserTestCase.testSplitWords) ... ok
> testSplitWordsQuoted 
> (tests.test_netfilter.ParserTestCase.testSplitWordsQuoted) ... ok
> testDestination (tests.test_netfilter.RuleTestCase.testDestination) ... ok
> testDestinationNegated 
> (tests.test_netfilter.RuleTestCase.testDestinationNegated) ... ok
> testInit (tests.test_netfilter.RuleTestCase.testInit) ... ok
> testInterfaces (tests.test_netfilter.RuleTestCase.testInterfaces) ... ok
> testInterfacesNegated 
> (tests.test_netfilter.RuleTestCase.testInterfacesNegated) ... ok
> testMatchMark (tests.test_netfilter.RuleTestCase.testMatchMark) ... ok
> testMatchMultiportDports 
> (tests.test_netfilter.RuleTestCase.testMatchMultiportDports) ... ok
> testMatchState (tests.test_netfilter.RuleTestCase.testMatchState) ... ok
> testMatchTcpDport (tests.test_netfilter.RuleTestCase.testMatchTcpDport) ... ok
> testMatchTcpFlags (tests.test_netfilter.RuleTestCase.testMatchTcpFlags) ... ok
> testMatchTcpNotFlags (tests.test_netfilter.RuleTestCase.testMatchTcpNotFlags) 
> ... ok
> testMatchTcpSport (tests.test_netfilter.RuleTestCase.testMatchTcpSport) ... ok
> testMatchTos (tests.test_netfilter.RuleTestCase.testMatchTos) ... ok
> testSource (tests.test_netfilter.RuleTestCase.testSource) ... ok
> testSourceDestinationProtocol 
> (tests.test_netfilter.RuleTestCase.testSourceDestinationProtocol) ... ok
> testSourceNegated (tests.test_netfilter.RuleTestCase.testSourceNegated) ... ok
> testTargetLog (tests.test_netfilter.RuleTestCase.testTargetLog) ... ok
> testEqual (tests.test_netfilter.TargetTestCase.testEqual) ... ok
> testEqualOutOfOrder (tests.test_netfilter.TargetTestCase.testEqualOutOfOrder) 
> ... ok
> testInit (tests.test_netfilter.TargetTestCase.testInit) ... ok
> testInitOptions (tests.test_netfilter.TargetTestCase.testInitOptions) ... ok
> testNotEqualName (tests.test_netfilter.TargetTestCase.testNotEqualName) ... ok
> testNotEqualOptions (tests.test_netfilter.TargetTestCase.testNotEqualOptions) 
> ... ok
> 
> ======================================================================
> ERROR: testParseChains (tests.test_netfilter.ParserTestCase.testParseChains)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_netfilter.py", line 68, in testParseChains
>     self.assertEquals(chains.keys(), ['INPUT', 'FORWARD', 'OUTPUT', 
> 'firewall_forward_filter', 'firewall_input_filter'])
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'ParserTestCase' object has no attribute 'assertEquals'. Did 
> you mean: 'assertEqual'?
> 
> ======================================================================
> ERROR: testParseRules (tests.test_netfilter.ParserTestCase.testParseRules)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_netfilter.py", line 84, in testParseRules
>     self.assertEquals(len(rules), 1)
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'ParserTestCase' object has no attribute 'assertEquals'. Did 
> you mean: 'assertEqual'?
> 
> ----------------------------------------------------------------------
> Ran 40 tests in 0.007s
> 
> FAILED (errors=2)
> Test failed: <unittest.runner.TextTestResult run=40 errors=2 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=40 errors=2 
> failures=0>
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: 
> python3.12 setup.py test 
> I: pybuild base:310: python3.11 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing netfilter.egg-info/PKG-INFO
> writing dependency_links to netfilter.egg-info/dependency_links.txt
> writing top-level names to netfilter.egg-info/top_level.txt
> reading manifest file 'netfilter.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'COPYING'
> writing manifest file 'netfilter.egg-info/SOURCES.txt'
> running build_ext
> testJump (tests.test_netfilter.BufferedTestCase.testJump) ... ok
> testRewriteDestPorts 
> (tests.test_netfilter.MatchTestCase.testRewriteDestPorts) ... ok
> testRewriteSourcePort 
> (tests.test_netfilter.MatchTestCase.testRewriteSourcePort) ... ok
> testRewriteSourcePorts 
> (tests.test_netfilter.MatchTestCase.testRewriteSourcePorts) ... ok
> testDestinationNegated 
> (tests.test_netfilter.ParseRuleTestCase.testDestinationNegated) ... ok
> testEmpty (tests.test_netfilter.ParseRuleTestCase.testEmpty) ... ok
> testGoto (tests.test_netfilter.ParseRuleTestCase.testGoto) ... ok
> testInterfacesNegated 
> (tests.test_netfilter.ParseRuleTestCase.testInterfacesNegated) ... ok
> testJump (tests.test_netfilter.ParseRuleTestCase.testJump) ... ok
> testMatch (tests.test_netfilter.ParseRuleTestCase.testMatch) ... ok
> testProtocol (tests.test_netfilter.ParseRuleTestCase.testProtocol) ... ok
> testProtocolNegated 
> (tests.test_netfilter.ParseRuleTestCase.testProtocolNegated) ... ok
> testSourceNegated (tests.test_netfilter.ParseRuleTestCase.testSourceNegated) 
> ... ok
> testParseChains (tests.test_netfilter.ParserTestCase.testParseChains) ... 
> /<<PKGBUILDDIR>>/tests/test_netfilter.py:68: DeprecationWarning: Please use 
> assertEqual instead.
>   self.assertEquals(chains.keys(), ['INPUT', 'FORWARD', 'OUTPUT', 
> 'firewall_forward_filter', 'firewall_input_filter'])
> ok
> testParseRules (tests.test_netfilter.ParserTestCase.testParseRules) ... ok
> testSplitWords (tests.test_netfilter.ParserTestCase.testSplitWords) ... ok
> testSplitWordsQuoted 
> (tests.test_netfilter.ParserTestCase.testSplitWordsQuoted) ... ok
> testDestination (tests.test_netfilter.RuleTestCase.testDestination) ... ok
> testDestinationNegated 
> (tests.test_netfilter.RuleTestCase.testDestinationNegated) ... ok
> testInit (tests.test_netfilter.RuleTestCase.testInit) ... ok
> testInterfaces (tests.test_netfilter.RuleTestCase.testInterfaces) ... ok
> testInterfacesNegated 
> (tests.test_netfilter.RuleTestCase.testInterfacesNegated) ... ok
> testMatchMark (tests.test_netfilter.RuleTestCase.testMatchMark) ... ok
> testMatchMultiportDports 
> (tests.test_netfilter.RuleTestCase.testMatchMultiportDports) ... ok
> testMatchState (tests.test_netfilter.RuleTestCase.testMatchState) ... ok
> testMatchTcpDport (tests.test_netfilter.RuleTestCase.testMatchTcpDport) ... ok
> testMatchTcpFlags (tests.test_netfilter.RuleTestCase.testMatchTcpFlags) ... ok
> testMatchTcpNotFlags (tests.test_netfilter.RuleTestCase.testMatchTcpNotFlags) 
> ... ok
> testMatchTcpSport (tests.test_netfilter.RuleTestCase.testMatchTcpSport) ... ok
> testMatchTos (tests.test_netfilter.RuleTestCase.testMatchTos) ... ok
> testSource (tests.test_netfilter.RuleTestCase.testSource) ... ok
> testSourceDestinationProtocol 
> (tests.test_netfilter.RuleTestCase.testSourceDestinationProtocol) ... ok
> testSourceNegated (tests.test_netfilter.RuleTestCase.testSourceNegated) ... ok
> testTargetLog (tests.test_netfilter.RuleTestCase.testTargetLog) ... ok
> testEqual (tests.test_netfilter.TargetTestCase.testEqual) ... ok
> testEqualOutOfOrder (tests.test_netfilter.TargetTestCase.testEqualOutOfOrder) 
> ... ok
> testInit (tests.test_netfilter.TargetTestCase.testInit) ... ok
> testInitOptions (tests.test_netfilter.TargetTestCase.testInitOptions) ... ok
> testNotEqualName (tests.test_netfilter.TargetTestCase.testNotEqualName) ... ok
> testNotEqualOptions (tests.test_netfilter.TargetTestCase.testNotEqualOptions) 
> ... ok
> 
> ----------------------------------------------------------------------
> Ran 40 tests in 0.003s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-netfilter_0.6.4-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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.

Reply via email to