from /var/tmp/portage/sys-cluster/ceph-17.2.3-r3/work/ceph-17.2.3/src/common/config.h:27, from /var/tmp/portage/sys-cluster/ceph-17.2.3-r3/work/ceph-17.2.3/src/common/config_proxy.h:6, from /var/tmp/portage/sys-cluster/ceph-17.2.3-r3/work/ceph-17.2.3/src/common/ceph_context.h:41, from /var/tmp/portage/sys-cluster/ceph-17.2.3-r3/work/ceph-17.2.3/src/librados/snap_set_diff.cc:7: /var/tmp/portage/sys-cluster/ceph-17.2.3-r3/work/ceph-17.2.3/src/common/options/legacy_config_opts.h:1:10: fatal error: global_legacy_options.h: No such file or directory 1 | #include "global_legacy_options.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j4-20220904-120638 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.3.0 * clang/llvm (if any): /usr/lib/llvm/14 14.0.6 Python 3.10.6 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.62.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] 4) Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm [4] openjdk-jre-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 1d86d0f3175ac8d6e69d7c0ef0abaeb9301388c3 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Sep 6 16:16:59 2022 +0000 2022-09-06 16:16:58 UTC emerge -qpvO sys-cluster/ceph [ebuild N ] sys-cluster/ceph-17.2.3-r3 USE="cephfs mgr parquet radosgw sqlite ssl (system-boost) systemd tcmalloc uring -babeltrace -custom-cflags -diskprediction (-dpdk) -fuse -grafana -jaeger -jemalloc -kafka -kerberos -ldap -lttng -pmdk -rabbitmq -rbd-rwl -rbd-ssd -rdma -rgw-lua -spdk -test -xfs -zbd -zfs" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-4 -lua5-3" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
Created attachment 803584 [details] emerge-info.txt
Created attachment 803587 [details] emerge-history.txt
Created attachment 803590 [details] environment
Created attachment 803593 [details] etc.portage.tar.bz2
Created attachment 803596 [details] logs.tar.bz2
Created attachment 803599 [details] sys-cluster:ceph-17.2.3-r3:20220906-175129.log
Created attachment 803602 [details] temp.tar.bz2
Reproduced on sys-cluster/ceph-17.2.5-r1 ~riscv (not amd64), there is a PR to fix this issue: https://github.com/ceph/ceph/pull/49517
Created attachment 862770 [details, diff] Patch File to patch src/CMakeLists.txt
Created attachment 862771 [details, diff] Patch File for the ceph-17.2.5-r6 ebuild
I had exactly the same error when I tried to emerge the current stable Chep version 17.2.5-r6 With the hint from Jinqiang Zhang and the information from this side: https://github.com/ceph/ceph/pull/49517/commits/80e422234acb1f8ffcbe8ee3898cb00f889466a3 I was ableto create a patch for the CMakeLists.txt in the src directory. With the patch applied I am able to compile the ebuild without an error.
ci has reproduced this issue with version 17.2.6-r3 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbbbb0a44b36b8e45c4b94e9cd55e3b564882389 commit bbbbb0a44b36b8e45c4b94e9cd55e3b564882389 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-04 04:59:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-04 05:06:39 +0000 sys-cluster/ceph: fix parallel(?) build failure ... or at least a non-deterministic issue, as it only happens on some machines. We've seen that kind of thing in the past with ninja, although only pretty rarely (on m68k...). Closes: https://bugs.gentoo.org/868891 Signed-off-by: Sam James <sam@gentoo.org> sys-cluster/ceph/ceph-17.2.6-r3.ebuild | 4 +- sys-cluster/ceph/files/ceph-17.2.6-cmake.patch | 80 ++++++++++++++++++++++++++ 2 files changed, 83 insertions(+), 1 deletion(-)