Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951350 (cmake-4) - [Tracker] Breakage with dev-build/cmake-4*
Summary: [Tracker] Breakage with dev-build/cmake-4*
Status: CONFIRMED
Alias: cmake-4
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest, Tracker
Depends on: 951547 951680 951715 951718 951720 951731 951809 951810 951812 951813 951815 951823 951835 951836 951843 951855 951857 951879 951880 951883 951884 951886 951888 951890 951893 951895 951896 951898 951899 951905 951906 951907 951921 951924 951926 951927 951928 951986 951987 952000 952025 952026 952035 952039 952046 952048 952062 952067 952068 952070 952071 952083 952086 952087 952088 952091 952095 952096 952102 952105 952790 952792 952793 952794 952795 952796 952797 952799 952801 953015 953043 953075 953521 953545 953557 953761 953763 953766 953771 953778 953779 953798 953806 953816 953850 953851 953853 953854 953857 953860 953893 953912 953916 953934 953935 953937 953938 953939 953940 953941 953942 953943 953953 953954 953980 953983 953985 953993 953994 953995 953997 953998 954091 954102 954105 954119 954122 954256 955113 955131 955250 955390 955391 955414 955424 955465 955466 955468 955492 955494 955502 955534 955574 955761 955766 955792 955828 955891 955892 955895 955896 955897 955906 955911 955916 955927 956599 956667 957178 957212 957220 957277 957278 957279 957280 957281 957283 957284 957287 957288 957294 957396 957410 957411 957412 957413 957414 957415 957416 957417 957419 957420 957421 957422 957423 957424 957425 957434 957436 957437 957438 957440 957441 957442 957443 957447 957448 957449 957450 957451 957452 957453 957454 957455 957456 957457 957458 957459 957460 957462 957463 957464 957465 957467 957468 957469 957470 957471 957472 957473 957474 957477 957478 957479 957481 957482 957483 957484 957485 957486 957487 957488 957489 957490 957491 957493 957494 957495 957496 957497 957501 957503 957504 957505 957514 957527 957528 957536 957538 957553 957555 957557 957558 957560 957561 957563 957565 957566 957567 957568 957569 957570 957573 957575 957577 957578 957582 957584 957587 957589 957591 957599 957606 957609 957610 957616 957618 957626 957633 957638 957645 957647 957648 957652 957653 957654 957670 957671 957674 957677 957679 957686 957687 957688 957691 957693 957706 957742 957743 957750 957762 957764 957783 957786 957787 957803 957818 957868 957880 957886 957913 957917 957919 957925 957928 957952 957965 957968 958001 958019 958025 958032 958039 958040 958051 958053 958070 958168 958187 958194 958256 958300 958318 958326 958356 958357 958358 958359 958361 958381 958419 958477 958505 958597 958598 958652 958954 958955 958963 958965 958966 958973 958976 958978 959114 951349 951367 951548 951549 951617 951619 951630 951671 951672 951674 951675 951676 951677 951678 951679 951681 951682 951683 951684 951717 951723 951724 951728 951736 951806 951811 951814 951828 951837 951838 951839 951842 951860 951877 951882 951885 951889 951891 951894 951900 951901 951902 951903 951904 951920 951922 951925 951930 951931 951932 951984 951985 951988 951989 951990 951991 951992 951998 952018 952022 952023 952024 952027 952037 952038 952047 952049 952072 952090 952092 952093 952094 952791 952798 952805 952807 952851 953016 953018 953042 953418 953446 953524 953543 953544 953548 953760 953765 953767 953769 953855 953859 953862 953863 953913 953936 953944 953945 953949 953950 953973 953982 953984 953986 953987 954002 954016 954083 954087 954093 954109 954113 954120 954158 954223 955107 955135 955167 955245 955386 955400 955464 955467 955536 955639 955692 955696 955760 955824 955845 955890 955893 955894 955898 955904 956427 956467 957271 957273 957292 957395 957418 957439 957461 957466 957475 957476 957480 957492 957506 957605 957617 957672 957709 957832 957976 957990 958185 958186 958188 958301 958360 958927 958972 959087
Blocks: metatracker
  Show dependency tree
 
Reported: 2025-03-14 16:59 UTC by Sam James
Modified: 2025-06-26 11:30 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Larry the Git Cow gentoo-dev 2025-03-27 16:15:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08357d34ce71344fcee72e1b179c92f741edf30e

commit 08357d34ce71344fcee72e1b179c92f741edf30e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-27 16:09:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-27 16:14:42 +0000

    dev-build/cmake: add 4.0.0, drop 4.0.0_rc5
    
    Bug: https://bugs.gentoo.org/951350
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-build/cmake/Manifest                                       | 6 +++---
 dev-build/cmake/{cmake-4.0.0_rc5.ebuild => cmake-4.0.0.ebuild} | 0
 profiles/package.mask                                          | 4 ++++
 3 files changed, 7 insertions(+), 3 deletions(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-06 00:58:43 UTC
Please do make sure you revbump for fixes and compare the image (using e.g. iwdevtools), as changing the minimum version changes the default value of policies.
Comment 3 Larry the Git Cow gentoo-dev 2025-05-20 21:02:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=f339ee5843ba31255239bce871c470cfef590bee

commit f339ee5843ba31255239bce871c470cfef590bee
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-05-17 17:09:31 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-05-20 20:51:45 +0000

    cmake.eclass: Add recursive CMakeLists.txt unsupported version detection
    
    We need to ramp up detection of unsupported CMake build systems with
    CMake 4. This will detect CMakeLists.txt files setting insufficient
    cmake_minimum_required VERSION level even in project subdirectories,
    putting out appropriate eqawarn message about the need to fix ${PN}.
    
    That makes us not rely on tinderbox runs w/ unmasked cmake-4 slowly
    being able to build everything up to leaf packages, and also helps
    detect insufficient subproject minimums that could otherwise be masked
    by USE flag choice.
    
    Bug: https://bugs.gentoo.org/951350
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/cmake.eclass | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2025-06-03 17:01:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a6845b4ff2f392f58173e5bc06415b824b8f1f4

commit 4a6845b4ff2f392f58173e5bc06415b824b8f1f4
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-06-02 21:08:16 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-06-03 17:00:08 +0000

    profiles: Unmask dev-build/cmake-4
    
    Bug: https://bugs.gentoo.org/951350
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/package.mask | 4 ----
 1 file changed, 4 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36eee9f1329af293a276cba164e0f6256af2d1d5

commit 36eee9f1329af293a276cba164e0f6256af2d1d5
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-05-17 17:09:31 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-06-03 17:00:06 +0000

    cmake.eclass: Add recursive CMakeLists.txt unsupported version detection
    
    We need to ramp up detection of unsupported CMake build systems with
    CMake 4. This will detect CMakeLists.txt files setting insufficient
    cmake_minimum_required VERSION level even in project subdirectories,
    putting out appropriate eqawarn message about the need to fix ${PN}.
    
    That makes us not rely on tinderbox runs w/ unmasked cmake-4 slowly
    being able to build everything up to leaf packages, and also helps
    detect insufficient subproject minimums that could otherwise be masked
    by USE flag choice.
    
    Problems fixed along the way:
    
    - Make sed case-insensitive
    - CMake version range may have double- or triple-dots
    - Exit after first match
            We don't want more than one version for the subsequent ver_test.
            Besides, any follow-up cmake_minimum_required call will most likely
            be conditional for some type of workarounds.
    
    Thanks-to: Sam James <sam@gentoo.org>
    Thanks-to: Ionen Wolkens <ionen@gentoo.org>
    Thanks-to: Michał Górny <mgorny@gentoo.org>
    Bug: https://bugs.gentoo.org/951350
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/cmake.eclass | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
Comment 5 Philippe Michaud-Boudreault 2025-06-16 19:05:20 UTC Comment hidden (obsolete)