Opened 4 years ago

Closed 4 years ago

#54940 closed defect (invalid)

texlive-bin @2017: error: nullability specifier '_Nullable' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')

Reported by: bwesterb (Bas Westerbaan) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: highsierra Cc: Schamschula (Marius Schamschula)
Port: texlive-bin

Description


Attachments (1)

main.log (2.9 MB) - added by bwesterb (Bas Westerbaan) 4 years ago.

Change History (7)

Changed 4 years ago by bwesterb (Bas Westerbaan)

Attachment: main.log added

comment:1 Changed 4 years ago by maehne (Torsten Maehne)

Cc: maehne added

comment:2 Changed 4 years ago by maehne (Torsten Maehne)

Cc: maehne removed

comment:3 Changed 4 years ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:4 Changed 4 years ago by ryandesign (Ryan Schmidt)

Keywords: highsierra added
Owner: set to drkp
Status: newassigned
Summary: texlive-bin fails to build on High Sierratexlive-bin @2017: error: nullability specifier '_Nullable' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')

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, report it to Apple.

comment:5 Changed 4 years ago by bwesterb (Bas Westerbaan)

I forgot to upgrade to Xcode 9. With Xcode 9 installed, the issue disappears. Thank you very much!

comment:6 Changed 4 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.