Opened 7 years ago

Closed 7 years ago

#55072 closed defect (worksforme)

py27-matplotlib doesn't build on macOS 10.13 (High Sierra)

Reported by: GeneralDuke9 Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: highsierra Cc:
Port: py-matplotlib

Description

Tried to update py27-matplotlib from 2.1.0_1 to 2.1.0_2, failed to build. Please find the debug log attached. Important part:

: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                              ^

Attachments (1)

main.log (239.1 KB) - added by GeneralDuke9 7 years ago.
Logfile of building py27-matplotlib 2.1.0_2 on macOS 10.13

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by GeneralDuke9

Attachment: main.log added

Logfile of building py27-matplotlib 2.1.0_2 on macOS 10.13

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

Cc: seanfarley openmaintainer removed
Keywords: highsierra added
Owner: set to seanfarley
Port: py-matplotlib added; py27-matplotlib removed
Status: newassigned

Please do not Cc openmaintainer because it is not a valid email address.

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

The log shows you have clang 800.0.42.1, which is from Xcode 8.2.1. For High Sierra, you need Xcode 9 or later, and the corresponding version of the command line tools.

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

On my High Sierra system, I successfully installed py27-matplotlib @2.1.0_2.

comment:4 Changed 7 years ago by GeneralDuke9

It compiles properly now. I believe there has been an update for XCode.

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

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