* Package: dev-python/cysignals-1.11.4:0 * Repository: gentoo * Maintainer: mjo@gentoo.org frp.bissey@gmail.com,proxy-maint@gentoo.org,sci-mathematics@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cysignals-1.11.4.tar.gz to /var/tmp/portage/dev-python/cysignals-1.11.4/work >>> Source unpacked in /var/tmp/portage/dev-python/cysignals-1.11.4/work >>> Preparing source in /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4 ... * Build system packages: * dev-python/gpep517 : 15 * dev-python/installer : 0.7.0 * dev-python/cython : 3.0.6 * dev-python/setuptools : 69.0.2 * dev-python/setuptools-rust : 1.8.1 * dev-python/setuptools-scm : 8.0.4 * dev-python/wheel : 0.42.0 >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-28T01:06)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4 ... * python3_11: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for cysignals-1.11.4 via setuptools.build_meta gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/wheel 2023-11-30 21:49:54,663 gpep517 INFO Building wheel via backend setuptools.build_meta 2023-11-30 21:49:54,939 root INFO running bdist_wheel 2023-11-30 21:49:55,029 root INFO running build 2023-11-30 21:49:55,029 root INFO running build_py 2023-11-30 21:49:55,029 root INFO running configure checking for gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C++11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for execinfo.h... yes checking for sys/mman.h... yes checking for sys/prctl.h... yes checking for time.h... yes checking for sys/wait.h... yes checking for windows.h... no checking for fork... yes checking for kill... yes checking for sigprocmask... yes checking for sigaltstack... yes checking for backtrace... yes checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed checking for library containing pari_init... -lpari checking whether PARI_SIGINT_block is declared... yes checking for emms instruction... yes checking whether setjmp() saves the signal mask... no checking for GNU libc... yes checking for _Atomic in C code... yes checking for _Atomic with OpenMP in C code... yes checking for _Atomic in C++ code... yes checking for _Atomic with OpenMP in C++ code... yes checking for std::atomic... yes checking for std::atomic with OpenMP in C++ code... yes checking whether MINSIGSTKSZ is constant... no configure: creating ./config.status config.status: creating src/cysignals/signals.pxd config.status: creating src/config.h config.status: creating src/cysignals/cysignals_config.h 2023-11-30 21:50:00,068 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build 2023-11-30 21:50:00,069 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311 2023-11-30 21:50:00,069 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals 2023-11-30 21:50:00,069 root INFO copying src/cysignals/__init__.py -> /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals 2023-11-30 21:50:00,071 root INFO copying src/cysignals/memory.pxd -> /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals 2023-11-30 21:50:00,071 root INFO copying src/cysignals/pysignals.pxd -> /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals 2023-11-30 21:50:00,072 root INFO copying src/cysignals/signals.pxd -> /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals 2023-11-30 21:50:00,072 root INFO copying src/cysignals/macros.h -> /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals 2023-11-30 21:50:00,073 root INFO copying src/cysignals/struct_signals.h -> /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals 2023-11-30 21:50:00,073 root INFO copying src/cysignals/cysignals_config.h -> /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals 2023-11-30 21:50:00,074 root WARNING warning: build_py: byte-compiling is disabled, skipping. 2023-11-30 21:50:00,074 root INFO running build_ext INFO: Disabling color, you really want to install colorlog. 2023-11-30 21:50:00,081 pythran INFO Disabling color, you really want to install colorlog. warning: src/cysignals/alarm.pyx:83:41: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: /usr/lib/python3.11/site-packages/Cython/Includes/cpython/complex.pxd:19:37: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: /usr/lib/python3.11/site-packages/Cython/Includes/cpython/complex.pxd:23:37: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: /usr/lib/python3.11/site-packages/Cython/Includes/cpython/contextvars.pxd:112:53: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. warning: /usr/lib/python3.11/site-packages/Cython/Includes/cpython/contextvars.pxd:129:64: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword. performance hint: src/cysignals/tests.pyx:296:5: Exception check on 'c_test_sig_on_cython_except_all' will always require the GIL to be acquired. Possible solutions: 1. Declare the function as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on the function to allow an error code to be returned. performance hint: src/cysignals/tests.pyx:312:39: Exception check will always require the GIL to be acquired. Possible solutions: 1. Declare the function as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on the function to allow an error code to be returned. performance hint: src/cysignals/tests.pyx:473:38: Exception check will always require the GIL to be acquired. Possible solutions: 1. Declare the function as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on the function to allow an error code to be returned. [1/5] Cythonizing src/cysignals/alarm.pyx [2/5] Cythonizing src/cysignals/pselect.pyx [3/5] Cythonizing src/cysignals/pysignals.pyx [4/5] Cythonizing src/cysignals/signals.pyx [5/5] Cythonizing src/cysignals/tests.pyx 2023-11-30 21:50:03,042 root INFO building 'cysignals.signals' extension 2023-11-30 21:50:03,042 root INFO building 'cysignals.pysignals' extension 2023-11-30 21:50:03,043 root INFO building 'cysignals.alarm' extension 2023-11-30 21:50:03,043 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311 2023-11-30 21:50:03,043 root INFO building 'cysignals.pselect' extension 2023-11-30 21:50:03,043 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311 2023-11-30 21:50:03,044 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build 2023-11-30 21:50:03,044 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src 2023-11-30 21:50:03,044 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals 2023-11-30 21:50:03,044 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build 2023-11-30 21:50:03,044 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals 2023-11-30 21:50:03,045 root INFO clang -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -U_FORTIFY_SOURCE -Isrc -Isrc/cysignals -I/usr/include/python3.11 -c build/src/cysignals/pselect.c -o /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals/pselect.o -pthread -Wp,-U_FORTIFY_SOURCE 2023-11-30 21:50:03,044 root INFO clang -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -U_FORTIFY_SOURCE -Isrc -Isrc/cysignals -I/usr/include/python3.11 -c build/src/cysignals/pysignals.c -o /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals/pysignals.o -pthread -Wp,-U_FORTIFY_SOURCE 2023-11-30 21:50:03,044 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build 2023-11-30 21:50:03,043 root INFO creating /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311 2023-11-30 21:50:03,059 root INFO clang -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -U_FORTIFY_SOURCE -Isrc/cysignals -Isrc -I/usr/include/python3.11 -c build/src/cysignals/signals.c -o /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals/signals.o -pthread -Wp,-U_FORTIFY_SOURCE 2023-11-30 21:50:03,061 root INFO clang -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -U_FORTIFY_SOURCE -Isrc -Isrc/cysignals -I/usr/include/python3.11 -c build/src/cysignals/alarm.c -o /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals/alarm.o -pthread -Wp,-U_FORTIFY_SOURCE In file included from build/src/cysignals/signals.c:2380: build/src/cysignals/implementation.c:27:2: error: "cysignals must be compiled without _FORTIFY_SOURCE" 27 | #error "cysignals must be compiled without _FORTIFY_SOURCE" | ^ build/src/cysignals/implementation.c:163:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 163 | write(2, s, strlen(s)); | ^~~~~ ~~~~~~~~~~~~~~~ build/src/cysignals/implementation.c:422:29: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare] 422 | if (trampolinestacksize < PTHREAD_STACK_MIN) | ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. 2023-11-30 21:50:03,754 root INFO building 'cysignals.tests' extension 2023-11-30 21:50:03,754 root INFO clang -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -U_FORTIFY_SOURCE -Isrc/cysignals -Isrc -I/usr/include/python3.11 -c build/src/cysignals/tests.c -o /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals/tests.o -pthread -Wp,-U_FORTIFY_SOURCE 2023-11-30 21:50:04,255 root INFO clang -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals/alarm.o -L/usr/lib64 -o /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals/alarm.cpython-311-x86_64-linux-gnu.so -pthread 2023-11-30 21:50:05,295 root INFO clang -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals/pselect.o -L/usr/lib64 -o /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals/pselect.cpython-311-x86_64-linux-gnu.so -pthread 2023-11-30 21:50:06,593 root INFO clang -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals/pysignals.o -L/usr/lib64 -o /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals/pysignals.cpython-311-x86_64-linux-gnu.so -pthread 2023-11-30 21:50:12,311 root INFO clang -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/temp.linux-x86_64-cpython-311/build/src/cysignals/tests.o -L/usr/lib64 -o /var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/build/lib.linux-x86_64-cpython-311/cysignals/tests.cpython-311-x86_64-linux-gnu.so -lpari -pthread error: command '/var/tmp/portage/dev-python/cysignals-1.11.4/temp/clang-wrappers/clang' failed with exit code 1 * ERROR: dev-python/cysignals-1.11.4::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4234: Called distutils-r1_src_compile * environment, line 1999: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 791: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3848: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3173: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3171: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1262: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1981: Called distutils-r1_python_compile * environment, line 1799: Called distutils_pep517_install '/var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4-python3_11/install' * environment, line 2331: Called die * The specific snippet of code: * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); * * If you need support, post the output of `emerge --info '=dev-python/cysignals-1.11.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/cysignals-1.11.4::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:cysignals-1.11.4:20231130-214950.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/cysignals-1.11.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/cysignals-1.11.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4' * S: '/var/tmp/portage/dev-python/cysignals-1.11.4/work/cysignals-1.11.4'