[Openstack-devel] Bug#700283: python-jsonschema: Missing build dependency: python-mock
Micah Anderson
micah at debian.org
Sun Feb 10 23:31:41 UTC 2013
Package: python-jsonschema
Version: 0.8.0-1
Severity: important
dpkg-source -b python-jsonschema-0.8.0~leap80+1
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building python-jsonschema using existing ./python-jsonschema_0.8.0~leap80+1.orig.tar.xz
dpkg-source: info: building python-jsonschema in python-jsonschema_0.8.0~leap80+1.debian.tar.gz
dpkg-source: info: building python-jsonschema in python-jsonschema_0.8.0~leap80+1.dsc
debian/rules build
dh build --with python2
dh_testdir
dh_auto_configure
dh_auto_build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.6
copying jsonschema.py -> build/lib.linux-x86_64-2.6
running build
running build_py
creating build/lib.linux-x86_64-2.7
copying jsonschema.py -> build/lib.linux-x86_64-2.7
debian/rules override_dh_auto_test
make[1]: Entering directory `/tmp/buildd/python-jsonschema-0.8.0~leap80+1'
nosetests tests.py
E
======================================================================
ERROR: Failure: ImportError (No module named mock)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in importFromDir
Source: python-jsonschema
mod = load_module(part_fqname, fh, filename, desc)
File "/tmp/buildd/python-jsonschema-0.8.0~leap80+1/tests.py", line 18, in <module>
import mock
ImportError: No module named mock
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1)
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory `/tmp/buildd/python-jsonschema-0.8.0~leap80+1'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.5372
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-jsonschema depends on:
ii dpkg 1.16.9
ii python 2.7.3-3
python-jsonschema recommends no packages.
python-jsonschema suggests no packages.
-- no debconf information
More information about the Openstack-devel
mailing list