[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: Build failures
From:       Richard Bair <richard.bair () oracle ! com>
Date:       2013-07-31 17:48:06
Message-ID: 1BDD8680-89D7-487A-B7AE-0BB94F48E9FA () oracle ! com
[Download RAW message or body]

Hi Ben,

Have you seen https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX? Also \
there is a blog post on FX + Nashorn \
http://harmoniccode.blogspot.com/2013/05/taming-nashorn-first-impressions.html. Both \
are shipped with each weekly promoted build so you can try this out without having to \
build.

Your particular build seems to be failing on the native build, I assume you have \
Xcode installed?

I think there is a problem building with OpenJDK right now (I was looking at this \
with Mario a couple weeks ago but I haven't been able to get back to it yet.

Richard

On Jul 31, 2013, at 10:16 AM, Ben Evans <benjamin.john.evans@gmail.com> wrote:

> Hi,
> 
> I'm attempting to get OpenJFX built & running against the tip of Nashorn.
> 
> It's not immediately clear to me that I'm doing the right thing with my
> build.
> 
> What I'm trying is:
> 
> 1) Build the OpenJFX runtime.
> 
> 2) Install a latest Nashorn binary.
> 
> 3) Add jfxrt.jar to $JAVA_HOME/jre/lib/ in the Nashorn binary
> 
> 4) Profit.
> 
> First of all, is this a sane approach to trying to get OpenJFX playing
> nicely with an OpenJDK binary? I looked for a wiki but couldn't find
> anything.
> 
> Assuming it is, it still isn't working. After a certain amount of
> yak-shaving (Gradle being useless, and having to hack around the forest
> extension gunk) the build is failing (details below).
> 
> This is with Oracle JDK 8 b100 on Mac 10.8 - any ideas?
> 
> Btw, I'm assuming that there's no way to bootstrap OpenJFX using an OpenJDK
> binary at present?
> 
> Not having to manage Oracle JDKs as well as OpenJDK binaries would be
> really nice.
> 
> Thanks,
> 
> Ben
> 
> 
> oldhost:rt boxcat$ gradle
> > buildSrc:generateGrammarSource UP-TO-DATE
> > buildSrc:compileJava
> > buildSrc:compileGroovy
> > buildSrc:processResources UP-TO-DATE
> > buildSrc:classes
> > buildSrc:jar
> > buildSrc:assemble
> > buildSrc:compileTestJava
> Note:
> /Users/boxcat/projects/openjdk/master/rt/buildSrc/src/test/java/com/sun/scenario/effect/compiler/parser/FieldSelectTest.java
>  uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> > buildSrc:compileTestGroovy UP-TO-DATE
> > buildSrc:processTestResources UP-TO-DATE
> > buildSrc:testClasses
> > buildSrc:test
> > buildSrc:check
> > buildSrc:build
> OS_NAME: mac os x
> OS_ARCH: x86_64
> JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/
> JDK_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/
> COMPILE_TARGETS: mac
> COMPILE_FLAGS_FILES: buildSrc/mac.gradle
> BINARY_STUB:
> /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/ext/jfxrt.jar
> HUDSON_JOB_NAME: not_hudson
> HUDSON_BUILD_NUMBER: 0000
> PROMOTED_BUILD_NUMBER: 00
> PRODUCT_NAME: OpenJFX
> RAW_VERSION: 8.0.0
> RELEASE_NAME: 8.0
> RELEASE_MILESTONE: ea
> UPDATE_STUB_CACHE: false
> The CompileOptions.useAnt property has been deprecated and is scheduled to
> be removed in Gradle 2.0. There is no replacement for this property.
> > updateCacheIfNeeded UP-TO-DATE
> > base:processVersionInfo UP-TO-DATE
> > base:compileJava UP-TO-DATE
> > base:processResources UP-TO-DATE
> > base:classes UP-TO-DATE
> > base:jar UP-TO-DATE
> > graphics:compileJava
> [ant:javac] Note: Some input files use or override a deprecated API.
> [ant:javac] Note: Recompile with -Xlint:deprecation for details.
> [ant:javac] Note: Some input files use unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > graphics:compilePrismCompilers
> > graphics:generatePrismShaders
> > graphics:compilePrismJavaShaders
> > graphics:compileDecoraCompilers
> > graphics:generateDecoraShaders
> > graphics:compileDecoraHLSLShaders SKIPPED
> > graphics:processDecoraShaders
> > graphics:compilePrismHLSLShaders SKIPPED
> > graphics:processPrismShaders
> > graphics:processResources
> > graphics:classes
> > graphics:jar
> > designTime:compileJava
> [ant:javac] Note: Some input files use unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > designTime:processResources UP-TO-DATE
> > designTime:classes
> > designTime:jar
> > controls:compileJava
> [ant:javac] Note: Some input files use or override a deprecated API.
> [ant:javac] Note: Recompile with -Xlint:deprecation for details.
> [ant:javac] Note: Some input files use unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > controls:processResources
> > controls:classes
> > controls:jar
> > swing:compileJava
> [ant:javac] Note: Some input files use or override a deprecated API.
> [ant:javac] Note: Recompile with -Xlint:deprecation for details.
> [ant:javac] Note: Some input files use unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > swing:processResources UP-TO-DATE
> > swing:classes
> > swing:jar
> > swt:compileJava
> [ant:javac] Note: Some input files use unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > swt:processResources UP-TO-DATE
> > swt:classes
> > swt:jar
> > fxml:compileJava
> [ant:javac] Note:
> /Users/boxcat/projects/openjdk/master/rt/modules/fxml/src/main/java/javafx/fxml/FXMLLoader.java
>  uses unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > fxml:processResources UP-TO-DATE
> > fxml:classes
> > web:compileJava SKIPPED
> > web:processResources
> > web:classes
> > javadoc SKIPPED
> > apps:compileJava UP-TO-DATE
> > apps:processResources UP-TO-DATE
> > apps:classes UP-TO-DATE
> > apps:jar
> > apps:assemble
> > base:assemble UP-TO-DATE
> > web:copyClassesFromBinaryStub
> > web:jar
> > builders:compileJava
> [ant:javac] Note:
> /Users/boxcat/projects/openjdk/master/rt/modules/builders/src/main/java/javafx/scene/web/WebViewBuilder.java
>  uses or overrides a deprecated API.
> [ant:javac] Note: Recompile with -Xlint:deprecation for details.
> [ant:javac] Note: Some input files use unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > builders:processResources UP-TO-DATE
> > builders:classes
> > builders:jar
> > builders:assemble
> > controls:assemble
> > designTime:assemble
> > fxml:jar
> > fxml:assemble
> > fxpackager:buildJavaFXPackager
> Calling Task.setEnabled(boolean) after task execution has started has been
> deprecated and is scheduled to be removed in Gradle 2.0. Check the
> configuration of task ':fxpackager:buildJavaFXPackager'. You may have
> misused '<<' at task declaration.
> > fxpackager:compileJava
> Download
> http://repo1.maven.org/maven2/org/apache/ant/ant/1.8.2/ant-1.8.2.pom
> Download
> http://repo1.maven.org/maven2/org/apache/ant/ant-parent/1.8.2/ant-parent-1.8.2.pom
> Download
> http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.pom
>  Download
> http://repo1.maven.org/maven2/org/apache/ant/ant/1.8.2/ant-1.8.2.jar
> Download
> http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.jar
>  [ant:javac] Note: Some input files use unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> > fxpackager:man
> > fxpackager:processResources
> > fxpackager:classes
> > fxpackager:compileLauncher
> In file included from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
>  from
> /Users/boxcat/projects/openjdk/master/rt/modules/fxpackager/src/main/native/launcher/mac/main.m:26:
>  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs \
> /MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:12:20:
>                 
> error: stdarg.h: No such file or directory
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:19:
>                 
> error: float.h: No such file or directory
> In file included from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:129,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:12,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:72,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
>  from
> /Users/boxcat/projects/openjdk/master/rt/modules/fxpackager/src/main/native/launcher/mac/main.m:26:
>  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs \
> /MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:29:23:
>                 
> error: xmmintrin.h: No such file or directory
> In file included from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:129,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:12,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ \
> MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:72,
>  from
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
>  from
> /Users/boxcat/projects/openjdk/master/rt/modules/fxpackager/src/main/native/launcher/mac/main.m:26:
>  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs \
> /MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:216:
>                 
> error: expected specifier-qualifier-list before ‘__m128’
> > fxpackager:compileLauncher FAILED
> 
> FAILURE: Build failed with an exception.
> 
> * What went wrong:
> Execution failed for task ':fxpackager:compileLauncher'.
> > org.gradle.process.internal.ExecException: Process 'command 'gcc''
> finished with non-zero exit value 1
> 
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
> 
> BUILD FAILED
> 
> Total time: 3 mins 25.023 secs
> oldhost:rt boxcat$


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic