public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] CMake 4 stabilisation imminent, and cmake.eclass EAPI-7 stragglers
@ 2025-09-05 19:54 Andreas Sturmlechner
  2025-10-05 20:59 ` [gentoo-dev] cmake.eclass will drop EAPI-7 support after 2025-11-01 Andreas Sturmlechner
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Sturmlechner @ 2025-09-05 19:54 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1668 bytes --]

Hello,

Please note that we are down to only a couple of blockers for finally CCing 
arches to our first dev-build/cmake-4 stable target. [1]

There is a special category of packages not using cmake.eclass by calling 
cmake via a different buildsystem or even cascading cmake calls [2]. Which is 
both horrible, and in urgent need of attention by the respective maintainers:

	dev-cpp/lucene++
	dev-libs/pmdk
	dev-python/pivy
	dev-util/wachy
	media-libs/opencv
	media-video/mjpg-streamer
	sci-libs/scalapack

---

As some of you may have also noticed, the pace of EAPI-7-based cmake.eclass 
ebuild cleanups has picked up recently. That's what these QA Notices are all 
about:

"QA Notice: EAPI=7 detected; this package is now a prime last-rites target."

These are currently displayed *if* the same package also got a CMake 4 notice, 
with bugs filed against our existing EAPI7Removal tracker [3], giving us even 
more excuse to clean up packages that no one appears to care about.

Of those 93 currently slacking cmake.eclass consumers [4], only *59* remain 
that aren't already PMASKED for removal. If you notice a package you care 
about in that list [5], port it now.

Thanks,
Andreas


[1] https://bugs.gentoo.org/show_bug.cgi?id=cmake-4-stable
[2] https://bugs.gentoo.org/buglist.cgi?
bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=IN_PROGRESS&list_id=7539740&query_format=advanced&status_whiteboard=cmake%20without%20cmake.eclass&status_whiteboard_type=substring
[3] https://bugs.gentoo.org/show_bug.cgi?id=EAPI7Removal
[4] https://qa-reports.gentoo.org/output/eapi-per-eclass/cmake.eclass/7.txt
[5] https://dev.gentoo.org/~asturm/cmake-eapi7-to-go.txt

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 789 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-dev] cmake.eclass will drop EAPI-7 support after 2025-11-01
  2025-09-05 19:54 [gentoo-dev] CMake 4 stabilisation imminent, and cmake.eclass EAPI-7 stragglers Andreas Sturmlechner
@ 2025-10-05 20:59 ` Andreas Sturmlechner
  2025-10-30  9:48   ` [gentoo-dev] [PATCH] cmake.eclass: add global-scope ewarn for deprecated < EAPI 7 Andreas Sturmlechner
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Sturmlechner @ 2025-10-05 20:59 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

On Freitag, 5. September 2025 21:54:57 CET Andreas Sturmlechner wrote:
> As some of you may have also noticed, the pace of EAPI-7-based cmake.eclass
> ebuild cleanups has picked up recently. That's what these QA Notices are all
> about:
> 
> "QA Notice: EAPI=7 detected; this package is now a prime last-rites target."
> [...]
> [4] https://qa-reports.gentoo.org/output/eapi-per-eclass/cmake.eclass/7.txt

Exactly one month later, with one last stabilisation+cleanup bug in progress 
and the other remaining 26 stragglers in ::gentoo PMASKED for removal, we are 
on track to drop EAPI-7 support from cmake.eclass after 2025-11-01. Thanks to 
everyone who helped us get there.

To increase awareness beyond ::gentoo this will now be turned into a QA notice 
for any EAPI-7 based cmake.eclass consumers.

Overlay maintainers, please fix your packages. Overlay users, please report 
such QA notices to the respective overlays. Everyone, don't pretend you 
haven't been warned.

Regards,
Adreas

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 789 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-dev] [PATCH] cmake.eclass: add global-scope ewarn for deprecated < EAPI 7
  2025-10-05 20:59 ` [gentoo-dev] cmake.eclass will drop EAPI-7 support after 2025-11-01 Andreas Sturmlechner
@ 2025-10-30  9:48   ` Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2025-10-30  9:48 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

 eclass/cmake.eclass | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 00904be2f1b3..4f1a0ff60615 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -19,7 +19,11 @@
 # out-of-source builds (default) and in-source builds.
 
 case ${EAPI} in
-	7|8) ;;
+	7)
+		ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!"
+		ewarn "${CATEGORY}/${PF}: Support will be removed on 2025-11-14. Please port to newer EAPI."
+		;;
+	8) ;;
 	*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
@@ -632,7 +636,6 @@ cmake_src_prepare() {
 			chmod -R a-w "${S}"
 		fi
 		_CMAKE_PREPARE_HAS_RUN=1
-		eqawarn "QA Notice: cmake.eclass will throw unsupported EAPI=7 error after 2025-11-01."
 	else
 		default_src_prepare
 		cmake_prepare
-- 
2.51.2


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 829 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-30  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05 19:54 [gentoo-dev] CMake 4 stabilisation imminent, and cmake.eclass EAPI-7 stragglers Andreas Sturmlechner
2025-10-05 20:59 ` [gentoo-dev] cmake.eclass will drop EAPI-7 support after 2025-11-01 Andreas Sturmlechner
2025-10-30  9:48   ` [gentoo-dev] [PATCH] cmake.eclass: add global-scope ewarn for deprecated < EAPI 7 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox