Bug#1026606: bnd: FTBFS: [javac] /<<PKGBUILDDIR>>/biz.aQute.repository/src/aQute/bnd/deployer/repository/NullLogService.java:6: error: NullLogService is not abstract and does not override abstract method <L>getLogger(Bundle, String, Class<L>) in LoggerFactory
Lucas Nussbaum
lucas at debian.org
Tue Dec 20 17:14:48 GMT 2022
Source: bnd
Version: 5.0.1-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f cnf/ext/central.mvn # It forces Gradle to fetch artifacts from remote.
> ant -f debian/bootstrap.xml
> Buildfile: /<<PKGBUILDDIR>>/debian/bootstrap.xml
>
> 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>>/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/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] /<<PKGBUILDDIR>>/biz.aQute.repository/src/aQute/bnd/deployer/repository/NullLogService.java:6: error: NullLogService is not abstract and does not override abstract method <L>getLogger(Bundle,String,Class<L>) in LoggerFactory
> [javac] public class NullLogService implements LogService {
> [javac] ^
> [javac] where L is a type-variable:
> [javac] L extends Logger declared in method <L>getLogger(Bundle,String,Class<L>)
> [javac] /<<PKGBUILDDIR>>/biz.aQute.repository/src/aQute/bnd/deployer/repository/ReporterLogService.java:10: error: ReporterLogService is not abstract and does not override abstract method <L>getLogger(Bundle,String,Class<L>) in LoggerFactory
> [javac] public class ReporterLogService implements LogService {
> [javac] ^
> [javac] where L is a type-variable:
> [javac] L extends Logger declared in method <L>getLogger(Bundle,String,Class<L>)
> [javac] /<<PKGBUILDDIR>>/biz.aQute.resolve/src/biz/aQute/resolve/ResolverLogger.java:16: error: ResolverLogger is not abstract and does not override abstract method <L>getLogger(Bundle,String,Class<L>) in LoggerFactory
> [javac] public class ResolverLogger implements LogService, AutoCloseable {
> [javac] ^
> [javac] where L is a type-variable:
> [javac] L extends Logger declared in method <L>getLogger(Bundle,String,Class<L>)
> [javac] /<<PKGBUILDDIR>>/biz.aQute.resolve/src/biz/aQute/resolve/LogReporter.java:10: error: LogReporter is not abstract and does not override abstract method <L>getLogger(Bundle,String,Class<L>) in LoggerFactory
> [javac] public class LogReporter extends org.apache.felix.resolver.Logger implements LogService {
> [javac] ^
> [javac] where L is a type-variable:
> [javac] L extends Logger declared in method <L>getLogger(Bundle,String,Class<L>)
> [javac] /<<PKGBUILDDIR>>/biz.aQute.resolve/src/biz/aQute/resolve/ProjectResolver.java:41: error: ProjectResolver.ReporterLogger is not abstract and does not override abstract method <L>getLogger(Bundle,String,Class<L>) in LoggerFactory
> [javac] private final class ReporterLogger extends Logger implements LogService {
> [javac] ^
> [javac] where L is a type-variable:
> [javac] L extends Logger declared in method <L>getLogger(Bundle,String,Class<L>)
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] 5 errors
> [javac] 3 warnings
>
> BUILD FAILED
> /<<PKGBUILDDIR>>/debian/bootstrap.xml:17: Compile failed; see the compiler error output for details.
>
> Total time: 8 seconds
> make[1]: *** [debian/rules:14: override_dh_auto_build] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/12/20/bnd_5.0.1-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-java-maintainers
mailing list