Bug#1027649: aspectj: FTBFS: The type org.osgi.service.prefs.Preferences cannot be resolved. It is indirectly referenced from required .class files

Lucas Nussbaum lucas at debian.org
Sun Jan 1 14:03:10 GMT 2023


Source: aspectj
Version: 1.9.5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230101 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>>'
> # Build the manpages
> docbook-to-man debian/aj.sgml        > debian/aj.1
> docbook-to-man debian/ajbrowser.sgml > debian/ajbrowser.1
> sh debian/manpage_from.sh docs/devGuideDB/ajc.xml   > debian/ajc.1
> /usr/bin/onsgmls:/tmp/tmp.EnKfBMiYbA:550:25:X: reference to non-existent ID "VERSIONCOMPATIBILITY"
> /usr/bin/onsgmls:/tmp/tmp.EnKfBMiYbA:27:39:X: reference to non-existent ID "LTW"
> sh debian/manpage_from.sh docs/devGuideDB/ajdoc.xml > debian/ajdoc.1
> /usr/bin/onsgmls:/tmp/tmp.iyjxh7CaE5:93:25:X: reference to non-existent ID "AJC_OPTIONS"
> /usr/bin/onsgmls:/tmp/tmp.iyjxh7CaE5:87:29:X: reference to non-existent ID "AJC"
> # Build AspectJ
> ant -f debian/bootstrap.xml
> Buildfile: /<<PKGBUILDDIR>>/debian/bootstrap.xml
> 
> all:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.core/classes
>      [iajc] warning bad version number found in /usr/share/java/aspectjrt-1.9.5.jar expected 1.9.5 found null
>      [iajc] error at public static class EclipsePreferencesListener implements IEclipsePreferences.IPreferenceChangeListener {
>      [iajc]                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>      [iajc] /<<PKGBUILDDIR>>/org.eclipse.jdt.core/src/main/java/org/aspectj/org/eclipse/jdt/internal/core/JavaModelManager.java:1658:0::0 The type org.osgi.service.prefs.Preferences cannot be resolved. It is indirectly referenced from required .class files
>      [iajc] MessageHolder:  (3 info)  (1 warning)  (1 error) 
>      [iajc] [error   0]: error at public static class EclipsePreferencesListener implements IEclipsePreferences.IPreferenceChangeListener {
>      [iajc]                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>      [iajc] /<<PKGBUILDDIR>>/org.eclipse.jdt.core/src/main/java/org/aspectj/org/eclipse/jdt/internal/core/JavaModelManager.java:1658:0::0 The type org.osgi.service.prefs.Preferences cannot be resolved. It is indirectly referenced from required .class files
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/debian/bootstrap.xml:22: 1 errors
> 
> Total time: 4 seconds
> make[1]: *** [debian/rules:33: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/01/01/aspectj_1.9.5-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230101;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230101&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