My Mac build is failing today.  Maybe something changed with respect to
the required SDK?

I refreshed my source and rebuilt and this is the output.

Building target 'images' in configuration
'macosx-x86_64-normal-server-release'
Compiling 776 files for jdk.xml.bind
Compiling 1227 files for java.xml.ws
/Users/petebrunet/JDK9/JDK-8076554/client/jdk/src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m:445:29:
error: sending 'id<NSApplicationDelegate>' to parameter of incompatible
type 'id<NSFileManagerDelegate>' [-Werror]
        [NSApp setDelegate: applicationDelegate];
                            ^~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47:
note: passing argument to parameter 'delegate' here
@property (assign) id <NSFileManagerDelegate> delegate
NS_AVAILABLE(10_5, 2_0);
                                              ^
1 error generated.
make[3]: ***
[/Users/petebrunet/JDK9/JDK-8076554/client/build/macosx-x86_64-normal-server-release/support/native/java.desktop/libosxapp/NSApplicationAWT.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [java.desktop-libs] Error 2
make[2]: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

ERROR: Build failed for target 'images' in configuration
'macosx-x86_64-normal-server-release' (exit code 2)
=== Output from failing command(s) repeated here ===
* For target support_native_java.desktop_libosxapp_NSApplicationAWT.o:
/Users/petebrunet/JDK9/JDK-8076554/client/jdk/src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m:445:29:
error: sending 'id<NSApplicationDelegate>' to parameter of incompatible
type 'id<NSFileManagerDelegate>' [-Werror]
        [NSApp setDelegate: applicationDelegate];
                            ^~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47:
note: passing argument to parameter 'delegate' here
@property (assign) id <NSFileManagerDelegate> delegate
NS_AVAILABLE(10_5, 2_0);
                                              ^
1 error generated.
=== End of repeated output ===
No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: If caused by a warning, try configure --disable-warnings-as-errors.

make[1]: *** [main] Error 2
make: *** [images] Error 2


Reply via email to