virt_test/bin/python testrunner/runner.py --logfile=testrun.log --config=pypy/testrunner_cfg.py '--config=~/machine_cfg.py' --root=rpython --timeout=4000
in dir /build_dir/rpython-linux-x86-64/build (timeout 4000 secs)
watching logfiles {'pytestLog': 'testrun.log'}
argv: ['virt_test/bin/python', 'testrunner/runner.py', '--logfile=testrun.log', '--config=pypy/testrunner_cfg.py', '--config=~/machine_cfg.py', '--root=rpython', '--timeout=4000']
environment:
AUDITWHEEL_ARCH=x86_64
AUDITWHEEL_PLAT=manylinux2014_x86_64
AUDITWHEEL_POLICY=manylinux2014
DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root
HOME=/home/buildslave
HOSTNAME=a58a84039819
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LD_LIBRARY_PATH=/usr/local/lib:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64
LOGNAME=buildslave
PATH=/python27_virt/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig
PWD=/build_dir/rpython-linux-x86-64/build
PYPYCHERRYPICK=
PYPY_LOCALBASE=/usr/local
PYPY_MAKE_PORTABLE=1
PYPY_USESSION_DIR=/tmp/pytest
PYTHONPATH=.:
SHELL=/bin/bash
SHLVL=2
SSL_CERT_FILE=/opt/_internal/certs.pem
TERM=xterm
TMPDIR=/tmp/pytest
USER=buildslave
USE_CURL=1
_=/python27_virt/bin/buildslave
using PTY: False
using config pypy/testrunner_cfg.py
using config /home/buildslave/machine_cfg.py
running 4 parallel test workers
setting MAKEFLAGS to ' ' (space)
-- annotator/test
-- config/test
-- flowspace/test
-- jit/backend/aarch64/test/test_basic.py
-- jit/backend/aarch64/test/test_call.py
-- jit/backend/aarch64/test/test_calling_convention.py
-- jit/backend/aarch64/test/test_del.py
-- jit/backend/aarch64/test/test_dict.py
-- jit/backend/aarch64/test/test_exception.py
-- jit/backend/aarch64/test/test_fficall.py
-- jit/backend/aarch64/test/test_float.py
-- jit/backend/aarch64/test/test_instr_builder.py
-- jit/backend/aarch64/test/test_jitlog.py
-- jit/backend/aarch64/test/test_list.py
-- jit/backend/aarch64/test/test_llop.py
-- jit/backend/aarch64/test/test_loop_unroll.py
-- jit/backend/aarch64/test/test_quasiimmut.py
-- jit/backend/aarch64/test/test_rawmem.py
-- jit/backend/aarch64/test/test_recursive.py
-- jit/backend/aarch64/test/test_runner.py
-- jit/backend/aarch64/test/test_rvmprof.py
-- jit/backend/aarch64/test/test_send.py
-- jit/backend/aarch64/test/test_slist.py
-- jit/backend/aarch64/test/test_string.py
-- jit/backend/aarch64/test/test_tl.py
-- jit/backend/aarch64/test/test_tlc.py
-- jit/backend/aarch64/test/test_virtual.py
-- jit/backend/aarch64/test/test_virtualizable.py
-- jit/backend/aarch64/test/test_virtualref.py
-- jit/backend/aarch64/test/test_zrpy_gc.py
-- jit/backend/aarch64/test/test_zrpy_gc_boehm.py
-- jit/backend/aarch64/test/test_zrpy_releasegil.py
-- jit/backend/aarch64/test/test_zrpy_vmprof.py
-- jit/backend/aarch64/test/test_ztranslation_basic.py
-- jit/backend/aarch64/test/test_ztranslation_call_assembler.py
-- jit/backend/aarch64/test/test_ztranslation_jit_stats.py
-- jit/backend/arm/test
-- jit/backend/llgraph/test
-- jit/backend/llsupport/test
-- jit/backend/ppc/test
-- jit/backend/riscv/test
-- jit/backend/test
-- jit/backend/x86/test/test_assembler.py
-- jit/backend/x86/test/test_basic.py
-- jit/backend/x86/test/test_call.py
-- jit/backend/x86/test/test_callbuilder.py
-- jit/backend/x86/test/test_calling_convention.py
-- jit/backend/x86/test/test_del.py
-- jit/backend/x86/test/test_dict.py
-- jit/backend/x86/test/test_exception.py
-- jit/backend/x86/test/test_fficall.py
-- jit/backend/x86/test/test_float.py
-- jit/backend/x86/test/test_jitlog.py
-- jit/backend/x86/test/test_jump.py
-- jit/backend/x86/test/test_list.py
-- jit/backend/x86/test/test_llop.py
-- jit/backend/x86/test/test_longlong.py
-- jit/backend/x86/test/test_loop_unroll.py
-- jit/backend/x86/test/test_quasiimmut.py
-- jit/backend/x86/test/test_rawmem.py
-- jit/backend/x86/test/test_recursive.py
-- jit/backend/x86/test/test_regalloc.py
-- jit/backend/x86/test/test_regloc.py
-- jit/backend/x86/test/test_runner.py
-- jit/backend/x86/test/test_rvmprof.py
-- jit/backend/x86/test/test_rx86.py
-- jit/backend/x86/test/test_rx86_32_auto_encoding.py
-- jit/backend/x86/test/test_rx86_64_auto_encoding.py
-- jit/backend/x86/test/test_send.py
-- jit/backend/x86/test/test_slist.py
-- jit/backend/x86/test/test_string.py
-- jit/backend/x86/test/test_symbolic_x86.py
-- jit/backend/x86/test/test_tl.py
-- jit/backend/x86/test/test_tlc.py
-- jit/backend/x86/test/test_tracelimit.py
-- jit/backend/x86/test/test_virtual.py
-- jit/backend/x86/test/test_virtualizable.py
-- jit/backend/x86/test/test_virtualref.py
-- jit/backend/x86/test/test_x86vector.py
-- jit/backend/x86/test/test_zmath.py
-- jit/backend/x86/test/test_zrpy_gc.py
-- jit/backend/x86/test/test_zrpy_gc_boehm.py
-- jit/backend/x86/test/test_zrpy_releasegil.py
-- jit/backend/x86/test/test_zrpy_vecopt.py
-- jit/backend/x86/test/test_zrpy_vmprof.py
-- jit/backend/x86/test/test_ztranslation_basic.py
-- jit/backend/x86/test/test_ztranslation_call_assembler.py
-- jit/backend/x86/test/test_ztranslation_external_exception.py
-- jit/backend/x86/test/test_ztranslation_jit_stats.py
-- jit/backend/x86/tool/test/test_viewcode.py
-- jit/backend/zarch/test
-- jit/codewriter/test
-- jit/metainterp/optimizeopt/test/test_costmodel.py
-- jit/metainterp/optimizeopt/test/test_dependency.py
-- jit/metainterp/optimizeopt/test/test_guard.py
-- jit/metainterp/optimizeopt/test/test_intbound.py
-- jit/metainterp/optimizeopt/test/test_intdiv.py
-- jit/metainterp/optimizeopt/test/test_optimizebasic.py
-- jit/metainterp/optimizeopt/test/test_optimizebridge.py
-- jit/metainterp/optimizeopt/test/test_optimizeheap.py
-- jit/metainterp/optimizeopt/test/test_optimizeintbound.py
-- jit/metainterp/optimizeopt/test/test_optimizeopt.py
-- jit/metainterp/optimizeopt/test/test_rawbuffer.py
-- jit/metainterp/optimizeopt/test/test_schedule.py
-- jit/metainterp/optimizeopt/test/test_short.py
-- jit/metainterp/optimizeopt/test/test_unroll.py
-- jit/metainterp/optimizeopt/test/test_util.py
-- jit/metainterp/optimizeopt/test/test_vecopt.py
-- jit/metainterp/optimizeopt/test/test_virtualstate.py
-- jit/metainterp/optimizeopt/test/test_z3checktests.py
-- jit/metainterp/optimizeopt/test/test_z3intbound.py
-- jit/metainterp/ruleopt/test/test_codegen.py
-- jit/metainterp/ruleopt/test/test_parse.py
-- jit/metainterp/ruleopt/test/test_prove.py
-- jit/metainterp/test/test_ajit.py
-- jit/metainterp/test/test_blackhole.py
-- jit/metainterp/test/test_bridgeopt.py
-- jit/metainterp/test/test_bytearray.py
-- jit/metainterp/test/test_call.py
-- jit/metainterp/test/test_compile.py
-- jit/metainterp/test/test_counter.py
-- jit/metainterp/test/test_del.py
-- jit/metainterp/test/test_dict.py
-- jit/metainterp/test/test_exception.py
-- jit/metainterp/test/test_executor.py
-- jit/metainterp/test/test_fficall.py
-- jit/metainterp/test/test_float.py
-- jit/metainterp/test/test_greenfield.py
-- jit/metainterp/test/test_heapcache.py
-- jit/metainterp/test/test_history.py
-- jit/metainterp/test/test_immutable.py
-- jit/metainterp/test/test_jitdriver.py
-- jit/metainterp/test/test_jitiface.py
-- jit/metainterp/test/test_jitprof.py
-- jit/metainterp/test/test_list.py
-- jit/metainterp/test/test_llop.py
-- jit/metainterp/test/test_logger.py
-- jit/metainterp/test/test_longlong.py
-- jit/metainterp/test/test_loop.py
-- jit/metainterp/test/test_loop_unroll.py
-- jit/metainterp/test/test_loop_unroll_disopt.py
-- jit/metainterp/test/test_math.py
-- jit/metainterp/test/test_memmgr.py
-- jit/metainterp/test/test_opencoder.py
-- jit/metainterp/test/test_pyjitpl.py
-- jit/metainterp/test/test_quasiimmut.py
-- jit/metainterp/test/test_rawmem.py
-- jit/metainterp/test/test_recursive.py
-- jit/metainterp/test/test_resoperation.py
-- jit/metainterp/test/test_resume.py
-- jit/metainterp/test/test_resumecode.py
-- jit/metainterp/test/test_send.py
-- jit/metainterp/test/test_slist.py
-- jit/metainterp/test/test_string.py
-- jit/metainterp/test/test_support.py
-- jit/metainterp/test/test_threadlocal.py
-- jit/metainterp/test/test_tl.py
-- jit/metainterp/test/test_tlc.py
-- jit/metainterp/test/test_tracelimit.py
-- jit/metainterp/test/test_tracingopts.py
-- jit/metainterp/test/test_virtual.py
-- jit/metainterp/test/test_virtualizable.py
-- jit/metainterp/test/test_virtualref.py
-- jit/metainterp/test/test_warmspot.py
-- jit/metainterp/test/test_warmstate.py
-- jit/metainterp/test/test_zvector.py
-- jit/tl/test
-- jit/tl/tinyframe/test
-- jit/tl/tla
-- jit/tool/test
-- memory/gc/test
-- memory/gctransform/test
-- memory/test/test_gctypelayout.py
-- memory/test/test_generational_gc.py
-- memory/test/test_growingsemispace_gc.py
-- memory/test/test_hybrid_gc.py
-- memory/test/test_hybrid_gc_smallheap.py
-- memory/test/test_incminimark_gc.py
-- memory/test/test_incminimark_gc_cardmarking.py
-- memory/test/test_lldict.py
-- memory/test/test_minimark_gc.py
-- memory/test/test_minimark_gc_cardmarking.py
-- memory/test/test_semispace_gc.py
-- memory/test/test_support.py
-- memory/test/test_transformed_gc.py
-- rlib/parsing/test/test_deterministic.py
-- rlib/parsing/test/test_ebnfparse.py
-- rlib/parsing/test/test_lexer.py
-- rlib/parsing/test/test_parse.py
-- rlib/parsing/test/test_parseerrors.py
-- rlib/parsing/test/test_pcre_regtest.py
-- rlib/parsing/test/test_pypackrat.py
-- rlib/parsing/test/test_pythonlexer.py
-- rlib/parsing/test/test_pythonparse.py
-- rlib/parsing/test/test_regex.py
-- rlib/parsing/test/test_regexparse.py
-- rlib/parsing/test/test_translate.py
-- rlib/parsing/test/test_translate_lexer.py
-- rlib/parsing/test/test_tree.py
-- rlib/rjitlog/test/test_jitlog.py
-- rlib/rsre/test/test_char.py
-- rlib/rsre/test/test_ext_opcode.py
-- rlib/rsre/test/test_match.py
-- rlib/rsre/test/test_re.py
-- rlib/rsre/test/test_search.py
-- rlib/rsre/test/test_zexternal.py
-- rlib/rsre/test/test_zinterp.py
-- rlib/rsre/test/test_zjit.py
-- rlib/rstrategies/test/test_rstrategies.py
-- rlib/rstruct/test/test_ieee.py
-- rlib/rstruct/test/test_pack.py
-- rlib/rstruct/test/test_runpack.py
-- rlib/rvmprof/test/test_file.py
-- rlib/rvmprof/test/test_rvmprof.py
-- rlib/rvmprof/test/test_support.py
-- rlib/rvmprof/test/test_traceback.py
-- rlib/rvmprof/test/test_ztranslation.py
-- rlib/test/test__jit_vref.py
-- rlib/test/test_buffer.py
-- rlib/test/test_cache.py
-- rlib/test/test_clibffi.py
-- rlib/test/test_compilerinfo.py
-- rlib/test/test_debug.py
-- rlib/test/test_jit.py
-- rlib/test/test_jit_libffi.py
-- rlib/test/test_libffi.py
-- rlib/test/test_listsort.py
-- rlib/test/test_longlong2float.py
-- rlib/test/test_mutbuffer.py
-- rlib/test/test_nonconst.py
-- rlib/test/test_objectmodel.py
-- rlib/test/test_posix.py
-- rlib/test/test_rStringIO.py
-- rlib/test/test_rarithmetic.py
-- rlib/test/test_rawrefcount.py
-- rlib/test/test_rawrefcount_boehm.py
-- rlib/test/test_rawstorage.py
-- rlib/test/test_rbigint.py
-- rlib/test/test_rbisect.py
-- rlib/test/test_rcomplex.py
-- rlib/test/test_rdtoa.py
-- rlib/test/test_rdynload.py
-- rlib/test/test_rerased.py
-- rlib/test/test_rfile.py
-- rlib/test/test_rfloat.py
-- rlib/test/test_rgc.py
-- rlib/test/test_rgil.py
-- rlib/test/test_rlocale.py
-- rlib/test/test_rmarshal.py
-- rlib/test/test_rmd5.py
-- rlib/test/test_rmmap.py
-- rlib/test/test_rope.py
-- rlib/test/test_rpath.py
-- rlib/test/test_rpoll.py
-- rlib/test/test_rposix.py
-- rlib/test/test_rposix_environ.py
-- rlib/test/test_rposix_scandir.py
-- rlib/test/test_rposix_stat.py
-- rlib/test/test_rrandom.py
-- rlib/test/test_rrawarray.py
-- rlib/test/test_rsha.py
-- rlib/test/test_rshrinklist.py
-- rlib/test/test_rsignal.py
-- rlib/test/test_rsiphash.py
-- rlib/test/test_rsocket.py
-- rlib/test/test_rstacklet.py
-- rlib/test/test_rstackovf.py
-- rlib/test/test_rstring.py
-- rlib/test/test_rtermios.py
-- rlib/test/test_rthread.py
-- rlib/test/test_rtime.py
-- rlib/test/test_rtimer.py
-- rlib/test/test_runicode.py
-- rlib/test/test_rurandom.py
-- rlib/test/test_rutf8.py
-- rlib/test/test_rweakkeydict.py
-- rlib/test/test_rweaklist.py
-- rlib/test/test_rweakref.py
-- rlib/test/test_rweakvaldict.py
-- rlib/test/test_rwin32.py
-- rlib/test/test_rzipfile.py
-- rlib/test/test_rzlib.py
-- rlib/test/test_signature.py
-- rlib/test/test_streamio.py
-- rlib/test/test_z3.py
-- rlib/unicodedata/test/test_codegen.py
-- rlib/unicodedata/test/test_dawg.py
-- rlib/unicodedata/test/test_ucd.py
-- rlib/unicodedata/test/test_unicodedata.py
-- rtyper/lltypesystem/module/test
-- rtyper/lltypesystem/test
-- rtyper/test
-- rtyper/tool/test
-- tool/algo/test
-- tool/cparser/test
-- tool/jitlogparser/test
-- tool/pytest/test
-- tool/test
-- translator/backendopt/test
-- translator/c/test/test_backendoptimized.py
-- translator/c/test/test_boehm.py
-- translator/c/test/test_database.py
-- translator/c/test/test_exception.py
-- translator/c/test/test_extfunc.py
-- translator/c/test/test_genc.py
-- translator/c/test/test_lladdresses.py
-- translator/c/test/test_llop.py
-- translator/c/test/test_lltyped.py
-- translator/c/test/test_math.py
-- translator/c/test/test_newgc.py
-- translator/c/test/test_refcount.py
-- translator/c/test/test_rtagged.py
-- translator/c/test/test_standalone.py
-- translator/c/test/test_standalone_print_function.py
-- translator/c/test/test_support.py
-- translator/c/test/test_symbolic.py
-- translator/c/test/test_typed.py
-- translator/platform/arch/test
-- translator/platform/test
-- translator/sandbox/test
-- translator/test
-- translator/tool/test
-- total: 322 to run
++ 23:30:17 starting annotator/test [1 started in total]
++ 23:30:17 starting config/test [2 started in total]
++ 23:30:17 starting flowspace/test [3 started in total]
++ 23:30:17 starting jit/backend/aarch64/test/test_basic.py [4 started in total]
__ flowspace/test [1 done in total, somefailed=False] _________________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 162 items
flowspace/test/test_argument.py .....
flowspace/test/test_checkgraph.py ........
flowspace/test/test_flowcontext.py .....
flowspace/test/test_framestate.py ..........
flowspace/test/test_generator.py .....
flowspace/test/test_model.py .........
flowspace/test/test_objspace.py .............................................................xx...................xx..x................
flowspace/test/test_objspace_py2.py ....
flowspace/test/test_print_function.py .........
flowspace/test/test_unroll.py ....
==================== 157 passed, 5 xfailed in 4.80 seconds =====================
++ 23:30:22 starting jit/backend/aarch64/test/test_call.py [5 started in total]
__ jit/backend/aarch64/test/test_call.py [2 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:23 starting jit/backend/aarch64/test/test_calling_convention.py [6 started in total]
__ config/test [3 done in total, somefailed=False] ____________________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 43 items
config/test/test_config.py ....................................
config/test/test_parse.py ..
config/test/test_support.py .ss
config/test/test_translationoption.py ..
===================== 41 passed, 2 skipped in 5.62 seconds =====================
++ 23:30:23 starting jit/backend/aarch64/test/test_del.py [7 started in total]
__ jit/backend/aarch64/test/test_basic.py [4 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:23 starting jit/backend/aarch64/test/test_dict.py [8 started in total]
__ jit/backend/aarch64/test/test_del.py [5 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:25 starting jit/backend/aarch64/test/test_exception.py [9 started in total]
__ jit/backend/aarch64/test/test_calling_convention.py [6 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:25 starting jit/backend/aarch64/test/test_fficall.py [10 started in total]
__ jit/backend/aarch64/test/test_dict.py [7 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:25 starting jit/backend/aarch64/test/test_float.py [11 started in total]
__ jit/backend/aarch64/test/test_exception.py [8 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:26 starting jit/backend/aarch64/test/test_instr_builder.py [12 started in total]
__ jit/backend/aarch64/test/test_fficall.py [9 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:27 starting jit/backend/aarch64/test/test_jitlog.py [13 started in total]
__ jit/backend/aarch64/test/test_instr_builder.py [10 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:27 starting jit/backend/aarch64/test/test_list.py [14 started in total]
__ jit/backend/aarch64/test/test_float.py [11 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:27 starting jit/backend/aarch64/test/test_llop.py [15 started in total]
__ jit/backend/aarch64/test/test_llop.py [12 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:28 starting jit/backend/aarch64/test/test_loop_unroll.py [16 started in total]
__ jit/backend/aarch64/test/test_jitlog.py [13 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:28 starting jit/backend/aarch64/test/test_quasiimmut.py [17 started in total]
__ jit/backend/aarch64/test/test_list.py [14 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:28 starting jit/backend/aarch64/test/test_rawmem.py [18 started in total]
__ jit/backend/aarch64/test/test_loop_unroll.py [15 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:29 starting jit/backend/aarch64/test/test_recursive.py [19 started in total]
__ jit/backend/aarch64/test/test_quasiimmut.py [16 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:30 starting jit/backend/aarch64/test/test_runner.py [20 started in total]
__ jit/backend/aarch64/test/test_rawmem.py [17 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:30 starting jit/backend/aarch64/test/test_rvmprof.py [21 started in total]
__ jit/backend/aarch64/test/test_recursive.py [18 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:30 starting jit/backend/aarch64/test/test_send.py [22 started in total]
__ jit/backend/aarch64/test/test_runner.py [19 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:32 starting jit/backend/aarch64/test/test_slist.py [23 started in total]
__ jit/backend/aarch64/test/test_rvmprof.py [20 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:32 starting jit/backend/aarch64/test/test_string.py [24 started in total]
__ jit/backend/aarch64/test/test_send.py [21 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:32 starting jit/backend/aarch64/test/test_tl.py [25 started in total]
__ jit/backend/aarch64/test/test_slist.py [22 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:34 starting jit/backend/aarch64/test/test_tlc.py [26 started in total]
__ jit/backend/aarch64/test/test_string.py [23 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:34 starting jit/backend/aarch64/test/test_virtual.py [27 started in total]
__ jit/backend/aarch64/test/test_tl.py [24 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:34 starting jit/backend/aarch64/test/test_virtualizable.py [28 started in total]
__ jit/backend/aarch64/test/test_tlc.py [25 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:35 starting jit/backend/aarch64/test/test_virtualref.py [29 started in total]
__ jit/backend/aarch64/test/test_virtual.py [26 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:35 starting jit/backend/aarch64/test/test_zrpy_gc.py [30 started in total]
__ jit/backend/aarch64/test/test_virtualizable.py [27 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:35 starting jit/backend/aarch64/test/test_zrpy_gc_boehm.py [31 started in total]
__ jit/backend/aarch64/test/test_virtualref.py [28 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:37 starting jit/backend/aarch64/test/test_zrpy_releasegil.py [32 started in total]
__ jit/backend/aarch64/test/test_zrpy_gc.py [29 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:37 starting jit/backend/aarch64/test/test_zrpy_vmprof.py [33 started in total]
__ jit/backend/aarch64/test/test_zrpy_gc_boehm.py [30 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:37 starting jit/backend/aarch64/test/test_ztranslation_basic.py [34 started in total]
__ jit/backend/aarch64/test/test_zrpy_releasegil.py [31 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:39 starting jit/backend/aarch64/test/test_ztranslation_call_assembler.py [35 started in total]
__ jit/backend/aarch64/test/test_zrpy_vmprof.py [32 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:39 starting jit/backend/aarch64/test/test_ztranslation_jit_stats.py [36 started in total]
__ jit/backend/aarch64/test/test_ztranslation_basic.py [33 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:39 starting jit/backend/arm/test [37 started in total]
__ jit/backend/aarch64/test/test_ztranslation_call_assembler.py [34 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:41 starting jit/backend/llgraph/test [38 started in total]
__ jit/backend/aarch64/test/test_ztranslation_jit_stats.py [35 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:30:41 starting jit/backend/llsupport/test [39 started in total]
__ jit/backend/arm/test [36 done in total, somefailed=False] __________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
========================= no tests ran in 0.00 seconds =========================
++ 23:30:41 starting jit/backend/ppc/test [40 started in total]
__ jit/backend/ppc/test [37 done in total, somefailed=False] __________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
========================= no tests ran in 0.00 seconds =========================
++ 23:30:42 starting jit/backend/riscv/test [41 started in total]
__ jit/backend/riscv/test [38 done in total, somefailed=False] ________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
========================= no tests ran in 0.00 seconds =========================
++ 23:30:43 starting jit/backend/test [42 started in total]
__ annotator/test [39 done in total, somefailed=False] ________________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.py
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 697 items
annotator/test/test_annrpython.py ......................................................................................x..........................................................................................................................................x........................................................................................Xx.............
annotator/test/test_annrpython_py2.py ...
annotator/test/test_annsimplifyrpython.py ......................................................................................x..........................................................................................................................................x........................................................................................XX................
annotator/test/test_argument.py ......
annotator/test/test_description.py ...
annotator/test/test_model.py ..........x.x..........
annotator/test/test_signature.py .
============== 687 passed, 7 xfailed, 3 xpassed in 26.65 seconds ===============
++ 23:30:44 starting jit/backend/x86/test/test_assembler.py [43 started in total]
__ jit/backend/llgraph/test [40 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 156 items
jit/backend/llgraph/test/test_llgraph.py ss...............................................................................sss..........s.sssss......s.............ss..s.....s.........s.....s........
==================== 138 passed, 18 skipped in 2.64 seconds ====================
++ 23:30:45 starting jit/backend/x86/test/test_basic.py [44 started in total]
__ jit/backend/x86/test/test_assembler.py [41 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/backend/x86/test/test_assembler.py ...
=========================== 3 passed in 0.71 seconds ===========================
++ 23:30:47 starting jit/backend/x86/test/test_call.py [45 started in total]
__ jit/backend/x86/test/test_call.py [42 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
jit/backend/x86/test/test_call.py ................
========================== 16 passed in 5.50 seconds ===========================
++ 23:30:54 starting jit/backend/x86/test/test_callbuilder.py [46 started in total]
__ jit/backend/x86/test/test_callbuilder.py [43 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit/backend/x86/test/test_callbuilder.py ..
=========================== 2 passed in 0.07 seconds ===========================
++ 23:30:56 starting jit/backend/x86/test/test_calling_convention.py [47 started in total]
__ jit/backend/x86/test/test_calling_convention.py [44 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit/backend/x86/test/test_calling_convention.py .......
========================== 7 passed in 39.97 seconds ===========================
++ 23:31:40 starting jit/backend/x86/test/test_del.py [48 started in total]
__ jit/backend/x86/test/test_del.py [45 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/backend/x86/test/test_del.py ...
=========================== 3 passed in 1.43 seconds ===========================
++ 23:31:43 starting jit/backend/x86/test/test_dict.py [49 started in total]
__ jit/backend/x86/test/test_basic.py [46 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 194 items
jit/backend/x86/test/test_basic.py .s...........................................................................................................................................s................s..............s...........s........
==================== 189 passed, 5 skipped in 93.06 seconds ====================
++ 23:32:27 starting jit/backend/x86/test/test_exception.py [50 started in total]
__ jit/backend/x86/test/test_dict.py [47 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
jit/backend/x86/test/test_dict.py ....................
========================== 20 passed in 46.04 seconds ==========================
++ 23:32:34 starting jit/backend/x86/test/test_fficall.py [51 started in total]
__ jit/backend/x86/test/test_exception.py [48 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 32 items
jit/backend/x86/test/test_exception.py s...............................
===================== 31 passed, 1 skipped in 9.56 seconds =====================
++ 23:32:39 starting jit/backend/x86/test/test_float.py [52 started in total]
__ jit/backend/x86/test/test_float.py [49 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
jit/backend/x86/test/test_float.py ..........
========================== 10 passed in 3.46 seconds ===========================
++ 23:32:44 starting jit/backend/x86/test/test_jitlog.py [53 started in total]
__ jit/backend/x86/test/test_fficall.py [50 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
jit/backend/x86/test/test_fficall.py ...s........
==================== 11 passed, 1 skipped in 14.27 seconds =====================
++ 23:32:52 starting jit/backend/x86/test/test_jump.py [54 started in total]
__ jit/backend/x86/test/test_jump.py [51 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
jit/backend/x86/test/test_jump.py ............
========================== 12 passed in 5.68 seconds ===========================
++ 23:32:58 starting jit/backend/x86/test/test_list.py [55 started in total]
__ jit/backend/x86/test/test_jitlog.py [52 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/backend/x86/test/test_jitlog.py ...
========================== 3 passed in 14.35 seconds ===========================
++ 23:33:02 starting jit/backend/x86/test/test_llop.py [56 started in total]
__ jit/backend/x86/test/test_llop.py [53 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit/backend/x86/test/test_llop.py .....
=========================== 5 passed in 2.75 seconds ===========================
++ 23:33:06 starting jit/backend/x86/test/test_longlong.py [57 started in total]
__ jit/backend/x86/test/test_longlong.py [54 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
jit/backend/x86/test/test_longlong.py ssssssssssssss
========================== 14 skipped in 0.19 seconds ==========================
++ 23:33:08 starting jit/backend/x86/test/test_loop_unroll.py [58 started in total]
__ jit/backend/x86/test/test_list.py [55 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
jit/backend/x86/test/test_list.py ...s...................
===================== 22 passed, 1 skipped in 9.95 seconds =====================
++ 23:33:11 starting jit/backend/x86/test/test_quasiimmut.py [59 started in total]
__ jit/backend/x86/test/test_quasiimmut.py [56 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
jit/backend/x86/test/test_quasiimmut.py ..............s.....
===================== 19 passed, 1 skipped in 6.62 seconds =====================
++ 23:33:19 starting jit/backend/x86/test/test_rawmem.py [60 started in total]
__ jit/backend/x86/test/test_rawmem.py [57 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit/backend/x86/test/test_rawmem.py .......
=========================== 7 passed in 2.17 seconds ===========================
++ 23:33:22 starting jit/backend/x86/test/test_recursive.py [61 started in total]
__ jit/backend/x86/test/test_loop_unroll.py [58 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit/backend/x86/test/test_loop_unroll.py ..............................ss.s...
==================== 34 passed, 3 skipped in 24.55 seconds =====================
++ 23:33:36 starting jit/backend/x86/test/test_regalloc.py [62 started in total]
__ jit/backend/x86/test/test_regalloc.py [59 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 19 items
jit/backend/x86/test/test_regalloc.py ....s........s.....
===================== 17 passed, 2 skipped in 0.92 seconds =====================
++ 23:33:38 starting jit/backend/x86/test/test_regloc.py [63 started in total]
__ jit/backend/x86/test/test_regloc.py [60 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
jit/backend/x86/test/test_regloc.py .......................s.
===================== 24 passed, 1 skipped in 0.14 seconds =====================
++ 23:33:40 starting jit/backend/x86/test/test_runner.py [64 started in total]
__ jit/backend/x86/test/test_recursive.py [61 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
jit/backend/x86/test/test_recursive.py ................s........s................
==================== 40 passed, 2 skipped in 58.35 seconds =====================
++ 23:34:28 starting jit/backend/x86/test/test_rvmprof.py [65 started in total]
__ jit/backend/x86/test/test_rvmprof.py [62 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/backend/x86/test/test_rvmprof.py ...
=========================== 3 passed in 3.76 seconds ===========================
++ 23:34:34 starting jit/backend/x86/test/test_rx86.py [66 started in total]
__ jit/backend/x86/test/test_rx86.py [63 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 34 items
jit/backend/x86/test/test_rx86.py ..................................
========================== 34 passed in 0.06 seconds ===========================
++ 23:34:35 starting jit/backend/x86/test/test_rx86_32_auto_encoding.py [67 started in total]
__ jit/backend/test [64 done in total, somefailed=False] ______________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
jit/backend/test/test_detect_cpu.py .....
jit/backend/test/test_ll_random.py .
jit/backend/test/test_model.py .
jit/backend/test/test_random.py .
jit/backend/test/test_zll_stress_0.py .
jit/backend/test/test_zll_stress_1.py .
jit/backend/test/test_zll_stress_2.py .
jit/backend/test/test_zll_stress_3.py .
========================= 12 passed in 229.85 seconds ==========================
++ 23:34:42 starting jit/backend/x86/test/test_rx86_64_auto_encoding.py [68 started in total]
__ jit/backend/x86/test/test_runner.py [65 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
[c5b026b37057a80] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca55000 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA00000008F45188F45084889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3
[c5b026b37131680] jit-backend-dump}
[c5b026b37481b00] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca55090 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA000000049BB28BE685E057F0000498B1B49C743F80000000049C7030000000048895D288F45188F45084889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3
[c5b026b3757a780] jit-backend-dump}
[c5b026b37f24380] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca55130 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA0000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B518010000488B7424104889EF4883EC0849BB28BE685E057F0000498B0B48894D28498B5BF849C743F80000000049C703000000004D8D9BE8216B0441FFD34889C5488B4D2848C745280000000049BB28BE685E057F000049890B49895BF84883C40848C7451800000000488B4D40488B4548488B5550488B5D58488B7560488B7D684C8B45704C8B4D784C8B95800000004C8BA5880000004C8BAD900000004C8BB5980000004C8BBDA0000000F20F1085A8000000F20F108DB0000000F20F1095B8000000F20F109DC0000000F20F10A5C8000000F20F10ADD0000000F20F10B5D8000000F20F10BDE0000000F2440F1085E8000000F2440F108DF0000000F2440F1095F8000000F2440F109D00010000F2440F10A508010000F2440F10AD10010000F2440F10B518010000C3
[c5b026b38228b00] jit-backend-dump}
[c5b026b386e0700] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca55330 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA0000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B5180100008F45188F45084889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3
[c5b026b3886f780] jit-backend-dump}
[c5b026b38ddc800] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca55430 +0 48894D40488945484889555048895D584889756048897D684C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA0000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B51801000049BB28BE685E057F0000498B1B49C743F80000000049C7030000000048895D288F45188F45084889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3
[c5b026b38f94b80] jit-backend-dump}
[c5b026b3918ae80] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca55560 +0 49BB28BE685E057F0000498B0349C743F80000000049C703000000004889452848C74508000000004889E84C8BBC24880000004C8BB424800000004C8B6C24784C8B642470488B5C2468488B6C24604881C4B8000000C3
[c5b026b3921ff80] jit-backend-dump}
[c5b026b394a7100] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca555c0 +0 48895D584C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA00000004883EC08FFD04883C40848C7451800000000488B4D40488B5550488B5D58488B7560488B7D684C8B45704C8B4D784C8B95800000004C8BA5880000004C8BAD900000004C8BB5980000004C8BBDA0000000C3
[c5b026b3957a400] jit-backend-dump}
[c5b026b396e5080] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca55650 +0 4C8945704C894D784C8995800000004883EC08FFD04883C40848C7451800000000488B4D40488B5550488B7560488B7D684C8B45704C8B4D784C8B9580000000C3
[c5b026b39759200] jit-backend-dump}
[c5b026b39e7a680] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca556a0 +0 48895D584C8945704C894D784C8995800000004C89A5880000004C89AD900000004C89B5980000004C89BDA0000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B5180100004883EC08FFD04883C40848C7451800000000488B4D40488B5550488B5D58488B7560488B7D684C8B45704C8B4D784C8B95800000004C8BA5880000004C8BAD900000004C8BB5980000004C8BBDA0000000F20F1085A8000000F20F108DB0000000F20F1095B8000000F20F109DC0000000F20F10A5C8000000F20F10ADD0000000F20F10B5D8000000F20F10BDE0000000F2440F1085E8000000F2440F108DF0000000F2440F1095F8000000F2440F109D00010000F2440F10A508010000F2440F10AD10010000F2440F10B518010000C3
[c5b026b3a0d4980] jit-backend-dump}
[c5b026b3a6e5500] {jit-backend-dump
BACKEND x86_64
SYS_EXECUTABLE ??
CODE_DUMP @7f055ca55830 +0 4C8945704C894D784C899580000000F20F1185A8000000F20F118DB0000000F20F1195B8000000F20F119DC0000000F20F11A5C8000000F20F11ADD0000000F20F11B5D8000000F20F11BDE0000000F2440F1185E8000000F2440F118DF0000000F2440F1195F8000000F2440F119D00010000F2440F11A508010000F2440F11AD10010000F2440F11B5180100004883EC08FFD04883C40848C7451800000000488B4D40488B5550488B7560488B7D684C8B45704C8B4D784C8B9580000000F20F1085A8000000F20F108DB0000000F20F1095B8000000F20F109DC0000000F20F10A5C8000000F20F10ADD0000000F20F10B5D8000000F20F10BDE0000000F2440F1085E8000000F2440F108DF0000000F2440F1095F8000000F2440F109D00010000F2440F10A508010000F2440F10AD10010000F2440F10B518010000C3
[c5b026b3a8e3580] jit-backend-dump}
collected 172 items
jit/backend/x86/test/test_runner.py ............................................................................................s...read saved errno: 24
read saved errno: 0
read saved errno: 25
read saved errno: 0
.ss.....................ss...........................sssss....s....s....s.s.
=================== 158 passed, 14 skipped in 135.16 seconds ===================
++ 23:35:58 starting jit/backend/x86/test/test_send.py [69 started in total]
__ jit/backend/x86/test/test_send.py [66 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
jit/backend/x86/test/test_send.py .......................
========================== 23 passed in 11.82 seconds ==========================
++ 23:36:12 starting jit/backend/x86/test/test_slist.py [70 started in total]
__ jit/backend/x86/test/test_slist.py [67 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
jit/backend/x86/test/test_slist.py s.....
===================== 5 passed, 1 skipped in 2.68 seconds ======================
++ 23:36:16 starting jit/backend/x86/test/test_string.py [71 started in total]
__ jit/backend/x86/test/test_rx86_32_auto_encoding.py [68 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 615 items
jit/backend/x86/test/test_rx86_32_auto_encoding.py ..................................................s...................................................................................s..s....................................................................................................................s........................................................................................................................................................................................................................................................................................................................................................................
=================== 611 passed, 4 skipped in 138.25 seconds ====================
++ 23:37:00 starting jit/backend/x86/test/test_symbolic_x86.py [72 started in total]
__ jit/backend/x86/test/test_symbolic_x86.py [69 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
jit/backend/x86/test/test_symbolic_x86.py ......
=========================== 6 passed in 0.04 seconds ===========================
++ 23:37:02 starting jit/backend/x86/test/test_tl.py [73 started in total]
__ jit/backend/x86/test/test_string.py [70 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 97 items
jit/backend/x86/test/test_string.py .............................s............................................s......................
==================== 95 passed, 2 skipped in 47.94 seconds =====================
++ 23:37:08 starting jit/backend/x86/test/test_tlc.py [74 started in total]
__ jit/backend/x86/test/test_tl.py [71 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit/backend/x86/test/test_tl.py .....
=========================== 5 passed in 6.95 seconds ===========================
++ 23:37:10 starting jit/backend/x86/test/test_tracelimit.py [75 started in total]
__ jit/backend/x86/test/test_tlc.py [72 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/backend/x86/test/test_tlc.py ss.
===================== 1 passed, 2 skipped in 3.16 seconds ======================
++ 23:37:12 starting jit/backend/x86/test/test_virtual.py [76 started in total]
__ jit/backend/x86/test/test_rx86_64_auto_encoding.py [73 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 616 items
jit/backend/x86/test/test_rx86_64_auto_encoding.py ..................................................s...................................................................................s..s....................................................................................................................s.........................................................................................................................................................................................................................................................................................................................................................................
=================== 612 passed, 4 skipped in 154.10 seconds ====================
++ 23:37:21 starting jit/backend/x86/test/test_virtualizable.py [77 started in total]
__ jit/backend/llsupport/test [74 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 420 items
jit/backend/llsupport/test/test_asmmemmgr.py ...........s...
jit/backend/llsupport/test/test_codemap.py ..
jit/backend/llsupport/test/test_descr.py ....s....s............
jit/backend/llsupport/test/test_ffisupport.py .
jit/backend/llsupport/test/test_gc.py .............
jit/backend/llsupport/test/test_gc_integration.py ..............s......
jit/backend/llsupport/test/test_gcreftracer.py ...
jit/backend/llsupport/test/test_recompilation.py .....
jit/backend/llsupport/test/test_regalloc.py ...............................................s.
jit/backend/llsupport/test/test_regalloc_integration.py ...........................ssssss
jit/backend/llsupport/test/test_rewrite.py ...........................................................................................
jit/backend/llsupport/test/test_runner.py ssssssssssssss.sssssssssssssssss.ss..sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss..sssssss.s.s.s.s.ssssssssssssssssssssssssssssssssssss
jit/backend/llsupport/test/test_skiplist.py .
jit/backend/llsupport/test/test_symbolic.py ......
jit/backend/llsupport/test/test_zrpy_gc_direct.py ..
================== 264 passed, 156 skipped in 403.00 seconds ===================
++ 23:37:32 starting jit/backend/x86/test/test_virtualref.py [78 started in total]
__ jit/backend/x86/test/test_virtual.py [75 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 52 items
jit/backend/x86/test/test_virtual.py ....................................................
========================== 52 passed in 19.92 seconds ==========================
++ 23:37:36 starting jit/backend/x86/test/test_x86vector.py [79 started in total]
__ jit/backend/x86/test/test_virtualref.py [76 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
jit/backend/x86/test/test_virtualref.py ..s..................
===================== 20 passed, 1 skipped in 8.60 seconds =====================
++ 23:37:42 starting jit/backend/x86/test/test_zmath.py [80 started in total]
__ jit/backend/x86/test/test_virtualizable.py [77 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit/backend/x86/test/test_virtualizable.py s...x................................
=============== 35 passed, 1 skipped, 1 xfailed in 23.92 seconds ===============
++ 23:37:49 starting jit/backend/x86/test/test_zrpy_gc.py [81 started in total]
__ jit/backend/x86/test/test_zmath.py [78 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/backend/x86/test/test_zmath.py .
=========================== 1 passed in 7.65 seconds ===========================
++ 23:37:52 starting jit/backend/x86/test/test_zrpy_gc_boehm.py [82 started in total]
__ jit/backend/x86/test/test_tracelimit.py [79 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit/backend/x86/test/test_tracelimit.py .....
========================== 5 passed in 57.81 seconds ===========================
++ 23:38:16 starting jit/backend/x86/test/test_zrpy_releasegil.py [83 started in total]
__ jit/backend/x86/test/test_zrpy_gc_boehm.py [80 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/backend/x86/test/test_zrpy_gc_boehm.py .
========================== 1 passed in 262.20 seconds ==========================
++ 23:42:20 starting jit/backend/x86/test/test_zrpy_vecopt.py [84 started in total]
__ jit/backend/x86/test/test_x86vector.py [81 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 94 items
jit/backend/x86/test/test_x86vector.py ..............................................................................................
========================= 94 passed in 391.37 seconds ==========================
++ 23:44:13 starting jit/backend/x86/test/test_zrpy_vmprof.py [85 started in total]
__ jit/backend/x86/test/test_zrpy_gc.py [82 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 19 items
jit/backend/x86/test/test_zrpy_gc.py ...................
========================= 19 passed in 389.87 seconds ==========================
++ 23:44:26 starting jit/backend/x86/test/test_ztranslation_basic.py [86 started in total]
__ jit/backend/x86/test/test_zrpy_releasegil.py [83 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/backend/x86/test/test_zrpy_releasegil.py ...
========================== 3 passed in 367.92 seconds ==========================
++ 23:44:32 starting jit/backend/x86/test/test_ztranslation_call_assembler.py [87 started in total]
__ jit/backend/x86/test/test_zrpy_vecopt.py [84 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/backend/x86/test/test_zrpy_vecopt.py .
========================== 1 passed in 145.89 seconds ==========================
++ 23:44:52 starting jit/backend/x86/test/test_ztranslation_external_exception.py [88 started in total]
__ jit/backend/x86/test/test_ztranslation_call_assembler.py [85 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/backend/x86/test/test_ztranslation_call_assembler.py .
========================== 1 passed in 257.41 seconds ==========================
++ 23:48:59 starting jit/backend/x86/test/test_ztranslation_jit_stats.py [89 started in total]
__ jit/backend/x86/test/test_ztranslation_basic.py [86 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/backend/x86/test/test_ztranslation_basic.py .
========================== 1 passed in 265.54 seconds ==========================
++ 23:49:01 starting jit/backend/x86/tool/test/test_viewcode.py [90 started in total]
__ jit/backend/x86/tool/test/test_viewcode.py [87 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/backend/x86/tool/test/test_viewcode.py ...
=========================== 3 passed in 0.01 seconds ===========================
++ 23:49:03 starting jit/backend/zarch/test [91 started in total]
__ jit/backend/zarch/test [88 done in total, somefailed=False] ________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
========================= no tests ran in 0.00 seconds =========================
++ 23:49:04 starting jit/codewriter/test [92 started in total]
__ jit/codewriter/test [89 done in total, somefailed=False] ___________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 530 items
jit/codewriter/test/test_assembler.py ...s..........
jit/codewriter/test/test_call.py .......s.......
jit/codewriter/test/test_codewriter.py .......
jit/codewriter/test/test_effectinfo.py ............
jit/codewriter/test/test_flatten.py ..................................................
jit/codewriter/test/test_format.py ............
jit/codewriter/test/test_jitcode.py .
jit/codewriter/test/test_jtransform.py ..............................................................................................................................................................................................................................................................................................................................................
jit/codewriter/test/test_list.py .............
jit/codewriter/test/test_liveness.py ................
jit/codewriter/test/test_longlong.py .ssssssss
jit/codewriter/test/test_policy.py ...........
jit/codewriter/test/test_regalloc.py ............
jit/codewriter/test/test_support.py ...........
jit/codewriter/test/test_void_list.py .............
==================== 520 passed, 10 skipped in 6.13 seconds ====================
++ 23:49:11 starting jit/metainterp/optimizeopt/test/test_costmodel.py [93 started in total]
__ jit/metainterp/optimizeopt/test/test_costmodel.py [90 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit/metainterp/optimizeopt/test/test_costmodel.py ...........
========================== 11 passed in 0.69 seconds ===========================
++ 23:49:13 starting jit/metainterp/optimizeopt/test/test_dependency.py [94 started in total]
__ jit/metainterp/optimizeopt/test/test_dependency.py [91 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 36 items
jit/metainterp/optimizeopt/test/test_dependency.py ....................................
========================== 36 passed in 0.66 seconds ===========================
++ 23:49:15 starting jit/metainterp/optimizeopt/test/test_guard.py [95 started in total]
__ jit/metainterp/optimizeopt/test/test_guard.py [92 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit/metainterp/optimizeopt/test/test_guard.py .......
=========================== 7 passed in 0.66 seconds ===========================
++ 23:49:16 starting jit/metainterp/optimizeopt/test/test_intbound.py [96 started in total]
__ jit/backend/x86/test/test_zrpy_vmprof.py [93 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/backend/x86/test/test_zrpy_vmprof.py .
========================== 1 passed in 331.45 seconds ==========================
++ 23:49:52 starting jit/metainterp/optimizeopt/test/test_intdiv.py [97 started in total]
__ jit/metainterp/optimizeopt/test/test_intdiv.py [94 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/metainterp/optimizeopt/test/test_intdiv.py ...
=========================== 3 passed in 1.13 seconds ===========================
++ 23:49:55 starting jit/metainterp/optimizeopt/test/test_optimizebasic.py [98 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizebasic.py [95 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 136 items
jit/metainterp/optimizeopt/test/test_optimizebasic.py ............................................x.........................................................x..............x..................
==================== 133 passed, 3 xfailed in 2.00 seconds =====================
++ 23:49:58 starting jit/metainterp/optimizeopt/test/test_optimizebridge.py [99 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizebridge.py [96 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
jit/metainterp/optimizeopt/test/test_optimizebridge.py ....
=========================== 4 passed in 0.73 seconds ===========================
++ 23:50:00 starting jit/metainterp/optimizeopt/test/test_optimizeheap.py [100 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizeheap.py [97 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 111 items
jit/metainterp/optimizeopt/test/test_optimizeheap.py ..........................................x......................x.............................................
==================== 109 passed, 2 xfailed in 1.41 seconds =====================
++ 23:50:03 starting jit/metainterp/optimizeopt/test/test_optimizeintbound.py [101 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizeintbound.py [98 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 201 items
jit/metainterp/optimizeopt/test/test_optimizeintbound.py .........................................................................................................................................................................................................
========================== 201 passed in 2.29 seconds ==========================
++ 23:50:06 starting jit/metainterp/optimizeopt/test/test_optimizeopt.py [102 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizeopt.py [99 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 417 items
jit/metainterp/optimizeopt/test/test_optimizeopt.py ......................................................................................................................x..............................................................................................x..............x..............................................................................................................x.....x.....x....................................x............................
==================== 410 passed, 7 xfailed in 5.70 seconds =====================
++ 23:50:13 starting jit/metainterp/optimizeopt/test/test_rawbuffer.py [103 started in total]
__ jit/metainterp/optimizeopt/test/test_rawbuffer.py [100 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit/metainterp/optimizeopt/test/test_rawbuffer.py .......
=========================== 7 passed in 0.56 seconds ===========================
++ 23:50:15 starting jit/metainterp/optimizeopt/test/test_schedule.py [104 started in total]
__ jit/metainterp/optimizeopt/test/test_schedule.py [101 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
jit/metainterp/optimizeopt/test/test_schedule.py .................
========================== 17 passed in 0.68 seconds ===========================
++ 23:50:16 starting jit/metainterp/optimizeopt/test/test_short.py [105 started in total]
__ jit/metainterp/optimizeopt/test/test_short.py [102 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit/metainterp/optimizeopt/test/test_short.py ..
=========================== 2 passed in 0.56 seconds ===========================
++ 23:50:18 starting jit/metainterp/optimizeopt/test/test_unroll.py [106 started in total]
__ jit/metainterp/optimizeopt/test/test_unroll.py [103 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
jit/metainterp/optimizeopt/test/test_unroll.py ............
========================== 12 passed in 0.73 seconds ===========================
++ 23:50:20 starting jit/metainterp/optimizeopt/test/test_util.py [107 started in total]
__ jit/metainterp/optimizeopt/test/test_util.py [104 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/metainterp/optimizeopt/test/test_util.py ...
=========================== 3 passed in 0.64 seconds ===========================
++ 23:50:21 starting jit/metainterp/optimizeopt/test/test_vecopt.py [108 started in total]
__ jit/metainterp/optimizeopt/test/test_vecopt.py [105 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 72 items
jit/metainterp/optimizeopt/test/test_vecopt.py ........................s...............................................
===================== 71 passed, 1 skipped in 0.95 seconds =====================
++ 23:50:23 starting jit/metainterp/optimizeopt/test/test_virtualstate.py [109 started in total]
__ jit/backend/x86/test/test_ztranslation_external_exception.py [106 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/backend/x86/test/test_ztranslation_external_exception.py .
========================== 1 passed in 325.94 seconds ==========================
++ 23:50:24 starting jit/metainterp/optimizeopt/test/test_z3checktests.py [110 started in total]
__ jit/metainterp/optimizeopt/test/test_virtualstate.py [107 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 49 items
jit/metainterp/optimizeopt/test/test_virtualstate.py ...........................................ssssss
===================== 43 passed, 6 skipped in 1.09 seconds =====================
++ 23:50:25 starting jit/metainterp/optimizeopt/test/test_z3intbound.py [111 started in total]
__ jit/metainterp/optimizeopt/test/test_z3checktests.py [108 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.63 seconds ===========================
++ 23:50:26 starting jit/metainterp/ruleopt/test/test_codegen.py [112 started in total]
__ jit/metainterp/optimizeopt/test/test_z3intbound.py [109 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.67 seconds ===========================
++ 23:50:27 starting jit/metainterp/ruleopt/test/test_parse.py [113 started in total]
__ jit/metainterp/ruleopt/test/test_codegen.py [110 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:50:27 starting jit/metainterp/ruleopt/test/test_prove.py [114 started in total]
__ jit/metainterp/ruleopt/test/test_parse.py [111 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:50:28 starting jit/metainterp/test/test_ajit.py [115 started in total]
__ jit/metainterp/ruleopt/test/test_prove.py [112 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 23:50:28 starting jit/metainterp/test/test_blackhole.py [116 started in total]
__ jit/metainterp/test/test_blackhole.py [113 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit/metainterp/test/test_blackhole.py ......xxx..
===================== 8 passed, 3 xfailed in 1.07 seconds ======================
++ 23:50:30 starting jit/metainterp/test/test_bridgeopt.py [117 started in total]
__ jit/metainterp/test/test_bridgeopt.py [114 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit/metainterp/test/test_bridgeopt.py ..........x
==================== 10 passed, 1 xfailed in 15.20 seconds =====================
++ 23:50:47 starting jit/metainterp/test/test_bytearray.py [118 started in total]
__ jit/metainterp/test/test_bytearray.py [115 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
jit/metainterp/test/test_bytearray.py ......s.
===================== 7 passed, 1 skipped in 1.79 seconds ======================
++ 23:50:49 starting jit/metainterp/test/test_call.py [119 started in total]
__ jit/metainterp/test/test_call.py [116 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
jit/metainterp/test/test_call.py ................
========================== 16 passed in 2.68 seconds ===========================
++ 23:50:53 starting jit/metainterp/test/test_compile.py [120 started in total]
__ jit/metainterp/test/test_compile.py [117 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit/metainterp/test/test_compile.py ..
=========================== 2 passed in 0.69 seconds ===========================
++ 23:50:55 starting jit/metainterp/test/test_counter.py [121 started in total]
__ jit/metainterp/test/test_counter.py [118 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit/metainterp/test/test_counter.py .......
=========================== 7 passed in 2.66 seconds ===========================
++ 23:50:58 starting jit/metainterp/test/test_del.py [122 started in total]
__ jit/metainterp/test/test_del.py [119 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/metainterp/test/test_del.py ...
=========================== 3 passed in 1.16 seconds ===========================
++ 23:51:00 starting jit/metainterp/test/test_dict.py [123 started in total]
__ jit/metainterp/optimizeopt/test/test_intbound.py [120 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 133 items
jit/metainterp/optimizeopt/test/test_intbound.py .....................................................................................................................................
========================= 133 passed in 108.45 seconds =========================
++ 23:51:13 starting jit/metainterp/test/test_exception.py [124 started in total]
__ jit/metainterp/test/test_exception.py [121 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 32 items
jit/metainterp/test/test_exception.py ................................
========================== 32 passed in 4.32 seconds ===========================
++ 23:51:18 starting jit/metainterp/test/test_executor.py [125 started in total]
__ jit/metainterp/test/test_executor.py [122 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit/metainterp/test/test_executor.py .......
=========================== 7 passed in 0.57 seconds ===========================
++ 23:51:20 starting jit/metainterp/test/test_fficall.py [126 started in total]
__ jit/metainterp/test/test_fficall.py [123 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
jit/metainterp/test/test_fficall.py ...s........s....
==================== 15 passed, 2 skipped in 11.17 seconds =====================
++ 23:51:32 starting jit/metainterp/test/test_float.py [127 started in total]
__ jit/metainterp/test/test_float.py [124 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
jit/metainterp/test/test_float.py ..........
========================== 10 passed in 1.53 seconds ===========================
++ 23:51:34 starting jit/metainterp/test/test_greenfield.py [128 started in total]
__ jit/metainterp/test/test_greenfield.py [125 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.62 seconds ===========================
++ 23:51:36 starting jit/metainterp/test/test_heapcache.py [129 started in total]
__ jit/metainterp/test/test_heapcache.py [126 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 44 items
jit/metainterp/test/test_heapcache.py ...............s.sss........................
===================== 40 passed, 4 skipped in 0.59 seconds =====================
++ 23:51:38 starting jit/metainterp/test/test_history.py [130 started in total]
__ jit/metainterp/test/test_history.py [127 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit/metainterp/test/test_history.py .......
=========================== 7 passed in 4.14 seconds ===========================
++ 23:51:44 starting jit/metainterp/test/test_immutable.py [131 started in total]
__ jit/metainterp/test/test_immutable.py [128 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
jit/metainterp/test/test_immutable.py ........
=========================== 8 passed in 3.21 seconds ===========================
++ 23:51:48 starting jit/metainterp/test/test_jitdriver.py [132 started in total]
__ jit/metainterp/test/test_jitdriver.py [129 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit/metainterp/test/test_jitdriver.py ....s..
===================== 6 passed, 1 skipped in 4.27 seconds ======================
++ 23:51:53 starting jit/metainterp/test/test_jitiface.py [133 started in total]
__ jit/metainterp/test/test_jitiface.py [130 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit/metainterp/test/test_jitiface.py ...........
========================== 11 passed in 2.33 seconds ===========================
++ 23:51:57 starting jit/metainterp/test/test_jitprof.py [134 started in total]
__ jit/metainterp/test/test_jitprof.py [131 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
jit/metainterp/test/test_jitprof.py s...
===================== 3 passed, 1 skipped in 1.17 seconds ======================
++ 23:51:59 starting jit/metainterp/test/test_list.py [135 started in total]
__ jit/metainterp/test/test_list.py [132 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 27 items
jit/metainterp/test/test_list.py ...s.......................
===================== 26 passed, 1 skipped in 7.61 seconds =====================
++ 23:52:08 starting jit/metainterp/test/test_llop.py [136 started in total]
__ jit/metainterp/test/test_llop.py [133 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit/metainterp/test/test_llop.py .....
=========================== 5 passed in 2.01 seconds ===========================
++ 23:52:11 starting jit/metainterp/test/test_logger.py [137 started in total]
__ jit/metainterp/test/test_logger.py [134 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
jit/metainterp/test/test_logger.py ................
========================== 16 passed in 0.58 seconds ===========================
++ 23:52:13 starting jit/metainterp/test/test_longlong.py [138 started in total]
__ jit/metainterp/test/test_longlong.py [135 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
jit/metainterp/test/test_longlong.py ssssssssssssss
========================== 14 skipped in 0.65 seconds ==========================
++ 23:52:15 starting jit/metainterp/test/test_loop.py [139 started in total]
__ jit/metainterp/test/test_ajit.py [136 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 223 items
jit/metainterp/test/test_ajit.py .............................................................................................................................................................s..............s...........s................................s.s...
=================== 218 passed, 5 skipped in 101.31 seconds ====================
++ 23:52:17 starting jit/metainterp/test/test_loop_unroll.py [140 started in total]
__ jit/metainterp/test/test_dict.py [137 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
jit/metainterp/test/test_dict.py ........................s.ss.....s......s.
==================== 37 passed, 5 skipped in 74.65 seconds =====================
++ 23:52:21 starting jit/metainterp/test/test_loop_unroll_disopt.py [141 started in total]
__ jit/metainterp/test/test_loop_unroll.py [138 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit/metainterp/test/test_loop_unroll.py ..............................ss.s...
==================== 34 passed, 3 skipped in 16.17 seconds =====================
++ 23:52:34 starting jit/metainterp/test/test_math.py [142 started in total]
__ jit/metainterp/test/test_loop.py [139 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit/metainterp/test/test_loop.py ..............................ss.s...
==================== 34 passed, 3 skipped in 18.15 seconds =====================
++ 23:52:35 starting jit/metainterp/test/test_memmgr.py [143 started in total]
__ jit/metainterp/test/test_math.py [140 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/metainterp/test/test_math.py .
=========================== 1 passed in 1.24 seconds ===========================
++ 23:52:36 starting jit/metainterp/test/test_opencoder.py [144 started in total]
__ jit/metainterp/test/test_opencoder.py [141 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit/metainterp/test/test_opencoder.py ...........
========================== 11 passed in 0.79 seconds ===========================
++ 23:52:38 starting jit/metainterp/test/test_pyjitpl.py [145 started in total]
__ jit/metainterp/test/test_pyjitpl.py [142 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/metainterp/test/test_pyjitpl.py s..
===================== 2 passed, 1 skipped in 0.60 seconds ======================
++ 23:52:40 starting jit/metainterp/test/test_quasiimmut.py [146 started in total]
__ jit/metainterp/test/test_quasiimmut.py [143 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
jit/metainterp/test/test_quasiimmut.py ...............s.....
===================== 20 passed, 1 skipped in 3.62 seconds =====================
++ 23:52:44 starting jit/metainterp/test/test_rawmem.py [147 started in total]
__ jit/metainterp/test/test_rawmem.py [144 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
jit/metainterp/test/test_rawmem.py ........
=========================== 8 passed in 1.64 seconds ===========================
++ 23:52:47 starting jit/metainterp/test/test_recursive.py [148 started in total]
__ jit/backend/x86/test/test_ztranslation_jit_stats.py [145 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit/backend/x86/test/test_ztranslation_jit_stats.py s.
==================== 1 passed, 1 skipped in 240.25 seconds =====================
++ 23:53:05 starting jit/metainterp/test/test_resoperation.py [149 started in total]
__ jit/metainterp/test/test_resoperation.py [146 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
jit/metainterp/test/test_resoperation.py ...............
========================== 15 passed in 0.60 seconds ===========================
++ 23:53:06 starting jit/metainterp/test/test_resume.py [150 started in total]
__ jit/metainterp/test/test_resume.py [147 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit/metainterp/test/test_resume.py ............................ss.......
===================== 35 passed, 2 skipped in 1.09 seconds =====================
++ 23:53:08 starting jit/metainterp/test/test_resumecode.py [151 started in total]
__ jit/metainterp/test/test_resumecode.py [148 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit/metainterp/test/test_resumecode.py .....
=========================== 5 passed in 1.81 seconds ===========================
++ 23:53:11 starting jit/metainterp/test/test_send.py [152 started in total]
__ jit/metainterp/test/test_memmgr.py [149 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/metainterp/test/test_memmgr.py .
========================== 1 passed in 38.59 seconds ===========================
++ 23:53:19 starting jit/metainterp/test/test_slist.py [153 started in total]
__ jit/metainterp/test/test_send.py [150 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 22 items
jit/metainterp/test/test_send.py ......................
========================== 22 passed in 7.11 seconds ===========================
++ 23:53:19 starting jit/metainterp/test/test_string.py [154 started in total]
__ jit/metainterp/test/test_slist.py [151 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
jit/metainterp/test/test_slist.py ......
=========================== 6 passed in 2.23 seconds ===========================
++ 23:53:22 starting jit/metainterp/test/test_support.py [155 started in total]
__ jit/metainterp/test/test_support.py [152 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit/metainterp/test/test_support.py .
=========================== 1 passed in 0.07 seconds ===========================
++ 23:53:23 starting jit/metainterp/test/test_threadlocal.py [156 started in total]
__ jit/metainterp/test/test_threadlocal.py [153 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit/metainterp/test/test_threadlocal.py ...
=========================== 3 passed in 1.00 seconds ===========================
++ 23:53:25 starting jit/metainterp/test/test_tl.py [157 started in total]
__ jit/metainterp/test/test_tl.py [154 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit/metainterp/test/test_tl.py .....
=========================== 5 passed in 6.10 seconds ===========================
++ 23:53:32 starting jit/metainterp/test/test_tlc.py [158 started in total]
__ jit/metainterp/test/test_tlc.py [155 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit/metainterp/test/test_tlc.py .s
===================== 1 passed, 1 skipped in 3.51 seconds ======================
++ 23:53:36 starting jit/metainterp/test/test_tracelimit.py [159 started in total]
__ jit/metainterp/test/test_recursive.py [156 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
jit/metainterp/test/test_recursive.py ................s........s................
==================== 40 passed, 2 skipped in 46.85 seconds =====================
++ 23:53:38 starting jit/metainterp/test/test_tracingopts.py [160 started in total]
__ jit/metainterp/test/test_tracingopts.py [157 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 39 items
jit/metainterp/test/test_tracingopts.py .................................s.....
===================== 38 passed, 1 skipped in 8.85 seconds =====================
++ 23:53:48 starting jit/metainterp/test/test_virtual.py [161 started in total]
__ jit/metainterp/test/test_string.py [158 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 97 items
jit/metainterp/test/test_string.py .............................s............................................s......................
==================== 95 passed, 2 skipped in 33.60 seconds =====================
++ 23:53:57 starting jit/metainterp/test/test_virtualizable.py [162 started in total]
__ jit/metainterp/test/test_loop_unroll_disopt.py [159 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 259 items
jit/metainterp/test/test_loop_unroll_disopt.py ..............................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s...
=================== 238 passed, 21 skipped in 114.63 seconds ===================
++ 23:54:17 starting jit/metainterp/test/test_virtualref.py [163 started in total]
__ jit/metainterp/test/test_virtualizable.py [160 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 50 items
jit/metainterp/test/test_virtualizable.py ................x.................................
==================== 49 passed, 1 xfailed in 18.85 seconds =====================
++ 23:54:17 starting jit/metainterp/test/test_warmspot.py [164 started in total]
__ jit/metainterp/test/test_virtual.py [161 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 133 items
jit/metainterp/test/test_virtual.py .....................................................................................................................................
========================= 133 passed in 28.55 seconds ==========================
++ 23:54:21 starting jit/metainterp/test/test_warmstate.py [165 started in total]
__ jit/metainterp/test/test_warmspot.py [162 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 27 items
jit/metainterp/test/test_warmspot.py ...........sss.....ssss....
===================== 20 passed, 7 skipped in 3.46 seconds =====================
++ 23:54:22 starting jit/metainterp/test/test_zvector.py [166 started in total]
__ jit/metainterp/test/test_warmstate.py [163 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
jit/metainterp/test/test_warmstate.py .........
=========================== 9 passed in 0.77 seconds ===========================
++ 23:54:22 starting jit/tl/test [167 started in total]
__ jit/metainterp/test/test_virtualref.py [164 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
jit/metainterp/test/test_virtualref.py ..s..................
===================== 20 passed, 1 skipped in 5.59 seconds =====================
++ 23:54:23 starting jit/tl/tinyframe/test [168 started in total]
__ jit/tl/tinyframe/test [165 done in total, somefailed=True] _________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 errors
==================================== ERRORS ====================================
___________ ERROR collecting jit/tl/tinyframe/test/test_tinyframe.py ___________
jit/tl/tinyframe/test/test_tinyframe.py:3: in <module>
from rpython.jit.tl.tinyframe.tinyframe import *
jit/tl/tinyframe/tinyframe.py:32: in <module>
from rpython.rlib.streamio import open_file_as_stream
rlib/streamio.py:40: in <module>
from rpython.rlib import rposix, nonconst, _rsocket_rffi as _c
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
translator/platform/__init__.py:155: in _handle_error
raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23033/platcheck_57.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23033/platcheck_57.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23033/platcheck_57.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23033/platcheck_57.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23033/platcheck_57.c:143:
E /tmp/pytest/usession-main-23033/platcheck_57.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23033/platcheck_57.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23033/platcheck_57.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
------------------------------- Captured stderr --------------------------------
[platform:Error] /tmp/pytest/usession-main-23033/platcheck_57.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23033/platcheck_57.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23033/platcheck_57.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23033/platcheck_57.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23033/platcheck_57.c:143:\n[platform:Error] /tmp/pytest/usession-main-23033/platcheck_57.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23033/platcheck_57.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23033/platcheck_57.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
=========================== 1 error in 0.68 seconds ============================
++ 23:54:25 starting jit/tl/tla [169 started in total]
__ jit/tl/test [166 done in total, somefailed=False] __________________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 44 items / 1 skipped
jit/tl/test/test_brainfuck.py .
jit/tl/test/test_tl.py ......................s
jit/tl/test/test_tlc.py ..................
jit/tl/test/test_tlr.py .s
===================== 42 passed, 3 skipped in 4.38 seconds =====================
++ 23:54:28 starting jit/tool/test [170 started in total]
__ jit/tl/tla [167 done in total, somefailed=False] ___________________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
jit/tl/tla/test_tla.py ..........ssss.
===================== 11 passed, 4 skipped in 3.74 seconds =====================
++ 23:54:30 starting memory/gc/test [171 started in total]
__ jit/tool/test [168 done in total, somefailed=False] ________________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 49 items
jit/tool/test/test_jitoutput.py ..
jit/tool/test/test_loopcounter.py .
jit/tool/test/test_oparser.py ...................................
jit/tool/test/test_traceviewer.py ...........
========================== 49 passed in 1.26 seconds ===========================
++ 23:54:30 starting memory/gctransform/test [172 started in total]
__ jit/metainterp/test/test_tracelimit.py [169 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit/metainterp/test/test_tracelimit.py .....
========================== 5 passed in 54.26 seconds ===========================
++ 23:54:35 starting memory/test/test_gctypelayout.py [173 started in total]
__ memory/test/test_gctypelayout.py [170 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
memory/test/test_gctypelayout.py .....
=========================== 5 passed in 0.69 seconds ===========================
++ 23:54:37 starting memory/test/test_generational_gc.py [174 started in total]
__ memory/test/test_generational_gc.py [171 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
memory/test/test_generational_gc.py ...............................................
========================== 47 passed in 33.22 seconds ==========================
++ 23:55:15 starting memory/test/test_growingsemispace_gc.py [175 started in total]
__ memory/gctransform/test [172 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 85 items
memory/gctransform/test/test_boehm.py ......
memory/gctransform/test/test_framework.py .................
memory/gctransform/test/test_refcounting.py .s.............
memory/gctransform/test/test_shadowcolor.py ...................................
memory/gctransform/test/test_statistics.py ..
memory/gctransform/test/test_transform.py ..........
==================== 84 passed, 1 skipped in 64.55 seconds =====================
++ 23:55:43 starting memory/test/test_hybrid_gc.py [176 started in total]
__ memory/test/test_growingsemispace_gc.py [173 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
memory/test/test_growingsemispace_gc.py ...............................................
========================== 47 passed in 35.95 seconds ==========================
++ 23:55:53 starting memory/test/test_hybrid_gc_smallheap.py [177 started in total]
__ memory/test/test_hybrid_gc.py [174 done in total, somefailed=False] ________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 50 items
memory/test/test_hybrid_gc.py ..................................................
========================== 50 passed in 34.79 seconds ==========================
++ 23:56:21 starting memory/test/test_incminimark_gc.py [178 started in total]
__ memory/test/test_hybrid_gc_smallheap.py [175 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 46 items
memory/test/test_hybrid_gc_smallheap.py ..............................................
========================== 46 passed in 29.91 seconds ==========================
++ 23:56:25 starting memory/test/test_incminimark_gc_cardmarking.py [179 started in total]
__ jit/metainterp/test/test_zvector.py [176 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 84 items
jit/metainterp/test/test_zvector.py ....................................................................................
========================= 84 passed in 133.97 seconds ==========================
++ 23:56:39 starting memory/test/test_lldict.py [180 started in total]
__ memory/test/test_lldict.py [177 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
memory/test/test_lldict.py .....
=========================== 5 passed in 0.64 seconds ===========================
++ 23:56:41 starting memory/test/test_minimark_gc.py [181 started in total]
__ memory/test/test_minimark_gc.py [178 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 48 items
memory/test/test_minimark_gc.py ................................................
========================== 48 passed in 35.31 seconds ==========================
++ 23:57:19 starting memory/test/test_minimark_gc_cardmarking.py [182 started in total]
__ memory/test/test_incminimark_gc_cardmarking.py [179 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 52 items
memory/test/test_incminimark_gc_cardmarking.py ..................................................s.
==================== 51 passed, 1 skipped in 59.55 seconds =====================
++ 23:57:31 starting memory/test/test_semispace_gc.py [183 started in total]
__ memory/test/test_incminimark_gc.py [180 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 52 items
memory/test/test_incminimark_gc.py ..................................................s.
==================== 51 passed, 1 skipped in 65.59 seconds =====================
++ 23:57:34 starting memory/test/test_support.py [184 started in total]
__ memory/test/test_support.py [181 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
memory/test/test_support.py .........
=========================== 9 passed in 3.04 seconds ===========================
++ 23:57:39 starting memory/test/test_transformed_gc.py [185 started in total]
__ memory/test/test_minimark_gc_cardmarking.py [182 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 48 items
memory/test/test_minimark_gc_cardmarking.py ................................................
========================== 48 passed in 36.10 seconds ==========================
++ 23:57:57 starting rlib/parsing/test/test_deterministic.py [186 started in total]
__ rlib/parsing/test/test_deterministic.py [183 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
rlib/parsing/test/test_deterministic.py .........
=========================== 9 passed in 3.53 seconds ===========================
++ 23:58:01 starting rlib/parsing/test/test_ebnfparse.py [187 started in total]
__ rlib/parsing/test/test_ebnfparse.py [184 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 29 items
rlib/parsing/test/test_ebnfparse.py ..........................s..
===================== 28 passed, 1 skipped in 0.43 seconds =====================
++ 23:58:02 starting rlib/parsing/test/test_lexer.py [188 started in total]
__ memory/test/test_semispace_gc.py [185 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
memory/test/test_semispace_gc.py ...............................................
========================== 47 passed in 31.00 seconds ==========================
++ 23:58:03 starting rlib/parsing/test/test_parse.py [189 started in total]
__ rlib/parsing/test/test_lexer.py [186 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
rlib/parsing/test/test_lexer.py ..........
========================== 10 passed in 0.13 seconds ===========================
++ 23:58:04 starting rlib/parsing/test/test_parseerrors.py [190 started in total]
__ rlib/parsing/test/test_parse.py [187 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib/parsing/test/test_parse.py ....
=========================== 4 passed in 0.09 seconds ===========================
++ 23:58:04 starting rlib/parsing/test/test_pcre_regtest.py [191 started in total]
__ rlib/parsing/test/test_parseerrors.py [188 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/parsing/test/test_parseerrors.py ..
=========================== 2 passed in 0.09 seconds ===========================
++ 23:58:05 starting rlib/parsing/test/test_pypackrat.py [192 started in total]
__ rlib/parsing/test/test_pypackrat.py [189 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 31 items
rlib/parsing/test/test_pypackrat.py ...............................
========================== 31 passed in 0.64 seconds ===========================
++ 23:58:06 starting rlib/parsing/test/test_pythonlexer.py [193 started in total]
__ rlib/parsing/test/test_pythonlexer.py [190 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
rlib/parsing/test/test_pythonlexer.py ...........
========================== 11 passed in 2.04 seconds ===========================
++ 23:58:10 starting rlib/parsing/test/test_pythonparse.py [194 started in total]
__ rlib/parsing/test/test_pythonparse.py [191 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
rlib/parsing/test/test_pythonparse.py ............s....
===================== 16 passed, 1 skipped in 1.08 seconds =====================
++ 23:58:11 starting rlib/parsing/test/test_regex.py [195 started in total]
__ rlib/parsing/test/test_pcre_regtest.py [192 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 290 items
rlib/parsing/test/test_pcre_regtest.py ..................................................................................................................................................................................................................................................................................................
========================== 290 passed in 9.33 seconds ==========================
++ 23:58:15 starting rlib/parsing/test/test_regexparse.py [196 started in total]
__ rlib/parsing/test/test_regexparse.py [193 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
rlib/parsing/test/test_regexparse.py ...............
========================== 15 passed in 0.31 seconds ===========================
++ 23:58:16 starting rlib/parsing/test/test_translate.py [197 started in total]
__ rlib/parsing/test/test_regex.py [194 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
rlib/parsing/test/test_regex.py .............
========================== 13 passed in 9.87 seconds ===========================
++ 23:58:24 starting rlib/parsing/test/test_translate_lexer.py [198 started in total]
__ rlib/parsing/test/test_translate_lexer.py [195 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib/parsing/test/test_translate_lexer.py .
=========================== 1 passed in 6.43 seconds ===========================
++ 23:58:32 starting rlib/parsing/test/test_tree.py [199 started in total]
__ rlib/parsing/test/test_tree.py [196 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib/parsing/test/test_tree.py ......
=========================== 6 passed in 5.26 seconds ===========================
++ 23:58:39 starting rlib/rjitlog/test/test_jitlog.py [200 started in total]
__ rlib/rjitlog/test/test_jitlog.py [197 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib/rjitlog/test/test_jitlog.py ....
=========================== 4 passed in 0.87 seconds ===========================
++ 23:58:41 starting rlib/rsre/test/test_char.py [201 started in total]
__ rlib/rsre/test/test_char.py [198 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
rlib/rsre/test/test_char.py .......
=========================== 7 passed in 1.94 seconds ===========================
++ 23:58:44 starting rlib/rsre/test/test_ext_opcode.py [202 started in total]
__ rlib/rsre/test/test_ext_opcode.py [199 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
rlib/rsre/test/test_ext_opcode.py ...........
========================== 11 passed in 0.53 seconds ===========================
++ 23:58:46 starting rlib/rsre/test/test_match.py [203 started in total]
__ rlib/rsre/test/test_match.py [200 done in total, somefailed=False] _________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 38 items
rlib/rsre/test/test_match.py ......................................
========================== 38 passed in 1.13 seconds ===========================
++ 23:58:48 starting rlib/rsre/test/test_re.py [204 started in total]
__ rlib/rsre/test/test_re.py [201 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 56 items
rlib/rsre/test/test_re.py ..............ss........................................
===================== 54 passed, 2 skipped in 5.99 seconds =====================
++ 23:58:54 starting rlib/rsre/test/test_search.py [205 started in total]
__ rlib/rsre/test/test_search.py [202 done in total, somefailed=False] ________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 67 items
rlib/rsre/test/test_search.py ...................................................................
========================== 67 passed in 0.74 seconds ===========================
++ 23:58:56 starting rlib/rsre/test/test_zexternal.py [206 started in total]
__ rlib/rsre/test/test_zexternal.py [203 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1002 items
rlib/rsre/test/test_zexternal.py ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
========================= 1002 passed in 1.49 seconds ==========================
++ 23:58:59 starting rlib/rsre/test/test_zinterp.py [207 started in total]
__ rlib/parsing/test/test_translate.py [204 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib/parsing/test/test_translate.py .....
========================== 5 passed in 37.34 seconds ===========================
++ 23:59:00 starting rlib/rsre/test/test_zjit.py [208 started in total]
__ rlib/rsre/test/test_zinterp.py [205 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
rlib/rsre/test/test_zinterp.py ...
========================== 3 passed in 12.07 seconds ===========================
++ 23:59:13 starting rlib/rstrategies/test/test_rstrategies.py [209 started in total]
__ rlib/rstrategies/test/test_rstrategies.py [206 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 49 items
rlib/rstrategies/test/test_rstrategies.py .................................................
========================== 49 passed in 0.16 seconds ===========================
++ 23:59:14 starting rlib/rstruct/test/test_ieee.py [210 started in total]
__ memory/gc/test [207 done in total, somefailed=False] _______________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 216 items
memory/gc/test/test_direct.py ....................................s.............................................................................
memory/gc/test/test_env.py .......
memory/gc/test/test_hook.py ...
memory/gc/test/test_incminimark.py ...
memory/gc/test/test_inspector.py ..
memory/gc/test/test_minimark.py ...
memory/gc/test/test_minimarkpage.py ...............
memory/gc/test/test_object_pinning.py .............................................
memory/gc/test/test_rawrefcount.py ........................
=================== 215 passed, 1 skipped in 298.65 seconds ====================
++ 23:59:33 starting rlib/rstruct/test/test_pack.py [211 started in total]
__ rlib/rstruct/test/test_pack.py [208 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 59 items
rlib/rstruct/test/test_pack.py ...........................................................
========================== 59 passed in 0.66 seconds ===========================
++ 23:59:35 starting rlib/rstruct/test/test_runpack.py [212 started in total]
__ rlib/rstruct/test/test_runpack.py [209 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 22 items
rlib/rstruct/test/test_runpack.py ......................
========================== 22 passed in 7.73 seconds ===========================
++ 23:59:43 starting rlib/rvmprof/test/test_file.py [213 started in total]
__ rlib/rstruct/test/test_ieee.py [210 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
rlib/rstruct/test/test_ieee.py ..............
========================== 14 passed in 33.94 seconds ==========================
++ 23:59:52 starting rlib/rvmprof/test/test_rvmprof.py [214 started in total]
__ rlib/rvmprof/test/test_file.py [211 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib/rvmprof/test/test_file.py .
=========================== 1 passed in 8.42 seconds ===========================
++ 23:59:53 starting rlib/rvmprof/test/test_support.py [215 started in total]
__ rlib/rvmprof/test/test_support.py [212 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
rlib/rvmprof/test/test_support.py ...
=========================== 3 passed in 0.51 seconds ===========================
++ 23:59:55 starting rlib/rvmprof/test/test_traceback.py [216 started in total]
__ rlib/rvmprof/test/test_rvmprof.py [213 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib/rvmprof/test/test_rvmprof.py ......
========================== 6 passed in 28.19 seconds ===========================
++ 00:00:25 starting rlib/rvmprof/test/test_ztranslation.py [217 started in total]
__ rlib/rvmprof/test/test_ztranslation.py [214 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/rvmprof/test/test_ztranslation.py ..
========================== 2 passed in 19.46 seconds ===========================
++ 00:00:45 starting rlib/test/test__jit_vref.py [218 started in total]
__ rlib/test/test__jit_vref.py [215 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
rlib/test/test__jit_vref.py ............
========================== 12 passed in 0.73 seconds ===========================
++ 00:00:47 starting rlib/test/test_buffer.py [219 started in total]
__ rlib/test/test_buffer.py [216 done in total, somefailed=False] _____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
rlib/test/test_buffer.py ...............................................
========================== 47 passed in 15.91 seconds ==========================
++ 00:01:04 starting rlib/test/test_cache.py [220 started in total]
__ rlib/test/test_cache.py [217 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib/test/test_cache.py .
=========================== 1 passed in 0.07 seconds ===========================
++ 00:01:05 starting rlib/test/test_clibffi.py [221 started in total]
__ rlib/test/test_clibffi.py [218 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
rlib/test/test_clibffi.py ........s......n: 2
Arg 0: 3
Arg 1: 15
.s
===================== 15 passed, 2 skipped in 3.23 seconds =====================
++ 00:01:09 starting rlib/test/test_compilerinfo.py [222 started in total]
__ rlib/test/test_compilerinfo.py [219 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/test/test_compilerinfo.py ..
=========================== 2 passed in 3.20 seconds ===========================
++ 00:01:14 starting rlib/test/test_debug.py [223 started in total]
__ rlib/test/test_debug.py [220 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
rlib/test/test_debug.py ...........
========================== 11 passed in 4.30 seconds ===========================
++ 00:01:19 starting rlib/test/test_jit.py [224 started in total]
__ rlib/test/test_jit.py [221 done in total, somefailed=False] ________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 30 items
rlib/test/test_jit.py ...ss.........................
===================== 28 passed, 2 skipped in 1.94 seconds =====================
++ 00:01:23 starting rlib/test/test_jit_libffi.py [225 started in total]
__ rlib/test/test_jit_libffi.py [222 done in total, somefailed=False] _________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib/test/test_jit_libffi.py .
=========================== 1 passed in 0.65 seconds ===========================
++ 00:01:24 starting rlib/test/test_libffi.py [226 started in total]
__ rlib/test/test_libffi.py [223 done in total, somefailed=False] _____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
rlib/test/test_libffi.py .........s................
===================== 25 passed, 1 skipped in 0.94 seconds =====================
++ 00:01:26 starting rlib/test/test_listsort.py [227 started in total]
__ rlib/test/test_listsort.py [224 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib/test/test_listsort.py ....
================= 4 passed, 1 pytest-warnings in 1.02 seconds ==================
++ 00:01:28 starting rlib/test/test_longlong2float.py [228 started in total]
__ rlib/test/test_longlong2float.py [225 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
rlib/test/test_longlong2float.py ..........
========================== 10 passed in 12.29 seconds ==========================
++ 00:01:42 starting rlib/test/test_mutbuffer.py [229 started in total]
__ rlib/test/test_mutbuffer.py [226 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib/test/test_mutbuffer.py .....
=========================== 5 passed in 0.51 seconds ===========================
++ 00:01:44 starting rlib/test/test_nonconst.py [230 started in total]
__ rlib/test/test_nonconst.py [227 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib/test/test_nonconst.py .....
=========================== 5 passed in 0.64 seconds ===========================
++ 00:01:46 starting rlib/test/test_objectmodel.py [231 started in total]
__ rlib/test/test_objectmodel.py [228 done in total, somefailed=False] ________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 60 items
rlib/test/test_objectmodel.py ....s.......................................................
==================== 59 passed, 1 skipped in 30.54 seconds =====================
++ 00:02:19 starting rlib/test/test_posix.py [232 started in total]
__ rlib/test/test_posix.py [229 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 30 items
rlib/test/test_posix.py ....s.........................
===================== 29 passed, 1 skipped in 7.35 seconds =====================
++ 00:02:27 starting rlib/test/test_rStringIO.py [233 started in total]
__ rlib/test/test_rStringIO.py [230 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
rlib/test/test_rStringIO.py ...........
========================== 11 passed in 0.19 seconds ===========================
++ 00:02:28 starting rlib/test/test_rarithmetic.py [234 started in total]
__ rlib/test/test_rarithmetic.py [231 done in total, somefailed=False] ________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 103 items
rlib/test/test_rarithmetic.py .......................................................................................................
========================== 103 passed in 1.59 seconds ==========================
++ 00:02:31 starting rlib/test/test_rawrefcount.py [235 started in total]
__ rlib/test/test_rawrefcount.py [232 done in total, somefailed=False] ________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
rlib/test/test_rawrefcount.py .............
========================== 13 passed in 17.93 seconds ==========================
++ 00:02:51 starting rlib/test/test_rawrefcount_boehm.py [236 started in total]
__ rlib/test/test_rawrefcount_boehm.py [233 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/test/test_rawrefcount_boehm.py ..
=========================== 2 passed in 9.81 seconds ===========================
++ 00:03:03 starting rlib/test/test_rawstorage.py [237 started in total]
__ rlib/test/test_rawstorage.py [234 done in total, somefailed=False] _________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
rlib/test/test_rawstorage.py .......
=========================== 7 passed in 9.66 seconds ===========================
++ 00:03:15 starting rlib/test/test_rbigint.py [238 started in total]
__ memory/test/test_transformed_gc.py [235 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 183 items
memory/test/test_transformed_gc.py ....s..................s..s.....s..................s..s............s..................s..s.............s.....................s................s.....................s.................s
=================== 169 passed, 14 skipped in 398.97 seconds ===================
++ 00:04:23 starting rlib/test/test_rbisect.py [239 started in total]
__ rlib/test/test_rbisect.py [236 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/test/test_rbisect.py ..
=========================== 2 passed in 0.07 seconds ===========================
++ 00:04:24 starting rlib/test/test_rcomplex.py [240 started in total]
__ rlib/test/test_rcomplex.py [237 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
rlib/test/test_rcomplex.py ........
=========================== 8 passed in 0.16 seconds ===========================
++ 00:04:25 starting rlib/test/test_rdtoa.py [241 started in total]
__ rlib/test/test_rdtoa.py [238 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib/test/test_rdtoa.py ......
=========================== 6 passed in 0.27 seconds ===========================
++ 00:04:26 starting rlib/test/test_rdynload.py [242 started in total]
__ rlib/test/test_rdynload.py [239 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
rlib/test/test_rdynload.py ...
=========================== 3 passed in 0.58 seconds ===========================
++ 00:04:28 starting rlib/test/test_rerased.py [243 started in total]
__ rlib/test/test_rerased.py [240 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
rlib/test/test_rerased.py .........................
========================== 25 passed in 0.82 seconds ===========================
++ 00:04:30 starting rlib/test/test_rfile.py [244 started in total]
__ rlib/rvmprof/test/test_traceback.py [241 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib/rvmprof/test/test_traceback.py .
========================== 1 passed in 282.94 seconds ==========================
++ 00:04:44 starting rlib/test/test_rfloat.py [245 started in total]
__ rlib/test/test_rfile.py [242 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
rlib/test/test_rfile.py .................test
.........
========================== 26 passed in 22.55 seconds ==========================
++ 00:04:53 starting rlib/test/test_rgc.py [246 started in total]
__ rlib/test/test_rfloat.py [243 done in total, somefailed=False] _____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
rlib/test/test_rfloat.py .............
========================== 13 passed in 14.58 seconds ==========================
++ 00:05:01 starting rlib/test/test_rgil.py [247 started in total]
__ rlib/test/test_rgil.py [244 done in total, somefailed=False] _______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib/test/test_rgil.py ....
========================== 4 passed in 24.22 seconds ===========================
++ 00:05:29 starting rlib/test/test_rlocale.py [248 started in total]
__ rlib/test/test_rlocale.py [245 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib/test/test_rlocale.py ss..
===================== 2 passed, 2 skipped in 0.08 seconds ======================
++ 00:05:30 starting rlib/test/test_rmarshal.py [249 started in total]
__ rlib/test/test_rmarshal.py [246 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib/test/test_rmarshal.py ......
=========================== 6 passed in 8.13 seconds ===========================
++ 00:05:40 starting rlib/test/test_rmd5.py [250 started in total]
__ rlib/test/test_rmd5.py [247 done in total, somefailed=False] _______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
rlib/test/test_rmd5.py .......
=========================== 7 passed in 1.74 seconds ===========================
++ 00:05:43 starting rlib/test/test_rmmap.py [251 started in total]
__ rlib/test/test_rmmap.py [248 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 32 items
rlib/test/test_rmmap.py ...........................ss...
==================== 30 passed, 2 skipped in 21.43 seconds =====================
++ 00:06:07 starting rlib/test/test_rope.py [252 started in total]
__ rlib/test/test_rgc.py [249 done in total, somefailed=False] ________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
rlib/test/test_rgc.py ...................s.................
==================== 36 passed, 1 skipped in 76.11 seconds =====================
++ 00:06:13 starting rlib/test/test_rpath.py [253 started in total]
__ rlib/test/test_rpath.py [250 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
rlib/test/test_rpath.py ......s...
===================== 9 passed, 1 skipped in 0.49 seconds ======================
++ 00:06:15 starting rlib/test/test_rpoll.py [254 started in total]
__ rlib/test/test_rpoll.py [251 done in total, somefailed=True] _______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 errors
==================================== ERRORS ====================================
___________________ ERROR collecting rlib/test/test_rpoll.py ___________________
rlib/test/test_rpoll.py:5: in <module>
from rpython.rlib.rsocket import *
rlib/rsocket.py:11: in <module>
from rpython.rlib import _rsocket_rffi as _c, jit, rgc
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
translator/platform/__init__.py:155: in _handle_error
raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23121/platcheck_0.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23121/platcheck_0.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23121/platcheck_0.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23121/platcheck_0.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23121/platcheck_0.c:143:
E /tmp/pytest/usession-main-23121/platcheck_0.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23121/platcheck_0.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23121/platcheck_0.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
------------------------------- Captured stderr --------------------------------
[platform:Error] /tmp/pytest/usession-main-23121/platcheck_0.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23121/platcheck_0.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23121/platcheck_0.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23121/platcheck_0.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23121/platcheck_0.c:143:\n[platform:Error] /tmp/pytest/usession-main-23121/platcheck_0.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23121/platcheck_0.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23121/platcheck_0.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
=========================== 1 error in 0.28 seconds ============================
++ 00:06:16 starting rlib/test/test_rposix.py [255 started in total]
__ rlib/test/test_rope.py [252 done in total, somefailed=False] _______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 58 items
rlib/test/test_rope.py .............................s............................
==================== 57 passed, 1 skipped in 18.19 seconds =====================
++ 00:06:27 starting rlib/test/test_rposix_environ.py [256 started in total]
__ rlib/test/test_rposix_environ.py [253 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/test/test_rposix_environ.py ..
=========================== 2 passed in 8.64 seconds ===========================
++ 00:06:37 starting rlib/test/test_rposix_scandir.py [257 started in total]
__ rlib/test/test_rposix_scandir.py [254 done in total, somefailed=False] _____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib/test/test_rposix_scandir.py .
=========================== 1 passed in 1.10 seconds ===========================
++ 00:06:39 starting rlib/test/test_rposix_stat.py [258 started in total]
__ rlib/test/test_rposix_stat.py [255 done in total, somefailed=False] ________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
rlib/test/test_rposix_stat.py ......s..
===================== 8 passed, 1 skipped in 12.22 seconds =====================
++ 00:06:53 starting rlib/test/test_rrandom.py [259 started in total]
__ rlib/test/test_rposix.py [256 done in total, somefailed=True] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 80 items
rlib/test/test_rposix.py ..ss.sss...............ss.......................................FFF.............
=================================== FAILURES ===================================
________________________________ test_sendfile _________________________________
def test_sendfile():
> from rpython.rlib import rsocket
rlib/test/test_rposix.py:688:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib/rsocket.py:11: in <module>
from rpython.rlib import _rsocket_rffi as _c, jit, rgc
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23122/platcheck_73.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23122/platcheck_73.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23122/platcheck_73.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23122/platcheck_73.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23122/platcheck_73.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23122/platcheck_73.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23122/platcheck_73.c:143:
E /tmp/pytest/usession-main-23122/platcheck_73.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23122/platcheck_73.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23122/platcheck_73.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
----------------------------- Captured stderr call -----------------------------
[platform:Error] /tmp/pytest/usession-main-23122/platcheck_73.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_73.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_73.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_73.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23122/platcheck_73.c:143:\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_73.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_73.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_73.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
_________________________ test_sendfile_invalid_offset _________________________
def test_sendfile_invalid_offset():
> from rpython.rlib import rsocket
rlib/test/test_rposix.py:703:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib/rsocket.py:11: in <module>
from rpython.rlib import _rsocket_rffi as _c, jit, rgc
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23122/platcheck_74.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23122/platcheck_74.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23122/platcheck_74.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23122/platcheck_74.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23122/platcheck_74.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23122/platcheck_74.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23122/platcheck_74.c:143:
E /tmp/pytest/usession-main-23122/platcheck_74.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23122/platcheck_74.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23122/platcheck_74.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
----------------------------- Captured stderr call -----------------------------
[platform:Error] /tmp/pytest/usession-main-23122/platcheck_74.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_74.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_74.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_74.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23122/platcheck_74.c:143:\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_74.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_74.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_74.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
___________________________ test_sendfile_no_offset ____________________________
def test_sendfile_no_offset():
> from rpython.rlib import rsocket
rlib/test/test_rposix.py:718:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib/rsocket.py:11: in <module>
from rpython.rlib import _rsocket_rffi as _c, jit, rgc
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23122/platcheck_75.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23122/platcheck_75.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23122/platcheck_75.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23122/platcheck_75.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23122/platcheck_75.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23122/platcheck_75.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23122/platcheck_75.c:143:
E /tmp/pytest/usession-main-23122/platcheck_75.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23122/platcheck_75.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23122/platcheck_75.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
----------------------------- Captured stderr call -----------------------------
[platform:Error] /tmp/pytest/usession-main-23122/platcheck_75.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_75.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_75.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_75.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23122/platcheck_75.c:143:\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_75.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_75.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23122/platcheck_75.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
=========================== short test summary info ============================
FAIL rlib/test/test_rposix.py::test_sendfile
FAIL rlib/test/test_rposix.py::test_sendfile_invalid_offset
FAIL rlib/test/test_rposix.py::test_sendfile_no_offset
=============== 3 failed, 70 passed, 7 skipped in 40.89 seconds ================
++ 00:07:00 starting rlib/test/test_rrawarray.py [260 started in total]
__ rlib/test/test_rrandom.py [257 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
rlib/test/test_rrandom.py .......
=========================== 7 passed in 5.24 seconds ===========================
++ 00:07:00 starting rlib/test/test_rsha.py [261 started in total]
__ rlib/test/test_rrawarray.py [258 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib/test/test_rrawarray.py ....
=========================== 4 passed in 0.89 seconds ===========================
++ 00:07:01 starting rlib/test/test_rshrinklist.py [262 started in total]
__ rlib/test/test_rsha.py [259 done in total, somefailed=False] _______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib/test/test_rsha.py ....
=========================== 4 passed in 1.07 seconds ===========================
++ 00:07:02 starting rlib/test/test_rsignal.py [263 started in total]
__ rlib/test/test_rshrinklist.py [260 done in total, somefailed=False] ________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/test/test_rshrinklist.py ..
=========================== 2 passed in 0.07 seconds ===========================
++ 00:07:03 starting rlib/test/test_rsiphash.py [264 started in total]
__ rlib/test/test_rsignal.py [261 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib/test/test_rsignal.py ......
=========================== 6 passed in 6.28 seconds ===========================
++ 00:07:10 starting rlib/test/test_rsocket.py [265 started in total]
__ rlib/test/test_rsocket.py [262 done in total, somefailed=True] _____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 errors
==================================== ERRORS ====================================
__________________ ERROR collecting rlib/test/test_rsocket.py __________________
rlib/test/test_rsocket.py:3: in <module>
from rpython.rlib import rsocket
rlib/rsocket.py:11: in <module>
from rpython.rlib import _rsocket_rffi as _c, jit, rgc
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
translator/platform/__init__.py:155: in _handle_error
raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23132/platcheck_0.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23132/platcheck_0.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23132/platcheck_0.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23132/platcheck_0.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23132/platcheck_0.c:143:
E /tmp/pytest/usession-main-23132/platcheck_0.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23132/platcheck_0.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23132/platcheck_0.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
------------------------------- Captured stderr --------------------------------
[platform:Error] /tmp/pytest/usession-main-23132/platcheck_0.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23132/platcheck_0.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23132/platcheck_0.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23132/platcheck_0.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23132/platcheck_0.c:143:\n[platform:Error] /tmp/pytest/usession-main-23132/platcheck_0.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23132/platcheck_0.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23132/platcheck_0.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
=========================== 1 error in 0.29 seconds ============================
++ 00:07:11 starting rlib/test/test_rstacklet.py [266 started in total]
__ rlib/test/test_rsiphash.py [263 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib/test/test_rsiphash.py ......
========================== 6 passed in 12.95 seconds ===========================
++ 00:07:17 starting rlib/test/test_rstackovf.py [267 started in total]
__ rlib/test/test_rstackovf.py [264 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib/test/test_rstackovf.py .s..
===================== 3 passed, 1 skipped in 3.05 seconds ======================
++ 00:07:21 starting rlib/test/test_rstring.py [268 started in total]
__ rlib/test/test_rstring.py [265 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
rlib/test/test_rstring.py ..........s.s..........
===================== 21 passed, 2 skipped in 5.13 seconds =====================
++ 00:07:28 starting rlib/test/test_rtermios.py [269 started in total]
__ rlib/test/test_rtermios.py [266 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib/test/test_rtermios.py sssss
========================== 5 skipped in 0.01 seconds ===========================
++ 00:07:29 starting rlib/test/test_rthread.py [270 started in total]
__ rlib/test/test_rthread.py [267 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
rlib/test/test_rthread.py ....................
========================= 20 passed in 156.90 seconds ==========================
++ 00:10:09 starting rlib/test/test_rtime.py [271 started in total]
__ rlib/test/test_rtime.py [268 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib/test/test_rtime.py .....
=========================== 5 passed in 1.50 seconds ===========================
++ 00:10:11 starting rlib/test/test_rtimer.py [272 started in total]
__ rlib/test/test_rtimer.py [269 done in total, somefailed=False] _____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib/test/test_rtimer.py ......
=========================== 6 passed in 5.45 seconds ===========================
++ 00:10:18 starting rlib/test/test_runicode.py [273 started in total]
__ rlib/test/test_runicode.py [270 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 48 items
rlib/test/test_runicode.py ................................................
========================== 48 passed in 8.97 seconds ===========================
++ 00:10:28 starting rlib/test/test_rurandom.py [274 started in total]
__ rlib/test/test_rurandom.py [271 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/test/test_rurandom.py ..
=========================== 2 passed in 0.63 seconds ===========================
++ 00:10:30 starting rlib/test/test_rutf8.py [275 started in total]
__ rlib/test/test_rutf8.py [272 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
rlib/test/test_rutf8.py .......................
========================== 23 passed in 19.52 seconds ==========================
++ 00:10:50 starting rlib/test/test_rweakkeydict.py [276 started in total]
__ rlib/test/test_rweakkeydict.py [273 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
rlib/test/test_rweakkeydict.py .....XXx
================ 5 passed, 1 xfailed, 2 xpassed in 3.85 seconds ================
++ 00:10:56 starting rlib/test/test_rweaklist.py [277 started in total]
__ rlib/test/test_rweaklist.py [274 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/test/test_rweaklist.py ..
=========================== 2 passed in 0.13 seconds ===========================
++ 00:10:57 starting rlib/test/test_rweakref.py [278 started in total]
__ rlib/test/test_rweakref.py [275 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib/test/test_rweakref.py .
=========================== 1 passed in 0.64 seconds ===========================
++ 00:10:59 starting rlib/test/test_rweakvaldict.py [279 started in total]
__ rlib/test/test_rweakvaldict.py [276 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
rlib/test/test_rweakvaldict.py .......X.....
==================== 12 passed, 1 xpassed in 12.06 seconds =====================
++ 00:11:13 starting rlib/test/test_rwin32.py [280 started in total]
__ rlib/test/test_rwin32.py [277 done in total, somefailed=False] _____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ===========================
++ 00:11:14 starting rlib/test/test_rzipfile.py [281 started in total]
__ rlib/test/test_rzipfile.py [278 done in total, somefailed=True] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 errors
==================================== ERRORS ====================================
_________________ ERROR collecting rlib/test/test_rzipfile.py __________________
rlib/test/test_rzipfile.py:3: in <module>
from rpython.rlib.rzipfile import RZipFile
rlib/rzipfile.py:3: in <module>
from rpython.rlib.streamio import open_file_as_stream
rlib/streamio.py:40: in <module>
from rpython.rlib import rposix, nonconst, _rsocket_rffi as _c
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
translator/platform/__init__.py:155: in _handle_error
raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23162/platcheck_57.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23162/platcheck_57.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23162/platcheck_57.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23162/platcheck_57.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23162/platcheck_57.c:143:
E /tmp/pytest/usession-main-23162/platcheck_57.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23162/platcheck_57.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23162/platcheck_57.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
------------------------------- Captured stderr --------------------------------
[platform:Error] /tmp/pytest/usession-main-23162/platcheck_57.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23162/platcheck_57.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23162/platcheck_57.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23162/platcheck_57.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23162/platcheck_57.c:143:\n[platform:Error] /tmp/pytest/usession-main-23162/platcheck_57.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23162/platcheck_57.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23162/platcheck_57.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
=========================== 1 error in 0.66 seconds ============================
++ 00:11:16 starting rlib/test/test_rzlib.py [282 started in total]
__ rlib/test/test_rstacklet.py [279 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/test/test_rstacklet.py ..
========================== 2 passed in 329.69 seconds ==========================
++ 00:12:44 starting rlib/test/test_signature.py [283 started in total]
__ rlib/test/test_signature.py [280 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
rlib/test/test_signature.py .....x..............xxx
===================== 19 passed, 4 xfailed in 0.74 seconds =====================
++ 00:12:45 starting rlib/test/test_streamio.py [284 started in total]
__ rlib/test/test_streamio.py [281 done in total, somefailed=True] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 errors
==================================== ERRORS ====================================
_________________ ERROR collecting rlib/test/test_streamio.py __________________
rlib/test/test_streamio.py:9: in <module>
from rpython.rlib import streamio
rlib/streamio.py:40: in <module>
from rpython.rlib import rposix, nonconst, _rsocket_rffi as _c
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
translator/platform/__init__.py:155: in _handle_error
raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23173/platcheck_57.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23173/platcheck_57.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23173/platcheck_57.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23173/platcheck_57.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23173/platcheck_57.c:143:
E /tmp/pytest/usession-main-23173/platcheck_57.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23173/platcheck_57.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23173/platcheck_57.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
------------------------------- Captured stderr --------------------------------
[platform:Error] /tmp/pytest/usession-main-23173/platcheck_57.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23173/platcheck_57.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23173/platcheck_57.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23173/platcheck_57.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23173/platcheck_57.c:143:\n[platform:Error] /tmp/pytest/usession-main-23173/platcheck_57.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23173/platcheck_57.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23173/platcheck_57.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
=========================== 1 error in 0.67 seconds ============================
++ 00:12:47 starting rlib/test/test_z3.py [285 started in total]
__ rlib/test/test_z3.py [282 done in total, somefailed=False] _________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 00:12:48 starting rlib/unicodedata/test/test_codegen.py [286 started in total]
__ rlib/unicodedata/test/test_codegen.py [283 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib/unicodedata/test/test_codegen.py ..
=========================== 2 passed in 0.47 seconds ===========================
++ 00:12:49 starting rlib/unicodedata/test/test_dawg.py [287 started in total]
__ rlib/test/test_rzlib.py [284 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 22 items
rlib/test/test_rzlib.py ................s.....
==================== 21 passed, 1 skipped in 87.54 seconds =====================
++ 00:12:50 starting rlib/unicodedata/test/test_ucd.py [288 started in total]
__ rlib/unicodedata/test/test_dawg.py [285 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
rlib/unicodedata/test/test_dawg.py .........
=========================== 9 passed in 2.43 seconds ===========================
++ 00:12:53 starting rlib/unicodedata/test/test_unicodedata.py [289 started in total]
__ rlib/unicodedata/test/test_ucd.py [286 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib/unicodedata/test/test_ucd.py ....
=========================== 4 passed in 8.44 seconds ===========================
++ 00:13:01 starting rtyper/lltypesystem/module/test [290 started in total]
__ rlib/unicodedata/test/test_unicodedata.py [287 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
rlib/unicodedata/test/test_unicodedata.py ..........................
========================== 26 passed in 9.52 seconds ===========================
++ 00:13:03 starting rtyper/lltypesystem/test [291 started in total]
__ rtyper/lltypesystem/module/test [288 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 200 items
rtyper/lltypesystem/module/test/test_ll_math.py ............................................................................................................................................................................
rtyper/lltypesystem/module/test/test_llinterp_math.py ............................
========================= 200 passed in 13.26 seconds ==========================
++ 00:13:15 starting rtyper/test [292 started in total]
__ rtyper/lltypesystem/test [289 done in total, somefailed=True] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 276 items
rtyper/lltypesystem/test/test_ll2ctypes.py ................................F..........................................n: 3
Arg 0: 1
Arg 1: 20
Arg 2: 300
....s.
rtyper/lltypesystem/test/test_llarena.py .....s.......
rtyper/lltypesystem/test/test_llgroup.py ....
rtyper/lltypesystem/test/test_llmemory.py ..................................s....
rtyper/lltypesystem/test/test_lloperation.py .........
rtyper/lltypesystem/test/test_lltype.py ............................................................
rtyper/lltypesystem/test/test_rffi.py ................................s...........s........
rtyper/lltypesystem/test/test_rtagged.py ..............
rtyper/lltypesystem/test/test_ztranslated.py ...
=================================== FAILURES ===================================
_________________ TestLL2Ctypes.test_call_with_struct_argument _________________
self = <rpython.rtyper.lltypesystem.test.test_ll2ctypes.TestLL2Ctypes object at 0x7f999b818590>
def test_call_with_struct_argument(self):
# XXX is there such a function in the standard C headers?
> from rpython.rlib import _rsocket_rffi
rtyper/lltypesystem/test/test_ll2ctypes.py:806:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23187/platcheck_75.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23187/platcheck_75.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23187/platcheck_75.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23187/platcheck_75.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23187/platcheck_75.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23187/platcheck_75.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23187/platcheck_75.c:143:
E /tmp/pytest/usession-main-23187/platcheck_75.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23187/platcheck_75.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23187/platcheck_75.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
----------------------------- Captured stderr call -----------------------------
[platform:Error] /tmp/pytest/usession-main-23187/platcheck_75.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23187/platcheck_75.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23187/platcheck_75.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23187/platcheck_75.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23187/platcheck_75.c:143:\n[platform:Error] /tmp/pytest/usession-main-23187/platcheck_75.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23187/platcheck_75.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23187/platcheck_75.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
=========================== short test summary info ============================
FAIL rtyper/lltypesystem/test/test_ll2ctypes.py::TestLL2Ctypes::()::test_call_with_struct_argument
============== 1 failed, 270 passed, 5 skipped in 175.30 seconds ===============
++ 00:16:04 starting rtyper/tool/test [293 started in total]
__ rtyper/tool/test [290 done in total, somefailed=False] _____________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 38 items
rtyper/tool/test/test_mkrffi.py .......
rtyper/tool/test/test_rffi_platform.py ............................
rtyper/tool/test/test_rfficache.py ...
========================== 38 passed in 3.09 seconds ===========================
++ 00:16:08 starting tool/algo/test [294 started in total]
__ tool/algo/test [291 done in total, somefailed=False] _______________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 44 items
tool/algo/test/test_bitstring.py ....
tool/algo/test/test_color.py .....
tool/algo/test/test_graphlib.py ...s....ss.....s....s.......
tool/algo/test/test_regalloc.py ..
tool/algo/test/test_sparsemat.py ...
tool/algo/test/test_unionfind.py ..
==================== 39 passed, 5 skipped in 14.70 seconds =====================
++ 00:16:25 starting tool/cparser/test [295 started in total]
__ tool/cparser/test [292 done in total, somefailed=False] ____________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
tool/cparser/test/test_cts.py .....................
========================== 21 passed in 1.38 seconds ===========================
++ 00:16:28 starting tool/jitlogparser/test [296 started in total]
__ tool/jitlogparser/test [293 done in total, somefailed=False] _______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 24 items
tool/jitlogparser/test/test_parser.py .......ss....s.........
tool/jitlogparser/test/test_storage.py .
===================== 21 passed, 3 skipped in 0.62 seconds =====================
++ 00:16:30 starting tool/pytest/test [297 started in total]
__ tool/pytest/test [294 done in total, somefailed=False] _____________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
tool/pytest/test/test_expecttest.py s
========================== 1 skipped in 0.07 seconds ===========================
++ 00:16:31 starting tool/test [298 started in total]
__ tool/test [295 done in total, somefailed=False] ____________________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 67 items
tool/test/test_ansi_print.py ........
tool/test/test_descriptor.py ...
tool/test/test_error.py ....
tool/test/test_flattenrec.py .
tool/test/test_frozenlist.py .
tool/test/test_gcc_cache.py .....
tool/test/test_identitydict.py ..........
tool/test/test_killsubprocess.py ...
tool/test/test_leakfinder.py ........
tool/test/test_logparser.py ...
tool/test/test_nullpath.py .
tool/test/test_pairtype.py .......
tool/test/test_runsubprocess.py .....
tool/test/test_sourcetools.py ....
tool/test/test_udir.py ..
tool/test/test_version.py ..
========================== 67 passed in 5.90 seconds ===========================
++ 00:16:38 starting translator/backendopt/test [299 started in total]
__ translator/backendopt/test [296 done in total, somefailed=False] ___________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 182 items
translator/backendopt/test/test_all.py ............
translator/backendopt/test/test_canraise.py ............
translator/backendopt/test/test_constfold.py ......................
translator/backendopt/test/test_finalizer.py ........
translator/backendopt/test/test_gilanalysis.py ....
translator/backendopt/test/test_graphanalyze.py ...
translator/backendopt/test/test_inline.py .............................
translator/backendopt/test/test_innerloop.py ...
translator/backendopt/test/test_malloc.py .............s..s..s...s
translator/backendopt/test/test_merge_if_blocks.py .........
translator/backendopt/test/test_removeassert.py ......
translator/backendopt/test/test_removenoops.py ....
translator/backendopt/test/test_ssa.py ....
translator/backendopt/test/test_storesink.py ............
translator/backendopt/test/test_support.py ......
translator/backendopt/test/test_writeanalyze.py ...............s........
==================== 177 passed, 5 skipped in 6.68 seconds =====================
++ 00:16:46 starting translator/c/test/test_backendoptimized.py [300 started in total]
__ rlib/test/test_rbigint.py [297 done in total, somefailed=False] ____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 199 items
rlib/test/test_rbigint.py .......................................................................................................................................................................................................
========================= 199 passed in 868.71 seconds =========================
++ 00:17:48 starting translator/c/test/test_boehm.py [301 started in total]
__ translator/c/test/test_boehm.py [298 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
translator/c/test/test_boehm.py .................
========================== 17 passed in 56.45 seconds ==========================
++ 00:18:46 starting translator/c/test/test_database.py [302 started in total]
__ translator/c/test/test_database.py [299 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
translator/c/test/test_database.py .................
========================== 17 passed in 1.26 seconds ===========================
++ 00:18:49 starting translator/c/test/test_exception.py [303 started in total]
__ translator/c/test/test_exception.py [300 done in total, somefailed=False] __
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
translator/c/test/test_exception.py ..........
========================== 10 passed in 27.07 seconds ==========================
++ 00:19:17 starting translator/c/test/test_extfunc.py [304 started in total]
__ translator/c/test/test_backendoptimized.py [301 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 90 items
translator/c/test/test_backendoptimized.py ..........................................................................................
========================= 90 passed in 282.10 seconds ==========================
++ 00:21:35 starting translator/c/test/test_genc.py [305 started in total]
__ rtyper/test [302 done in total, somefailed=False] __________________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1161 items
rtyper/test/test_annlowlevel.py ..........
rtyper/test/test_controllerentry.py ........
rtyper/test/test_exception.py .........
rtyper/test/test_extfunc.py .......
rtyper/test/test_extregistry.py .......
rtyper/test/test_generator.py ...x..
rtyper/test/test_llann.py .........................
rtyper/test/test_llannotation.py ...
rtyper/test/test_llinterp.py .........................s.......
rtyper/test/test_llop.py ........
rtyper/test/test_nongc.py ........
rtyper/test/test_normalizecalls.py .................
rtyper/test/test_rbool.py ........
rtyper/test/test_rbuilder.py .....................
rtyper/test/test_rbuiltin.py ....................s..ss...................
rtyper/test/test_rbytearray.py ......
rtyper/test/test_rclass.py ...................................................................x.....
rtyper/test/test_rconstantdict.py .....
rtyper/test/test_rdict.py .........................................................................
rtyper/test/test_remptydict.py ..
rtyper/test/test_rfloat.py ............................
rtyper/test/test_rint.py ........................s........
rtyper/test/test_rlist.py ..................................................................................................
rtyper/test/test_rordereddict.py ............................................................................................................................................
rtyper/test/test_rpbc.py .................................................................................s..........s.......................................................................................s..........s......
rtyper/test/test_rptr.py .......................
rtyper/test/test_rrange.py ................
rtyper/test/test_rstr.py ........................................................................................
rtyper/test/test_rtuple.py .................................
rtyper/test/test_rtyper.py ........
rtyper/test/test_runicode.py .........................................................................s..............ssssssssssss...
rtyper/test/test_rvirtualizable.py .............
rtyper/test/test_rweakref.py .......
============= 1137 passed, 22 skipped, 2 xfailed in 526.13 seconds =============
++ 00:22:09 starting translator/c/test/test_lladdresses.py [306 started in total]
__ translator/c/test/test_extfunc.py [303 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 58 items
translator/c/test/test_extfunc.py ..........s..............................s................
==================== 56 passed, 2 skipped in 171.15 seconds ====================
++ 00:22:10 starting translator/c/test/test_llop.py [307 started in total]
__ translator/c/test/test_llop.py [304 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
translator/c/test/test_llop.py ....
========================== 4 passed in 21.67 seconds ===========================
++ 00:22:34 starting translator/c/test/test_lltyped.py [308 started in total]
__ translator/c/test/test_genc.py [305 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 28 items
translator/c/test/test_genc.py ............................
========================== 28 passed in 72.65 seconds ==========================
++ 00:22:55 starting translator/c/test/test_math.py [309 started in total]
__ translator/c/test/test_lladdresses.py [306 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
translator/c/test/test_lladdresses.py .................
========================== 17 passed in 44.37 seconds ==========================
++ 00:23:00 starting translator/c/test/test_newgc.py [310 started in total]
__ translator/c/test/test_math.py [307 done in total, somefailed=False] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
translator/c/test/test_math.py ..
========================== 2 passed in 22.83 seconds ===========================
++ 00:23:19 starting translator/c/test/test_refcount.py [311 started in total]
__ rlib/rsre/test/test_zjit.py [308 done in total, somefailed=False] __________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
rlib/rsre/test/test_zjit.py .....................x....
=================== 25 passed, 1 xfailed in 1465.83 seconds ====================
++ 00:23:30 starting translator/c/test/test_rtagged.py [312 started in total]
__ translator/c/test/test_rtagged.py [309 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
translator/c/test/test_rtagged.py ..
=========================== 2 passed in 2.68 seconds ===========================
++ 00:23:34 starting translator/c/test/test_standalone.py [313 started in total]
__ translator/c/test/test_refcount.py [310 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
translator/c/test/test_refcount.py ..........
========================== 10 passed in 30.94 seconds ==========================
++ 00:23:51 starting translator/c/test/test_standalone_print_function.py [314 started in total]
__ translator/c/test/test_standalone_print_function.py [311 done in total, somefailed=False]
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
translator/c/test/test_standalone_print_function.py .
=========================== 1 passed in 6.50 seconds ===========================
++ 00:24:00 starting translator/c/test/test_support.py [315 started in total]
__ translator/c/test/test_support.py [312 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 107 items
translator/c/test/test_support.py ...........................................................................................................
========================== 107 passed in 0.18 seconds ==========================
++ 00:24:01 starting translator/c/test/test_symbolic.py [316 started in total]
__ translator/c/test/test_symbolic.py [313 done in total, somefailed=False] ___
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
translator/c/test/test_symbolic.py .......
========================== 7 passed in 16.93 seconds ===========================
++ 00:24:21 starting translator/c/test/test_typed.py [317 started in total]
__ translator/c/test/test_lltyped.py [314 done in total, somefailed=False] ____
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 50 items
translator/c/test/test_lltyped.py ..................s..............s................
==================== 48 passed, 2 skipped in 141.28 seconds ====================
++ 00:24:59 starting translator/platform/arch/test [318 started in total]
__ translator/platform/arch/test [315 done in total, somefailed=False] ________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.00 seconds ===========================
++ 00:25:00 starting translator/platform/test [319 started in total]
__ translator/platform/test [316 done in total, somefailed=False] _____________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 18 items / 2 skipped
translator/platform/test/test_makefile.py ...s
translator/platform/test/test_platform.py ..........
translator/platform/test/test_posix.py ....
==================== 17 passed, 3 skipped in 15.33 seconds =====================
++ 00:25:17 starting translator/sandbox/test [320 started in total]
__ translator/sandbox/test [317 done in total, somefailed=False] ______________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 30 items
translator/sandbox/test/test_sandbox.py ..........s.s....
translator/sandbox/test/test_sandlib.py .s.......
translator/sandbox/test/test_vfs.py ....
==================== 27 passed, 3 skipped in 102.93 seconds ====================
++ 00:27:06 starting translator/test [321 started in total]
__ translator/test [318 done in total, somefailed=False] ______________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 67 items
translator/test/test_driver.py .....
translator/test/test_exceptiontransform.py .........s......
translator/test/test_interactive.py .......
translator/test/test_simplify.py ............................
translator/test/test_stackcheck.py ...
translator/test/test_timing.py .
translator/test/test_translator.py .
translator/test/test_uniquename.py .
translator/test/test_unsimplify.py .....
==================== 66 passed, 1 skipped in 37.16 seconds =====================
++ 00:27:50 starting translator/tool/test [322 started in total]
__ translator/c/test/test_standalone.py [319 done in total, somefailed=False] _
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
translator/c/test/test_standalone.py ...s..............s......s................
==================== 39 passed, 3 skipped in 258.33 seconds ====================
__ translator/tool/test [320 done in total, somefailed=False] _________________
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
translator/tool/test/test_cbuild.py ......s.s.
translator/tool/test/test_staticsizereport.py ..
translator/tool/test/test_taskengine.py ...
==================== 13 passed, 2 skipped in 14.52 seconds =====================
__ translator/c/test/test_typed.py [321 done in total, somefailed=False] ______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 76 items
translator/c/test/test_typed.py ............................................................................
========================= 76 passed in 265.20 seconds ==========================
__ translator/c/test/test_newgc.py [322 done in total, somefailed=True] _______
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('/build_dir/rpython-linux-x86-64/build/rpython/.hypothesis/examples')
pytest-2.9.2 from /build_dir/rpython-linux-x86-64/build/pytest.pyc
rootdir: /build_dir/rpython-linux-x86-64/build/rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 556 items
translator/c/test/test_newgc.py .............................................................................................................................................................................s.........................................................sEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.........................................................s..EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
==================================== ERRORS ====================================
____________ ERROR at setup of TestMiniMarkGC.test_finalizer_order _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
---------------------------- Captured stderr setup -----------------------------
[platform:Error] /tmp/pytest/usession-main-23222/platcheck_82.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
___ ERROR at setup of TestMiniMarkGC.test_from_objwithfinalizer_to_youngobj ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_empty_collect ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_framework_simple ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_framework_safe_pushpop _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGC.test_framework_protect_getfield _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_framework_varsized ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_framework_using_lists __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_framework_static_roots _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_framework_nongc_static_root _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestMiniMarkGC.test_framework_void_array __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGC.test_framework_malloc_failure ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGC.test_framework_array_of_void _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_framework_opaque ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestMiniMarkGC.test_framework_finalizer ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______________ ERROR at setup of TestMiniMarkGC.test_del_catches _______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______________ ERROR at setup of TestMiniMarkGC.test_del_raises _______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______________ ERROR at setup of TestMiniMarkGC.test_custom_trace ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_custom_light_finalizer _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________________ ERROR at setup of TestMiniMarkGC.test_weakref _________________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_prebuilt_weakref ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_prebuilt_dicts_of_all_sizes _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestMiniMarkGC.test_framework_malloc_raw __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestMiniMarkGC.test_framework_del_seeing_new_types _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestMiniMarkGC.test_framework_late_filling_pointers _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_zero_raw_malloc _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_object_alignment ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______________ ERROR at setup of TestMiniMarkGC.test_void_list ________________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGC.test_open_read_write_seek_close _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_callback_with_collect __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________________ ERROR at setup of TestMiniMarkGC.test_can_move ________________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_resizable_buffer ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_hash_preservation ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_hash_overflow ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_hash_varsized ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGC.test_arraycopy_writebarrier_int _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGC.test_arraycopy_writebarrier_ptr _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_get_rpy_roots ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_get_rpy_referents ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_is_rpy_instance _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGC.test_try_cast_gcref_to_instance _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestMiniMarkGC.test_get_rpy_memory_usage __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_get_rpy_type_index ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_dump_rpy_heap ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_write_typeids_z _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______________ ERROR at setup of TestMiniMarkGC.test_gcflag_extra ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_check_zero_works ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGC.test_long_chain_of_instances _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________________ ERROR at setup of TestMiniMarkGC.test_many_ids ________________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestMiniMarkGC.test_gc_set_max_heap_size __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_string_builder _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestMiniMarkGC.test_string_builder_over_allocation _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestMiniMarkGC.test_string_builder_multiple_builds _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestMiniMarkGC.test_string_builder_multiple_builds_2 ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_nursery_hash_base ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_extra_item_after_alloc _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________________ ERROR at setup of TestMiniMarkGC.test_rerased _________________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_gc_heap_stats ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestMiniMarkGC.test_nongc_attached_to_gc __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_nongc_opaque_attached_to_gc _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_limited_memory _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_82.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_82.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_82.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_82.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_82.c:143:
E /tmp/pytest/usession-main-23222/platcheck_82.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_82.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_finalizer_order _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
---------------------------- Captured stderr setup -----------------------------
[platform:Error] /tmp/pytest/usession-main-23222/platcheck_83.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
ERROR at setup of TestIncrementalMiniMarkGC.test_from_objwithfinalizer_to_youngobj
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_empty_collect ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_simple _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_safe_pushpop ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_protect_getfield __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_varsized ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_using_lists ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_static_roots ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_nongc_static_root _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_void_array _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_malloc_failure ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_array_of_void ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_opaque _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_finalizer _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestIncrementalMiniMarkGC.test_del_catches _________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestIncrementalMiniMarkGC.test_del_raises __________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_custom_trace _________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_custom_light_finalizer ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestIncrementalMiniMarkGC.test_weakref ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_prebuilt_weakref _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_prebuilt_dicts_of_all_sizes _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_malloc_raw _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_framework_del_seeing_new_types
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_framework_late_filling_pointers
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_zero_raw_malloc _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_object_alignment _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestIncrementalMiniMarkGC.test_void_list __________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_open_read_write_seek_close __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_callback_with_collect ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestIncrementalMiniMarkGC.test_can_move ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_resizable_buffer _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_preservation ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_overflow ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_varsized ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_arraycopy_writebarrier_int __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_arraycopy_writebarrier_ptr __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_roots ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_referents ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_is_rpy_instance _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_try_cast_gcref_to_instance __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_memory_usage _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_type_index ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_dump_rpy_heap ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_write_typeids_z _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_gcflag_extra _________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_check_zero_works _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_long_chain_of_instances ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestIncrementalMiniMarkGC.test_many_ids ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_gc_set_max_heap_size _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_over_allocation
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_multiple_builds
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_multiple_builds_2
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_nursery_hash_base ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_extra_item_after_alloc ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestIncrementalMiniMarkGC.test_rerased ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_gc_heap_stats ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_nongc_attached_to_gc _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_nongc_opaque_attached_to_gc _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_limited_memory ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_total_memory_pressure ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestIncrementalMiniMarkGC.test_random_pin __________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_limited_memory_linux _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_ignore_finalizer _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_enable_disable ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_collect_step _________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_total_gc_time ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGC.test_increase_root_stack_depth __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_83.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_83.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_83.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_83.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_83.c:143:
E /tmp/pytest/usession-main-23222/platcheck_83.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_83.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_finalizer_order _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
---------------------------- Captured stderr setup -----------------------------
[platform:Error] /tmp/pytest/usession-main-23222/platcheck_84.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
ERROR at setup of TestMiniMarkGCMostCompact.test_from_objwithfinalizer_to_youngobj
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_empty_collect ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_simple _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_safe_pushpop ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_protect_getfield __
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_varsized ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_using_lists ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_static_roots ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_nongc_static_root _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_void_array _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_malloc_failure ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_array_of_void ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_opaque _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_finalizer _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestMiniMarkGCMostCompact.test_del_catches _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_________ ERROR at setup of TestMiniMarkGCMostCompact.test_del_raises __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_custom_trace _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_custom_light_finalizer ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestMiniMarkGCMostCompact.test_weakref ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_prebuilt_weakref _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_prebuilt_dicts_of_all_sizes _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_malloc_raw _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_framework_del_seeing_new_types
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_framework_late_filling_pointers
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_zero_raw_malloc _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_object_alignment _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestMiniMarkGCMostCompact.test_void_list __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_open_read_write_seek_close __
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_callback_with_collect ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestMiniMarkGCMostCompact.test_can_move ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_resizable_buffer _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_preservation ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_overflow ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_varsized ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_arraycopy_writebarrier_int __
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_arraycopy_writebarrier_ptr __
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_roots ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_referents ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_is_rpy_instance _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_try_cast_gcref_to_instance __
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_memory_usage _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_type_index ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_dump_rpy_heap ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_write_typeids_z _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_gcflag_extra _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_check_zero_works _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_long_chain_of_instances ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__________ ERROR at setup of TestMiniMarkGCMostCompact.test_many_ids ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_gc_set_max_heap_size _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_over_allocation
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_multiple_builds
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_multiple_builds_2
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_nursery_hash_base ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_extra_item_after_alloc ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestMiniMarkGCMostCompact.test_rerased ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_gc_heap_stats ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_nongc_attached_to_gc _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_nongc_opaque_attached_to_gc _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_limited_memory ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestMiniMarkGCMostCompact.test_tagged ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___________ ERROR at setup of TestMiniMarkGCMostCompact.test_erased ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_84.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_84.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_84.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_84.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_84.c:143:
E /tmp/pytest/usession-main-23222/platcheck_84.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_84.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_finalizer_order __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
---------------------------- Captured stderr setup -----------------------------
[platform:Error] /tmp/pytest/usession-main-23222/platcheck_85.c: In function \u2018dump_section_447\u2019:\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field \u2018s\u2019 has incomplete type\n[platform:Error] 6933 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of \u2018s\u2019 isn\u2019t known\n[platform:Error] 6936 | platcheck_t s;\n[platform:Error] | ^\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of \u2018sizeof\u2019 to incomplete type \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6939 | dump("size", sizeof(platcheck_t));\n[platform:Error] | ^~~~~~~~~~~\n[platform:Error] In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));\n[platform:Error] | ^~~~~~~~\n[platform:Error] /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef \u2018platcheck_t\u2019 {aka \u2018struct sockaddr_qrtr\u2019}\n[platform:Error] 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n[platform:Error] | ^~~~~~~~
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_from_objwithfinalizer_to_youngobj
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_empty_collect ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_simple _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_safe_pushpop
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_protect_getfield
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_varsized
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_using_lists
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_static_roots
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_nongc_static_root
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_void_array
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_malloc_failure
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_array_of_void
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_opaque _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_finalizer
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_del_catches ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_del_raises ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_custom_trace ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_custom_light_finalizer
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_weakref ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_prebuilt_weakref _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_prebuilt_dicts_of_all_sizes
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_malloc_raw
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_del_seeing_new_types
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_late_filling_pointers
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_zero_raw_malloc __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_object_alignment _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_void_list _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_open_read_write_seek_close
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_callback_with_collect
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_can_move _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_resizable_buffer _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_preservation _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_overflow ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_varsized ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_arraycopy_writebarrier_int
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_arraycopy_writebarrier_ptr
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_roots ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_referents _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_is_rpy_instance __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_try_cast_gcref_to_instance
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_memory_usage
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_type_index
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_dump_rpy_heap ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_write_typeids_z __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gcflag_extra ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_check_zero_works _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_long_chain_of_instances
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_many_ids _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gc_set_max_heap_size
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_over_allocation
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_multiple_builds
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_multiple_builds_2
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nursery_hash_base _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_extra_item_after_alloc
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_rerased ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gc_heap_stats ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nongc_attached_to_gc
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nongc_opaque_attached_to_gc
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_limited_memory __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_total_memory_pressure
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_random_pin ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_limited_memory_linux
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_ignore_finalizer _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_enable_disable __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_collect_step ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_total_gc_time ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_increase_root_stack_depth
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_tagged ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_erased ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator/c/test/test_newgc.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_newgc.py:1632: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, ropenssl
rlib/ropenssl.py:9: in <module>
from rpython.rlib._rsocket_rffi import SAVE_ERR
rlib/_rsocket_rffi.py:1222: in <module>
cConfig.__dict__.update(platform.configure(CConfig))
rtyper/tool/rffi_platform.py:216: in configure
for name, result in zip(entries, results):
rtyper/tool/rffi_platform.py:241: in configure_entries
writer.path, eci, ignore_errors=ignore_errors))
rtyper/tool/rffi_platform.py:745: in run_example_code
output = build_executable_cache(files, eci, ignore_errors=ignore_errors)
tool/gcc_cache.py:28: in build_executable_cache
result = platform.execute(platform.compile(c_files, eci))
translator/platform/__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
translator/platform/__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
translator/platform/posix.py:44: in _compile_c_file
cwd=str(cfile.dirpath()))
translator/platform/__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Linux cc=gcc>, returncode = 1, stdout = ''
stderr = '/tmp/pytest/usession-main-23222/platcheck_85.c: In function \xe2\x80\x98dump_section_447\xe2\x80\x99:\n/tmp/pytest/us...x80\x99}\n 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));\n | ^~~~~~~~\n'
outname = local('/tmp/pytest/usession-main-23222/platcheck_85.o')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
errorfile = outname.new(ext='errors')
errorfile.write(stderr, 'wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(err="""
E /tmp/pytest/usession-main-23222/platcheck_85.c: In function ‘dump_section_447’:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6933:18: error: field ‘s’ has incomplete type
E 6933 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6936:14: error: storage size of ‘s’ isn’t known
E 6936 | platcheck_t s;
E | ^
E /tmp/pytest/usession-main-23222/platcheck_85.c:6939:23: error: invalid application of ‘sizeof’ to incomplete type ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6939 | dump("size", sizeof(platcheck_t));
E | ^~~~~~~~~~~
E In file included from /tmp/pytest/usession-main-23222/platcheck_85.c:143:
E /tmp/pytest/usession-main-23222/platcheck_85.c:6940:27: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6940 | dump("fldofs sq_family", offsetof(platcheck_t, sq_family));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6944:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6944 | dump("fldofs sq_node", offsetof(platcheck_t, sq_node));
E | ^~~~~~~~
E /tmp/pytest/usession-main-23222/platcheck_85.c:6948:25: error: invalid use of incomplete typedef ‘platcheck_t’ {aka ‘struct sockaddr_qrtr’}
E 6948 | dump("fldofs sq_port", offsetof(platcheck_t, sq_port));
E | ^~~~~~~~
E """)
translator/platform/__init__.py:155: CompilationError
============== 289 passed, 3 skipped, 264 error in 418.42 seconds ==============
program finished with exit code 1
elapsedTime=3589.769340