error: Command "/usr/bin/x86_64-pc-linux-gnu-gcc -iquote/var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6/src/include -w -Dvoid0=dead_function(void) -D__Pyx_check_single_interpreter(ARG)=ARG ## 0 -pipe -march=native -O2 -fPIC -I/usr/include/python3.9 -I/usr/include/python3.9 -c /var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6_build/src/pybind/rados/rados.c -o /var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6_build/lib/cython_modules/temp.linux-x86_64-3.9/var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6_build/src/pybind/rados/rados.o -iquote/var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6/src/include -w -Dvoid0=dead_function(void) -D__Pyx_check_single_interpreter(ARG)=ARG ## 0 -pipe -march=native -O2 -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fwrapv" failed with exit status 1 [ 83%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/migration/HttpClient.cc.o ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20211109-200133 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.56.1 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.3 [2] php7.4 [3] php8.0 * HEAD of ::gentoo commit ab9e158a98bbc3556fa0b7a23645d0553dcaabc7 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Nov 10 21:21:38 2021 +0000 2021-11-10 21:21:37 UTC emerge -qpvO sys-cluster/ceph [ebuild N ] sys-cluster/ceph-16.2.6-r2 USE="cephfs mgr radosgw sqlite ssl tcmalloc -babeltrace -custom-cflags -diskprediction (-dpdk) -fuse -grafana -jaeger -jemalloc -kafka -kerberos -ldap -lttng -numa -pmdk -rabbitmq -rbd-rwl -rbd-ssd -rgw-lua -spdk (-system-boost) -systemd -test -uring -xfs -zbd -zfs" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-3" PYTHON_TARGETS="python3_9 -python3_8"
Created attachment 750279 [details] emerge-info.txt
Created attachment 750282 [details] emerge-history.txt
Created attachment 750285 [details] environment
Created attachment 750288 [details] etc.portage.tar.bz2
Created attachment 750291 [details] logs.tar.bz2
Created attachment 750294 [details] sys-cluster:ceph-16.2.6-r2:20211110-233211.log.bz2
Created attachment 750297 [details] temp.tar.bz2
problem with defines in cflags I removed the breaking defines and the compilation went without errors replace ceph-14.2.0-cython-0.28.patch with --- ceph-16.2.6/cmake/modules/Distutils.cmake.old +++ ceph-16.2.6/cmake/modules/Distutils.cmake @@ -53,8 +53,6 @@ list(APPEND cflags -iquote${CMAKE_SOURCE_DIR}/src/include -w) # This little bit of magic wipes out __Pyx_check_single_interpreter() # Note: this is reproduced in distutils_install_cython_module - list(APPEND cflags -D'void0=dead_function\(void\)') - list(APPEND cflags -D'__Pyx_check_single_interpreter\(ARG\)=ARG \#\# 0') set(PY_CC ${compiler_launcher} ${CMAKE_C_COMPILER} ${c_compiler_arg1} ${cflags}) set(PY_CXX ${compiler_launcher} ${CMAKE_CXX_COMPILER} ${cxx_compiler_arg1}) set(PY_LDSHARED ${link_launcher} ${CMAKE_C_COMPILER} ${c_compiler_arg1} "-shared") @@ -100,9 +98,7 @@ install(CODE " set(ENV{CC} \"${PY_CC}\") set(ENV{LDSHARED} \"${PY_LDSHARED}\") - set(ENV{CPPFLAGS} \"-iquote${CMAKE_SOURCE_DIR}/src/include - -D'void0=dead_function\(void\)' \ - -D'__Pyx_check_single_interpreter\(ARG\)=ARG \#\# 0'\") + set(ENV{CPPFLAGS} \"-iquote${CMAKE_SOURCE_DIR}/src/include\") set(ENV{LDFLAGS} \"-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\") set(ENV{CYTHON_BUILD_DIR} \"${CMAKE_CURRENT_BINARY_DIR}\") set(ENV{CEPH_LIBDIR} \"${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\")
Please use an attachment for the patch rather than pasting in to a comment.
Isn't this a duplicate of Bug #802150?
*** This bug has been marked as a duplicate of bug 802150 ***