* Package: dev-python/leechcorepyc-2.16.5:0 * Repository: gentoo * Maintainer: mario.haustein@hrz.tu-chemnitz.de sam@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 leechcorepyc-2.16.5.tar.gz to /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work >>> Source unpacked in /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work >>> Preparing source in /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5 ... * Applying leechcorepyc-2.16.0-respect-CC.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5 ... * python3_11: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for leechcorepyc-2.16.5 via setuptools.build_meta:__legacy__ gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/wheel 2023-12-01 12:37:55,413 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ make clean -C leechcore make[1]: Entering directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5/leechcore' rm -f *.o || true rm -f */*.o || true rm -f *.so || true make[1]: Leaving directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5/leechcore' make clean -C leechcore_ft601_driver_linux || true make[1]: Entering directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5/leechcore_ft601_driver_linux' rm -f *.o make[1]: Leaving directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5/leechcore_ft601_driver_linux' make clean -C leechcore_device_qemu || true make[1]: Entering directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5' make[1]: *** leechcore_device_qemu: No such file or directory. Stop. make[1]: Leaving directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5' make clean -C leechcore_device_rawtcp || true make[1]: Entering directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5/leechcore_device_rawtcp' rm -f *.o make[1]: Leaving directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5/leechcore_device_rawtcp' rm files/*.so || true rm: cannot remove 'files/*.so': No such file or directory rm leechcore.so || true rm: cannot remove 'leechcore.so': No such file or directory rm leechcorepyc/*.so || true rm: cannot remove 'leechcorepyc/*.so': No such file or directory make -C leechcore make[1]: Entering directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5/leechcore' clang -c -o oscompatibility.o oscompatibility.c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `pkg-config libusb-1.0 --libs --cflags` -fPIE -fPIC -pie -fstack-protector-strong -O1 -Wl,-z,noexecstack -Wall -Wno-multichar -Wno-unused-result -Wno-unused-variable -Wno-unused-value -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast clang-17: warning: -lusb-1.0: 'linker' input unused [-Wunused-command-line-argument] clang-17: warning: -Wl,-z,noexecstack: 'linker' input unused [-Wunused-command-line-argument] clang-17: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] clang-17: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] oscompatibility.c:292:8: error: address argument to atomic operation must be a pointer to _Atomic type ('uint32_t *' (aka 'unsigned int *') invalid) 292 | if(atomic_compare_exchange_strong(&SRWLock->xchg, &dwZero, 1)) { | ^ ~~~~~~~~~~~~~~ /usr/lib/llvm/17/bin/../../../../lib/clang/17/include/stdatomic.h:146:67: note: expanded from macro 'atomic_compare_exchange_strong' 146 | #define atomic_compare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_strong(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) | ^ ~~~~~~ oscompatibility.c:305:12: error: address argument to atomic operation must be a pointer to _Atomic type ('uint32_t *' (aka 'unsigned int *') invalid) 305 | if(atomic_compare_exchange_strong(&SRWLock->xchg, &dwZero, 1)) { | ^ ~~~~~~~~~~~~~~ /usr/lib/llvm/17/bin/../../../../lib/clang/17/include/stdatomic.h:146:67: note: expanded from macro 'atomic_compare_exchange_strong' 146 | #define atomic_compare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_strong(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) | ^ ~~~~~~ oscompatibility.c:320:12: error: address argument to atomic operation must be a pointer to _Atomic type ('uint32_t *' (aka 'unsigned int *') invalid) 320 | if(atomic_compare_exchange_strong(&SRWLock->xchg, &dwZero, 1)) { | ^ ~~~~~~~~~~~~~~ /usr/lib/llvm/17/bin/../../../../lib/clang/17/include/stdatomic.h:146:67: note: expanded from macro 'atomic_compare_exchange_strong' 146 | #define atomic_compare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_strong(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) | ^ ~~~~~~ oscompatibility.c:342:8: error: address argument to atomic operation must be a pointer to _Atomic type ('uint32_t *' (aka 'unsigned int *') invalid) 342 | if(atomic_compare_exchange_strong(&SRWLock->xchg, &dwOne, 0)) { | ^ ~~~~~~~~~~~~~~ /usr/lib/llvm/17/bin/../../../../lib/clang/17/include/stdatomic.h:146:67: note: expanded from macro 'atomic_compare_exchange_strong' 146 | #define atomic_compare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_strong(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) | ^ ~~~~~~ 4 errors generated. make[1]: *** [Makefile:17: oscompatibility.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5/leechcore' make: *** [Makefile:3: all] Error 2 2023-12-01 12:37:55,809 root INFO running bdist_wheel 2023-12-01 12:37:55,920 root INFO running build 2023-12-01 12:37:55,920 root INFO running build_py 2023-12-01 12:37:55,941 root INFO creating /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build 2023-12-01 12:37:55,941 root INFO creating /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/lib.linux-x86_64-cpython-311 2023-12-01 12:37:55,941 root INFO creating /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/lib.linux-x86_64-cpython-311/leechcorepyc 2023-12-01 12:37:55,941 root INFO copying leechcorepyc/__init__.py -> /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/lib.linux-x86_64-cpython-311/leechcorepyc 2023-12-01 12:37:55,942 root WARNING warning: build_py: byte-compiling is disabled, skipping. 2023-12-01 12:37:55,942 root INFO running build_ext 2023-12-01 12:37:56,179 root INFO building 'leechcorepyc.leechcorepyc' extension 2023-12-01 12:37:56,179 root INFO creating /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/temp.linux-x86_64-cpython-311 2023-12-01 12:37:56,180 root INFO clang -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -fPIC -DLINUX= -Iincludes -I/usr/include/libusb-1.0/ -I/usr/include/python3.11 -c leechcorepyc.c -o /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/temp.linux-x86_64-cpython-311/leechcorepyc.o -I. -L. -l:leechcore.so -shared -fPIC -fvisibility=hidden clang-17: warning: -l:leechcore.so: 'linker' input unused [-Wunused-command-line-argument] clang-17: warning: argument unused during compilation: '-L.' [-Wunused-command-line-argument] clang-17: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] leechcorepyc.c:369:18: warning: unknown attribute 'optimize' ignored [-Wunknown-attributes] 369 | static PyObject* LINUX_NO_OPTIMIZE | ^~~~~~~~~~~~~~~~~ ./oscompatibility.h:212:42: note: expanded from macro 'LINUX_NO_OPTIMIZE' 212 | #define LINUX_NO_OPTIMIZE __attribute__((optimize("O0"))) | ^~~~~~~~~~~~~~ 1 warning generated. 2023-12-01 12:37:56,516 root INFO clang -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -fPIC -DLINUX= -Iincludes -I/usr/include/libusb-1.0/ -I/usr/include/python3.11 -c leechcorepyc_barrequest.c -o /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/temp.linux-x86_64-cpython-311/leechcorepyc_barrequest.o -I. -L. -l:leechcore.so -shared -fPIC -fvisibility=hidden clang-17: warning: -l:leechcore.so: 'linker' input unused [-Wunused-command-line-argument] clang-17: warning: argument unused during compilation: '-L.' [-Wunused-command-line-argument] clang-17: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] 2023-12-01 12:37:56,687 root INFO clang -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DNDEBUG -fPIC -DLINUX= -Iincludes -I/usr/include/libusb-1.0/ -I/usr/include/python3.11 -c oscompatibility.c -o /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/temp.linux-x86_64-cpython-311/oscompatibility.o -I. -L. -l:leechcore.so -shared -fPIC -fvisibility=hidden clang-17: warning: -l:leechcore.so: 'linker' input unused [-Wunused-command-line-argument] clang-17: warning: argument unused during compilation: '-L.' [-Wunused-command-line-argument] clang-17: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] oscompatibility.c:241:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 241 | read(fds[0].fd, &v, sizeof(v)); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ oscompatibility.c:263:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 263 | read(hi->handle, &v, sizeof(v)); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ oscompatibility.c:286:17: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 286 | read(fds[i].fd, &v, sizeof(v)); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. 2023-12-01 12:37:56,822 root INFO clang -shared -Wl,-O1 -Wl,--as-needed -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/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/temp.linux-x86_64-cpython-311/leechcorepyc.o /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/temp.linux-x86_64-cpython-311/leechcorepyc_barrequest.o /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/temp.linux-x86_64-cpython-311/oscompatibility.o -L. -L/usr/lib64 -lusb-1.0 -l:leechcore.so -o /var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/build/lib.linux-x86_64-cpython-311/leechcorepyc/leechcorepyc.abi3.so -Wl,-rpath,$ORIGIN -g -ldl -shared ld.lld: error: unable to find library -l:leechcore.so clang-17: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/temp/clang-wrappers/clang' failed with exit code 1 * ERROR: dev-python/leechcorepyc-2.16.5::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4264: Called distutils-r1_src_compile * environment, line 2033: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 810: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3882: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3207: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3205: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1296: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 2015: Called distutils-r1_python_compile * environment, line 1833: Called distutils_pep517_install '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5-python3_11/install' * environment, line 2365: 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/leechcorepyc-2.16.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/leechcorepyc-2.16.5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:leechcorepyc-2.16.5:20231201-123722.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5' * S: '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5'