==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: ghidra 11.0.3-1 (Thu Apr 11 08:07:36 2024)
==> Retrieving sources...
  -> Found Ghidra_11.0.3_build.tar.gz
  -> Cloning ghidra-data git repo...
Cloning into bare repository '/home/leming/work/ghidra/ghidra-data'...
  -> Found dex2jar-2.1.zip
  -> Found AXMLPrinter2.jar
  -> Found yajsw-stable-13.09.zip
  -> Found java-sarif-2.1-modified.jar
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    Ghidra_11.0.3_build.tar.gz ... Passed
    ghidra-data ... Skipped
    dex2jar-2.1.zip ... Passed
    AXMLPrinter2.jar ... Passed
    yajsw-stable-13.09.zip ... Passed
    java-sarif-2.1-modified.jar ... Passed
==> Making package: ghidra 11.0.3-1 (Thu Apr 11 08:07:56 2024)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25l:: There are 2 providers available for java-environment>=17:
:: Repository extra
   1) jdk-openjdk  2) jdk17-openjdk

Enter a number (default=1): 
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

Packages (16) freetype2-2.13.2-1  giflib-5.2.2-1  graphite-1:1.3.14-3
              harfbuzz-8.4.0-1  hicolor-icon-theme-0.17-3
              java-environment-common-3-5  java-runtime-common-3-5
              jbigkit-2.1-7  lcms2-2.16-1  libjpeg-turbo-3.0.2-2
              libnet-2:1.3-1  libpng-1.6.43-1  libtiff-4.6.0-4  nspr-4.35-2
              nss-3.99-1  jdk-openjdk-22.u36-1

Total Download Size:   124.64 MiB
Total Installed Size:  300.42 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 jdk-openjdk-22.u36-1-aarch64 downloading...
 nss-3.99-1-aarch64 downloading...
 harfbuzz-8.4.0-1-aarch64 downloading...
 freetype2-2.13.2-1-aarch64 downloading...
 libjpeg-turbo-3.0.2-2-aarch64 downloading...
 libtiff-4.6.0-4-aarch64 downloading...
 libnet-2:1.3-1-aarch64 downloading...
 libpng-1.6.43-1-aarch64 downloading...
 lcms2-2.16-1-aarch64 downloading...
 nspr-4.35-2-aarch64 downloading...
 graphite-1:1.3.14-3-aarch64 downloading...
 giflib-5.2.2-1-aarch64 downloading...
 jbigkit-2.1-7-aarch64 downloading...
 java-runtime-common-3-5-any downloading...
 java-environment-common-3-5-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing java-runtime-common...
For the complete set of Java binaries to be available in your PATH,
you need to re-login or source /etc/profile.d/jre.sh
Please note that this package does not support forcing JAVA_HOME as former package java-common did
installing nspr...
installing nss...
installing libjpeg-turbo...
installing jbigkit...
installing libtiff...
Optional dependencies for libtiff
    freeglut: for using tiffgt
installing lcms2...
installing libnet...
installing libpng...
installing graphite...
Optional dependencies for graphite
    graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
    harfbuzz-utils: utilities
installing freetype2...
installing java-environment-common...
installing hicolor-icon-theme...
installing giflib...
installing jdk-openjdk...
Optional dependencies for jdk-openjdk
    java-rhino: for some JavaScript support
    alsa-lib: for basic sound support
    gtk2: for the Gtk+ 2 look and feel - desktop usage
    gtk3: for the Gtk+ 3 look and feel - desktop usage
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (7) perl-error-0.17029-5  perl-mailtools-2.21-7  perl-timedate-2.33-5
             git-2.44.0-1  gradle7-7.6.4-1  jdk17-openjdk-17.0.10.u7-3
             unzip-6.0-20

Total Download Size:   226.75 MiB
Total Installed Size:  431.99 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 gradle7-7.6.4-1-any downloading...
 jdk17-openjdk-17.0.10.u7-3-aarch64 downloading...
 unzip-6.0-20-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    openssh: ssh transport and crypto
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
installing jdk17-openjdk...
Default Java environment is already set to 'java-22-openjdk'
See 'archlinux-java help' to change it
Optional dependencies for jdk17-openjdk
    java-rhino: for some JavaScript support
    alsa-lib: for basic sound support
    gtk2: for the Gtk+ 2 look and feel - desktop usage
    gtk3: for the Gtk+ 3 look and feel - desktop usage
installing gradle7...
Optional dependencies for gradle7
    gradle7-doc: gradle documentation
    gradle7-src: gradle sources
installing unzip...
:: Running post-transaction hooks...
(1/1) Warn about old perl modules
[?25h==> Retrieving sources...
  -> Found Ghidra_11.0.3_build.tar.gz
  -> Found dex2jar-2.1.zip
  -> Found AXMLPrinter2.jar
  -> Found yajsw-stable-13.09.zip
  -> Found java-sarif-2.1-modified.jar
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting Ghidra_11.0.3_build.tar.gz with bsdtar
  -> Creating working copy of ghidra-data git repo...
Cloning into 'ghidra-data'...
done.
Switched to a new branch 'makepkg'
  -> Extracting dex2jar-2.1.zip with bsdtar
  -> Extracting yajsw-stable-13.09.zip with bsdtar
  -> Extracting java-sarif-2.1-modified.jar with bsdtar
==> Starting prepare()...

> Configure project :
Gradle: 7.6.4

OS: Linux
Arch: aarch64
Using platform: linux_arm_64


Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1m 21s
1 actionable task: 1 executed








> Configure project :
Gradle: 7.6.4
OS: Linux
Arch: aarch64
Using platform: linux_arm_64


> Task :Decompiler:compileDecompileLinux_x86_64ExecutableDecompileCpp FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':Decompiler:compileDecompileLinux_x86_64ExecutableDecompileCpp'.
> Error while evaluating property 'compilerVersion' of task ':Decompiler:compileDecompileLinux_x86_64ExecutableDecompileCpp'.
   > No tool chain is available to build for platform 'linux_x86_64':
       - Tool chain 'gcc' (GNU GCC):
           - Could not determine GCC metadata: failed to execute gcc -m64 -dM -E -v -.

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s
2 actionable tasks: 2 executed
[?12l[?25h==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv8/leming/build