Opened 4 years ago

Closed 4 years ago

#61167 closed defect (fixed)

Cmake fails to build on Big Sur

Reported by: TruePath (Peter Gerdes) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: bigsur Cc:
Port: cmake

Description (last modified by jmroot (Joshua Root))

Cmake fails to build after upgrade to big sur using the xcode 12 beta (I'm using the version of port built from the github repo ...last commit on Sep 1st and the ). The error seems to either be

:info:configure CMake Error at /opt/local/libexec/qt5/lib/cmake/Qt5Gui/Qt5Gui_QICNSPlugin.cmake:4 (_populate_Gui_plugin_
properties):
:info:configure   _populate_Gui_plugin_properties Macro invoked with incorrect arguments for
:info:configure   macro named: _populate_Gui_plugin_properties

Or

:info:configure sh: /bin/ps: Operation not permitted

I'll attach complete logs.

Attachments (3)

main.log (372.9 KB) - added by TruePath (Peter Gerdes) 4 years ago.
Log of build fail
CMakeError.log (14.4 KB) - added by TruePath (Peter Gerdes) 4 years ago.
CMakeError log
CMakeOutput.log (101.2 KB) - added by TruePath (Peter Gerdes) 4 years ago.
cmake output log

Download all attachments as: .zip

Change History (9)

Changed 4 years ago by TruePath (Peter Gerdes)

Attachment: main.log added

Log of build fail

Changed 4 years ago by TruePath (Peter Gerdes)

Attachment: CMakeError.log added

CMakeError log

Changed 4 years ago by TruePath (Peter Gerdes)

Attachment: CMakeOutput.log added

cmake output log

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to michaelld
Status: newassigned

comment:2 Changed 4 years ago by michaelld (Michael Dickens)

What variants are you using? For me (11.0 + Xcode 12.2 beta), "cmake" alone works. I'm having issues getting Qt5 to build, and Qt4-mac isn't there yet either because I've blocked building via the Portfile itself for the moment while I sort out issues.

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

Can you update the "cmake" port as well & try this again. I pushed the new CMake release in the last 24 hours or so ... might make a difference here!

comment:4 Changed 4 years ago by michaelld (Michael Dickens)

FYI with gt5 updated to 5.15.1 per my PR, cmake +gui+qt5 builds on the latest 11.0 beta ... Qt5 apps work, but the CMake GUI does not. But at least it does build. Any updates on your side?

comment:5 Changed 4 years ago by cjones051073 (Chris Jones)

I think this can be closed now, cmske seems to be working fine now ?

comment:6 Changed 4 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

Agreed. Cmake by itself installs and works just fine on macOS 11.0.1 / Xcode 12.2. Once we get the qt5 port updated to 5.15.1, the +qt5 variant will also work. One step at a time!

Note: See TracTickets for help on using tickets.