Bug#1057520: libjxmpp-java: FTBFS with default Java 21

2024-01-29 Thread Vladimir Petko
Dear Maintainers,

  Would it be possible to consider a merge request[1] that addresses this issue?

Best Regards,
 Vladimir.

 [1] https://salsa.debian.org/debian/libjxmpp-java/-/merge_requests/3



Bug#1057520: libjxmpp-java: FTBFS with default Java 21

2023-12-05 Thread Vladimir Petko
Source: libjxmpp-java
Version: 1.0.1-3
Severity: important
Tags: ftbfs
User: debian-j...@lists.debian.org
Usertags: default-java21

Dear Maintainers,

The package libjxmpp-java ftbfs with default Java 21.
The relevant part of the build log:
---
Putting task artifact state for task ':jxmpp-core:debianMavenPom' into context 
took 0.0 secs.
Up-to-date check for task ':jxmpp-core:debianMavenPom' took 0.0 secs. It is not 
up-to-date because:
  No history is available.
Generating pom file 
/<>/jxmpp-jid/build/debian/jxmpp-jid.pom
Generating pom file 
/<>/jxmpp-stringprep-icu4j/build/debian/jxmpp-stringprep-icu4j.pom
Generating pom file 
/<>/jxmpp-core/build/debian/jxmpp-core.pom
:jxmpp-jid:debianMavenPom (Thread[#43,Task worker for ':' Thread 3,5,main]) 
completed. Took 0.052 secs.
:jxmpp-stringprep-icu4j:debianMavenPom (Thread[#41,Task worker for ':',5,main]) 
completed. Took 0.055 secs.
:jxmpp-core:debianMavenPom (Thread[#42,Task worker for ':' Thread 2,5,main]) 
completed. Took 0.057 secs.
/<>/jxmpp-util-cache/src/main/java/org/jxmpp/util/cache/ExpirationCache.java:38:
 warning: [this-escape] possible 'this' escape before subclass is fully 
initialized
setDefaultExpirationTime(defaultExpirationTime);
^
error: warnings found and -Werror specified
1 error
1 warning
:jxmpp-util-cache:compileJava FAILED
:jxmpp-util-cache:compileJava (Thread[#29,Daemon worker,5,main]) completed. 
Took 0.487 secs.

FAILURE: Build failed with an exception.
---


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

Kernel: Linux 6.5.0-13-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