[Python-apps-team] Bug#825476: cython: FTBFS with gcc-6 and glibc 2.23: Test failures

Daniel Schepler dschepler at gmail.com
Fri May 27 06:39:42 UTC 2016


Source: cython
Version: 0.23.4+git4-g7eed8d8-1
Severity: important

>From my pbuilder build log (on amd64), using a chroot preferring
gcc-defaults and glibc from experimental:

...
Doctest: cppwrap.__test__.voidfunc (line 36) ... ok
test_embed (__main__.EmbedTest) ... ok

======================================================================
ERROR: runTest (__main__.CythonRunTestCase)
compiling (cpp) and running complex_numbers_T305
----------------------------------------------------------------------
Traceback (most recent call last):
  File "runtests.py", line 990, in run
    ext_so_path = self.runCompileTest()
  File "runtests.py", line 705, in runCompileTest
    self.test_directory, self.expect_errors, self.annotate)
  File "runtests.py", line 946, in compile
    so_path = self.run_distutils(test_directory, module, workdir, incdir)
  File "runtests.py", line 872, in run_distutils
    build_extension.run()
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 448,
in build_extensions
    self.build_extension(ext)
  File "runtests.py", line 432, in build_extension
    _build_ext.build_extension(self, ext)
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 498,
in build_extension
    depends=ext.depends)
  File "/usr/lib/python2.7/dist-packages/numpy/distutils/ccompiler.py",
line 230, in CCompiler_compile
    single_compile(o)
  File "/usr/lib/python2.7/dist-packages/numpy/distutils/ccompiler.py",
line 194, in single_compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/lib/python2.7/dist-packages/numpy/distutils/unixccompiler.py",
line 52, in UnixCCompiler__compile
    raise CompileError(msg)
CompileError: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g
-fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2
-g -fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/build/cython-0.23.4+git4-g7eed8d8/tests/run
-I/usr/include/python2.7 -c complex_numbers_T305.cpp -o
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/complex_numbers_T305/complex_numbers_T305.o"
failed with exit status 1

======================================================================
ERROR: runTest (__main__.CythonRunTestCase)
compiling (cpp) and running complex_numbers_c99_T398
----------------------------------------------------------------------
Traceback (most recent call last):
  File "runtests.py", line 990, in run
    ext_so_path = self.runCompileTest()
  File "runtests.py", line 705, in runCompileTest
    self.test_directory, self.expect_errors, self.annotate)
  File "runtests.py", line 946, in compile
    so_path = self.run_distutils(test_directory, module, workdir, incdir)
  File "runtests.py", line 872, in run_distutils
    build_extension.run()
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 448,
in build_extensions
    self.build_extension(ext)
  File "runtests.py", line 432, in build_extension
    _build_ext.build_extension(self, ext)
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 498,
in build_extension
    depends=ext.depends)
  File "/usr/lib/python2.7/dist-packages/numpy/distutils/ccompiler.py",
line 230, in CCompiler_compile
    single_compile(o)
  File "/usr/lib/python2.7/dist-packages/numpy/distutils/ccompiler.py",
line 194, in single_compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/lib/python2.7/dist-packages/numpy/distutils/unixccompiler.py",
line 52, in UnixCCompiler__compile
    raise CompileError(msg)
CompileError: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g
-fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2
-g -fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/build/cython-0.23.4+git4-g7eed8d8/tests/run
-I/usr/include/python2.7 -c complex_numbers_c99_T398.cpp -o
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/complex_numbers_c99_T398/complex_numbers_c99_T398.o"
failed with exit status 1

======================================================================
ERROR: runTest (__main__.CythonRunTestCase)
compiling (cpp) and running complex_numbers_cxx_T398
----------------------------------------------------------------------
Traceback (most recent call last):
  File "runtests.py", line 990, in run
    ext_so_path = self.runCompileTest()
  File "runtests.py", line 705, in runCompileTest
    self.test_directory, self.expect_errors, self.annotate)
  File "runtests.py", line 946, in compile
    so_path = self.run_distutils(test_directory, module, workdir, incdir)
  File "runtests.py", line 872, in run_distutils
    build_extension.run()
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 448,
in build_extensions
    self.build_extension(ext)
  File "runtests.py", line 432, in build_extension
    _build_ext.build_extension(self, ext)
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 498,
in build_extension
    depends=ext.depends)
  File "/usr/lib/python2.7/dist-packages/numpy/distutils/ccompiler.py",
line 230, in CCompiler_compile
    single_compile(o)
  File "/usr/lib/python2.7/dist-packages/numpy/distutils/ccompiler.py",
line 194, in single_compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/lib/python2.7/dist-packages/numpy/distutils/unixccompiler.py",
line 52, in UnixCCompiler__compile
    raise CompileError(msg)
CompileError: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g
-fwrapv -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2
-g -fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/build/cython-0.23.4+git4-g7eed8d8/tests/run
-I/usr/include/python2.7 -c complex_numbers_cxx_T398.cpp -o
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/complex_numbers_cxx_T398/complex_numbers_cxx_T398.o"
failed with exit status 1

----------------------------------------------------------------------
Ran 9549 tests in 2293.411s

FAILED (errors=3)
Following tests excluded because of missing dependencies on your system:
   Cython.Coverage
   run.asyncio_generators
   run.coverage_api
   run.coverage_cmd
   run.coverage_nogil
Couldn't find u'b'
Compiling /build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_fe0c472dd7a6124bd4ed0b19a48995d5.pyx
because it changed.
[1/1] Cythonizing
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_fe0c472dd7a6124bd4ed0b19a48995d5.pyx
Couldn't find u'b'
Compiling /build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_ebaa3ee4674dbe77ae7bd1f499dae2e3.pyx
because it changed.
[1/1] Cythonizing
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_ebaa3ee4674dbe77ae7bd1f499dae2e3.pyx
Couldn't find u'b'
Compiling /build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_5faa0d00d71cc352ba965492f4808903.pyx
because it changed.
[1/1] Cythonizing
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_5faa0d00d71cc352ba965492f4808903.pyx
Compiling /build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_9e26c6d0596acd18171704d8e6aedc8b.pyx
because it changed.
[1/1] Cythonizing
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_9e26c6d0596acd18171704d8e6aedc8b.pyx
Compiling /build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_960ea1085d0aa0ea6db089f127e4e510.pyx
because it changed.
[1/1] Cythonizing
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_960ea1085d0aa0ea6db089f127e4e510.pyx
Couldn't find u'b'
Compiling /build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_0797e16ff395636353463b739d925336.pyx
because it changed.
[1/1] Cythonizing
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_0797e16ff395636353463b739d925336.pyx
Couldn't find u'b'
Compiling /build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_495f6035fcf47252843b7e97e31bfce8.pyx
because it changed.
[1/1] Cythonizing
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_495f6035fcf47252843b7e97e31bfce8.pyx
Couldn't find u'b'
Compiling /build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_5e8cd0006e0bd9fdb6247fc3a69b4eeb.pyx
because it changed.
[1/1] Cythonizing
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_5e8cd0006e0bd9fdb6247fc3a69b4eeb.pyx
Couldn't find u'b'
Compiling /build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_59d3e99f90ff34db753eaa50d5ec3169.pyx
because it changed.
[1/1] Cythonizing
/build/cython-0.23.4+git4-g7eed8d8/build/work-dir/run/cpp/test_coroutines_pep492/_cython_inline_59d3e99f90ff34db753eaa50d5ec3169.pyx
ALL DONE
debian/rules:104: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/cython-0.23.4+git4-g7eed8d8'
debian/rules:20: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the Python-apps-team mailing list