==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: zaproxy 2.16.1-1 (Thu Mar 27 05:25:10 2025)
==> Retrieving sources...
  -> Cloning zaproxy git repo...
Cloning into bare repository '/home/leming/work/zaproxy/zaproxy'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    zaproxy ... Skipped
==> Validating source files with b2sums...
    zaproxy ... Skipped
==> Making package: zaproxy 2.16.1-1 (Thu Mar 27 05:25:31 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25l:: There are 10 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) jre7-openjdk  10) jre8-openjdk

Enter a number (default=1): 
:: There are 12 providers available for ttf-font:
:: Repository extra
   1) gnu-free-fonts  2) noto-fonts  3) ttf-bitstream-vera  4) ttf-croscore
   5) ttf-dejavu  6) ttf-droid  7) ttf-freefont  8) ttf-ibm-plex  9) ttf-input
   10) ttf-input-nerd  11) ttf-liberation  12) ttf-roboto

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 (17) freetype2-2.13.3-3  giflib-5.2.2-1  graphite-1:1.3.14-4
              harfbuzz-11.0.0-1  hicolor-icon-theme-0.18-1
              java-environment-common-3-6  java-runtime-common-3-6
              jbigkit-2.1-8  lcms2-2.17-1  libjpeg-turbo-3.1.0-1
              libnet-2:1.3-1  libpng-1.6.47-1  libtiff-4.7.0-1  nspr-4.36-1
              nss-3.109-1  gnu-free-fonts-20120503-8  jdk-openjdk-24.u36-1

Total Download Size:   138.00 MiB
Total Installed Size:  356.77 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 jdk-openjdk-24.u36-1-aarch64 downloading...
 gnu-free-fonts-20120503-8-any downloading...
 libnet-2:1.3-1-aarch64 downloading...
 java-runtime-common-3-6-any downloading...
 java-environment-common-3-6-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
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
installing gnu-free-fonts...
:: 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.17030-1  perl-mailtools-2.22-1  perl-timedate-2.33-7
             git-2.49.0-1  gradle7-7.6.4-1  jdk17-openjdk-17.0.14.u7-1

Total Download Size:   226.96 MiB
Total Installed Size:  438.02 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 gradle7-7.6.4-1-any downloading...
 jdk17-openjdk-17.0.14.u7-1-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
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    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 jdk17-openjdk...
Default Java environment is already set to 'java-24-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
    gtk3: for the Gtk+ 3 look and feel - desktop usage
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) Checking for old perl modules...
[?25h==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of zaproxy git repo...
Cloning into 'zaproxy'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
[?1h=
dc25a7002 Update Gradle

[?1l>Auto-merging zap/zap.gradle.kts

> Task :buildSrc:compileKotlin
'compileJava' task (current target is 17) and 'compileKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.




> Task :buildSrc:spotlessJavaCheck FAILED


> Task :buildSrc:compileKotlin
e: /build/zaproxy/src/zaproxy/buildSrc/src/main/kotlin/org/zaproxy/zap/test.gradle.kts: (36, 30): Unresolved reference: lowercase




> Task :buildSrc:compileKotlin FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':buildSrc:spotlessJavaCheck'.
> The following files had format violations:
      src/main/java/org/zaproxy/zap/tasks/GradleBuildWithGitRepos.java
          @@ -43,7 +43,6 @@
           import·org.gradle.api.NamedDomainObjectContainer;
           import·org.gradle.api.Project;
           import·org.gradle.api.file.DirectoryProperty;
          -import·org.gradle.api.file.FileSystemOperations;
           import·org.gradle.api.file.RegularFileProperty;
           import·org.gradle.api.model.ObjectFactory;
           import·org.gradle.api.provider.ListProperty;
      src/main/java/org/zaproxy/zap/tasks/JFlexToRstaTokenMaker.java
          @@ -105,7 +105,17 @@
           ····································SuppressWarnings.class,·"\"fallthrough\"");
           ························});
           
          -········addOverrideAnnotation(type,·"addToken",·"getTokenList",·"yybegin",·"yycharat",·"yyclose",·"yylength",·"yypushback",·"yystate",·"yytext");
          +········addOverrideAnnotation(
          +················type,
          +················"addToken",
          +················"getTokenList",
          +················"yybegin",
          +················"yycharat",
          +················"yyclose",
          +················"yylength",
          +················"yypushback",
          +················"yystate",
          +················"yytext");
           
           ········Path·outputFile·=·outputDir.resolve(source.getRelativePath().getPathString());
           ········try·{
  Run './gradlew :spotlessApply' to fix these violations.

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':buildSrc:compileKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* 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 2m 36s
11 actionable tasks: 11 executed







[?12l[?25h==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv8/leming/build