--- Begin Message ---
Source: python-cffi
Version: 0.7.2-2
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20140114 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> Running virtualenv with interpreter /usr/bin/python2.7
> ------------------------------- Captured stderr
> --------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2335, in
> <module>
> main()
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 821, in main
> symlink=options.symlink)
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 989, in
> create_environment
> install_wheel(to_install, py_executable, search_dirs)
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 957, in
> install_wheel
> 'PIP_NO_INDEX': '1'
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 899, in
> call_subprocess
> % (cmd_desc, proc.returncode))
> OSError: Command /tmp/ffi-0/setuptool..._1-cpy/bin/python2.7 -c "import sys,
> pip; pip...ll\"] + sys.argv[1:])" setuptools pip failed with error code 1
> __________________________ test_setuptools_package_2
> ___________________________
>
> def test_setuptools_package_2():
> run_setup_and_program("setuptools_package_2", '''
> import snip_setuptools_verify2
> p = snip_setuptools_verify2.C.getpwuid(0)
> assert snip_setuptools_verify2.ffi.string(p.pw_name) == b"root"
> > ''')
>
> testing/test_zintegration.py:121:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> dirname = 'setuptools_package_2'
> python_snippet = '\n import snip_setuptools_verify2\n p =
> snip_setuptools_verify2.C.getpwuid(0)\n assert
> snip_setuptools_verify2.ffi.string(p.pw_name) == b"root"\n '
>
> def run_setup_and_program(dirname, python_snippet):
> > venv_dir = create_venv(dirname + '-cpy')
>
> testing/test_zintegration.py:61:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> name = 'setuptools_package_2-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/python2.7',
> '/tmp/ffi-0/setuptools_package_2-cpy'],)
> kwargs = {}, retcode = 1
> cmd = ['virtualenv', '--distribute', '-p', '/usr/bin/python2.7',
> '/tmp/ffi-0/setuptools_package_2-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 Popen constructor. 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 CalledProcessError: Command '['virtualenv', '--distribute', '-p',
> '/usr/bin/python2.7', '/tmp/ffi-0/setuptools_package_2-cpy']' returned
> non-zero exit status 1
>
> /usr/lib/python2.7/subprocess.py:540: CalledProcessError
> ------------------------------- Captured stdout
> --------------------------------
> New python executable in /tmp/ffi-0/setuptools_package_2-cpy/bin/python2.7
> Also creating executable in /tmp/ffi-0/setuptools_package_2-cpy/bin/python
> Installing setuptools, pip...
> Complete output from command /tmp/ffi-0/setuptool..._2-cpy/bin/python2.7 -c
> "import sys, pip; pip...ll\"] + sys.argv[1:])" setuptools pip:
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File
> "/usr/share/python-virtualenv/pip-1.5-py2.py3-none-any.whl/pip/__init__.py",
> line 11, in <module>
> File
> "/usr/share/python-virtualenv/pip-1.5-py2.py3-none-any.whl/pip/vcs/subversion.py",
> line 4, in <module>
> File
> "/usr/share/python-virtualenv/pip-1.5-py2.py3-none-any.whl/pip/index.py",
> line 16, in <module>
> File
> "/usr/share/python-virtualenv/pip-1.5-py2.py3-none-any.whl/pip/wheel.py",
> line 23, in <module>
> File
> "/usr/share/python-virtualenv/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/scripts.py",
> line 15, in <module>
> File
> "/usr/share/python-virtualenv/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/resources.py",
> line 105, in <module>
> File
> "/usr/share/python-virtualenv/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/resources.py",
> line 40, in __init__
> File
> "/usr/share/python-virtualenv/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/util.py",
> line 602, in get_cache_base
> File "/tmp/ffi-0/setuptools_package_2-cpy/lib/python2.7/os.py", line 150,
> in makedirs
> makedirs(head, mode)
> File "/tmp/ffi-0/setuptools_package_2-cpy/lib/python2.7/os.py", line 157,
> in makedirs
> mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> ----------------------------------------
> ...Installing setuptools, pip...done.
> Running virtualenv with interpreter /usr/bin/python2.7
> ------------------------------- Captured stderr
> --------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2335, in
> <module>
> main()
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 821, in main
> symlink=options.symlink)
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 989, in
> create_environment
> install_wheel(to_install, py_executable, search_dirs)
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 957, in
> install_wheel
> 'PIP_NO_INDEX': '1'
> File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 899, in
> call_subprocess
> % (cmd_desc, proc.returncode))
> OSError: Command /tmp/ffi-0/setuptool..._2-cpy/bin/python2.7 -c "import sys,
> pip; pip...ll\"] + sys.argv[1:])" setuptools pip failed with error code 1
> ============== 7 failed, 976 passed, 45 skipped in 142.76 seconds
> ==============
> E: pybuild pybuild:256: test: plugin custom failed with: exit code=1:
> python2.7 -m pytest c/ testing/
> dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit
> code 13
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/01/14/python-cffi_0.7.2-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---