Opened 3 years ago

Closed 2 years ago

#62522 closed defect (worksforme)

cmake-3.19.7 fails to build

Reported by: greytomorrow Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: highsierra Cc: cooljeanius (Eric Gallager), chrstphrchvz (Christopher Chavez)
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.

Attachments (1)

main.log.zip (15.3 KB) - added by greytomorrow 3 years ago.

Download all attachments as: .zip

Change History (9)

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)

comment:4 Changed 3 years ago by greytomorrow

Maybe try removing and reinstalling both Xcode and the commandline tools?

Thanks, but no thanks. 1) Everything else in /opt/local/ runs/upgrades smoothly, 2) at this point in time it's a gamble finding the last compatible version of XCode for 10.13.6, and 3) cmake is only a dep of an outdated FontForge port; I already have FontForge's updated .dmg.

Thanks anyway.

comment:5 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:6 in reply to:  4 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

cmake is known to build fine on macOS 10.13. Can this ticket be closed, or is there still a problem?

Replying to greytomorrow:

at this point in time it's a gamble finding the last compatible version of XCode for 10.13.6

Last compatible version was Xcode 10.1, see wiki:XcodeVersionInfo#macOS10.13. Get it from the App Store or https://developer.apple.com/download/all/.

comment:7 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:8 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.