[Debian-astro-maintainers] Bug#1052586: aladin: FTBFS with default Java 21

Vladimir Petko vladimir.petko at canonical.com
Mon Sep 25 02:14:14 BST 2023


Source: aladin
Version: 12.001+dfsg-1
Severity: normal
Tags: ftbfs
Usertags: default-java21
X-Debbugs-Cc: vladimir.petko at canonical.com

Dear Maintainers,

The package aladin ftbfs with default Java 21.
The relevant part of the build log:
---------------
    [javac] /<<PKGBUILDDIR>>/cds/allsky/Task.java:96: error: Builder is a preview API and is disabled by default.
    [javac]              builder = Builder.createBuilder(context,a);
    [javac]                        ^
    [javac]   (use --enable-preview to enable preview APIs)
    [javac] /<<PKGBUILDDIR>>/cds/allsky/Task.java:96: error: cannot find symbol
    [javac]              builder = Builder.createBuilder(context,a);
    [javac]                               ^
    [javac]   symbol:   method createBuilder(Context,Action)
    [javac]   location: interface Builder
    [javac] /<<PKGBUILDDIR>>/cds/allsky/Task.java:97: error: cannot find symbol
    [javac]              builder.validateContext();
    [javac]                     ^
    [javac]   symbol:   method validateContext()
    [javac]   location: variable builder of type Builder
    [javac] /<<PKGBUILDDIR>>/cds/allsky/Task.java:98: error: cannot find symbol
    [javac]              if( builder.isAlreadyDone() ) {
    [javac]                         ^
    [javac]   symbol:   method isAlreadyDone()
    [javac]   location: variable builder of type Builder
    [javac] /<<PKGBUILDDIR>>/cds/allsky/Task.java:105: error: cannot find symbol
    [javac]                 if( !builder.isFake() ) {
    [javac]                             ^
    [javac]   symbol:   method isFake()
    [javac]   location: variable builder of type Builder
    [javac] /<<PKGBUILDDIR>>/cds/allsky/Task.java:106: error: cannot find symbol
    [javac]                    builder.run();
    [javac]                           ^
    [javac]   symbol:   method run()
    [javac]   location: variable builder of type Builder
    [javac] /<<PKGBUILDDIR>>/cds/allsky/Task.java:107: error: cannot find symbol
    [javac]                    builder.showStatistics();
    [javac]                           ^
    [javac]   symbol:   method showStatistics()
    [javac]   location: variable builder of type Builder
    [javac] /<<PKGBUILDDIR>>/cds/allsky/Task.java:148: error: cannot find symbol
    [javac]                    if( now-lastStat>tempo && builder!=null ) { builder.showStatistics(); lastStat=now; }
    [javac]                                                                       ^
    [javac]   symbol:   method showStatistics()
    [javac]   location: variable builder of type Builder
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files additionally use or override a deprecated API that is marked for removal.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 9 errors
    [javac] 100 warnings
    [javac] only showing the first 100 warnings, of 146 total; use -Xmaxwarns if you would like to see more

BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:18: 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



More information about the Debian-astro-maintainers mailing list