Cannot build with -Pexperimental
See original GitHub issueI tried to build with the following command under bash in Mac:
CPG_PYTHON_VIRTUALENV=py39; gradlew -Pexperimental build
where py39 is environment where I have installed jep. My default java version is 15
$ java -version
java version "15.0.2" 2021-01-19
Java(TM) SE Runtime Environment (build 15.0.2+7-27)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.2+7-27, mixed mode, sharing)
When building, the following errors occur
> Task :cpg-library:test
PythonFrontendTest > testSimpleClass() FAILED
java.util.concurrent.ExecutionException at PythonFrontendTest.kt:251
Caused by: java.lang.UnsatisfiedLinkError at ClassLoader.java:2447
PythonFrontendTest > testCtor() FAILED
java.util.concurrent.ExecutionException at PythonFrontendTest.kt:455
Caused by: java.lang.UnsatisfiedLinkError at Jep.java:-2
PythonFrontendTest > testSelf() FAILED
java.util.concurrent.ExecutionException at PythonFrontendTest.kt:369
Caused by: java.lang.UnsatisfiedLinkError at Jep.java:-2
PythonFrontendTest > testIf() FAILED
java.util.concurrent.ExecutionException at PythonFrontendTest.kt:207
Caused by: java.lang.UnsatisfiedLinkError at Jep.java:-2
PythonFrontendTest > testLiteral() FAILED
java.util.concurrent.ExecutionException at PythonFrontendTest.kt:56
Caused by: java.lang.UnsatisfiedLinkError at Jep.java:-2
PythonFrontendTest > testFunctionDeclaration() FAILED
java.util.concurrent.ExecutionException at PythonFrontendTest.kt:111
Caused by: java.lang.UnsatisfiedLinkError at Jep.java:-2
PythonFrontendTest > testIfExpr() FAILED
java.util.concurrent.ExecutionException at PythonFrontendTest.kt:312
Caused by: java.lang.UnsatisfiedLinkError at Jep.java:-2
225 tests completed, 7 failed
I traced the errors, for example, the first one. The first line reads:
java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: no jep in java.library.path: /Users/chenjie/lab/SDG/cpg/cpg-library/src/main/golang
I am not a go programmer and do not understand what it means. I only need the support of experimental language python and I have installed jep under the environment used for this build. Could you help me?
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Bug: Cannot download experimental React build from CI ...
Following the instructions for local development of react-devtools, it's not possible to download the experimental build from CI.
Read more >experimental cant build into damage area's : r/SatisfactoryGame
I hope people have encountered this already and have solutions: I cant build in any area that at that time has a damage...
Read more >experimental::filesystem linker error - c++ - Stack Overflow
With clang 4.0+, you need to link against libc++experimental.a. Make sure you're building with libc++ (not libstdc++) with the -stdlib=libc++ (as mentioned ...
Read more >Osiris: New Dawn (Experimental Branch) กระดานสนทนาทั่วไป
Can't turn off the animals anymore. Can't change the day/night cycle. Biggest problem is the lack of building recipes even though I have...
Read more >Experimental channel release notes for the Windows App SDK
Learn about the latest experimental releases of the Windows App SDK.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@oxisto I confirm that
--enable-experimental-python
works. I guess the implementation is incomplete, but at least it generates a graph.Thank you for the efforts!
@oxisto I confirm that using the suggested way to setup environments, I can successfully build and install.
It would be good to support also the conda way of environments, but I understand that you may have different priorities.