Bug#1027636: eclipse-platform-text: FTBFS: [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:23: error: package org.osgi.service.prefs does not exist
Lucas Nussbaum
lucas at debian.org
Sun Jan 1 14:30:52 GMT 2023
Source: eclipse-platform-text
Version: 4.26-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):
> debian/rules build
> dh build --buildsystem=eclipse_bundles
> dh_update_autotools_config -O--buildsystem=eclipse_bundles
> dh_autoreconf -O--buildsystem=eclipse_bundles
> dh_auto_configure -O--buildsystem=eclipse_bundles
> dh_auto_build -O--buildsystem=eclipse_bundles
> ant -Dbasedir . -Dbundledir -f debian/build.xml org.eclipse.core.filebuffers org.eclipse.jface.text org.eclipse.search org.eclipse.text org.eclipse.ui.editors org.eclipse.ui.genericeditor org.eclipse.ui.workbench.texteditor -Duser.name debian
> Buildfile: /<<PKGBUILDDIR>>/debian/build.xml
>
> org.eclipse.text:
> [echo] Building bundle 'Text' (org.eclipse.text:3.12.300)
> [mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.text/target/classes
> [touch] Creating /<<PKGBUILDDIR>>/org.eclipse.text/target/dependencies
> [mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.text/target/sources
> [copy] Copying 132 files to /<<PKGBUILDDIR>>/org.eclipse.text/target/sources
> [javac] Compiling 132 source files to /<<PKGBUILDDIR>>/org.eclipse.text/target/classes
> [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:23: error: package org.osgi.service.prefs does not exist
> [javac] import org.osgi.service.prefs.BackingStoreException;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:135: error: cannot access Preferences
> [javac] fPreferenceStore.addPreferenceChangeListener(fPropertyListener);
> [javac] ^
> [javac] class file for org.osgi.service.prefs.Preferences not found
> [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:211: error: cannot find symbol
> [javac] fPreferenceStore.put(fKey, output.toString());
> [javac] ^
> [javac] symbol: method put(String,String)
> [javac] location: variable fPreferenceStore of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:212: error: cannot find symbol
> [javac] fPreferenceStore.flush();
> [javac] ^
> [javac] symbol: method flush()
> [javac] location: variable fPreferenceStore of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:213: error: cannot find symbol
> [javac] } catch (BackingStoreException e) {
> [javac] ^
> [javac] symbol: class BackingStoreException
> [javac] location: class TemplateStoreCore
> [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:280: error: cannot find symbol
> [javac] oldValue= fPreferenceStore.get(fKey, null);
> [javac] ^
> [javac] symbol: method get(String,<null>)
> [javac] location: variable fPreferenceStore of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:285: error: cannot find symbol
> [javac] fPreferenceStore.put(fKey, ""); //$NON-NLS-1$
> [javac] ^
> [javac] symbol: method put(String,String)
> [javac] location: variable fPreferenceStore of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:300: error: cannot find symbol
> [javac] fPreferenceStore.put(fKey, oldValue);
> [javac] ^
> [javac] symbol: method put(String,String)
> [javac] location: variable fPreferenceStore of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.text/target/sources/org/eclipse/text/templates/TemplateStoreCore.java:423: error: cannot find symbol
> [javac] String pref= fPreferenceStore.get(fKey, null);
> [javac] ^
> [javac] symbol: method get(String,<null>)
> [javac] location: variable fPreferenceStore of type IEclipsePreferences
> [javac] 9 errors
>
> BUILD FAILED
> /<<PKGBUILDDIR>>/debian/build.xml:60: The following error occurred while executing this line:
> /usr/share/eclipse-debian-helper/build-eclipse-bundle.xml:64: Compile failed; see the compiler error output for details.
>
> Total time: 2 seconds
> dh_auto_build: error: ant -Dbasedir . -Dbundledir -f debian/build.xml org.eclipse.core.filebuffers org.eclipse.jface.text org.eclipse.search org.eclipse.text org.eclipse.ui.editors org.eclipse.ui.genericeditor org.eclipse.ui.workbench.texteditor -Duser.name debian returned exit code 1
> make: *** [debian/rules:6: build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/01/01/eclipse-platform-text_4.26-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