Bug#843687: mitmproxy: FTBFS: AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
Chris Lamb
lamby at debian.org
Tue Nov 8 18:59:43 UTC 2016
Source: mitmproxy
Version: 0.18.1-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
mitmproxy fails to build from source in unstable/amd64:
[]
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/netlib/http/test_response.py
[1m[31mtest/netlib/http/test_response.py[0m:10: in <module>
[1m from netlib.tutils import raises, tresp[0m
[1m[31mnetlib/tutils.py[0m:10: in <module>
[1m from netlib import utils, tcp, http[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
__ ERROR collecting .pybuild/pythonX.Y_2.7/build/test/netlib/http/test_url.py __
[1m[31mtest/netlib/http/test_url.py[0m:2: in <module>
[1m from netlib import tutils[0m
[1m[31mnetlib/tutils.py[0m:10: in <module>
[1m from netlib import utils, tcp, http[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/netlib/http/http1/test_assemble.py
[1m[31mtest/netlib/http/http1/test_assemble.py[0m:9: in <module>
[1m from netlib.tutils import treq, raises, tresp[0m
[1m[31mnetlib/tutils.py[0m:10: in <module>
[1m from netlib import utils, tcp, http[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/netlib/http/http1/test_read.py
[1m[31mtest/netlib/http/http1/test_read.py[0m:15: in <module>
[1m from netlib.tutils import treq, tresp, raises[0m
[1m[31mnetlib/tutils.py[0m:10: in <module>
[1m from netlib import utils, tcp, http[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/netlib/websockets/test_frame.py
[1m[31mtest/netlib/websockets/test_frame.py[0m:5: in <module>
[1m from netlib import websockets[0m
[1m[31mnetlib/websockets/__init__.py[0m:3: in <module>
[1m from .frame import FrameHeader[0m
[1m[31mnetlib/websockets/frame.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/netlib/websockets/test_masker.py
[1m[31mtest/netlib/websockets/test_masker.py[0m:4: in <module>
[1m from netlib import websockets[0m
[1m[31mnetlib/websockets/__init__.py[0m:3: in <module>
[1m from .frame import FrameHeader[0m
[1m[31mnetlib/websockets/frame.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/netlib/websockets/test_utils.py
[1m[31mtest/netlib/websockets/test_utils.py[0m:4: in <module>
[1m from netlib import websockets[0m
[1m[31mnetlib/websockets/__init__.py[0m:3: in <module>
[1m from .frame import FrameHeader[0m
[1m[31mnetlib/websockets/frame.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_language_actions.py
[1m[31mtest/pathod/test_language_actions.py[0m:3: in <module>
[1m from pathod.language import actions, parse_pathoc, parse_pathod, serve[0m
[1m[31mpathod/language/__init__.py[0m:9: in <module>
[1m from . import http, http2, websockets, writer, exceptions[0m
[1m[31mpathod/language/http.py[0m:6: in <module>
[1m import netlib.websockets[0m
[1m[31mnetlib/websockets/__init__.py[0m:3: in <module>
[1m from .frame import FrameHeader[0m
[1m[31mnetlib/websockets/frame.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_language_base.py
[1m[31mtest/pathod/test_language_base.py[0m:2: in <module>
[1m from pathod import language[0m
[1m[31mpathod/language/__init__.py[0m:9: in <module>
[1m from . import http, http2, websockets, writer, exceptions[0m
[1m[31mpathod/language/http.py[0m:6: in <module>
[1m import netlib.websockets[0m
[1m[31mnetlib/websockets/__init__.py[0m:3: in <module>
[1m from .frame import FrameHeader[0m
[1m[31mnetlib/websockets/frame.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_language_generators.py
[1m[31mtest/pathod/test_language_generators.py[0m:3: in <module>
[1m from pathod.language import generators[0m
[1m[31mpathod/language/__init__.py[0m:9: in <module>
[1m from . import http, http2, websockets, writer, exceptions[0m
[1m[31mpathod/language/http.py[0m:6: in <module>
[1m import netlib.websockets[0m
[1m[31mnetlib/websockets/__init__.py[0m:3: in <module>
[1m from .frame import FrameHeader[0m
[1m[31mnetlib/websockets/frame.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_language_http.py
[1m[31mtest/pathod/test_language_http.py[0m:2: in <module>
[1m from pathod import language[0m
[1m[31mpathod/language/__init__.py[0m:9: in <module>
[1m from . import http, http2, websockets, writer, exceptions[0m
[1m[31mpathod/language/http.py[0m:6: in <module>
[1m import netlib.websockets[0m
[1m[31mnetlib/websockets/__init__.py[0m:3: in <module>
[1m from .frame import FrameHeader[0m
[1m[31mnetlib/websockets/frame.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_language_http2.py
[1m[31mtest/pathod/test_language_http2.py[0m:3: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_language_websocket.py
[1m[31mtest/pathod/test_language_websocket.py[0m:2: in <module>
[1m from pathod import language[0m
[1m[31mpathod/language/__init__.py[0m:9: in <module>
[1m from . import http, http2, websockets, writer, exceptions[0m
[1m[31mpathod/language/http.py[0m:6: in <module>
[1m import netlib.websockets[0m
[1m[31mnetlib/websockets/__init__.py[0m:3: in <module>
[1m from .frame import FrameHeader[0m
[1m[31mnetlib/websockets/frame.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_language_writer.py
[1m[31mtest/pathod/test_language_writer.py[0m:2: in <module>
[1m from pathod import language[0m
[1m[31mpathod/language/__init__.py[0m:9: in <module>
[1m from . import http, http2, websockets, writer, exceptions[0m
[1m[31mpathod/language/http.py[0m:6: in <module>
[1m import netlib.websockets[0m
[1m[31mnetlib/websockets/__init__.py[0m:3: in <module>
[1m from .frame import FrameHeader[0m
[1m[31mnetlib/websockets/frame.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
___ ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_pathoc.py ___
[1m[31mtest/pathod/test_pathoc.py[0m:6: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_pathoc_cmdline.py
[1m[31mtest/pathod/test_pathoc_cmdline.py[0m:4: in <module>
[1m from pathod import pathoc_cmdline as cmdline[0m
[1m[31mpathod/pathoc_cmdline.py[0m:7: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
___ ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_pathod.py ___
[1m[31mtest/pathod/test_pathod.py[0m:3: in <module>
[1m from pathod import pathod[0m
[1m[31mpathod/pathod.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_pathod_cmdline.py
[1m[31mtest/pathod/test_pathod_cmdline.py[0m:3: in <module>
[1m from pathod import pathod_cmdline as cmdline[0m
[1m[31mpathod/pathod_cmdline.py[0m:7: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_protocols_http2.py
[1m[31mtest/pathod/test_protocols_http2.py[0m:5: in <module>
[1m from netlib import tcp, http[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
____ ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_test.py ____
[1m[31mtest/pathod/test_test.py[0m:3: in <module>
[1m from pathod import test[0m
[1m[31mpathod/test.py[0m:6: in <module>
[1m from . import pathod[0m
[1m[31mpathod/pathod.py[0m:8: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
___ ERROR collecting .pybuild/pythonX.Y_2.7/build/test/pathod/test_utils.py ____
[1m[31mtest/pathod/test_utils.py[0m:3: in <module>
[1m from . import tutils[0m
[1m[31mtest/pathod/tutils.py[0m:9: in <module>
[1m from netlib import tcp[0m
[1m[31mnetlib/tcp.py[0m:20: in <module>
[1m import OpenSSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py[0m:8: in <module>
[1m from OpenSSL import rand, crypto, SSL[0m
[1m[31m/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py[0m:112: in <module>
[1m SSL_ST_INIT = _lib.SSL_ST_INIT[0m
[1m[31mE AttributeError: 'module' object has no attribute 'SSL_ST_INIT'[0m
!!!!!!!!!!!!!!!!!!! Interrupted: 77 errors during collection !!!!!!!!!!!!!!!!!!!
[1m[31m=========================== 77 error in 6.64 seconds ===========================[0m
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=2: cd /home/lamby/temp/cdt.20161108185458.f8M2RIlAUq.db.mitmproxy/mitmproxy-0.18.1/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest -k-TestServerIPv6
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 25
[]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mitmproxy.0.18.1-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 11811 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161108/1796c707/attachment.obj>
More information about the Reproducible-builds
mailing list