Package: src:mitmproxy Version: 4.0.4-3 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep cat: debian/mitmproxy.manpages: No such file or directory dh build-indep --with python3 --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:217: python3.6 setup.py config running config dh_auto_build -i -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python3 setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_mitmproxy/build/mitmproxy copying mitmproxy/connections.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_mitmproxy/build/mitmproxy copying mitmproxy/websocket.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_mitmproxy/build/mitmproxy [... snipped ...] [1m def test_verification_w_confdir(self, tdata):[0m [1m self.options.update([0m [1m ssl_insecure=False,[0m [1m ssl_verify_upstream_trusted_confdir=tdata.path([0m [1m "mitmproxy/data/servercert/"[0m [1m ),[0m [1m ssl_verify_upstream_trusted_ca=None,[0m [1m )[0m [1m> assert self._request().status_code == 242[0m [1m[31mE assert 502 == 242[0m [1m[31mE + where 502 = Response(502 Bad Gateway, text/html, 307b).status_code[0m [1m[31mE + where Response(502 Bad Gateway, text/html, 307b) = <bound method TestHTTPSUpstreamServerVerificationWTrustedCert._request of <test.mitmproxy.proxy.test_server.TestHTTPSUpstreamServerVerificationWTrustedCert object at 0x7f1e5d4ab710>>()[0m [1m[31mE + where <bound method TestHTTPSUpstreamServerVerificationWTrustedCert._request of <test.mitmproxy.proxy.test_server.TestHTTPSUpstreamServerVerificationWTrustedCert object at 0x7f1e5d4ab710>> = <test.mitmproxy.proxy.test_server.TestHTTPSUpstreamServerVerificationWTrustedCert object at 0x7f1e5d4ab710>._request[0m [1m[31mtest/mitmproxy/proxy/test_server.py[0m:320: AssertionError [31m[1m_ TestHTTPSUpstreamServerVerificationWTrustedCert.test_verification_w_pemfile __[0m self = <test.mitmproxy.proxy.test_server.TestHTTPSUpstreamServerVerificationWTrustedCert object at 0x7f1e5c2e5390> tdata = <mitmproxy.utils.data.Data object at 0x7f1e5c2e58d0> [1m def test_verification_w_pemfile(self, tdata):[0m [1m self.options.update([0m [1m ssl_insecure=False,[0m [1m ssl_verify_upstream_trusted_confdir=None,[0m [1m ssl_verify_upstream_trusted_ca=tdata.path([0m [1m "mitmproxy/data/servercert/trusted-root.pem"[0m [1m ),[0m [1m )[0m [1m> assert self._request().status_code == 242[0m [1m[31mE assert 502 == 242[0m [1m[31mE + where 502 = Response(502 Bad Gateway, text/html, 307b).status_code[0m [1m[31mE + where Response(502 Bad Gateway, text/html, 307b) = <bound method TestHTTPSUpstreamServerVerificationWTrustedCert._request of <test.mitmproxy.proxy.test_server.TestHTTPSUpstreamServerVerificationWTrustedCert object at 0x7f1e5c2e5390>>()[0m [1m[31mE + where <bound method TestHTTPSUpstreamServerVerificationWTrustedCert._request of <test.mitmproxy.proxy.test_server.TestHTTPSUpstreamServerVerificationWTrustedCert object at 0x7f1e5c2e5390>> = <test.mitmproxy.proxy.test_server.TestHTTPSUpstreamServerVerificationWTrustedCert object at 0x7f1e5c2e5390>._request[0m [1m[31mtest/mitmproxy/proxy/test_server.py[0m:330: AssertionError [33m=============================== warnings summary ===============================[0m .pybuild/cpython3_3.6_mitmproxy/build/test/mitmproxy/tools/console/test_master.py::TestMaster::()::test_basic /usr/lib/python3/dist-packages/_pytest/python.py:195: RuntimeWarning: coroutine 'TestMaster.test_basic' was never awaited testfunction(**testargs) -- Docs: http://doc.pytest.org/en/latest/warnings.html [31m[1m====== 5 failed, 805 passed, 545 deselected, 1 warnings in 43.08 seconds =======[0m E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_mitmproxy/build; python3.6 -m pytest "-k-TestHARDump -k-TestScripts -k-test_mitmweb -k-test_mitmdump" dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 returned exit code 13 make: *** [debian/rules:11: 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/mitmproxy.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.