Opened 5 years ago

Closed 5 years ago

#60080 closed defect (fixed)

qt513-qtwebengine fails building (on MacOS 10.12)

Reported by: Greisby (Greisberger Christophe) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: qt5-qtwebengine

Description

The compilation fails with lots of errors "unrecognized platform name macOS"

Example:

:info:build ./../../3rdparty/chromium/base/process/launch_mac.cc:97:27: error: unrecognized platform name macOS
:info:build   if (__builtin_available(macOS 10.12, *)) {

Attachments (1)

main.log (412.8 KB) - added by Greisby (Greisberger Christophe) 5 years ago.
Build log

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by Greisby (Greisberger Christophe)

Attachment: main.log added

Build log

comment:1 Changed 5 years ago by mf2k (Frank Schima)

In the future, please fill in the Port field and add the port maintainer(s) to Cc (port info --maintainers qt513-qtwebengine), if any.

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

Owner: set to MarcusCalhoun-Lopez
Port: qt5-qtwebengine added
Status: newassigned

comment:3 Changed 5 years ago by Greisby (Greisberger Christophe)

Ok, sorry, I'll try to remember.

comment:4 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

According to the log, you are using Xcode 8.3.3.
__builtin_available seems to have been introduced in Xcode 9.
I need to upgrade the Portfile to fail more gracefully, but that does not help you.
Is there any way for you to upgrade to Xcode 9?

Another possibility is to not use the +examples variant.
That should allow you to install the binary version of qt513-qtwebengine.

comment:5 Changed 5 years ago by Greisby (Greisberger Christophe)

Well, not now. I just checked, it requires 10.12.6 and I'm still in 10.12.4.

But I installed it with -examples, thanks for the tip.

comment:6 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In d0c49d7ec3c72c2962c49f2e5dd7e522941a5849/macports-ports (master):

qt513-qtwebengine: require Xcode 9.0 on macOS 10.12

Fixes #60080

Note: See TracTickets for help on using tickets.