Public bug reported:
$ debuild -us -uc -b
...
Doctest: yield_inside_lambda.__test__.test_inside_lambda (line 5) ... ok
run (__main__.PureDoctestTestCase)
running pure doctests in yield_inside_lambda ... test_inside_lambda
(pure_doctest__yield_inside_lambda)
Doctest: pure_doctest__yield_inside_lambda.test_inside_lambda ... ok
test_embed (__main__.EmbedTest) ... ok
======================================================================
ERROR: test_oneline_defs (test_coroutines_pep492.TokenizerRegrTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/run/test_coroutines_pep492.pyx", line 408, in
test_coroutines_pep492.TokenizerRegrTest.test_oneline_defs
exec(buf, ns, ns)
File "tests/run/test_coroutines_pep492.pyx", line 69, in
test_coroutines_pep492.exec
ns = inline(code_string, locals=l, globals=g,
lib_dir=os.path.dirname(__file__))
File "/home/z/python/cython/cython-0.26.1/Cython/Shadow.py", line 130, in
inline
return _cython_inline(f, *args, **kwds)
File "/home/z/python/cython/cython-0.26.1/Cython/Build/Inline.py", line 239,
in cython_inline
build_extension.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 449, in
build_extensions
self.build_extension(ext)
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 499, in
build_extension
depends=ext.depends)
File "/usr/lib/python2.7/dist-packages/numpy/distutils/ccompiler.py", line
343, in CCompiler_compile
single_compile(o)
File "/usr/lib/python2.7/dist-packages/numpy/distutils/ccompiler.py", line
303, 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 61, in UnixCCompiler__compile
raise CompileError(msg)
CompileError: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2
-fdebug-prefix-map=/home/z/python/cython/cython-0.26.1=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c
/home/z/python/cython/cython-0.26.1/build/work-dir/0/run/c/test_coroutines_pep492/_cython_inline_ff8e186b60a562a4cfcfaa08cd1301e1.c
-o
/home/z/python/cython/cython-0.26.1/build/work-dir/0/run/c/test_coroutines_pep492/home/z/python/cython/cython-0.26.1/build/work-dir/0/run/c/test_coroutines_pep492/_cython_inline_ff8e186b60a562a4cfcfaa08cd1301e1.o"
failed with exit status 4
----------------------------------------------------------------------
Ran 4990 tests in 3936.034s
FAILED (errors=1)
Following tests excluded because of missing dependencies on your system:
Cython.Coverage
run.asyncio_generators
run.coverage_api
run.coverage_cmd
run.coverage_nogil
test_grammar.c: In function
‘__pyx_pf_12test_grammar_12GrammarTests_13test_nonlocal_f’:
test_grammar.c:27637:72: warning: variable ‘__pyx_cur_scope’ set but not used
[-Wunused-but-set-variable]
struct __pyx_obj_12test_grammar___pyx_scope_struct_15_test_nonlocal
*__pyx_cur_scope;
^~~~~~~~~~~~~~~
test_grammar.c: In function ‘__pyx_pf_12test_grammar_12GrammarTests_44test_try’:
test_grammar.c:30159:12: warning: statement with no effect [-Wunused-value]
(1.0 / 0.0);
~~~~~^~~~~~
test_grammar.c:30250:12: warning: statement with no effect [-Wunused-value]
(1.0 / 0.0);
~~~~~^~~~~~
test_grammar.c:30424:12: warning: statement with no effect [-Wunused-value]
(1.0 / 0.0);
~~~~~^~~~~~
test_grammar.c:30500:12: warning: statement with no effect [-Wunused-value]
(1.0 / 0.0);
~~~~~^~~~~~
test_grammar.c: In function
‘__pyx_pf_12test_grammar_12GrammarTests_14test_listcomps_test_in_func’:
test_grammar.c:32919:73: warning: variable ‘__pyx_cur_scope’ set but not used
[-Wunused-but-set-variable]
struct __pyx_obj_12test_grammar___pyx_scope_struct_16_test_listcomps
*__pyx_cur_scope;
^~~~~~~~~~~~~~~
test_grammar.cpp: In function ‘PyObject*
__pyx_pf_12test_grammar_12GrammarTests_13test_nonlocal_f(PyObject*)’:
test_grammar.cpp:27651:72: warning: variable ‘__pyx_cur_scope’ set but not used
[-Wunused-but-set-variable]
struct __pyx_obj_12test_grammar___pyx_scope_struct_15_test_nonlocal
*__pyx_cur_scope;
^~~~~~~~~~~~~~~
test_grammar.cpp: In function ‘PyObject*
__pyx_pf_12test_grammar_12GrammarTests_14test_listcomps_test_in_func(PyObject*,
PyObject*)’:
test_grammar.cpp:32933:73: warning: variable ‘__pyx_cur_scope’ set but not used
[-Wunused-but-set-variable]
struct __pyx_obj_12test_grammar___pyx_scope_struct_16_test_listcomps
*__pyx_cur_scope;
^~~~~~~~~~~~~~~
unused.c:1155:18: warning: ‘__pyx_f_6unused_c_unused_optional’ defined but not
used [-Wunused-function]
static PyObject *__pyx_f_6unused_c_unused_optional(CYTHON_UNUSED PyObject
*__pyx_v_a, PyObject *__pyx_v_b, struct
__pyx_opt_args_6unused_c_unused_optional *__pyx_optional_args) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unused.c:1108:18: warning: ‘__pyx_f_6unused_c_unused_simple’ defined but not
used [-Wunused-function]
static PyObject *__pyx_f_6unused_c_unused_simple(PyObject *__pyx_v_a, PyObject
*__pyx_v_b, CYTHON_UNUSED PyObject *__pyx_v_c) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unused.cpp:1169:18: warning: ‘PyObject*
__pyx_f_6unused_c_unused_optional(PyObject*, PyObject*,
__pyx_opt_args_6unused_c_unused_optional*)’ defined but not used
[-Wunused-function]
static PyObject *__pyx_f_6unused_c_unused_optional(CYTHON_UNUSED PyObject
*__pyx_v_a, PyObject *__pyx_v_b, struct
__pyx_opt_args_6unused_c_unused_optional *__pyx_optional_args) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unused.cpp:1122:18: warning: ‘PyObject*
__pyx_f_6unused_c_unused_simple(PyObject*, PyObject*, PyObject*)’ defined but
not used [-Wunused-function]
static PyObject *__pyx_f_6unused_c_unused_simple(PyObject *__pyx_v_a, PyObject
*__pyx_v_b, CYTHON_UNUSED PyObject *__pyx_v_c) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unused_args.c:1178:18: warning: ‘__pyx_f_11unused_args_c_unused_optional’
defined but not used [-Wunused-function]
static PyObject *__pyx_f_11unused_args_c_unused_optional(CYTHON_UNUSED
PyObject *__pyx_v_a, PyObject *__pyx_v_b, struct
__pyx_opt_args_11unused_args_c_unused_optional *__pyx_optional_args) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unused_args.c:1131:18: warning: ‘__pyx_f_11unused_args_c_unused_simple’ defined
but not used [-Wunused-function]
static PyObject *__pyx_f_11unused_args_c_unused_simple(PyObject *__pyx_v_a,
PyObject *__pyx_v_b, CYTHON_UNUSED PyObject *__pyx_v_c) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unused_args.cpp:1192:18: warning: ‘PyObject*
__pyx_f_11unused_args_c_unused_optional(PyObject*, PyObject*,
__pyx_opt_args_11unused_args_c_unused_optional*)’ defined but not used
[-Wunused-function]
static PyObject *__pyx_f_11unused_args_c_unused_optional(CYTHON_UNUSED
PyObject *__pyx_v_a, PyObject *__pyx_v_b, struct
__pyx_opt_args_11unused_args_c_unused_optional *__pyx_optional_args) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unused_args.cpp:1145:18: warning: ‘PyObject*
__pyx_f_11unused_args_c_unused_simple(PyObject*, PyObject*, PyObject*)’ defined
but not used [-Wunused-function]
static PyObject *__pyx_f_11unused_args_c_unused_simple(PyObject *__pyx_v_a,
PyObject *__pyx_v_b, CYTHON_UNUSED PyObject *__pyx_v_c) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ALL DONE (1/2)
FAILED (0/2)
ALL DONE (0/2)
Errors for shards 0
ALL DONE
debian/rules:114: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/home/z/python/cython/cython-0.26.1'
debian/rules:25: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1151:
dpkg-buildpackage -rfakeroot -us -uc -ui -b failed
this is right after apt-src installing cython.
cython: 0.26.1-0.4
ubuntu: 18.04 bionic
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cython 0.26.1-0.4
ProcVersionSignature: Ubuntu 4.13.0-16.19-lowlatency 4.13.4
Uname: Linux 4.13.0-16-lowlatency x86_64
ApportVersion: 2.20.8-0ubuntu5
Architecture: amd64
Date: Sun Dec 17 21:10:28 2017
InstallationDate: Installed on 2016-05-07 (589 days ago)
InstallationMedia:
JournalErrors:
Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000']
failed with exit code 1: Hint: You are currently not seeing messages from other
users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cython
UpgradeStatus: Upgraded to bionic on 2017-11-20 (26 days ago)
** Affects: cython (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1738665
Title:
FTBFS : ERROR: test_oneline_defs
(test_coroutines_pep492.TokenizerRegrTest)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cython/+bug/1738665/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs