Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 951986

Summary: dev-util/wachy-0.1.0_alpha6-r2 - [gcc-15] [cmake-4] CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: cmake without cmake.eclass
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 951350    
Attachments: emerge-info.txt
dev-util:wachy-0.1.0_alpha6-r2:20250323-231600.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2025-03-24 19:10:29 UTC
too long lines were shrinked:

  HOST_CMAKE = None
  CMAKE = None
  running: cd "/var/tmp/portage/dev-util/wachy-0.1.0_alpha6-r2/work/wachy-0.1.0-alpha.6/target/x86_64-unknown-linux-gnu/release/build/zydis-caff840d68b029e3/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/var/tmp/portage/dev-util/wachy-0.1.0_alpha6-r2/work/cargo_home/gentoo/zydis-3.1.2/zydis-c" "-DZYDI
  -- Configuring incomplete, errors occurred!

  --- stderr
  CMake Error at CMakeLists.txt:1 (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_no_multilib-20250319-033507

  KEYWORDED/UNMASKED

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

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 20.1.1
llvm-config: 20.1.1
Python 3.12.9
go version go1.24.1 linux/amd64
  [1]   php8.2
  [2]   php8.4 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems)
  [3]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.0
  [2]   rust-bin-1.85.1
  [3]   rust-1.85.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
2)	Eclipse Temurin JRE 21.0.6_p7 [openjdk-jre-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-jre-bin-21 


  HEAD of ::gentoo
commit d694c5d752b3b5c82d485d7c281c26fb6a957493
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 23 21:50:14 2025 +0000

    2025-03-23 21:50:14 UTC

emerge -qpvO =dev-util/wachy-0.1.0_alpha6-r2
[ebuild  N    ] dev-util/wachy-0.1.0_alpha6-r2  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2025-03-24 19:10:30 UTC
Created attachment 922395 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-24 19:10:32 UTC
Created attachment 922396 [details]
dev-util:wachy-0.1.0_alpha6-r2:20250323-231600.log
Comment 3 Toralf Förster gentoo-dev 2025-03-24 19:10:33 UTC
Created attachment 922397 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2025-03-24 19:10:34 UTC
Created attachment 922398 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-24 19:10:35 UTC
Created attachment 922399 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-24 19:10:36 UTC
Created attachment 922400 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-24 19:10:37 UTC
Created attachment 922401 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-24 19:10:39 UTC
Created attachment 922402 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-03-24 19:10:39 UTC
Created attachment 922403 [details]
temp.tar.xz
Comment 10 NHO 2025-03-25 20:12:35 UTC
Failure in crate zydis.
It fixed the problem in commit https://github.com/zyantific/zydis/commit/7f83c416eb5a598829ea7a924f57dff66f6e950f, three years ago
Reported upstream in https://github.com/rubrikinc/wachy/issues/14
Comment 11 Andreas Sturmlechner gentoo-dev 2025-06-10 19:03:11 UTC
Apart from the awful practice of manually calling cmake in the first place, it also fails to declare it as BDEPEND.
Comment 12 Eli Schwartz gentoo-dev 2025-06-10 19:06:28 UTC
https://github.com/zyantific/zydis-rs does not support using a non-bundled library.