Bug#1053087: xz-java: FTBFS with default Java 21

2023-09-28 Thread Emmanuel Bourg

Le 29/09/2023 à 00:58, Vladimir Petko a écrit :

The source level 7 is hardcoded in the build properties[1].

[1] https://sources.debian.org/src/xz-java/1.9-1/build.properties


That's not a problem, Ant is patched to detect an unsupported level for 
the JDK used and change it automatically.


Emmanuel Bourg



Bug#1053087: xz-java: FTBFS with default Java 21

2023-09-28 Thread Vladimir Petko
The source level 7 is hardcoded in the build properties[1].

[1] https://sources.debian.org/src/xz-java/1.9-1/build.properties



Bug#1053087: xz-java: FTBFS with default Java 21

2023-09-28 Thread Emmanuel Bourg

Le 29/09/2023 à 00:44, Vladimir Petko a écrit :

Please see the attached log:
The relevant part:
--

Preparing to unpack .../065-ant_1.10.13-2_all.deb ...
Unpacking ant (1.10.13-2)
--



ant/1.10.13-2 adjusted automatically the source/target level.

ant/1.10.14-1 adjusted automatically the release level, that's why 
xz-java was still failing to build with ant/1.10.13-2


I told you by mail to check again before reporting the issues :)

Emmanuel Bourg



Bug#1053087: xz-java: FTBFS with default Java 21

2023-09-28 Thread Vladimir Petko
Please see the attached log:
The relevant part:
--

Preparing to unpack .../065-ant_1.10.13-2_all.deb ...
Unpacking ant (1.10.13-2)
--


buildlog_ubuntu-mantic-amd64.xz-java_1.9-1build1_BUILDING.txt.gz
Description: application/gzip


Bug#1053087: xz-java: FTBFS with default Java 21

2023-09-28 Thread Emmanuel Bourg

Le 27/09/2023 à 00:24, Vladimir Petko a écrit :


compile:
 [mkdir] Created dir: /<>/build/classes
 [javac] Compiling 108 source files to /<>/build/classes
 [javac] Ignoring source, target and bootclasspath as release has been set
 [javac] error: release version 7 not supported
 [javac] Usage: javac  
 [javac] use --help for a list of possible options


This report is outdated, the error no longer occurs with ant/1.10.13-2.

Emmanuel Bourg



Bug#1053087: xz-java: FTBFS with default Java 21

2023-09-26 Thread Vladimir Petko
Source: xz-java
Version: 1.9-1
Severity: important
Tags: ftbfs
User: debian-j...@lists.debian.org
Usertags: default-java21
X-Debbugs-Cc: vladimir.pe...@canonical.com

Dear Maintainers,

The package xz-java ftbfs with default Java 21.
The relevant part of the build log:
---
compile:
[mkdir] Created dir: /<>/build/classes
[javac] Compiling 108 source files to /<>/build/classes
[javac] Ignoring source, target and bootclasspath as release has been set
[javac] error: release version 7 not supported
[javac] Usage: javac  
[javac] use --help for a list of possible options

BUILD FAILED
/<>/build.xml:58: Compile failed; see the compiler error output 
for details.
---


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

Kernel: Linux 6.2.0-33-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_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