pentoo / pentoo-overlay

Gentoo overlay for security tools as well as the heart of the Pentoo Livecd
323 stars 92 forks source link

Can't emerge Ghidra: Could not download jython-standalone.jar #452

Closed lovesegfault closed 5 years ago

lovesegfault commented 5 years ago

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'
Portage 2.3.63 (python 3.6.8-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-8.3.0, glibc-2.29-r2, 5.0.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.7-gentoo-x86_64-Intel-R-_Xeon-R-_E-2176M_CPU_@_2.70GHz-with-gentoo-2.6
KiB Mem:    32404948 total,   3386984 free
KiB Swap:          0 total,         0 free
Head commit of repository concaveoverlay: 324cc93536419b591c504565568b55c2f0b591a0

Head commit of repository jorgicio: 5dbc35ee1455d5c52730f09c0481597fc10f42ba

Head commit of repository lto-overlay: f4e8bdc11fcb0bf129bf248a4b306c2a9051d293

Head commit of repository mv: b23106df174bae9a43505ae11d84ebb0245328aa

Head commit of repository pentoo: 9cfbe382cdddf75f7bbb332ba7e78711d1896dfa

Head commit of repository powerman: 173a1712f254b78c81d24737b2d0c886e0a86aed

Head commit of repository seden: a3c83fcc3b9777681066604bc0817581b01f4694

Head commit of repository steam-overlay: eb6b5b1008950ac54d897f5426e1553d3a41ba69

Head commit of repository tastytea: 83d982634e850d17f4cbc372d9d2cdba81be09d5

Head commit of repository throttled: 937b9ec326a5a2fb3f43c1045dccacd199ddaa91

Head commit of repository tlp: 3018ce82bee9a025dffc5592fea35b9e048dd2db

Timestamp of repository gentoo: Wed, 17 Apr 2019 12:04:37 +0000
Head commit of repository gentoo: e73f1a426f7180c7e573d09380f6ef1a5ce97715

sh bash 5.0_p3-r1
ld GNU ld (Gentoo 2.32 p1) 2.32.0
ccache version 3.6 [enabled]
app-shells/bash:          5.0_p3-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.0-r1::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo, 3.7.3::gentoo
dev-util/ccache:          3.6::gentoo
dev-util/cmake:           3.14.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32::gentoo
sys-devel/gcc:            7.4.0-r1::gentoo, 8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

concaveoverlay
    location: /var/db/repos/concaveoverlay
    sync-type: git
    sync-uri: https://gitlab.com/concavegit/concaveoverlay.git
    masters: gentoo

jorgicio
    location: /var/db/repos/jorgicio
    sync-type: git
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo

lto-overlay
    location: /var/db/repos/lto-overlay
    sync-type: git
    sync-uri: https://github.com/InBetweenNames/gentooLTO.git
    masters: gentoo mv

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/user/mv.git
    masters: gentoo

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo

powerman
    location: /var/db/repos/powerman
    sync-type: git
    sync-uri: https://github.com/powerman/powerman-overlay.git
    masters: gentoo

seden
    location: /var/db/repos/seden
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/user/seden.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo

tastytea
    location: /var/db/repos/tastytea
    sync-type: git
    sync-uri: https://schlomp.space/tastytea/overlay.git
    masters: gentoo

throttled
    location: /var/db/repos/throttled
    sync-type: git
    sync-uri: https://github.com/erpalma/throttled-overlay.git
    masters: gentoo

tlp
    location: /var/db/repos/tlp-portage
    sync-type: git
    sync-uri: https://github.com/dywisor/tlp-portage
    masters: gentoo

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -pipe -O3 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -flto=12 -fuse-linker-plugin -falign-functions=32"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -pipe -O3 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -flto=12 -fuse-linker-plugin -falign-functions=32"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 6"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -pipe"
GENTOO_MIRRORS="http://mirror.sjc02.svwh.net/gentoo/ https://mirror.sjc02.svwh.net/gentoo/ http://gentoo.cs.utah.edu/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb blas bluetooth bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg fftw flac fortran gdbm gif glamor gmp gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jemalloc jit jpeg lapack latex lcms ldap libnotify libsecret libtirpc lm_sensors lua luajit lzo mad mmap mng mp3 mp4 mpeg mpi multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf pie png policykit ppds pulseaudio python qt5 raw readline sdl seccomp slang smp spell ssl startup-notification svg systemd tcpd threads tiff tracker truetype udev udisks unicode unwind upower usb v4l vaapi vdpau vim-syntax vorbis wayland wifi wxwidgets x264 xattr xcb xml xv xvid zlib zsh-completion" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="i965 intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv '=dev-util/ghidra-9.0.2-r1::pentoo'
[ebuild  N    ] dev-util/ghidra-9.0.2-r1 

/var/log/portage/dev-util:ghidra-9.0.2-r1:20190417-212209.log
 * Package:    dev-util/ghidra-9.0.2-r1
 * Repository: pentoo
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
]0;emerge 14:22:10 1|1 ghidra (root@bergman) * FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr'
 * CFLAGS='-march=native -pipe -O3 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -flto=12 -fuse-linker-plugin -falign-functions=32 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu'
 * CXXFLAGS='-march=native -pipe -O3 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -flto=12 -fuse-linker-plugin -falign-functions=32 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu'
 * FFLAGS='-march=native -pipe -O3 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -flto=12 -fuse-linker-plugin -falign-functions=32 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu'
 * FCFLAGS='-march=native -pipe -O3 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -flto=12 -fuse-linker-plugin -falign-functions=32 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu'
 * F77FLAGS='-march=native -pipe -O3 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -flto=12 -fuse-linker-plugin -falign-functions=32 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu'
 * LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -march=native -pipe -O3 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -flto=12 -fuse-linker-plugin -falign-functions=32'
 * MAKEOPTS='-j12'
 * gcc (Gentoo 8.3.0-r1 p1.1) 8.3.0
 * Linux bergman 5.0.7-gentoo #2 SMP PREEMPT Thu Apr 11 09:48:39 PDT 2019 x86_64 Intel(R) Xeon(R) E-2176M CPU @ 2.70GHz GenuineIntel GNU/Linux
>>> Unpacking source...
>>> Unpacking Ghidra_9.0.2_build.tar.gz to /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work
>>> Unpacking dex-tools-2.0.zip to /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work
>>> Unpacking AXMLPrinter2.jar to /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work
>>> Unpacking hfsexplorer-0_21-bin.zip to /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work
>>> Unpacking jython-standalone-2.7.1.jar to /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work
>>> Unpacking yajsw-stable-12.12.zip to /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work
>>> Unpacking ghidra-9.0.2-gradle-cache.tar.gz to /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work
>>> Unpacking dex-tools-2.0.zip to /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build/.gradle
>>> Unpacking hfsexplorer-0_21-bin.zip to /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build/.gradle
>>> Source unpacked in /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work
>>> Preparing source in /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build ...
Picked up _JAVA_OPTIONS:  -Duser.home=/var/tmp/portage/dev-util/ghidra-9.0.2-r1/homedir

Welcome to Gradle 5.2.1!

Here are the highlights of this release:
 - Define sets of dependencies that work together with Java Platform plugin
 - New C++ plugins with dependency management built-in
 - New C++ project types for gradle init
 - Service injection into plugins and project extensions

For more details see https://docs.gradle.org/5.2.1/release-notes.html

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.2.1/userguide/gradle_daemon.html.

> Starting Daemon> IDLEDaemon will be stopped at the end of the build stopping after processing

> IDLE<-------------> 0% INITIALIZING [0s]> Running init scripts > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/wo> Running init scripts> Evaluating settings > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/wor> Evaluating settings<-------------> 0% CONFIGURING [0s]> Loading projects> IDLE<-------------> 0% CONFIGURING [1s]> root project > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidr> root project> root project > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidr> root project<-------------> 0% CONFIGURING [2s]> root project > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidr> root project<-------------> 0% CONFIGURING [3s]> root project > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidr> root project<-------------> 0% CONFIGURING [4s]> root project > :Decompiler > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2> root project > :Decompiler<-------------> 1% CONFIGURING [4s]> root project > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidr<-------------> 1% CONFIGURING [5s]> root project> root project > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidr> root project> root project > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidr<-------------> 2% CONFIGURING [5s]> :6502<=------------> 10% CONFIGURING [5s]> :AARCH64<=------------> 14% CONFIGURING [5s]> :Base > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidr<==-----------> 20% CONFIGURING [6s]> :CabExtract > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra<===----------> 24% CONFIGURING [6s]> :DATA<====---------> 32% CONFIGURING [6s]> :DemanglerGnu > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghid<====---------> 37% CONFIGURING [6s]> :FileFormats<=====--------> 42% CONFIGURING [6s]> :FunctionID > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra<======-------> 47% CONFIGURING [6s]> :GhidraDocs > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra<======-------> 52% CONFIGURING [6s]> :Graph > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghid<=======------> 60% CONFIGURING [6s]> :JVM<=========----> 70% CONFIGURING [6s]> :PDB > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra<==========---> 77% CONFIGURING [6s]> :Public_Release > Compiling /var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/gh<==========---> 78% CONFIGURING [7s]> :Python > Resolve dependencies of :Python:jython
FAILURE: Build failed with an exception.

* Where:
Build file '/var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build/Ghidra/Features/Python/build.gradle' line: 28

* What went wrong:
A problem occurred evaluating project ':Python'.
> Could not resolve all files for configuration ':Python:jython'.
   > Could not download jython-standalone.jar (org.python:jython-standalone:2.7.1): No cached version available for offline mode

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s


<==========---> 80% CONFIGURING [7s]> IDLE<-------------> 0% WAITING * ERROR: dev-util/ghidra-9.0.2-r1::pentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 1531:  Called die
 * The specific snippet of code:
 *       ${GRADLE} yajswDevUnpack -x check -x test || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-util/ghidra-9.0.2-r1::pentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/ghidra-9.0.2-r1::pentoo'`.
 * The complete build log is located at '/var/log/portage/dev-util:ghidra-9.0.2-r1:20190417-212209.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/ghidra-9.0.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/ghidra-9.0.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build'
 * S: '/var/tmp/portage/dev-util/ghidra-9.0.2-r1/work/ghidra-Ghidra_9.0.2_build'

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.

blshkv commented 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

lovesegfault commented 5 years ago

@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
blshkv commented 5 years ago

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

lovesegfault commented 5 years ago
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

lovesegfault commented 5 years ago

@blshkv Any ideas on this?

blshkv commented 5 years ago

Im able to reproduce and found a solution. Please hold on

lovesegfault commented 5 years ago

You're awesome!

blshkv commented 5 years ago

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

lovesegfault commented 5 years ago

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.

blshkv commented 5 years ago

You are welcome, thank you for the report. I will add a note into a post install section