Build fails for osx-port
pranav bhat
pranav.bhat at oracle.com
Thu Nov 10 14:43:53 PST 2011
Partial log (around the end of the build where it fails attached below).
thanks,
- Pranav
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:707:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function 'Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:786:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function
'Java_com_apple_eawt__1AppMenuBarHandler_nativeSetDefaultMenuBar':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:806:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function
'Java_com_apple_eawt_Application_nativeInitializeApplicationDelegate':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:523:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:523:
warning: (Messages without a matching method signature
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:523:
warning: will be assumed to return 'id' and accept
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:523:
warning: '...' as arguments.)
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function
'Java_com_apple_eawt__1AppEventHandler_nativeOpenCocoaAboutWindow':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:540:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function
'Java_com_apple_eawt__1AppEventHandler_nativeReplyToAppShouldTerminate':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:558:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function 'Java_com_apple_eawt__1AppDockIconHandler_nativeSetDockMenu':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:597:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function
'Java_com_apple_eawt__1AppDockIconHandler_nativeGetDockIconImage':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:640:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function
'Java_com_apple_eawt__1AppDockIconHandler_nativeSetDockIconBadge':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:665:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function 'Java_com_apple_eawt__1AppMiscHandlers_nativeRequestActivation':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:687:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function
'Java_com_apple_eawt__1AppMiscHandlers_nativeRequestUserAttention':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:707:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function 'Java_com_apple_eawt__1AppMenuBarHandler_nativeSetMenuState':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:786:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:
In function
'Java_com_apple_eawt__1AppMenuBarHandler_nativeSetDefaultMenuBar':
/Users/pranav/workspace/osx-port/macosx-port/jdk/src/macosx/native/sun/awt/ApplicationDelegate.m:806:
warning: 'JNFRunLoop' may not respond to
'+performOnMainThreadWaiting:withBlock:'
make[4]: *** [library_parallel_compile] Error 2
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [jdk-build] Error 2
make: *** [build_product_image] Error 2
On 11/10/2011 5:37 PM, Henri Gomez wrote:
> I'm also using 10.6.8, jdk 1.6.0-29 (latest release) and Xcode 4.0.2
>
> What's the error in log ?
>
> 2011/11/10 pranav bhat<pranav.bhat at oracle.com>:
>>
>> On 11/10/2011 5:20 PM, Mike Swingler wrote:
>>> On Nov 10, 2011, at 1:39 PM, pranav bhat wrote:
>>>
>>>> Hello,
>>>>
>>>> I am fairly new to the osx-port for openJDK and I am trying to build;
>>>> however it fails somewhere in the awt code(/jdk/src/macosx/native/sun/awt/*)
>>>> .Please find a partial log attached. I am following the instructions on the
>>>> wiki for every step except for the *bold *part below:
>>>>
>>>> make ALLOW_DOWNLOADS=true SA_APPLE_BOOT_JAVA=true
>>>> ALWAYS_PASS_TEST_GAMMA=*false* ALT_BOOTDIR=`/usr/libexec/java_home -v 1.6`
>>>> HOTSPOT_BUILD_JOBS=`sysctl -n hw.ncpu`
>>>>
>>>> OS: 10.6.8
>>>> Xcode : 3.6.2
>>>>
>>>> I was previously able to build (around last month) on Xcode 4.2 and OS X
>>>> Lion. What am I doing wrong? Is some different / special configuration
>>>> required to build it on snow leopard?
>>> Have you installed the "Java for Mac OS X 10.6 Update 6" software update
>>> that went live on Tuesday?
>>>
>> Yes.
>> Java -version gives the following :
>>
>> vegax:~ pranav$ java -version
>> java version "1.6.0_29"
>> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
>> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
>> vegax:~ pranav$
>>
>> I believe 1.6.0_29 was the latest one pushed on Tuesday.
>>
>> With respect to other pre-requisites -
>>
>> Snow Leopard Server updated upto 10.6.8
>> XCode 3.6.2
>>
>> The only thing I don't have is Jtreg which I don't really need. I wonder the
>> OS being the "server" version makes any difference - does it?
>>
>> Thanks,
>> - Pranav Bhat
>>> Be sure you have fully reviewed the prerequisites
>>> at:<http://wikis.sun.com/display/OpenJDK/Mac+OS+X+Port+Prerequisites>
>>>
>>> Regards,
>>> Mike Swingler
>>> Java Engineering
>>> Apple Inc.
>>>
More information about the macosx-port-dev
mailing list