C++ -O2 -pipe -march=native -fno-diagnostics-color Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -static-libstdc++ Module -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -static-libstdc++ Shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -static-libstdc++ -- Configuring incomplete, errors occurred! * ERROR: dev-util/ccache-4.10.1::gentoo failed (configure phase): * cmake failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib_systemd-20240630-113014 UNMASKED: ~dev-libs/icu-75.1 ~dev-libs/icu-layoutex-75.1 Requested by sam ~dev-lang/perl-5.40.0 ~virtual/perl-Archive-Tar-3.20.10_rc ~virtual/perl-CPAN-Meta-Requirements-2.143.0 ~virtual/perl-Compress-Raw-Bzip2-2.212.0 ~virtual/perl-DB_File-1.859.0 ~virtual/perl-Data-Dumper-2.189.0 ~virtual/perl-Devel-PPPort-3.720.0 ~virtual/perl-Exporter-5.780.0 ~virtual/perl-ExtUtils-CBuilder-0.280.240 ~virtual/perl-ExtUtils-Manifest-1.750.0 ~virtual/perl-File-Spec-3.900.0 ~virtual/perl-HTTP-Tiny-0.88.0 ~virtual/perl-IO-1.550.0 ~virtual/perl-IO-Compress-2.212.0 ~virtual/perl-IO-Socket-IP-0.420.0 ~virtual/perl-IO-Zlib-1.150.0 ~virtual/perl-Math-BigInt-2.3.2 ~virtual/perl-Math-BigInt-FastCalc-0.501.800 ~virtual/perl-Math-BigRat-2.3.2 ~virtual/perl-Module-CoreList-5.202.406.90 ~virtual/perl-Module-Metadata-1.0.38 ~virtual/perl-Pod-Simple-3.450.0 ~virtual/perl-Safe-2.460.0 ~virtual/perl-Socket-2.38.0 ~virtual/perl-Test-Harness-3.480.0 ~virtual/perl-Test-Simple-1.302.199 ~virtual/perl-Text-Tabs+Wrap-2024.1.0 ~virtual/perl-Time-HiRes-1.977.700 ~virtual/perl-Time-Local-1.350.0 ~virtual/perl-autodie-2.370.0 ~virtual/perl-bignum-0.670.0 ~virtual/perl-podlators-5.10.200_rc ~virtual/perl-threads-2.400.0 ~virtual/perl-threads-shared-1.690.0 ~virtual/perl-version-0.993.0 Requested by dilfridge and sam The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 18.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.8 Python 3.12.4 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.79.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-17 [2] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.4 linux/amd64 HEAD of ::gentoo commit a0e37dcc3b815e2fff14280bed7e056acb95f8de Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Jul 1 14:48:59 2024 +0000 2024-07-01 14:48:59 UTC emerge -qpvO dev-util/ccache
Created attachment 896711 [details] emerge-info.txt
Created attachment 896712 [details] dev-util:ccache-4.10.1:20240701-160558.log
Created attachment 896713 [details] emerge-history.txt
Created attachment 896714 [details] environment
Created attachment 896715 [details] etc.clang.tar.xz
Created attachment 896716 [details] etc.portage.tar.xz
Created attachment 896717 [details] qlist-info.txt
Created attachment 896718 [details] temp.tar.xz
This is due to libfmt-11.0, which breaks ccache's version number calculation.
More precisely it's because this regex: https://github.com/ccache/ccache/blob/20db503b911c8bd25b148f223da0f7f4138b7654/cmake/FindFmt.cmake#L10 returns nothing, as FMT_VERSION was moved into base.h in https://github.com/fmtlib/fmt/commit/febd8ed5fee269984405c5502a19224c5106c610
See also: https://github.com/ccache/ccache/issues/1477
Patch (queued for 4.10.2) available at https://github.com/ccache/ccache/pull/1478/commits/db136b6819d95bb53582e4fea8c328029c8f5681
(In reply to Holger Hoffstätte from comment #12) > Patch (queued for 4.10.2) available at > https://github.com/ccache/ccache/pull/1478/commits/ > db136b6819d95bb53582e4fea8c328029c8f5681 ..and of course it contains a (weird) bug, so either pick the fixup from ccache master or just wait for 4.10.2.
Blocks: https://bugs.gentoo.org/906077
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afe458f45b86a439985e0c6cae53912d487bc88e commit afe458f45b86a439985e0c6cae53912d487bc88e Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2024-07-25 21:00:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-08-10 20:02:09 +0000 dev-util/ccache: fix compilation with libfmt >=10 Closes: https://bugs.gentoo.org/935291 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/37725 Signed-off-by: Sam James <sam@gentoo.org> dev-util/ccache/ccache-4.10.1.ebuild | 1 + dev-util/ccache/files/ccache-4.10-libfmt11.patch | 85 ++++++++++++++++++++++++ 2 files changed, 86 insertions(+)