Diskussions- und Newsboard der Linux Interessen Gruppe Suletuxe
allgemeine Kategorie => Installation, Einrichtung und Systempflege => Thema von: Andreas am 01. April 2025, 07:03:04

Titel: diverse AUR-Pakete bauen nicht mehr
Beitrag von: Andreas am 01. April 2025, 07:03:04

mit folgender Meldung:
Code:
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


Das Problem entsteht dadurch, dass die neuen cmake-Pakete alles was kleiner ist als Version 3.5 nicht mehr akzeptieren. Abhilfe kann man schaffen, indem man das PKGBUILD des betreffenden Paketes mit einem Editor öffnet, in der Sektion build() vor dem ersten Auftreten einer -DCMAKE...- Direktive diese Zeile einfügt:
Code:
-DCMAKE_POLICY_VERSION_MINIMUM=3.5

Danach das Paket mit makepkg bauen und installieren.

LG
Andreas

Titel: Re:diverse AUR-Pakete bauen nicht mehr
Beitrag von: Sebastian am 01. April 2025, 14:36:01

So no need here, but thanks Andreas :)

Update machte bei mir keine Probleme. Aber gut zu wissen.

LG
Sebastian

Titel: Re:diverse AUR-Pakete bauen nicht mehr
Beitrag von: Andreas am 01. April 2025, 15:34:21

Bei mir waren schon etwa 30 Pakete betroffen, aber es gab ja für längst nicht alle bereits ein Update. Es werden folglich noch mehr werden...

LG
Andreas


Diskussions- und Newsboard der Linux Interessen Gruppe Suletuxe | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.