Source: python-cffi
Version: 0.6-1
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python3.3
python-cffi FTBFS:
| + _py_=3.3
| + python3.3 -c from distutils.command.build import build; from distutils.core
import Distribution; b = build(Distribution()); b.finalize_options();
print(b.build_platlib)
| + PYTHONPATH=build/lib.linux-i686-3.3 py.test-3.3 c/ testing/
| = test session starts
==
| platform linux -- Python 3.3.1 -- pytest-2.2.4
| collecting ... collected 987 items
|
| c/test_c.py
.s...s..s..
| testing/test_cdata.py .
| testing/test_ctypes.py
..s...s.s.s...sss..s..s.sss
| testing/test_ffi_backend.py
.s...sss
| testing/test_function.py .sss.
| testing/test_model.py
| testing/test_ownlib.py ..ss..
| testing/test_parsing.py ..s
| testing/test_platform.py
| testing/test_unicode_literals.py
| testing/test_verify.py
..s.s.s...
| testing/test_verify2.py
..s.s.s...
| testing/test_version.py .
| testing/test_vgen.py
..s.s.s...
| testing/test_vgen2.py
..s.s.s...
| testing/test_zdistutils.py ..
| testing/test_zintegration.py FFF
|
| === FAILURES
===
| _ test_infrastructure
__
|
| def test_infrastructure():
| run_setup_and_program('infrastructure', '''
| import snip_infrastructure
| assert snip_infrastructure.func() == 42
|''')
|
| testing/test_zintegration.py:79:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| dirname = 'infrastructure'
| python_snippet = '\nimport snip_infrastructure\nassert
snip_infrastructure.func() == 42\n'
|
| def run_setup_and_program(dirname, python_snippet):
|venv_dir = create_venv(dirname + '-cpy')
|
| testing/test_zintegration.py:61:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| name = 'infrastructure-cpy'
|
| def create_venv(name):
| tmpdir = udir.join(name)
| try:
| subprocess.check_call(['virtualenv', '--distribute',
|'-p', os.path.abspath(sys.executable),
| str(tmpdir)])
|
| testing/test_zintegration.py:11:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| popenargs = (['virtualenv', '--distribute', '-p', '/usr/bin/python3.3',
'/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy'],)
| kwargs = {}, retcode = 1
| cmd = ['virtualenv', '--distribute', '-p', '/usr/bin/python3.3',
'/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy']
|
| def check_call(*popenargs, **kwargs):
| Run command with arguments. Wait for command to complete. If
| the exit code was zero then return, otherwise raise
| CalledProcessError. The CalledProcessError object will have the
| return code in the returncode attribute.
|
| The arguments are the same as for the call function. Example:
|
| check_call([ls, -l])
|
| retcode = call(*popenargs, **kwargs)
| if retcode:
| cmd = kwargs.get(args)
| if cmd is None:
| cmd = popenargs[0]
|raise CalledProcessError(retcode, cmd)
| E subprocess.CalledProcessError: Command '['virtualenv',
'--distribute', '-p', '/usr/bin/python3.3',
'/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy']'
returned non-zero exit status 1
|
| /usr/lib/python3.3/subprocess.py:544: CalledProcessError
| --- Captured stdout
| New python executable in
/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy/bin/python3.3
| Also creating executable in
/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy/bin/python
| Installing