android-apktool 2.12.0-1

Status: FAILED
Last updated: 2025-12-07 16:36
Description: a tool for reengineering Android apk files
Upstream: AUR

Build Output


==> Making package: android-apktool 2.12.0-1 (Sun Dec 7 16:36:02 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
:: There are 9 providers available for java-runtime:
:: Repository extra
1) jdk-openjdk 2) jdk11-openjdk 3) jdk17-openjdk 4) jdk21-openjdk 5) jre-openjdk 6) jre11-openjdk 7) jre17-openjdk 8) jre21-openjdk 9) jre8-openjdk

Enter a number (default=1):
resolving dependencies...
looking for conflicting packages...

Packages (18) freetype2-2.14.1-1 giflib-5.2.2-2 graphite-1:1.3.14-5 harfbuzz-12.2.0-2 hicolor-icon-theme-0.18-1 java-environment-common-3-6 java-runtime-common-3-6 jbigkit-2.1-8 lcms2-2.17-1 libdeflate-1.25-1 libjpeg-turbo-3.1.2-1 libnet-2:1.3-1 libpng-1.6.52-1 libtiff-4.7.1-1 libwebp-1.6.0-2 nspr-4.38.2-1 nss-3.119-1 jdk-openjdk-25.0.1.u8-1

Total Installed Size: 566.62 MiB

:: Proceed with installation? [Y/n]
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
Please note that this package does not support forcing JAVA_HOME as former package java-common did
installing libpng...
installing freetype2...
Optional dependencies for freetype2
harfbuzz: Improved autohinting [pending]
installing graphite...
Optional dependencies for graphite
graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
harfbuzz-utils: utilities
installing jbigkit...
installing libdeflate...
installing libjpeg-turbo...
Optional dependencies for libjpeg-turbo
java-runtime>11: for TurboJPEG Java wrapper [pending]
installing libwebp...
Optional dependencies for libwebp
libwebp-utils: WebP conversion and inspection tools
installing libtiff...
Optional dependencies for libtiff
freeglut: for using tiffgt
installing lcms2...
installing libnet...
installing nspr...
installing nss...
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
gtk3: for the Gtk+ 3 look and feel - desktop usage
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (2) gradle-9.2.0-1 jdk21-openjdk-21.0.9.u10-1

Total Download Size: 458.41 MiB
Total Installed Size: 644.00 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
jdk21-openjdk-21.0.9.u10-1-x86_64 downloading...
gradle-9.2.0-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing jdk21-openjdk...
Default Java environment is already set to 'java-25-openjdk'
See 'archlinux-java help' to change it
Optional dependencies for jdk21-openjdk
java-rhino: for some JavaScript support
alsa-lib: for basic sound support
gtk3: for the Gtk+ 3 look and feel - desktop usage
installing gradle...
Optional dependencies for gradle
gradle-doc: gradle documentation
gradle-src: gradle sources
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
-> Downloading android-apktool-2.12.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

100 5377k 0 5377k 0 0 7751k 0 --:--:-- --:--:-- --:--:-- 7751k
100 13088k 0 13088k 0 0 7693k 0 --:--:-- 0:00:01 --:--:-- 7657k
100 21248k 0 21248k 0 0 7900k 0 --:--:-- 0:00:02 --:--:-- 7951k
100 32793k 0 32793k 0 0 8860k 0 --:--:-- 0:00:03 --:--:-- 9117k
100 36257k 0 36257k 0 0 8938k 0 --:--:-- 0:00:04 --:--:-- 9184k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
android-apktool-2.12.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting android-apktool-2.12.0.tar.gz with bsdtar
==> Starting build()...

Welcome to Gradle 9.2.0!

Here are the highlights of this release:
- Windows ARM support
- Improved publishing APIs
- Better guidance for dependency verification failures

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

To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/9.2.0/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build

> Configure project :
e: file:///builder/src/Apktool-2.12.0/build.gradle.kts:16:21: Unresolved reference 'exec'.
e: file:///builder/src/Apktool-2.12.0/build.gradle.kts:17:13: Unresolved reference 'commandLine'.
e: file:///builder/src/Apktool-2.12.0/build.gradle.kts:18:13: Unresolved reference 'standardOutput'.
e: file:///builder/src/Apktool-2.12.0/build.gradle.kts:29:21: Unresolved reference 'exec'.
e: file:///builder/src/Apktool-2.12.0/build.gradle.kts:30:13: Unresolved reference 'commandLine'.
e: file:///builder/src/Apktool-2.12.0/build.gradle.kts:31:13: Unresolved reference 'standardOutput'.
e: file:///builder/src/Apktool-2.12.0/build.gradle.kts:40:21: Unresolved reference 'gitDescribe'.
e: file:///builder/src/Apktool-2.12.0/build.gradle.kts:47:23: Assignment type mismatch: actual type is 'Any', but 'String' was expected.
w: file:///builder/src/Apktool-2.12.0/build.gradle.kts:164:1: 'fun task(name: String, configureAction: Action<in Task>): Task' is deprecated. Deprecated in Java.

FAILURE: Build failed with an exception.

* Where:
Build file '/builder/src/Apktool-2.12.0/build.gradle.kts' line: 16

* What went wrong:
Script compilation errors:

Line 016: rootProject.exec {
^ Unresolved reference 'exec'.

Line 017: commandLine("git", "describe", "--tags")
^ Unresolved reference 'commandLine'.

Line 018: standardOutput = stdout
^ Unresolved reference 'standardOutput'.

Line 029: rootProject.exec {
^ Unresolved reference 'exec'.

Line 030: commandLine("git", "rev-parse", "--abbrev-ref", "HEAD")
^ Unresolved reference 'commandLine'.

Line 031: standardOutput = stdout
^ Unresolved reference 'standardOutput'.

Line 040: val hash = this.gitDescribe
^ Unresolved reference 'gitDescribe'.

Line 047: gitRevision = hash
^ Assignment type mismatch: actual type is 'Any', but 'String' was expected.

Line 164: task("release") {
^ 'fun task(name: String, configureAction: Action<in Task>): Task' is deprecated. Deprecated in Java.

9 errors

* 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 generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 21s
==> ERROR: A failure occurred in build().
Aborting...