[MacPorts] #55310: R does not build on High Sierra 10.13.1 with Mac Ports 2.4.2
MacPorts
noreply at macports.org
Mon Nov 13 06:50:59 UTC 2017
#55310: R does not build on High Sierra 10.13.1 with Mac Ports 2.4.2
---------------------------+------------------------
Reporter: binaryknight | Owner:
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: invalid | Keywords: highsierra
Port: R |
---------------------------+------------------------
Changes (by ryandesign):
* status: new => closed
* cc: kjell.konis@… (added)
* keywords: => highsierra
* resolution: => invalid
* port: => R
Old description:
> When I try to install R
>
> I get the following error in the log
> /grDevices/src'
> :info:build /usr/bin/clang -I../../../../include -DNDEBUG
> -I../../../include -I../../../../src/include -DHAVE_CONFIG_H
> -I/opt/local/include -fPIC -pipe -Os -arch x86_64 -fobj\
> c-exceptions -c qdCocoa.m -o qdCocoa.o
> :info:build In file included from qdCocoa.m:24:
> :info:build In file included from ./qdCocoa.h:39:
> :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 ^
> :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 ^
> :info:build qdCocoa.m:93:22: warning: 'NSTitledWindowMask' is deprecated:
> first deprecated in macOS 10.12 [-Wdeprecated-declarations]
> :info:build styleMask:
> NSTitledWindowMask|NSClosableWindowMask|
> :info:build
> ^~~~~~~~~~~~~~~~~~
> :info:build
> NSWindowStyleMaskTitled
> :info:build
> /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:955:32:
> note: 'NSTitledWindowMask' has been explicitly marked deprecated here
> :info:build static const NSWindowStyleMask NSTitledWindowMask
> NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskTitled", 10.0,
> 10.12) = NSWindowStyleMaskTitled;
> :info:build ^
> :info:build qdCocoa.m:93:41: warning: 'NSClosableWindowMask' is
> deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
> :info:build styleMask:
> NSTitledWindowMask|NSClosableWindowMask|
> :info:build
> ^~~~~~~~~~~~~~~~~~~~
> :info:build
> NSWindowStyleMaskClosable
> :info:build
> /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:956:32:
> note: 'NSClosableWindowMask' has been explicitly marked deprecated here
> :info:build static const NSWindowStyleMask NSClosableWindowMask
> NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskClosable", 10.0,
> 10.12) = NSWindowStyleMaskClosable;
> :info:build ^
> :info:build qdCocoa.m:94:8: warning: 'NSMiniaturizableWindowMask' is
> deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
> :info:build
> NSMiniaturizableWindowMask|NSResizableWindowMask//|NSTexturedBackgroundWindowMask
> info:build
> NSWindowStyleMaskMiniaturizable
> :info:build
> /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:957:32:
> note: 'NSMiniaturizableWindowMask' has been explicitly marked deprecated
> here
> :info:build static const NSWindowStyleMask NSMiniaturizableWindowMask
> NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskMiniaturizable",
> 10.0, 10.12) = NSWindowStyleMaskMinia\
> turizable;
> :info:build ^
> :info:build qdCocoa.m:94:35: warning: 'NSResizableWindowMask' is
> deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
> :info:build
> NSMiniaturizableWindowMask|NSResizableWindowMask//|NSTexturedBackgroundWindowMask
> :info:build
> ^~~~~~~~~~~~~~~~~~~~~
> :info:build
> NSWindowStyleMaskResizable
> :info:build
> /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:958:32:
> note: 'NSResizableWindowMask' has been explicitly marked deprecated here
> :info:build static const NSWindowStyleMask NSResizableWindowMask
> NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskResizable", 10.0,
> 10.12) = NSWindowStyleMaskResizable;
> :info:build ^
> :info:build qdCocoa.m:101:23: warning: sending 'QuartzCocoaView *' to
> parameter of incompatible type 'id<NSWindowDelegate> _Nullable'
> :info:build [window setDelegate: view];
> :info:build ^~~~:info:build
> /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:334:49:
> note: passing argument to parameter 'delegate' here
> :info:build @property (nullable, weak) id<NSWindowDelegate> delegate;
> :info:build ^
> :info:build qdCocoa.m:268:6: warning: 'setRequiredFileType:' is
> deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
> :info:build [sp setRequiredFileType:@"pdf"];
> :info:build ^
> :info:build
> /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:295:1:
> note: 'setRequiredFileType:' has been explicitly marked deprecated here
> :info:build - (void)setRequiredFileType:(nullable NSString *)type
> NS_DEPRECATED_MAC(10_0, 10_6);
> :info:build ^
> :info:build qdCocoa.m:270:19: warning: 'runModalForDirectory:file:' is
> deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
> :info:build int answer = [sp runModalForDirectory:nil
> file:@"Rplot.pdf"];
> :info:build ^
> :info:build
> /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:303:1:
> note: 'runModalForDirectory:file:' has been explicitly marked deprecated
> here
> :info:build - (NSInteger)runModalForDirectory:(nullable NSString *)path
> file:(nullable NSString *)name NS_DEPRECATED_MAC(10_0, 10_6);
> :info:build ^
> :info:build qdCocoa.m:271:15: warning: 'NSOKButton' is deprecated: first
> deprecated in macOS 10.10 - Use NSModalResponseOK instead [-Wdeprecated-
> declarations]
New description:
When I try to install R
I get the following error in the log
{{{
/grDevices/src'
:info:build /usr/bin/clang -I../../../../include -DNDEBUG
-I../../../include -I../../../../src/include -DHAVE_CONFIG_H
-I/opt/local/include -fPIC -pipe -Os -arch x86_64 -fobj\
c-exceptions -c qdCocoa.m -o qdCocoa.o
:info:build In file included from qdCocoa.m:24:
:info:build In file included from ./qdCocoa.h:39:
: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 ^
: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 ^
:info:build qdCocoa.m:93:22: warning: 'NSTitledWindowMask' is deprecated:
first deprecated in macOS 10.12 [-Wdeprecated-declarations]
:info:build styleMask:
NSTitledWindowMask|NSClosableWindowMask|
:info:build
^~~~~~~~~~~~~~~~~~
:info:build
NSWindowStyleMaskTitled
:info:build
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:955:32:
note: 'NSTitledWindowMask' has been explicitly marked deprecated here
:info:build static const NSWindowStyleMask NSTitledWindowMask
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskTitled", 10.0, 10.12)
= NSWindowStyleMaskTitled;
:info:build ^
:info:build qdCocoa.m:93:41: warning: 'NSClosableWindowMask' is
deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
:info:build styleMask:
NSTitledWindowMask|NSClosableWindowMask|
:info:build
^~~~~~~~~~~~~~~~~~~~
:info:build
NSWindowStyleMaskClosable
:info:build
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:956:32:
note: 'NSClosableWindowMask' has been explicitly marked deprecated here
:info:build static const NSWindowStyleMask NSClosableWindowMask
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskClosable", 10.0,
10.12) = NSWindowStyleMaskClosable;
:info:build ^
:info:build qdCocoa.m:94:8: warning: 'NSMiniaturizableWindowMask' is
deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
:info:build
NSMiniaturizableWindowMask|NSResizableWindowMask//|NSTexturedBackgroundWindowMask
info:build
NSWindowStyleMaskMiniaturizable
:info:build
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:957:32:
note: 'NSMiniaturizableWindowMask' has been explicitly marked deprecated
here
:info:build static const NSWindowStyleMask NSMiniaturizableWindowMask
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskMiniaturizable",
10.0, 10.12) = NSWindowStyleMaskMinia\
turizable;
:info:build ^
:info:build qdCocoa.m:94:35: warning: 'NSResizableWindowMask' is
deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
:info:build
NSMiniaturizableWindowMask|NSResizableWindowMask//|NSTexturedBackgroundWindowMask
:info:build
^~~~~~~~~~~~~~~~~~~~~
:info:build
NSWindowStyleMaskResizable
:info:build
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:958:32:
note: 'NSResizableWindowMask' has been explicitly marked deprecated here
:info:build static const NSWindowStyleMask NSResizableWindowMask
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskResizable", 10.0,
10.12) = NSWindowStyleMaskResizable;
:info:build ^
:info:build qdCocoa.m:101:23: warning: sending 'QuartzCocoaView *' to
parameter of incompatible type 'id<NSWindowDelegate> _Nullable'
:info:build [window setDelegate: view];
:info:build ^~~~:info:build
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:334:49:
note: passing argument to parameter 'delegate' here
:info:build @property (nullable, weak) id<NSWindowDelegate> delegate;
:info:build ^
:info:build qdCocoa.m:268:6: warning: 'setRequiredFileType:' is
deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
:info:build [sp setRequiredFileType:@"pdf"];
:info:build ^
:info:build
/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:295:1:
note: 'setRequiredFileType:' has been explicitly marked deprecated here
:info:build - (void)setRequiredFileType:(nullable NSString *)type
NS_DEPRECATED_MAC(10_0, 10_6);
:info:build ^
:info:build qdCocoa.m:270:19: warning: 'runModalForDirectory:file:' is
deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
:info:build int answer = [sp runModalForDirectory:nil
file:@"Rplot.pdf"];
:info:build ^
:info:build
/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:303:1:
note: 'runModalForDirectory:file:' has been explicitly marked deprecated
here
:info:build - (NSInteger)runModalForDirectory:(nullable NSString *)path
file:(nullable NSString *)name NS_DEPRECATED_MAC(10_0, 10_6);
:info:build ^
:info:build qdCocoa.m:271:15: warning: 'NSOKButton' is deprecated: first
deprecated in macOS 10.10 - Use NSModalResponseOK instead [-Wdeprecated-
declarations]
}}}
--
Comment:
This sounds like you have not upgraded to Xcode 9 and the Xcode 9 version
of the command line tools; please do so.
The log confirms you are using clang 800.0.38, which is from Xcode 8.0
which is not compatible with High Sierra.
--
Ticket URL: <https://trac.macports.org/ticket/55310#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list