Coder Social home page Coder Social logo

Comments (4)

vlad902 avatar vlad902 commented on August 11, 2024

The test failures are because of a known deprecated dependency on neo4j for some old tests laying around from the joern days. You can safely ignore them. build.sh does not run tests by default (this is hacky, you can comment out the @test annotations on those tests if you'd rather not do that.)

As far as the installpy change, this is because of how OS X has installed python by default. This fixes it as well:

diff --git a/build.gradle b/build.gradle
index 74ff2a4..3211a21 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,7 +24,7 @@ allprojects {

 task joernTools(type: Exec) {
     workingDir './python/joern-tools'
-    commandLine 'python3', 'setup.py', 'install', '--user'
+    commandLine 'python3', 'setup.py', 'install'
 }

 // Copy extensions and plugins into Octopus plugin directory
diff --git a/projects/octopus/build.gradle b/projects/octopus/build.gradle
index 73949ff..cb92c2e 100644
--- a/projects/octopus/build.gradle
+++ b/projects/octopus/build.gradle
@@ -46,12 +46,12 @@ dependencies{

 task octopusMlutils(type: Exec) {
     workingDir './python/octopus-mlutils'
-    commandLine 'python3', 'setup.py', 'install', '--user'
+    commandLine 'python3', 'setup.py', 'install'
 }

 task octopusTools(type: Exec, dependsOn: octopusMlutils) {
     workingDir './python/octopus-tools'
-    commandLine 'python3', 'setup.py', 'install', '--user'
+    commandLine 'python3', 'setup.py', 'install'
 }

 task copyToLib(type: Copy) {

from joern.

rmmilewi avatar rmmilewi commented on August 11, 2024

Thanks for that! That definitely fixes the python issue. Unfortunately, I still have the failed tests, so they must be an independent problem.

EDIT: Whoops, missed your first bit about the tests. Yes, that makes sense. I'll give that a try.

from joern.

vlad902 avatar vlad902 commented on August 11, 2024

It is, I pressed comment too quickly and went back and edited the reply. The failed tests you're experiencing are an unfortunately expected at this time and can be ignored.

from joern.

rmmilewi avatar rmmilewi commented on August 11, 2024

Yes! Problem fixed. Everything builds fine when running build.sh. Thank you for your assistance!

from joern.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.