Closed lovesegfault closed 5 years ago
can you share the output of the following:
ls -al /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build/.gradle/flatRepo
@blshkv Here you go:
total 42160
drwxr-xr-x 2 portage portage 320 Apr 17 14:22 .
drwxr-xr-x 15 portage portage 540 Apr 17 14:22 ..
-rw-r--r-- 1 portage portage 25883 Apr 17 14:22 apache-ant-1.7.0-bzip2.jar
-rw-r--r-- 1 portage portage 24552 Apr 17 14:22 AXMLPrinter2.jar
-rw-r--r-- 1 portage portage 33518 Apr 17 14:22 csframework.jar
-rw-r--r-- 1 portage portage 213276 Apr 17 14:22 dex-ir-2.0.jar
-rw-r--r-- 1 portage portage 65020 Apr 17 14:22 dex-reader-2.0.jar
-rw-r--r-- 1 portage portage 60550 Apr 17 14:22 dex-reader-api-2.0.jar
-rw-r--r-- 1 portage portage 177089 Apr 17 14:22 dex-tools-2.0.jar
-rw-r--r-- 1 portage portage 78909 Apr 17 14:22 dex-translator-2.0.jar
-rw-r--r-- 1 portage portage 101289 Apr 17 14:22 dex-writer-2.0.jar
-rw-r--r-- 1 portage portage 122002 Apr 17 14:22 hfsx_dmglib.jar
-rw-r--r-- 1 portage portage 982000 Apr 17 14:22 hfsx.jar
-rw-r--r-- 1 portage portage 10346 Apr 17 14:22 iharder-base64.jar
-rw-r--r-- 1 portage portage 41135585 Apr 17 14:22 jython-standalone-2.7.1.jar
-rw-r--r-- 1 portage portage 118119 Apr 17 14:22 swing-layout-1.0.3.jar
how about this:
ls -al /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build/.gradle/caches/modules-2/files-2.1/org.python/jython-standalone/2.7.1/942c3294840dc9dfb3528d775f4d02a6d57c421f
bergman /home/bemeurer # ls -al /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build/.gradle/caches/modules-2/files-2.1/org.python/jython-standalone/2.7.1/942c3294840dc9dfb3528d775f4d02a6d57c421f
total 40172
drwxr-xr-x 2 portage portage 60 Apr 5 18:58 .
drwxr-xr-x 4 portage portage 80 Apr 5 18:58 ..
-rw-r--r-- 1 portage portage 41135585 Apr 5 18:58 jython-standalone-2.7.1.jar
@blshkv
@blshkv Any ideas on this?
Im able to reproduce and found a solution. Please hold on
You're awesome!
ok, it was a bit tricky because I copied the offline section from another ebuild but the cache has expired or something (I'm not a gradle expert). So the solution now is to extract cached files and create an additional repository instead. Fixed in: https://github.com/pentoo/pentoo-overlay/commit/91a55db79cdd4d16d26d894dec23572e81825fc9
Built successfully and works! Thank you!
P.S. I had to set the JDK home to /opt/oracle-jdk-bin-11.0.2
when starting Ghidra the first time.
You are welcome, thank you for the report. I will add a note into a post install section
After getting around #446 I attempted to emerge Ghidra, and this time at least Gradle starts, but it errors after the configuration step.
Logs
emerge --info '=dev-util/ghidra-9.0.2-r1::pentoo'
emerge -pqv '=dev-util/ghidra-9.0.2-r1::pentoo'
/var/log/portage/dev-util:ghidra-9.0.2-r1:20190417-212209.log
The curious thing is that the log clearly shows the jython file being fetched and available, but yet gradle fails claiming it can't find it.