Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951720 - media-video/mjpg-streamer-0_pre20200524-r2 - [gcc-15] [cmake-4] CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Summary: media-video/mjpg-streamer-0_pre20200524-r2 - [gcc-15] [cmake-4] CMake Error a...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: ChaosEngine
URL:
Whiteboard: cmake without cmake.eclass
Keywords: PullRequest
Depends on:
Blocks: cmake-4
  Show dependency tree
 
Reported: 2025-03-21 16:00 UTC by Toralf Förster
Modified: 2025-06-10 19:43 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.15 KB, text/plain)
2025-03-21 16:00 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,2.78 KB, text/plain)
2025-03-21 16:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,119.16 KB, text/plain)
2025-03-21 16:00 UTC, Toralf Förster
Details
environment (environment,59.95 KB, text/plain)
2025-03-21 16:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-03-21 16:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.25 KB, application/x-xz)
2025-03-21 16:00 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.26 KB, application/x-xz)
2025-03-21 16:00 UTC, Toralf Förster
Details
media-video:mjpg-streamer-0_pre20200524-r2:20250321-155001.log (media-video:mjpg-streamer-0_pre20200524-r2:20250321-155001.log,2.74 KB, text/plain)
2025-03-21 16:00 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,35.89 KB, application/x-xz)
2025-03-21 16:00 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-03-21 16:00:34 UTC
>>> Configuring source in /var/tmp/portage/media-video/mjpg-streamer-0_pre20200524-r2/work/mjpg-streamer-85f89a8c321e799fabb1693c5d133f3fb48ee748/mjpg-streamer-experimental ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-video/mjpg-streamer-0_pre20200524-r2/work/mjpg-streamer-85f89a8c321e799fabb1693c5d133f3fb48ee748/mjpg-streamer-experimental ...
make -O -j4 
[ -d _build ] || mkdir _build
[ -f _build/Makefile ] || (cd _build && cmake  -DCMAKE_BUILD_TYPE=Release ..)
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 3caf8aea13a95a8cd30d7f152502edff90ab42e7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Mar 21 15:20:17 2025 +0000

    2025-03-21 15:20:17 UTC

emerge -qpvO =media-video/mjpg-streamer-0_pre20200524-r2
[ebuild  N    ] media-video/mjpg-streamer-0_pre20200524-r2  USE="input-file input-ptp2 input-testpicture output-file output-http wxp-compat (-http-management) -input-control -input-http -input-uvc -output-autofocus -output-rtsp -output-udp -output-viewer -output-zmqserver -www"
Comment 1 Toralf Förster gentoo-dev 2025-03-21 16:00:35 UTC
Created attachment 921551 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-21 16:00:36 UTC
Created attachment 921552 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2025-03-21 16:00:37 UTC
Created attachment 921553 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-03-21 16:00:38 UTC
Created attachment 921554 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-21 16:00:39 UTC
Created attachment 921555 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-21 16:00:40 UTC
Created attachment 921556 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-21 16:00:40 UTC
Created attachment 921557 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-21 16:00:41 UTC
Created attachment 921558 [details]
media-video:mjpg-streamer-0_pre20200524-r2:20250321-155001.log
Comment 9 Toralf Förster gentoo-dev 2025-03-21 16:00:42 UTC
Created attachment 921559 [details]
qlist-info.txt.xz
Comment 10 ChaosEngine 2025-03-24 19:29:24 UTC
Created PR for that: https://github.com/gentoo/gentoo/pull/41269
Please kindly review. Thank You.
Comment 11 Andreas Sturmlechner gentoo-dev 2025-06-10 19:07:03 UTC
Apart from the awful practice of manually calling cmake in the first place, it also fails to declare it as BDEPEND (and the linked PR does not address the latter either).
Comment 12 ChaosEngine 2025-06-10 19:43:45 UTC
(In reply to Andreas Sturmlechner from comment #11)
> Apart from the awful practice of manually calling cmake in the first place,
> it also fails to declare it as BDEPEND (and the linked PR does not address
> the latter either).

BEPEND=">=dev-build/cmake-4.0.0"

Would adding above solved this for my PR?