Problem of compilation of OpenJFX

Kevin Rushforth kevin.rushforth at oracle.com
Thu Oct 10 12:10:35 UTC 2019


I don't see anything in your log that would explain the failure. What is 
the exact command to gradle that you are using?

One thing to try is to use gradlew to run the exact version of gradle 
(5.3) that we use in production and do all of our testing with. Also, 
using the --info option might be helpful to provide more diagnostics. 
Finally, I recommend cleaning your repo with "git clean -fdx" to remove 
all partial build files:

$ git clean -fdx
$ bash gradlew --info

-- Kevin

On 10/9/2019 11:02 PM, Vincent MOLLIERE wrote:
> Here the log of the gradle with the task compileJslcJava :
> https://paste.ubuntu.com/p/5ZqZZJBSPF/
> Here the log of the java-compiler-args.txt :
> https://paste.ubuntu.com/p/r72CMkFTHy/
> Thank you for your help
>
> Le mer. 9 oct. 2019 à 17:51, Michael Ennen <mike.ennen at gmail.com> a écrit :
>
>> Can you paste the full build log somewhere (not inline on the mailing
>> list)?
>>
>> On Wed, Oct 9, 2019 at 7:02 AM Vincent MOLLIERE <venatorxoa at gmail.com>
>> wrote:
>>
>>> Thank you for you answer but its seems its using the 4.7.2. I pasted the
>>> java-compiler-args.txt of the command generating the files :
>>> -source
>>> 11
>>> -target
>>> 11
>>> -d
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\build\\classes\\java\\jslc
>>> -nowarn
>>> -g:source,lines,vars
>>> -sourcepath
>>> ""
>>> -proc:none
>>> -s
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\build\\generated\\sources\\annotationProcessor\\java\\jslc
>>> -XDuseUnsharedTable=true
>>> -classpath
>>>
>>> C:\\Users\\LambdaUser\\.gradle\\caches\\modules-2\\files-2.1\\org.antlr\\antlr4\\4.7.2\\34fc363424d3b060b660f84974a82d6bdc7ebe0c\\antlr4-4.7.2-complete.jar;C:\\Users\\LambdaUser\\.gradle\\caches\\modules-2\\files-2.1\\org.antlr\\antlr4-runtime\\4.7.2\\e27d8ab4f984f9d186f54da984a6ab1cccac755e\\antlr4-runtime-4.7.2.jar;C:\\Users\\LambdaUser\\.gradle\\caches\\modules-2\\files-2.1\\org.antlr\\ST4\\4.1\\467d508be07a542ad0a68ffcaed2d561c5fb2e0c\\ST4-4.1.jar;C:\\Users\\LambdaUser\\.gradle\\caches\\modules-2\\files-2.1\\org.antlr\\antlr-runtime\\3.5.2\\cd9cd41361c155f3af0f653009dcecb08d8b4afd\\antlr-runtime-3.5.2.jar;C:\\Users\\LambdaUser\\.gradle\\caches\\modules-2\\files-2.1\\org.abego.treelayout\\org.abego.treelayout.core\\1.0.3\\457216e8e6578099ae63667bb1e4439235892028\\org.abego.treelayout.core-1.0.3.jar;C:\\Users\\LambdaUser\\.gradle\\caches\\modules-2\\files-2.1\\org.glassfish\\javax.json\\1.0.4\\3178f73569fd7a1e5ffc464e680f7a8cc784b85a\\javax.json-1.0.4.jar;C:\\Users\\LambdaUser\\.gradle\\caches\\modules-2\\files-2.1\\com.ibm.icu\\icu4j\\61.1\\28d33b5e44e72edcc66a5da7a34a42147f38d987\\icu4j-61.1.jar
>>> -XDignore.symbol.file
>>> -encoding
>>> UTF-8
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\hw\\ES2Backend.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\hw\\GLSLBackend.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\hw\\HLSLBackend.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\hw\\SLBackend.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\prism\\PrismBackend.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\java\\JSWBackend.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\java\\JSWCallScanner.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\java\\JSWFuncImpls.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\java\\JSWTreeScanner.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\me\\MEBackend.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\me\\MECallScanner.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\me\\MEFuncImpls.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\me\\METreeScanner.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\sse\\SSEBackend.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\sse\\SSECallScanner.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\sse\\SSEFuncImpls.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\backend\\sw\\sse\\SSETreeScanner.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\JSLC.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\BaseType.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\BinaryOpType.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\CoreSymbols.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\FuncImpl.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\Function.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\Param.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\Precision.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\Qualifier.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\SymbolTable.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\Type.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\UnaryOpType.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\model\\Variable.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\ThrowingErrorListener.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\ArrayAccessExpr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\BinaryExpr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\BreakStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\CallExpr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\CompoundStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\ContinueStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\DeclStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\DiscardStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\DoWhileStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\Expr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\ExprStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\ExtDecl.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\FieldSelectExpr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\ForStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\FuncDef.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\GlueBlock.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\JSLVisitor.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\LiteralExpr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\ParenExpr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\ProgramUnit.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\ReturnStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\SelectStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\Stmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\Tree.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\TreeMaker.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\TreeScanner.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\TreeVisitor.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\UnaryExpr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\VarDecl.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\VariableExpr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\VectorCtorExpr.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\src\\jslc\\java\\com\\sun\\scenario\\effect\\compiler\\tree\\WhileStmt.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\build\\gensrc\\antlr\\com\\sun\\scenario\\effect\\compiler\\JSLBaseListener.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\build\\gensrc\\antlr\\com\\sun\\scenario\\effect\\compiler\\JSLLexer.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\build\\gensrc\\antlr\\com\\sun\\scenario\\effect\\compiler\\JSLListener.java
>>>
>>> D:\\Git\\jfx\\modules\\javafx.graphics\\build\\gensrc\\antlr\\com\\sun\\scenario\\effect\\compiler\\JSLParser.java
>>>
>>> What do you think about it ?
>>>
>>> Le mer. 9 oct. 2019 à 15:20, Kevin Rushforth <kevin.rushforth at oracle.com>
>>> a
>>> écrit :
>>>
>>>> This class is generated by antlr during the build:
>>>>
>>>>
>>>>
>>> modules/javafx.graphics/build/gensrc/antlr/com/sun/scenario/effect/compiler/JSLBaseVisitor.java
>>>> You  may be using an old 3.x version of anltlr, although the build
>>>> should download the latest antlr4 for you. Make sure that you have a
>>>> clean repo with no leftovers from an older build.
>>>>
>>>> -- Kevin
>>>>
>>>> On 10/9/2019 2:06 AM, Vincent MOLLIERE wrote:
>>>>> Hello,
>>>>> I'm trying to build the latest version of OpenJFX on Windows and I
>>> have a
>>>>> compilation problem in JSLVisitor, it cannot find the
>>>>> import com.sun.scenario.effect.compiler.JSLBaseVisitor and neither do
>>> I.
>>>>> Where this file can be found/generated ?
>>>>> Thank you in advance for your help !
>>>>
>>
>> --
>> Michael Ennen
>>




More information about the openjfx-dev mailing list