Source: bnd
Version: 5.0.1-4
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: default-java21
X-Debbugs-Cc: [email protected]

Dear Maintainers,

The package bnd ftbfs with default Java 21.
The relevant part of the build log:
---------------
bootstrap:
    [mkdir] Created dir: /<<PKGBUILDDIR>>/bootstrap/build
    [javac] /<<PKGBUILDDIR>>/debian/bootstrap.xml:17: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
    [javac] Compiling 865 source files to /<<PKGBUILDDIR>>/bootstrap/build
    [javac] 
/<<PKGBUILDDIR>>/aQute.libg/src/aQute/lib/collections/SortedList.java:31: 
error: types List<T> and SequencedSet<T> are incompatible;
    [javac] public class SortedList<T> implements SortedSet<T>, List<T> {
    [javac]        ^
    [javac]   both define reversed(), but with unrelated return types
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class SortedList
    [javac] 
/<<PKGBUILDDIR>>/biz.aQute.bnd.annotation/src/aQute/bnd/annotation/headers/RequireCapability.java:85:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    [javac]     aQute.bnd.annotation.headers.Resolution resolution() default 
aQute.bnd.annotation.headers.Resolution.mandatory;
    [javac]                                             ^
    [javac] 
/<<PKGBUILDDIR>>/biz.aQute.bndlib/src/aQute/bnd/build/Project.java:2082: 
warning: [removal] runFinalization() in System has been deprecated and marked 
for removal
    [javac]                                     System.runFinalization();
    [javac]                                           ^
    [javac] 
/<<PKGBUILDDIR>>/biz.aQute.bndlib/src/aQute/bnd/component/annotations/Component.java:97:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    [javac]     boolean servicefactory() default false;
    [javac]             ^
    [javac] 
/<<PKGBUILDDIR>>/biz.aQute.bnd.annotation/src/aQute/bnd/annotation/component/Component.java:40:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    [javac]     ConfigurationPolicy configurationPolicy() default 
ConfigurationPolicy.optional;
    [javac]                         ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error
    [javac] 4 warnings

BUILD FAILED
/<<PKGBUILDDIR>>/debian/bootstrap.xml:17: Compile failed; see the compiler 
error output for details.

Total time: 6 seconds
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-09-29T09:36:06Z
---------------


-- 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

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to