Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935291 - dev-util/ccache-4.10.1 - [perl-5.40] [icu-75.1] -- Configuring incomplete, errors occurred!
Summary: dev-util/ccache-4.10.1 - [perl-5.40] [icu-75.1] -- Configuring incomplete, er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-01 17:36 UTC by Toralf Förster
Modified: 2024-08-10 20:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.44 KB, text/plain)
2024-07-01 17:36 UTC, Toralf Förster
Details
dev-util:ccache-4.10.1:20240701-160558.log (dev-util:ccache-4.10.1:20240701-160558.log,8.73 KB, text/plain)
2024-07-01 17:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,85.83 KB, text/plain)
2024-07-01 17:36 UTC, Toralf Förster
Details
environment (environment,108.99 KB, text/plain)
2024-07-01 17:36 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1016 bytes, application/x-xz)
2024-07-01 17:36 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.65 KB, application/x-xz)
2024-07-01 17:36 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,171.56 KB, text/plain)
2024-07-01 17:36 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.05 KB, application/x-xz)
2024-07-01 17:36 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-07-01 17:36:18 UTC
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
Comment 1 Toralf Förster gentoo-dev 2024-07-01 17:36:19 UTC
Created attachment 896711 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-07-01 17:36:20 UTC
Created attachment 896712 [details]
dev-util:ccache-4.10.1:20240701-160558.log
Comment 3 Toralf Förster gentoo-dev 2024-07-01 17:36:21 UTC
Created attachment 896713 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-07-01 17:36:22 UTC
Created attachment 896714 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-07-01 17:36:23 UTC
Created attachment 896715 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-07-01 17:36:26 UTC
Created attachment 896716 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-07-01 17:36:29 UTC
Created attachment 896717 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-07-01 17:36:31 UTC
Created attachment 896718 [details]
temp.tar.xz
Comment 9 Holger Hoffstätte 2024-07-02 09:55:33 UTC
This is due to libfmt-11.0, which breaks ccache's version number calculation.
Comment 10 Holger Hoffstätte 2024-07-02 10:20:11 UTC
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
Comment 11 Holger Hoffstätte 2024-07-02 10:27:40 UTC
See also: https://github.com/ccache/ccache/issues/1477
Comment 12 Holger Hoffstätte 2024-07-02 13:05:17 UTC
Patch (queued for 4.10.2) available at https://github.com/ccache/ccache/pull/1478/commits/db136b6819d95bb53582e4fea8c328029c8f5681
Comment 13 Holger Hoffstätte 2024-07-02 18:48:10 UTC
(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.
Comment 14 Holger Hoffstätte 2024-07-11 15:17:12 UTC
Blocks: https://bugs.gentoo.org/906077
Comment 15 Larry the Git Cow gentoo-dev 2024-08-10 20:02:46 UTC
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(+)