==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done ==> Making package: ktlint 1.5.0-1 (Fri Jan 3 03:25:12 2025) ==> Retrieving sources... -> Cloning ktlint git repo... Cloning into bare repository '/home/leming/work/ktlint/ktlint'... ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... ktlint ... Skipped ==> Making package: ktlint 1.5.0-1 (Fri 03 Jan 2025 03:25:22 AM MST) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25l:: There are 9 providers available for java-runtime>=8: :: 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... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Packages (16) freetype2-2.13.3-1 giflib-5.2.2-1 graphite-1:1.3.14-4 harfbuzz-10.1.0-1 hicolor-icon-theme-0.18-1 java-environment-common-3-5 java-runtime-common-3-5 jbigkit-2.1-8 lcms2-2.16-1 libjpeg-turbo-3.1.0-1 libnet-2:1.3-1 libpng-1.6.44-1 libtiff-4.7.0-1 nspr-4.36-1 nss-3.107-1 jdk-openjdk-23.0.1.u0-1 Total Download Size: 130.07 MiB Total Installed Size: 316.46 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... jdk-openjdk-23.0.1.u0-1-aarch64 downloading... nss-3.107-1-aarch64 downloading... libnet-2:1.3-1-aarch64 downloading... nspr-4.36-1-aarch64 downloading... giflib-5.2.2-1-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 gtk3: for the Gtk+ 3 look and feel - desktop usage :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (6) perl-error-0.17029-7 perl-mailtools-2.22-1 perl-timedate-2.33-7 git-2.47.1-1 gradle7-7.6.4-1 jdk21-openjdk-21.0.5.u11-1 Total Download Size: 234.86 MiB Total Installed Size: 461.48 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... jdk21-openjdk-21.0.5.u11-1-aarch64 downloading... gradle7-7.6.4-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-23-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 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 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing gradle7... Optional dependencies for gradle7 gradle7-doc: gradle documentation gradle7-src: gradle sources :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 971. Creating user 'git' (git daemon user) with UID 971 and GID 971. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of ktlint git repo... Cloning into 'ktlint'... done. Switched to a new branch 'makepkg' ==> Starting build()... Welcome to Gradle 7.6.4! Here are the highlights of this release: - Added support for Java 19. - Introduced `--rerun` flag for individual task rerun. - Improved dependency block for test suites to be strongly typed. - Added a pluggable system for Java toolchains provisioning. For more details see https://docs.gradle.org/7.6.4/release-notes.html To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.6.4/userguide/gradle_daemon.html#sec:disabling_the_daemon. Daemon will be stopped at the end of the build > Configure project :build-logic e: /build/ktlint/src/ktlint/build-logic/build.gradle.kts:1:40: Unresolved reference: JvmTarget e: /build/ktlint/src/ktlint/build-logic/build.gradle.kts:14:9: Type mismatch: inferred type is Int but Action<JavaToolchainSpec> was expected e: /build/ktlint/src/ktlint/build-logic/build.gradle.kts:28:5: Val cannot be reassigned e: /build/ktlint/src/ktlint/build-logic/build.gradle.kts:28:23: Type mismatch: inferred type is Int but Property<Int!>! was expected e: /build/ktlint/src/ktlint/build-logic/build.gradle.kts:32:5: Unresolved reference: compilerOptions e: /build/ktlint/src/ktlint/build-logic/build.gradle.kts:32:21: Variable expected e: /build/ktlint/src/ktlint/build-logic/build.gradle.kts:32:33: Unresolved reference: JvmTarget FAILURE: Build failed with an exception. * Where: Build file '/build/ktlint/src/ktlint/build-logic/build.gradle.kts' line: 1 * What went wrong: Script compilation errors: Line 01: import org.jetbrains.kotlin.gradle.dsl.JvmTarget ^ Unresolved reference: JvmTarget Line 14: libs ^ Type mismatch: inferred type is Int but Action<JavaToolchainSpec> was expected Line 28: options.release = buildLogicTargetJavaVersion.majorVersion.toInt() ^ Val cannot be reassigned Line 28: options.release = buildLogicTargetJavaVersion.majorVersion.toInt() ^ Type mismatch: inferred type is Int but Property<Int!>! was expected Line 32: compilerOptions.jvmTarget = JvmTarget.fromTarget(buildLogicTargetJavaVersion.toString()) ^ Unresolved reference: compilerOptions Line 32: compilerOptions.jvmTarget = JvmTarget.fromTarget(buildLogicTargetJavaVersion.toString()) ^ Variable expected Line 32: compilerOptions.jvmTarget = JvmTarget.fromTarget(buildLogicTargetJavaVersion.toString()) ^ Unresolved reference: JvmTarget 7 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 get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 2m 17s [?12l[?25h==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/leming/armv8/leming/build