Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to install in macOS 15.2 #1915

Open
simkimsia opened this issue Dec 27, 2024 · 5 comments
Open

failed to install in macOS 15.2 #1915

simkimsia opened this issue Dec 27, 2024 · 5 comments
Labels

Comments

@simkimsia
Copy link

simkimsia commented Dec 27, 2024

i use main branch at commit 9f0e957

my java is

openjdk 17.0.13 2024-10-15
OpenJDK Runtime Environment Homebrew (build 17.0.13+0)
OpenJDK 64-Bit Server VM Homebrew (build 17.0.13+0, mixed mode, sharing)

this is my gradle.properties

org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m -Dkotlin.daemon.jvm.options=-Xmx4g
systemProp.sonar.gradle.skipCompile=true

enableJavaFrontend=false
enableCXXFrontend=false
enableGoFrontend=false
enablePythonFrontend=true
enableLLVMFrontend=false
enableTypeScriptFrontend=false
enableRubyFrontend=false
enableJVMFrontend=false
enableINIFrontend=false

The files build/reports/problems/problems-report.html

and tests/test/index.html are very long

so they are in this gist https://gist.github.com/simkimsia/f0be93e44e930e769377404cdf9bd2a2#file-problems-report-html

@oxisto oxisto added the python label Dec 27, 2024
@oxisto
Copy link
Member

oxisto commented Dec 29, 2024

You can ignore the grade problem report, they are only warnings from the gradle build system, which we might fix at some point (probably when they become errors instead of warnings).

As for the unit tests, you are probably missing the JEP installation. Did you follow https://github.com/Fraunhofer-AISEC/cpg?tab=readme-ov-file#python? I would recommend the approach providing a virtualenv called cog, this should pretty much work out of the box then.

@simkimsia
Copy link
Author

problem

Still not working

What i did

> /Users/kimsia/.pyenv/versions/3.12.8/bin/python -m venv ~/.virtualenvs/cpg
> source ~/.virtualenvs/cpg/bin/activate    
> pip install jep==4.2.0    
> ./gradlew build --scan  

This is the gradle scan link
https://gradle.com/s/mhzd4wbp2smfe

Thank you, @oxisto

Current commit: 7705922

@oxisto
Copy link
Member

oxisto commented Jan 4, 2025

Aaah this is a problem we still have with neo4j. The neo4j tests require the C++ frontend to be activated.

@simkimsia
Copy link
Author

Aaah this is a problem we still have with neo4j. The neo4j tests require the C++ frontend to be activated

Ok, what's my workard if any?

or i need to wait for something else?

@oxisto
Copy link
Member

oxisto commented Jan 7, 2025

Aaah this is a problem we still have with neo4j. The neo4j tests require the C++ frontend to be activated

Ok, what's my workard if any?

or i need to wait for something else?

I am not sure what you are trying to achieve. Are you already using the library? You don't need to "install" it in the classical sense, you can ignore these test errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants