[MacPorts] #54940: texlive-bin @2017: error: nullability specifier '_Nullable' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]') (was: texlive-bin fails to build on High Sierra)
MacPorts
noreply at macports.org
Fri Sep 29 12:13:08 UTC 2017
#54940: texlive-bin @2017: error: nullability specifier '_Nullable' cannot be
applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
--------------------------+------------------------
Reporter: bwesterb | Owner: drkp
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords: highsierra
Port: texlive-bin |
--------------------------+------------------------
Changes (by ryandesign):
* keywords: => highsierra
* owner: => drkp
* status: new => assigned
Comment:
Your log shows an error in the system headers:
{{{
:info:build In file included from xetexdir/XeTeXFontMgr_Mac.mm:44:
:info:build In file included from
/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
:info:build In file included from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:128:
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:26:49:
error: nullability specifier '_Nullable' cannot be applied to non-pointer
type 'uuid_t' (aka 'unsigned char [16]')
:info:build - (instancetype)initWithUUIDBytes:(const uuid_t
_Nullable)bytes;
:info:build ^
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:29:30:
error: nullability specifier '_Nonnull' cannot be applied to non-pointer
type 'uuid_t' (aka 'unsigned char [16]')
:info:build - (void)getUUIDBytes:(uuid_t _Nonnull)uuid;
:info:build ^
}}}
One possibility is that your compiler is too old to understand the new
system headers. What version of Xcode and the command line tools do you
have installed? For High Sierra, you'll need at least Xcode 9.
Another possibility is that the system headers have a bug. If you still
see this problem with Xcode 9, [https://bugreport.apple.com report it to
Apple].
--
Ticket URL: <https://trac.macports.org/ticket/54940#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list