Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955245 - dev-util/lttng-ust-2.13.8 - [cmake-4] CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
Summary: dev-util/lttng-ust-2.13.8 - [cmake-4] CMake Error at CMakeLists.txt:3 (cmake_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: cmake without cmake.eclass
Keywords:
Depends on:
Blocks: cmake-4 cmake-4-stable
  Show dependency tree
 
Reported: 2025-05-02 16:39 UTC by Toralf Förster
Modified: 2025-06-15 00:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.25 KB, text/plain)
2025-05-02 16:39 UTC, Toralf Förster
Details
dev-util:lttng-ust-2.13.8:20250502-163630.log.xz (dev-util:lttng-ust-2.13.8:20250502-163630.log.xz,12.16 KB, application/x-xz)
2025-05-02 16:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.12 KB, text/plain)
2025-05-02 16:39 UTC, Toralf Förster
Details
environment (environment,14.81 KB, text/plain)
2025-05-02 16:39 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.58 KB, application/x-xz)
2025-05-02 16:39 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.46 KB, application/x-xz)
2025-05-02 16:39 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,34.82 KB, application/x-xz)
2025-05-02 16:39 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,109.14 KB, text/plain)
2025-05-02 16:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,5.05 KB, application/x-xz)
2025-05-02 16:39 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 2025-05-02 16:39:46 UTC
too long lines were shrinked:

  curFilename = re.sub("\.tp$", ".o", arg)
make[3]: Leaving directory '/var/tmp/portage/dev-util/lttng-ust-2.13.8/work/lttng-ust-2.13.8/doc/examples/gen-tp'
make[3]: Entering directory '/var/tmp/portage/dev-util/lttng-ust-2.13.8/work/lttng-ust-2.13.8/doc/examples/gen-tp'
+ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -fno-strict-aliasing -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wnull-dereference -Wundef -Wshadow -Wjump-misses-init -Wsuggest-attribute=format -Wnested-externs -Wwr
make[3]: Leaving directory '/var/tmp/portage/dev-util/lttng-ust-2.13.8/work/lttng-ust-2.13.8/doc/examples/gen-tp'
rm sample_tracepoint.c
CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.


  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20250430-183007

  KEYWORDED/UNMASKED

  [cmake-4] Requested by sam
  =dev-build/cmake-4*

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 20.1.3
llvm-config: 20.1.3
Python 3.13.3
go version go1.24.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.86.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.7_p6 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

  HEAD of ::gentoo
commit f1812ee3488ca5f8f4c3d8c2c9d319a876c6bca9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 2 15:24:34 2025 +0000

    2025-05-02 15:24:34 UTC

The tinderbox task was: sys-fabric/opensm

emerge -qpvO =dev-util/lttng-ust-2.13.8
[ebuild  N    ] dev-util/lttng-ust-2.13.8  USE="examples -numa -test"
Comment 1 Toralf Förster gentoo-dev 2025-05-02 16:39:47 UTC
Created attachment 927346 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-05-02 16:39:48 UTC
Created attachment 927347 [details]
dev-util:lttng-ust-2.13.8:20250502-163630.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-05-02 16:39:49 UTC
Created attachment 927348 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-05-02 16:39:50 UTC
Created attachment 927349 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-05-02 16:39:50 UTC
Created attachment 927350 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-05-02 16:39:51 UTC
Created attachment 927351 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-05-02 16:39:52 UTC
Created attachment 927352 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-05-02 16:39:54 UTC
Created attachment 927353 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-05-02 16:39:54 UTC
Created attachment 927354 [details]
temp.tar.xz
Comment 10 Leonid Kopylov 2025-06-08 16:22:01 UTC
just hit same error
Comment 11 Andreas Sturmlechner gentoo-dev 2025-06-10 18:39:23 UTC
Apart from the awful practice of manually calling cmake in the first place, it also fails to declare it as BDEPEND.
Comment 12 Larry the Git Cow gentoo-dev 2025-06-15 00:33:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783b64edab6636c33c71debdf0dd96ad5ba600d2

commit 783b64edab6636c33c71debdf0dd96ad5ba600d2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-06-15 00:28:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-06-15 00:31:41 +0000

    dev-util/lttng-ust: add 2.13.9
    
    Tests seem to fail with my -O3 -march=znver2 ... with GCC and the
    linked bug from toralf is also w/ Clang. Try filter-flags for now.
    
    Bug: https://bugs.gentoo.org/913682
    Closes: https://bugs.gentoo.org/880357
    Closes: https://bugs.gentoo.org/955245
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/lttng-ust/Manifest                |  1 +
 dev-util/lttng-ust/lttng-ust-2.13.9.ebuild | 57 ++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)