Skip to content

Install SootUp failed #890

@lianxmfor

Description

@lianxmfor

I'm sorry for the maybe stupid question that I failed when trying to install SootUp with Building from Source section from the tutorial.

I have no idea how to solve this since I am no familiar with java ecosystem, can someone help to figure out this?

What I did:

$ git clone https://github.com/secure-software-engineering/SootUp.git
$ cd SootUp
$ mvn install

What I got from mvn intall:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /data00/home/lianxiuming/github/SootUp/sootup.java.sourcecode/src/test/java/sootup/java/sourcecode/minimaltestsuite/java6/NoModifierClassTest.java:[2,1] cannot access sootup.java.sourcecode.minimaltestsuite.java6
  error accessing directory /data00/home/lianxiuming/github/SootUp/sootup.java.sourcecode/src/test/javajava.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: sootup/java/sourcecode/minimaltestsuite/java6/����������Test.java
[ERROR] /data00/home/lianxiuming/github/SootUp/sootup.java.sourcecode/src/test/java/sootup/java/sourcecode/frontend/StmtPositionInfoTest.java:[11,43] package jdk.nashorn.internal.ir.annotations does not exist
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for SootUp 1.2.1-SNAPSHOT:
[INFO]
[INFO] SootUp ............................................. SUCCESS [  1.214 s]
[INFO] SootUp Core ........................................ SUCCESS [  7.895 s]
[INFO] SootUp Java Core ................................... SUCCESS [  3.099 s]
[INFO] SootUp Java Sourcecode Frontend .................... FAILURE [  0.946 s]
[INFO] SootUp Jimple Frontend ............................. SKIPPED
[INFO] SootUp Java Bytecode Frontend ...................... SKIPPED
[INFO] SootUp Callgraph ................................... SKIPPED
[INFO] SootUp (integration) testing and coverage module ... SKIPPED
[INFO] SootUp Analysis .................................... SKIPPED
[INFO] SootUp Examples .................................... SKIPPED
[INFO] SootUp Coverage Report Module ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  13.447 s
[INFO] Finished at: 2024-03-13T15:27:15+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project sootup.java.sourcecode: Compilation failure: Compilation failure:
[ERROR] /data00/home/lianxiuming/github/SootUp/sootup.java.sourcecode/src/test/java/sootup/java/sourcecode/minimaltestsuite/java6/NoModifierClassTest.java:[2,1] cannot access sootup.java.sourcecode.minimaltestsuite.java6
[ERROR]   error accessing directory /data00/home/lianxiuming/github/SootUp/sootup.java.sourcecode/src/test/javajava.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: sootup/java/sourcecode/minimaltestsuite/java6/����������Test.java
[ERROR] /data00/home/lianxiuming/github/SootUp/sootup.java.sourcecode/src/test/java/sootup/java/sourcecode/frontend/StmtPositionInfoTest.java:[11,43] package jdk.nashorn.internal.ir.annotations does not exist

my mvn version is:

$ mvn --version                                                                           15:27:16
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /home/linuxbrew/.linuxbrew/Cellar/maven/3.9.6/libexec
Java version: 21.0.1, vendor: Homebrew, runtime: /home/linuxbrew/.linuxbrew/Cellar/openjdk/21.0.1/libexec
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.143.bsk.8-amd64", arch: "amd64", family: "unix"

SootUp version is:

commit 9b219a903ab972ca10a2b5df84a14bc2c1113ec1 (HEAD -> develop, origin/develop, origin/HEAD)
Merge: cde422e7a 733d48474
Author: Kadiray Karakaya <[email protected]>
Date:   Mon Mar 11 15:50:09 2024 +0100

    Merge pull request #887 from soot-oss/Interceptors_Package_Change

    Changed interceptors package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions