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

BUILD FAILED #5

Open
fanzeancodinglife opened this issue Aug 22, 2018 · 6 comments
Open

BUILD FAILED #5

fanzeancodinglife opened this issue Aug 22, 2018 · 6 comments

Comments

@fanzeancodinglife
Copy link

Unable to obtain:'kr.ac.kaist.wala.hybridroid/build/libs/kr.ac.kaist.wala.hybridroid.jar'file status (stat): no file or directory

@SunghoLee
Copy link
Owner

SunghoLee commented Aug 27, 2018

Hi,
Could you give me more detail circumstances about what you did?

@SunghoLee
Copy link
Owner

SunghoLee commented Aug 28, 2018

Hi,
I uploaded a new Makefile compiling WALA and HybriDroid sequentially. Now, you can build both of them by just typing make, then hybridroid.jar would be created in the root directory of HybriDroid.

If you fail in compiling WALA, you should download Android sdk and build-tool-26.0.2 as well as add android-sdk/tools/bin to your PATH.
If you still get errors after that, please let me know the error.
Thank you :)

@riordanalfredo
Copy link

Hi, I had read your paper and I'm interested with this project.

I have same issue on make to build hybridroid.jar . I'm using Windows 10 Home with mingw64 to run make bash command (it becomes $ mingw32-make). Here is the screenshot of errors in cmd that I got:

---
$ mingw32-make
Cloning into 'WALA'...
remote: Enumerating objects: 4454, done.
remote: Counting objects: 100% (4454/4454), done.
remote: Compressing objects: 100% (2931/2931), done.
emote: Total 4454 (delta 1870), reused 2181 (delta 905), pack-reused 0 eceiving objects: 100% (4454/4454), 3.18 MiB | 60Receiving objects: 100% (4454/4454), 3.41 MiB | 631.00
 KiB/s, done.
Resolving deltas: 100% (1870/1870), done.
Checking connectivity... done.
Checking out files: 100% (2605/2605), done.
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: com.ibm.wala.ide.jdt.test 1.5.1.qualifier
[ERROR]   Missing requirement: com.ibm.wala.ide.jdt.test 1.5.1.qualifier requires 'bundle org.eclipse.jdt.launching.macosx 0.0.0' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: com.ibm.wala:com.ibm.wala.ide.jdt.test:1.5.1-SNAPSHOT @ C:\Users\Alfredo\Documents\GitHub\HybriDroid\WALA\com.ibm.wala.ide.jdt.test\pom.xml: See log for details -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
mingw32-make: *** [Makefile:33: WALA/com.ibm.wala.core/target] Error 1
---

Should I modify something? Any helps would be really appreciated. Cheers!

@SunghoLee
Copy link
Owner

Hi :)
Because I don't have a windows 10 machine, it takes time to reproduce the error.
I will check it and let you know the cause of the error.

@ashfakshibli
Copy link

ashfakshibli commented Jan 9, 2023

Hello, I came to this project for researching WALA-related projects. The build is failing here even in GitHub CI system.

I am facing the following error when make command is run after cloning.

POM file WALA/pom.xml specified with the -f/--file command line argument does not exist
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-readable POM /Users/ashfakmdshibli/Desktop/GitRepos/HybriDroid/WALA/pom.xml: /Users/ashfakmdshibli/Desktop/GitRepos/HybriDroid/WALA/pom.xml (No such file or directory) @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project (/Users/ashfakmdshibli/Desktop/GitRepos/HybriDroid/WALA/pom.xml) has 1 error
[ERROR] Non-readable POM /Users/ashfakmdshibli/Desktop/GitRepos/HybriDroid/WALA/pom.xml: /Users/ashfakmdshibli/Desktop/GitRepos/HybriDroid/WALA/pom.xml (No such file or directory)
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
make: *** [WALA/com.ibm.wala.core/target] Error 1

Would you please check how it can be fixed? I am running on macOS

@riordanalfredo could you run the project successfully?

@SunghoLee
Copy link
Owner

@ashfakshibli
Sorry for the late response. WALA has been significantly changed for several recent years, but HybriDroid is built on the previous version of WALA and has not been updated.
Could you try to build HybriDroid with the previous version of WALA?

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

No branches or pull requests

4 participants