Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689234 - bootstrap-prefix.sh: bootstrap fails on Darwin because all versions of cmake are masked
Summary: bootstrap-prefix.sh: bootstrap fails on Darwin because all versions of cmake ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-04 09:02 UTC by Guilherme Amadio
Modified: 2020-07-24 14:47 UTC (History)
0 users

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.
Description Guilherme Amadio gentoo-dev 2019-07-04 09:02:14 UTC
USE=-acl -berkdb -fortran -gdbm -git -libcxx -nls -pcre -ssl -python bootstrap clang internal-glib PKG=dev-util/cmake

These are the packages that would be merged, in order:

[ebuild  N    #] dev-util/cmake-3.14.5::gentoo_prefix  USE="ncurses -doc -emacs -qt5 -system-jsoncpp -test" 8,648 KiB

Total: 1 package (1 new), Size of downloads: 8,648 KiB

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by dev-util/cmake (argument)
# /cvmfs/sft.cern.ch/lcg/contrib/gentoo/macos/var/db/repos/gentoo/profiles/prefix/darwin/macos/package.mask:
# Fabian Groffen <grobian@gentoo.org> (2019-03-22)
# Newer versions break because they insist on sysroot usage lacking
# -lSystem as looked for by clang/llvm.  If your system got this
# package, you have to emerge -C cmake and re-emerge it.
=dev-util/cmake-3.14.5

The mask in full is:
# Fabian Groffen <grobian@gentoo.org> (2019-03-22)
# Newer versions break because they insist on sysroot usage lacking
# -lSystem as looked for by clang/llvm.  If your system got this
# package, you have to emerge -C cmake and re-emerge it.
>dev-util/cmake-3.13.4

and the tree has only cmake 3.14.3 and up.
Comment 1 Larry the Git Cow gentoo-dev 2019-07-04 19:39:55 UTC
The bug has been referenced in the following commit(s):

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

commit fa03db0def068f4d4f3485b3e479909e6e479a1c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-07-04 18:05:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-07-04 19:36:06 +0000

    dev-util/cmake: 3.13.5 version bump, EAPI-7 bump
    
    Bug: https://bugs.gentoo.org/689234
    Package-Manager: Portage-2.3.68, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-util/cmake/Manifest                            |  2 +-
 .../{cmake-3.13.4.ebuild => cmake-3.13.5.ebuild}   | 25 ++++++++++------------
 2 files changed, 12 insertions(+), 15 deletions(-)

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

commit c93701cbe5848d56531a9d950bfd97d908eed1e8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-07-04 17:58:29 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-07-04 19:36:06 +0000

    dev-util/cmake: Restore 3.13.4 for prefix
    
    Bug: https://bugs.gentoo.org/689234
    Package-Manager: Portage-2.3.68, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-util/cmake/Manifest                            |   1 +
 dev-util/cmake/cmake-3.13.4.ebuild                 | 228 +++++++++++++++++++++
 dev-util/cmake/files/cmake-3.0.2-FindLAPACK.patch  |  43 ++++
 .../cmake/files/cmake-3.11.0_rc2-FindBLAS.patch    |  23 +++
 .../files/cmake-3.11.4-fix-boost-detection.patch   |  13 ++
 .../cmake/files/cmake-3.13.4-prefix-dirs.patch     | 127 ++++++++++++
 6 files changed, 435 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2019-07-05 14:18:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6c251b4b3cd8f2d275efce32d441a83536ef42

commit 3e6c251b4b3cd8f2d275efce32d441a83536ef42
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2019-07-05 11:46:10 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2019-07-05 14:17:30 +0000

    profiles/prefix/darwin/macos/package.mask: update mask for CMake
    
    After a while, this mask started masking all available versions
    of CMake. Upon request, CMake 3.14.5 has been added back to the
    tree, to allow bootstrapping on Darwin again, therefore the mask
    update.
    
    Bug: https://bugs.gentoo.org/689234
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 profiles/prefix/darwin/macos/package.mask | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Andreas Sturmlechner gentoo-dev 2020-07-22 21:54:46 UTC
Is that mask still necessary? We cannot keep this forever and upstream projects will move on to higher minimum version requirements eventually.
Comment 4 Fabian Groffen gentoo-dev 2020-07-24 14:47:11 UTC
as far as I know there were no improvements to cmake, so we need the older version still