[Reproducible-builds] Bug#825166: python-autobahn: FTBFS: ImportError: No module named 'mock'
Chris Lamb
lamby at debian.org
Tue May 24 09:13:52 UTC 2016
Source: python-autobahn
Version: 0.10.3+dfsg1-6
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,
python-autobahn fails to build from source in unstable/amd64:
[..]
Preparing to unpack .../python-openssl_16.0.0-1_all.deb ...
Unpacking python-openssl (16.0.0-1) ...
Selecting previously unselected package python-attr.
Preparing to unpack .../python-attr_15.2.0-2_all.deb ...
Unpacking python-attr (15.2.0-2) ...
Selecting previously unselected package python-pyasn1-modules.
Preparing to unpack .../python-pyasn1-modules_0.0.7-0.1_all.deb ...
Unpacking python-pyasn1-modules (0.0.7-0.1) ...
Selecting previously unselected package python-service-identity.
Preparing to unpack .../python-service-identity_16.0.0-2_all.deb ...
Unpacking python-service-identity (16.0.0-2) ...
Selecting previously unselected package python-twisted-core.
Preparing to unpack .../python-twisted-core_16.2.0-1_all.deb ...
Unpacking python-twisted-core (16.2.0-1) ...
Selecting previously unselected package python-twisted.
Preparing to unpack .../python-twisted_16.2.0-1_all.deb ...
Unpacking python-twisted (16.2.0-1) ...
Selecting previously unselected package python-txaio.
Preparing to unpack .../python-txaio_1.0.0-3_all.deb ...
Unpacking python-txaio (1.0.0-3) ...
Selecting previously unselected package python3-lz4.
Preparing to unpack .../python3-lz4_0.8.2+dfsg-1_amd64.deb ...
Unpacking python3-lz4 (0.8.2+dfsg-1) ...
Selecting previously unselected package python3-msgpack.
Preparing to unpack .../python3-msgpack_0.4.7-1_amd64.deb ...
Unpacking python3-msgpack (0.4.7-1) ...
Selecting previously unselected package python3-py.
Preparing to unpack .../python3-py_1.4.31-1_all.deb ...
Unpacking python3-py (1.4.31-1) ...
Selecting previously unselected package python3-pytest.
Preparing to unpack .../python3-pytest_2.9.1-1_all.deb ...
Unpacking python3-pytest (2.9.1-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../python3-six_1.10.0-3_all.deb ...
Unpacking python3-six (1.10.0-3) ...
Selecting previously unselected package python3-snappy.
Preparing to unpack .../python3-snappy_0.5-1.1_amd64.deb ...
Unpacking python3-snappy (0.5-1.1) ...
Selecting previously unselected package python3-zope.interface.
Preparing to unpack .../python3-zope.interface_4.1.3-1+b1_amd64.deb ...
Unpacking python3-zope.interface (4.1.3-1+b1) ...
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack .../python3-cffi-backend_1.6.0-1_amd64.deb ...
Unpacking python3-cffi-backend (1.6.0-1) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../python3-idna_2.1-1_all.deb ...
Unpacking python3-idna (2.1-1) ...
Selecting previously unselected package python3-pyasn1.
Preparing to unpack .../python3-pyasn1_0.1.9-1_all.deb ...
Unpacking python3-pyasn1 (0.1.9-1) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../python3-cryptography_1.3.1-2_amd64.deb ...
Unpacking python3-cryptography (1.3.1-2) ...
Selecting previously unselected package python3-openssl.
Preparing to unpack .../python3-openssl_16.0.0-1_all.deb ...
Unpacking python3-openssl (16.0.0-1) ...
Selecting previously unselected package python3-attr.
Preparing to unpack .../python3-attr_15.2.0-2_all.deb ...
Unpacking python3-attr (15.2.0-2) ...
Selecting previously unselected package python3-pyasn1-modules.
Preparing to unpack .../python3-pyasn1-modules_0.0.7-0.1_all.deb ...
Unpacking python3-pyasn1-modules (0.0.7-0.1) ...
Selecting previously unselected package python3-service-identity.
Preparing to unpack .../python3-service-identity_16.0.0-2_all.deb ...
Unpacking python3-service-identity (16.0.0-2) ...
Selecting previously unselected package python3-twisted.
Preparing to unpack .../python3-twisted_16.2.0-1_all.deb ...
Unpacking python3-twisted (16.2.0-1) ...
Selecting previously unselected package python3-txaio.
Preparing to unpack .../python3-txaio_1.0.0-3_all.deb ...
Unpacking python3-txaio (1.0.0-3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.22-9) ...
Setting up python-all (2.7.11-1) ...
Setting up python-setuptools (20.10.1-1) ...
Setting up python3-all (3.5.1-3) ...
Setting up python3-pkg-resources (20.10.1-1) ...
Setting up python3-setuptools (20.10.1-1) ...
Setting up libjs-jquery (1.12.3-1) ...
Setting up libjs-underscore (1.7.0~dfsg-1) ...
Setting up libjs-sphinxdoc (1.3.6-2) ...
Setting up python-concurrent.futures (3.0.5-1) ...
Setting up python-lz4 (0.8.2+dfsg-1) ...
Setting up python-msgpack (0.4.7-1) ...
Setting up python-funcsigs (0.4-2) ...
Setting up python-pbr (1.8.0-4.1) ...
update-alternatives: using /usr/bin/python2-pbr to provide /usr/bin/pbr (pbr) in auto mode
Setting up python-mock (1.3.0-2.1) ...
Setting up python-py (1.4.31-1) ...
Setting up python-pytest (2.9.1-1) ...
Setting up libsnappy1v5:amd64 (1.1.3-3) ...
Setting up python-snappy (0.5-1.1) ...
Setting up python-trollius (2.1~b1-3) ...
Setting up python-twisted-bin (16.2.0-1) ...
Setting up python-zope.interface (4.1.3-1+b1) ...
Setting up python-cffi-backend (1.6.0-1) ...
Setting up python-enum34 (1.1.5-1) ...
Setting up python-idna (2.1-1) ...
Setting up python-ipaddress (1.0.16-1) ...
Setting up python-pyasn1 (0.1.9-1) ...
Setting up python-cryptography (1.3.1-2) ...
Setting up python-openssl (16.0.0-1) ...
Setting up python-attr (15.2.0-2) ...
Setting up python-pyasn1-modules (0.0.7-0.1) ...
Setting up python-service-identity (16.0.0-2) ...
Setting up python-twisted-core (16.2.0-1) ...
Setting up python-twisted (16.2.0-1) ...
Setting up python-txaio (1.0.0-3) ...
Setting up python3-lz4 (0.8.2+dfsg-1) ...
Setting up python3-msgpack (0.4.7-1) ...
Setting up python3-py (1.4.31-1) ...
Setting up python3-pytest (2.9.1-1) ...
Setting up python3-six (1.10.0-3) ...
Setting up python3-snappy (0.5-1.1) ...
Setting up python3-zope.interface (4.1.3-1+b1) ...
Setting up python3-cffi-backend (1.6.0-1) ...
Setting up python3-idna (2.1-1) ...
Setting up python3-pyasn1 (0.1.9-1) ...
Setting up python3-cryptography (1.3.1-2) ...
Setting up python3-openssl (16.0.0-1) ...
Setting up python3-attr (15.2.0-2) ...
Setting up python3-pyasn1-modules (0.0.7-0.1) ...
Setting up python3-service-identity (16.0.0-2) ...
Setting up python3-twisted (16.2.0-1) ...
Setting up python3-txaio (1.0.0-3) ...
Setting up python-autobahn-build-deps (0.10.3+dfsg1-6) ...
Processing triggers for libc-bin (2.22-9) ...
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package python-autobahn
dpkg-buildpackage: info: source version 0.10.3+dfsg1-6
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Thomas Goirand <zigo at debian.org>
dpkg-source --before-build python-autobahn-0.10.3+dfsg1
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from python-autobahn-0.10.3+dfsg1/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/
fakeroot debian/rules clean
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh /usr/share/openstack-pkg-tools/pkgos.make --buildsystem=python_distutils --with python2,python3
dh: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
dh clean --buildsystem=python_distutils --with python2,python3
dh_testdir -O--buildsystem=python_distutils
dh_auto_clean -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
python setup.py clean -a
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
Twisted found (default reactor is <class 'twisted.internet.epollreactor.EPollReactor'>)
Twisted dropin.cache regenerated.
find . -name \*.pyc -exec rm {} \+
debian/rules override_dh_clean
make[1]: Entering directory '/home/lamby/temp/cdt.20160524094413.GQi34zixWI.python-autobahn/python-autobahn-0.10.3+dfsg1'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh /usr/share/openstack-pkg-tools/pkgos.make --buildsystem=python_distutils --with python2,python3
dh: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
dh_clean -O--buildsystem=python_distutils
rm -rf build twisted/plugins/dropin.cache
make[1]: Leaving directory '/home/lamby/temp/cdt.20160524094413.GQi34zixWI.python-autobahn/python-autobahn-0.10.3+dfsg1'
debian/rules build
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh /usr/share/openstack-pkg-tools/pkgos.make --buildsystem=python_distutils --with python2,python3
dh: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
dh build --buildsystem=python_distutils --with python2,python3
dh_testdir -O--buildsystem=python_distutils
dh_update_autotools_config -O--buildsystem=python_distutils
dh_auto_configure -O--buildsystem=python_distutils
dh_auto_build -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
python setup.py build --force
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/autobahn
copying autobahn/__init__.py -> build/lib.linux-x86_64-2.7/autobahn
copying autobahn/util.py -> build/lib.linux-x86_64-2.7/autobahn
creating build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/auth.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/uri.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/__init__.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/exception.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/serializer.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/types.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/interfaces.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/role.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/protocol.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/message.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
copying autobahn/wamp/websocket.py -> build/lib.linux-x86_64-2.7/autobahn/wamp
creating build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/__init__.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/test_component.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/test_user_handler_errors.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/test_runner.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/test_uri_pattern.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/test_protocol_peer.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/test_message.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/test_serializer.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/test_protocol.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
copying autobahn/wamp/test/test_auth.py -> build/lib.linux-x86_64-2.7/autobahn/wamp/test
creating build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/compress_deflate.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/utf8validator.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/compress.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/__init__.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/compress_snappy.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/interfaces.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/compress_base.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/compress_bzip2.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/protocol.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/http.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/useragent.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
copying autobahn/websocket/xormasker.py -> build/lib.linux-x86_64-2.7/autobahn/websocket
creating build/lib.linux-x86_64-2.7/autobahn/websocket/test
copying autobahn/websocket/test/test_websocket.py -> build/lib.linux-x86_64-2.7/autobahn/websocket/test
copying autobahn/websocket/test/__init__.py -> build/lib.linux-x86_64-2.7/autobahn/websocket/test
copying autobahn/websocket/test/test_websocket_url.py -> build/lib.linux-x86_64-2.7/autobahn/websocket/test
creating build/lib.linux-x86_64-2.7/autobahn/asyncio
copying autobahn/asyncio/__init__.py -> build/lib.linux-x86_64-2.7/autobahn/asyncio
copying autobahn/asyncio/wamp.py -> build/lib.linux-x86_64-2.7/autobahn/asyncio
copying autobahn/asyncio/websocket.py -> build/lib.linux-x86_64-2.7/autobahn/asyncio
creating build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/forwarder.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/flashpolicy.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/__init__.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/rawsocket.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/util.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/longpoll.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/resource.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/wamp.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/websocket.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
copying autobahn/twisted/choosereactor.py -> build/lib.linux-x86_64-2.7/autobahn/twisted
package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
creating build/lib.linux-x86_64-2.7/twisted
creating build/lib.linux-x86_64-2.7/twisted/plugins
copying twisted/plugins/autobahn_endpoints.py -> build/lib.linux-x86_64-2.7/twisted/plugins
copying twisted/plugins/autobahn_twistd.py -> build/lib.linux-x86_64-2.7/twisted/plugins
Twisted found (default reactor is <class 'twisted.internet.epollreactor.EPollReactor'>)
Twisted dropin.cache regenerated.
debian/rules override_dh_auto_test
make[1]: Entering directory '/home/lamby/temp/cdt.20160524094413.GQi34zixWI.python-autobahn/python-autobahn-0.10.3+dfsg1'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh /usr/share/openstack-pkg-tools/pkgos.make --buildsystem=python_distutils --with python2,python3
dh: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
set -e ; set -x ; for i in 2.7 3.5 ; do \
rm -rf build ; \
PYTHONPATH=. python$i -m pytest ; \
done
+ rm -rf build
+ PYTHONPATH=. python2.7 -m pytest
============================= test session starts ==============================
platform linux2 -- Python 2.7.11+, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: /home/lamby/temp/cdt.20160524094413.GQi34zixWI.python-autobahn/python-autobahn-0.10.3+dfsg1, inifile:
collected 112 items
autobahn/wamp/test/test_auth.py .........
autobahn/wamp/test/test_component.py ss
autobahn/wamp/test/test_message.py ....................................................
autobahn/wamp/test/test_protocol_peer.py ..
autobahn/wamp/test/test_serializer.py ..
autobahn/wamp/test/test_uri_pattern.py ................
autobahn/websocket/test/test_websocket_url.py .............................
==================== 110 passed, 2 skipped in 0.69 seconds =====================
+ rm -rf build
+ PYTHONPATH=. python3.5 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.5.1+, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: /home/lamby/temp/cdt.20160524094413.GQi34zixWI.python-autobahn/python-autobahn-0.10.3+dfsg1, inifile:
collected 112 items / 1 errors
autobahn/wamp/test/test_auth.py .........
autobahn/wamp/test/test_component.py ss
autobahn/wamp/test/test_message.py ....................................................
autobahn/wamp/test/test_protocol_peer.py ..
autobahn/wamp/test/test_serializer.py ..
autobahn/wamp/test/test_uri_pattern.py ................
autobahn/websocket/test/test_websocket_url.py .............................
==================================== ERRORS ====================================
______________ ERROR collecting autobahn/wamp/test/test_runner.py ______________
autobahn/wamp/test/test_runner.py:34: in <module>
from mock import patch
E ImportError: No module named 'mock'
================ 110 passed, 2 skipped, 1 error in 0.68 seconds ================
debian/rules:25: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/home/lamby/temp/cdt.20160524094413.GQi34zixWI.python-autobahn/python-autobahn-0.10.3+dfsg1'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
[..]
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: python-autobahn.0.10.3+dfsg1-6.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 4826 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160524/6ec3fdf3/attachment.obj>
More information about the Reproducible-builds
mailing list