Opened 3 years ago

Last modified 2 years ago

#62522 closed defect

cmake-3.19.7 fails to build — at Version 3

Reported by: greytomorrow Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: highsierra Cc:
Port: cmake

Description (last modified by mf2k (Frank Schima))

As per the summary. Attached is a copy of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log

Before creating this ticket I saw ticket:62178 but that deals with non-existing dependencies (python2.7). When I run port info cmake I get the following output...

cmake @3.19.7 (devel)
Sub-ports:            cmake-devel
Variants:             docs, python27, python35, python36, python37, python38,
                      python39, qt5, universal

Description:          An extensible, open-source system that manages the build 
                      process in an operating system and compiler independent
                      manner.  Unlike many cross-platform systems, CMake is
                      designed to be  used in conjunction with the native build
                      environment. The cmake release port is updated roughly
                      every few months.
Homepage:             https://cmake.org

Library Dependencies: libcxx, curl, expat, zlib, bzip2, libarchive, ncurses,
                      libuv
Platforms:            darwin, freebsd
License:              BSD
Maintainers:          Email: michaelld@macports.org, GitHub: michaelld

Please advise. Thank you.

Change History (4)

Changed 3 years ago by greytomorrow

Attachment: main.log.zip added

comment:1 Changed 3 years ago by michaelld (Michael Dickens)

Here's the actual error:

:info:configure -- The C compiler identification is AppleClang 10.0.0.10001044
:info:configure -- The CXX compiler identification is AppleClang 10.0.0.10001044
:info:configure CMake Warning at Modules/Platform/Darwin.cmake:183 (message):
:info:configure   The SDK Library/Frameworks path
:info:configure    //Library/Frameworks
:info:configure   is not set up correctly on this system.  This is known to occur when
:info:configure   installing Xcode 3.2.6:
:info:configure    http://bugs.python.org/issue14018
:info:configure   The problem may cause build errors that report missing system frameworks.
:info:configure   Fix your SDK symlinks to resolve this issue and avoid this warning.
:info:configure Call Stack (most recent call first):
:info:configure   Modules/CMakeSystemSpecificInformation.cmake:26 (include)
:info:configure   CMakeLists.txt:7 (project)

Maybe try removing and reinstalling both Xcode and the commandline tools? I don't recall having this issue on my macOS 10.13 boot, but it's been a bit since I looked.

comment:2 Changed 3 years ago by mf2k (Frank Schima)

Cc: michaelld@… removed
Owner: set to michaelld
Status: newassigned

comment:3 Changed 3 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.