Bug#1108564: gkl: FTBFS with default Java 25

2025-12-15 Thread Vladimir Petko
Dear Maintainers,

Would it be possible to consider the MR[1] as a proposed solution for
this issue.

Best regards,
Vladimir.

[1] https://salsa.debian.org/java-team/gkl/-/merge_requests/4



Bug#1108564: gkl: FTBFS with default Java 25

2025-06-30 Thread Vladimir Petko
Source: gkl
Version: 0.8.11+dfsg-2build1
Severity: normal
Tags: ftbfs
Usertags: default-java25

Dear Maintainers,

The package gkl ftbfs with default Java 25.
The relevant part of the build log:
---
All input files are considered out-of-date for incremental task ':compileJava'.
Compiling with JDK Java compiler API.
/<>/src/main/java/com/intel/gkl/NativeLibraryLoader.java:105: 
warning: [restricted] System.loadLibrary(String) is a restricted method.
System.loadLibrary(libraryName);
  ^
  (Restricted methods are unsafe and, if used incorrectly, might crash the Java 
runtime or corrupt memory)
error: warnings found and -Werror specified
1 error
1 warning
:compileJava FAILED
:compileJava (Thread[#51,Task worker for ':' Thread 2,5,main]) completed. Took 
1.734 secs.
---


-- System Information:
Debian Release: trixie/sid
  APT prefers plucky-updates
  APT policy: (500, 'plucky-updates'), (500, 'plucky-security'), (500, 'plucky')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.14.0-22-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled