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)
Change History (7)
Changed 5 years ago by Greisby (Greisberger Christophe)
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: | new → assigned |
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: | assigned → closed |
Build log