Build OpenJFX -> ':graphics:compileDecoraNativeShadersLinux' fails

Kevin Rushforth kevin.rushforth at oracle.com
Fri Jun 15 15:03:47 UTC 2018


We just upgraded to gradle 4.8 last week, but haven't yet updated the Wiki.

One thing to try is to manually remove the build directory, run gradle 
clean, and then try it again with the --info option:

$ rm -rf build
$ gradle clean
$ gradle --info sdk

If it still doesn't work, make sure you have all of the required tools 
installed.

-- Kevin

On 6/15/2018 7:40 AM, Michael Tischer wrote:
> Hi All,
>
> first sorry for my bad englisch. I have tried to build OpenJFX
> according to the instructions in the wiki. (https://wiki.openjdk.java.n
> et/display/OpenJFX/Building+OpenJFX)My OS is Linux Mint 18.3.
>
> The first thing is that the wiki says that I need gradle 4.3. ("We
> currently use Gradle 4.3 for jfx-dev (IMPORTANT: Only this version is
> regularly tested)." But when I use gradle 4.3 the build says:
>
> *****************************************************************
> Unsupported gradle version 4.3.1 in use.
> Only version 4.8 is supported. Use this version at your own risk
> *****************************************************************
>
> It seems to me that the wiki in this point is no more actually.
>
> Okay, so I changed the grade version to 4.8. ANT-Version is 1.8.2. JDK
> is 10.0.1
>
> Unfortunally, "gradle sdk" doesn't work. The build fails with this
> output:
>
>
>> Task :graphics:compileDecoraNativeShadersLinux FAILED
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':graphics:compileDecoraNativeShadersLinux'.
>> java.util.concurrent.ExecutionException:
> org.gradle.process.internal.ExecException: Process 'command 'gcc''
> finished with non-zero exit value 1
>
>
>
> Can you please help me get the build up and running?
>
>
>
> Regards
> Michael
>



More information about the openjfx-dev mailing list