[MacPorts] #59133: libgcc9 fails to build with Mojave and Xcode 11 latestrelease
MacPorts
noreply at macports.org
Fri Oct 18 18:45:48 UTC 2019
#59133: libgcc9 fails to build with Mojave and Xcode 11 latestrelease
-----------------------+--------------------
Reporter: vdoublie | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.0
Resolution: | Keywords:
Port: libgcc9 |
-----------------------+--------------------
Comment (by cjones051073):
The latest log attached to this still has
{{{
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:
In function 'getiopolicy_np':
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:443:34:
error: expected declaration specifiers before '__OSX_AVAILABLE_STARTING'
:info:build 443 | int getiopolicy_np(int, int)
__OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
:info:build |
^~~~~~~~~~~~~~~~~~~~~~~~
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/resource.h:449:39:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__OSX_AVAILABLE_STARTING'
:info:build 449 | int setiopolicy_np(int, int, int)
__OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
:info:build |
^~~~~~~~~~~~~~~~~~~~~~~~
}}}
which leads me to suspect you in fact have not updated to get the patch
that fixes this. Please run
{{{
sudo port sync
sudo port upgrade outdated
}}}
and then try again with a clean build attempt.
--
Ticket URL: <https://trac.macports.org/ticket/59133#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list