Bug#1027502: eclipse-jdt-debug: FTBFS: [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/debug/core/JDIDebugModel.java:45: error: package org.osgi.service.prefs does not exist
Lucas Nussbaum
lucas at debian.org
Sun Jan 1 14:30:37 GMT 2023
Source: eclipse-jdt-debug
Version: 4.23-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.jdt.debug org.eclipse.jdt.debug.ui org.eclipse.jdt.launching -Duser.name debian
> Buildfile: /<<PKGBUILDDIR>>/debian/build.xml
>
> org.eclipse.jdt.debug:
> [echo] Building bundle 'JDI Debug Model' (org.eclipse.jdt.debug:3.19.100)
> [mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/classes
> [touch] Creating /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/dependencies
> [mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources
> [copy] Copying 358 files to /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources
> [javac] Compiling 358 source files to /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/classes
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/debug/core/JDIDebugModel.java:45: error: package org.osgi.service.prefs does not exist
> [javac] import org.osgi.service.prefs.BackingStoreException;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPlugin.java:58: error: cannot access Preferences
> [javac] public class JDIDebugPlugin extends Plugin implements IEclipsePreferences.IPreferenceChangeListener {
> [javac] ^
> [javac] class file for org.osgi.service.prefs.Preferences not found
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/debug/core/JDIDebugModel.java:968: error: cannot find symbol
> [javac] node.flush();
> [javac] ^
> [javac] symbol: method flush()
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/debug/core/JDIDebugModel.java:969: error: cannot find symbol
> [javac] } catch (BackingStoreException bse) {
> [javac] ^
> [javac] symbol: class BackingStoreException
> [javac] location: class JDIDebugModel
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:121: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugPlugin.PREF_SHOW_REFERENCES_IN_VAR_VIEW, value);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:123: error: cannot find symbol
> [javac] node.flush();
> [javac] ^
> [javac] symbol: method flush()
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:124: error: cannot find symbol
> [javac] } catch (BackingStoreException e) {
> [javac] ^
> [javac] symbol: class BackingStoreException
> [javac] location: class HeapWalkingManager
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:140: error: cannot find symbol
> [javac] node.putInt(JDIDebugPlugin.PREF_ALL_REFERENCES_MAX_COUNT, max);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:142: error: cannot find symbol
> [javac] node.flush();
> [javac] ^
> [javac] symbol: method flush()
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:143: error: cannot find symbol
> [javac] } catch (BackingStoreException e) {
> [javac] ^
> [javac] symbol: class BackingStoreException
> [javac] location: class HeapWalkingManager
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:159: error: cannot find symbol
> [javac] node.putInt(JDIDebugPlugin.PREF_ALL_INSTANCES_MAX_COUNT, max);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:161: error: cannot find symbol
> [javac] node.flush();
> [javac] ^
> [javac] symbol: method flush()
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:162: error: cannot find symbol
> [javac] } catch (BackingStoreException e) {
> [javac] ^
> [javac] symbol: class BackingStoreException
> [javac] location: class HeapWalkingManager
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:175: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugPlugin.PREF_SHOW_REFERENCES_IN_VAR_VIEW, false);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:176: error: cannot find symbol
> [javac] node.putInt(JDIDebugPlugin.PREF_ALL_REFERENCES_MAX_COUNT, 100);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:177: error: cannot find symbol
> [javac] node.putInt(JDIDebugPlugin.PREF_ALL_INSTANCES_MAX_COUNT, 100);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:179: error: cannot find symbol
> [javac] node.flush();
> [javac] ^
> [javac] symbol: method flush()
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/HeapWalkingManager.java:180: error: cannot find symbol
> [javac] } catch (BackingStoreException e) {
> [javac] ^
> [javac] symbol: class BackingStoreException
> [javac] location: class HeapWalkingManager
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPlugin.java:314: error: cannot find symbol
> [javac] node.flush();
> [javac] ^
> [javac] symbol: method flush()
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPlugin.java:315: error: cannot find symbol
> [javac] } catch (BackingStoreException bse) {
> [javac] ^
> [javac] symbol: class BackingStoreException
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:38: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugPlugin.PREF_ENABLE_HCR, true);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:39: error: cannot find symbol
> [javac] node.putInt(JDIDebugModel.PREF_REQUEST_TIMEOUT, JDIDebugModel.DEF_REQUEST_TIMEOUT);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:40: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugModel.PREF_HCR_WITH_COMPILATION_ERRORS, true);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:41: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugModel.PREF_SUSPEND_FOR_BREAKPOINTS_DURING_EVALUATION, true);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:42: error: cannot find symbol
> [javac] node.putInt(JDIDebugPlugin.PREF_DEFAULT_BREAKPOINT_SUSPEND_POLICY, IJavaBreakpoint.SUSPEND_THREAD);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:44: error: cannot find symbol
> [javac] node.putInt(JDIDebugPlugin.PREF_DEFAULT_WATCHPOINT_SUSPEND_POLICY, 0);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:45: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugPlugin.PREF_SHOW_REFERENCES_IN_VAR_VIEW, false);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:46: error: cannot find symbol
> [javac] node.putInt(JDIDebugPlugin.PREF_ALL_REFERENCES_MAX_COUNT, 100);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:47: error: cannot find symbol
> [javac] node.putInt(JDIDebugPlugin.PREF_ALL_INSTANCES_MAX_COUNT, 100);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:48: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugModel.PREF_FILTER_BREAKPOINTS_FROM_UNRELATED_SOURCES, true);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:49: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugModel.PREF_SHOW_STEP_RESULT, true);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:50: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugModel.PREF_SHOW_STEP_RESULT_REMOTE, false);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:51: error: cannot find symbol
> [javac] node.putInt(JDIDebugModel.PREF_SHOW_STEP_TIMEOUT, JDIDebugModel.DEF_SHOW_STEP_TIMEOUT);
> [javac] ^
> [javac] symbol: method putInt(String,int)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/JDIDebugPluginPreferenceInitializer.java:52: error: cannot find symbol
> [javac] node.putBoolean(JDIDebugPlugin.PREF_ENABLE_ADVANCED_SOURCELOOKUP, true);
> [javac] ^
> [javac] symbol: method putBoolean(String,boolean)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/logicalstructures/JavaLogicalStructures.java:232: error: cannot find symbol
> [javac] node.put(PREF_JAVA_LOGICAL_STRUCTURES, logicalStructuresString.toString());
> [javac] ^
> [javac] symbol: method put(String,String)
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/logicalstructures/JavaLogicalStructures.java:234: error: cannot find symbol
> [javac] node.flush();
> [javac] ^
> [javac] symbol: method flush()
> [javac] location: variable node of type IEclipsePreferences
> [javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources/org/eclipse/jdt/internal/debug/core/logicalstructures/JavaLogicalStructures.java:235: error: cannot find symbol
> [javac] } catch (BackingStoreException e) {
> [javac] ^
> [javac] symbol: class BackingStoreException
> [javac] location: class JavaLogicalStructures
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 37 errors
>
> BUILD FAILED
> /<<PKGBUILDDIR>>/debian/build.xml:8: 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: 4 seconds
> dh_auto_build: error: ant -Dbasedir . -Dbundledir -f debian/build.xml org.eclipse.jdt.debug org.eclipse.jdt.debug.ui org.eclipse.jdt.launching -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-jdt-debug_4.23-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