Bug#1027633: equinox-p2: FTBFS: [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:39: error: package org.osgi.service.prefs does not exist

Lucas Nussbaum lucas at debian.org
Sun Jan 1 14:06:16 GMT 2023


Source: equinox-p2
Version: 4.21-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 bundles -f debian/build.xml org.eclipse.equinox.p2.artifact.optimizers org.eclipse.equinox.p2.artifact.processors org.eclipse.equinox.p2.artifact.repository org.eclipse.equinox.p2.console org.eclipse.equinox.p2.core org.eclipse.equinox.p2.director org.eclipse.equinox.p2.director.app org.eclipse.equinox.p2.directorywatcher org.eclipse.equinox.p2.discovery org.eclipse.equinox.p2.engine org.eclipse.equinox.p2.extensionlocation org.eclipse.equinox.p2.garbagecollector org.eclipse.equinox.p2.jarprocessor org.eclipse.equinox.p2.metadata org.eclipse.equinox.p2.metadata.repository org.eclipse.equinox.p2.operations org.eclipse.equinox.p2.publisher org.eclipse.equinox.p2.publisher.eclipse org.eclipse.equinox.p2.reconciler.dropins org.eclipse.equinox.p2.repository org.eclipse.equinox.p2.repository.tools org.eclipse.equinox.p2.sar org.eclipse.equinox.p2.touchpoint.eclipse org.eclipse.equinox.p2.touchpoint.natives org.eclipse.equinox.p2.ui org.eclipse.equinox.p2.ui.sdk org.eclipse.equinox.p2.ui.sdk.scheduler org.eclipse.equinox.p2.updatechecker org.eclipse.equinox.p2.updatesite org.eclipse.equinox.frameworkadmin org.eclipse.equinox.frameworkadmin.equinox org.eclipse.equinox.simpleconfigurator org.eclipse.equinox.simpleconfigurator.manipulator -Duser.name debian
> Buildfile: /<<PKGBUILDDIR>>/debian/build.xml
> 
> org.eclipse.equinox.p2.core:
>      [echo] Building bundle 'Equinox Provisioning Core' (org.eclipse.equinox.p2.core:2.8.0)
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.core/target/classes
>     [touch] Creating /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.core/target/dependencies
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.core/target/sources
>      [copy] Copying 34 files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.core/target/sources
>     [javac] Compiling 34 source files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.core/target/classes
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>      [copy] Copying 7 files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.core/target/classes
>       [jar] Building jar: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.core/target/org.eclipse.equinox.p2.core.jar
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.core/target
> 
> org.eclipse.equinox.p2.jarprocessor:
>      [echo] Building bundle 'Equinox Provisioning JAR Processor' (org.eclipse.equinox.p2.jarprocessor:1.2.0)
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/classes
>     [touch] Creating /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/dependencies
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources
>      [copy] Copying 20 files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources
>     [javac] Compiling 20 source files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/classes
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/internal/provisional/equinox/p2/jarprocessor/JarProcessorExecutor.java:212: warning: [removal] PackUnpackStep in org.eclipse.equinox.internal.p2.jarprocessor has been deprecated and marked for removal
>     [javac] 		processor.addProcessStep(new PackUnpackStep(properties, processOptions.verbose));
>     [javac] 		                             ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/internal/provisional/equinox/p2/jarprocessor/JarProcessorExecutor.java:223: warning: [removal] PackStep in org.eclipse.equinox.internal.p2.jarprocessor has been deprecated and marked for removal
>     [javac] 		processor.addProcessStep(new PackStep(properties, processOptions.verbose));
>     [javac] 		                             ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/internal/provisional/equinox/p2/jarprocessor/JarProcessorExecutor.java:229: warning: [removal] UnpackStep in org.eclipse.equinox.internal.p2.jarprocessor has been deprecated and marked for removal
>     [javac] 		processor.addProcessStep(new UnpackStep(properties, processOptions.verbose));
>     [javac] 		                             ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/internal/provisional/equinox/p2/jarprocessor/JarProcessor.java:45: warning: [removal] UnpackStep in org.eclipse.equinox.internal.p2.jarprocessor has been deprecated and marked for removal
>     [javac] 		processor.addProcessStep(new UnpackStep(properties));
>     [javac] 		                             ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/internal/provisional/equinox/p2/jarprocessor/JarProcessor.java:58: warning: [removal] PackStep in org.eclipse.equinox.internal.p2.jarprocessor has been deprecated and marked for removal
>     [javac] 		processor.addProcessStep(new PackStep(properties));
>     [javac] 		                             ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/internal/provisional/equinox/p2/jarprocessor/JarProcessor.java:68: warning: [removal] PackStep in org.eclipse.equinox.internal.p2.jarprocessor has been deprecated and marked for removal
>     [javac] 		return PackStep.canPack();
>     [javac] 		       ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/internal/provisional/equinox/p2/jarprocessor/JarProcessor.java:77: warning: [removal] UnpackStep in org.eclipse.equinox.internal.p2.jarprocessor has been deprecated and marked for removal
>     [javac] 		return UnpackStep.canUnpack();
>     [javac] 		       ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:38: warning: [removal] getPack200Commands(String) in Utils has been deprecated and marked for removal
>     [javac] 		String[] locations = Utils.getPack200Commands("pack200"); //$NON-NLS-1$
>     [javac] 		                          ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:64: warning: [removal] getPackExclusions(Properties) in Utils has been deprecated and marked for removal
>     [javac] 		exclusions = Utils.getPackExclusions(options);
>     [javac] 		                  ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:69: warning: [removal] getPackExclusions(Properties) in Utils has been deprecated and marked for removal
>     [javac] 		exclusions = Utils.getPackExclusions(options);
>     [javac] 		                  ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:75: warning: [removal] PACKED_SUFFIX in Utils has been deprecated and marked for removal
>     [javac] 			return entryName + Utils.PACKED_SUFFIX;
>     [javac] 			                        ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:91: warning: [removal] PACKED_SUFFIX in Utils has been deprecated and marked for removal
>     [javac] 			File outputFile = new File(workingDirectory, input.getName() + Utils.PACKED_SUFFIX);
>     [javac] 			                                                                    ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:151: warning: [removal] PACK_ARGS in Utils has been deprecated and marked for removal
>     [javac] 		if (inf != null && inf.containsKey(Utils.PACK_ARGS)) {
>     [javac] 		                                        ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:152: warning: [removal] PACK_ARGS in Utils has been deprecated and marked for removal
>     [javac] 			return inf.getProperty(Utils.PACK_ARGS);
>     [javac] 			                            ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:157: warning: [removal] DEFAULT_PACK_ARGS in Utils has been deprecated and marked for removal
>     [javac] 			if (container.containsKey(Utils.DEFAULT_PACK_ARGS)) {
>     [javac] 			                               ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:158: warning: [removal] DEFAULT_PACK_ARGS in Utils has been deprecated and marked for removal
>     [javac] 				return container.getProperty(Utils.DEFAULT_PACK_ARGS);
>     [javac] 				                                  ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:164: warning: [removal] PACK_ARGS_SUFFIX in Utils has been deprecated and marked for removal
>     [javac] 		String argsKey = input.getName() + Utils.PACK_ARGS_SUFFIX;
>     [javac] 		                                        ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:170: warning: [removal] DEFAULT_PACK_ARGS in Utils has been deprecated and marked for removal
>     [javac] 		if (options.containsKey(Utils.DEFAULT_PACK_ARGS)) {
>     [javac] 		                             ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:171: warning: [removal] DEFAULT_PACK_ARGS in Utils has been deprecated and marked for removal
>     [javac] 			return options.getProperty(Utils.DEFAULT_PACK_ARGS);
>     [javac] 			                                ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:198: warning: [removal] MARK_PROPERTY in Utils has been deprecated and marked for removal
>     [javac] 		if (inf.getProperty(Utils.MARK_PROPERTY) != null)
>     [javac] 		                         ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:201: warning: [removal] MARK_PROPERTY in Utils has been deprecated and marked for removal
>     [javac] 		inf.put(Utils.MARK_PROPERTY, "true"); //$NON-NLS-1$
>     [javac] 		             ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:203: warning: [removal] PACK_ARGS in Utils has been deprecated and marked for removal
>     [javac] 		String arguments = inf.getProperty(Utils.PACK_ARGS);
>     [javac] 		                                        ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackStep.java:207: warning: [removal] PACK_ARGS in Utils has been deprecated and marked for removal
>     [javac] 				inf.put(Utils.PACK_ARGS, arguments);
>     [javac] 				             ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackUnpackStep.java:27: warning: [removal] PackStep in org.eclipse.equinox.internal.p2.jarprocessor has been deprecated and marked for removal
>     [javac] public class PackUnpackStep extends PackStep {
>     [javac]                                     ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackUnpackStep.java:32: warning: [removal] getPackExclusions(Properties) in Utils has been deprecated and marked for removal
>     [javac] 		exclusions = Utils.getPackExclusions(options);
>     [javac] 		                  ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/PackUnpackStep.java:37: warning: [removal] getPackExclusions(Properties) in Utils has been deprecated and marked for removal
>     [javac] 		exclusions = Utils.getPackExclusions(options);
>     [javac] 		                  ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/UnpackStep.java:37: warning: [removal] getPack200Commands(String) in Utils has been deprecated and marked for removal
>     [javac] 		String[] locations = Utils.getPack200Commands("unpack200"); //$NON-NLS-1$
>     [javac] 		                          ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/UnpackStep.java:71: warning: [removal] PACKED_SUFFIX in Utils has been deprecated and marked for removal
>     [javac] 		if (canUnpack() && entryName.endsWith(Utils.PACKED_SUFFIX)) {
>     [javac] 		                                           ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/UnpackStep.java:72: warning: [removal] PACKED_SUFFIX in Utils has been deprecated and marked for removal
>     [javac] 			return entryName.substring(0, entryName.length() - Utils.PACKED_SUFFIX.length());
>     [javac] 			                                                        ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/UnpackStep.java:81: warning: [removal] PACKED_SUFFIX in Utils has been deprecated and marked for removal
>     [javac] 			if (name.endsWith(Utils.PACKED_SUFFIX)) {
>     [javac] 			                       ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/UnpackStep.java:82: warning: [removal] PACKED_SUFFIX in Utils has been deprecated and marked for removal
>     [javac] 				name = name.substring(0, name.length() - Utils.PACKED_SUFFIX.length());
>     [javac] 				                                              ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/ant/JarProcessorTask.java:71: warning: [removal] pack in Options has been deprecated and marked for removal
>     [javac] 		options.pack = pack;
>     [javac] 		       ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/sources/org/eclipse/equinox/internal/p2/jarprocessor/ant/JarProcessorTask.java:77: warning: [removal] repack in Options has been deprecated and marked for removal
>     [javac] 		options.repack = normalize;
>     [javac] 		       ^
>     [javac] 33 warnings
>      [copy] Copying 5 files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/classes
>       [jar] Building jar: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target/org.eclipse.equinox.p2.jarprocessor.jar
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.jarprocessor/target
> 
> org.eclipse.equinox.p2.metadata:
>      [echo] Building bundle 'Equinox Provisioning Metadata' (org.eclipse.equinox.p2.metadata:2.6.100)
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.metadata/target/classes
>     [touch] Creating /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.metadata/target/dependencies
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.metadata/target/sources
>      [copy] Copying 142 files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.metadata/target/sources
>     [javac] Compiling 142 source files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.metadata/target/classes
>     [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.
>      [copy] Copying 4 files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.metadata/target/classes
>       [jar] Building jar: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.metadata/target/org.eclipse.equinox.p2.metadata.jar
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.metadata/target
> 
> org.eclipse.equinox.p2.repository:
>      [echo] Building bundle 'Equinox Provisioning Repository' (org.eclipse.equinox.p2.repository:2.5.200)
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/classes
>     [touch] Creating /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/dependencies
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources
>      [copy] Copying 55 files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources
>     [javac] Compiling 55 source files to /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/classes
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:39: error: package org.osgi.service.prefs does not exist
>     [javac] import org.osgi.service.prefs.BackingStoreException;
>     [javac]                              ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:40: error: package org.osgi.service.prefs does not exist
>     [javac] import org.osgi.service.prefs.Preferences;
>     [javac]                              ^
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:503: error: cannot find symbol
>     [javac] 	Preferences getPreferences() {
>     [javac] 	^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:518: error: cannot find symbol
>     [javac] 	Preferences getSharedPreferences() {
>     [javac] 	^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:536: error: cannot find symbol
>     [javac] 	private URI getRepositoryLocation(Preferences node) {
>     [javac] 	                                  ^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:845: error: cannot find symbol
>     [javac] 	protected boolean putValue(Preferences node, String key, String newValue) {
>     [javac] 	                           ^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:975: error: cannot find symbol
>     [javac] 	private void basicRestoreFromPreferences(Preferences node, boolean save) {
>     [javac] 	                                         ^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:861: error: cannot find symbol
>     [javac] 		Preferences node = getPreferences();
>     [javac] 		^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:896: error: cannot find symbol
>     [javac] 		Preferences node = getPreferences();
>     [javac] 		^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:957: error: cannot find symbol
>     [javac] 			Preferences node = getPreferences();
>     [javac] 			^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:963: error: cannot find symbol
>     [javac] 		} catch (BackingStoreException e) {
>     [javac] 		         ^
>     [javac]   symbol:   class BackingStoreException
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:982: error: cannot find symbol
>     [javac] 		} catch (BackingStoreException e) {
>     [javac] 		         ^
>     [javac]   symbol:   class BackingStoreException
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:987: error: cannot find symbol
>     [javac] 			Preferences child = node.node(element);
>     [javac] 			^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:993: error: cannot find symbol
>     [javac] 				} catch (BackingStoreException e) {
>     [javac] 				         ^
>     [javac]   symbol:   class BackingStoreException
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:1051: error: cannot find symbol
>     [javac] 			Preferences node = getPreferences();
>     [javac] 			^
>     [javac]   symbol:   class Preferences
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java:1054: error: cannot find symbol
>     [javac] 		} catch (BackingStoreException e) {
>     [javac] 		         ^
>     [javac]   symbol:   class BackingStoreException
>     [javac]   location: class AbstractRepositoryManager<T>
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in class AbstractRepositoryManager
>     [javac] Note: /<<PKGBUILDDIR>>/bundles/org.eclipse.equinox.p2.repository/target/sources/org/eclipse/equinox/internal/p2/repository/helpers/ChecksumHelper.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 16 errors
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/debian/build.xml:191: 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: 5 seconds
> dh_auto_build: error: ant -Dbasedir . -Dbundledir bundles -f debian/build.xml org.eclipse.equinox.p2.artifact.optimizers org.eclipse.equinox.p2.artifact.processors org.eclipse.equinox.p2.artifact.repository org.eclipse.equinox.p2.console org.eclipse.equinox.p2.core org.eclipse.equinox.p2.director org.eclipse.equinox.p2.director.app org.eclipse.equinox.p2.directorywatcher org.eclipse.equinox.p2.discovery org.eclipse.equinox.p2.engine org.eclipse.equinox.p2.extensionlocation org.eclipse.equinox.p2.garbagecollector org.eclipse.equinox.p2.jarprocessor org.eclipse.equinox.p2.metadata org.eclipse.equinox.p2.metadata.repository org.eclipse.equinox.p2.operations org.eclipse.equinox.p2.publisher org.eclipse.equinox.p2.publisher.eclipse org.eclipse.equinox.p2.reconciler.dropins org.eclipse.equinox.p2.repository org.eclipse.equinox.p2.repository.tools org.eclipse.equinox.p2.sar org.eclipse.equinox.p2.touchpoint.eclipse org.eclipse.equinox.p2.touchpoint.natives org.eclipse.equinox.p2.ui org.eclipse.equinox.p2.ui.sdk org.eclipse.equinox.p2.ui.sdk.scheduler org.eclipse.equinox.p2.updatechecker org.eclipse.equinox.p2.updatesite org.eclipse.equinox.frameworkadmin org.eclipse.equinox.frameworkadmin.equinox org.eclipse.equinox.simpleconfigurator org.eclipse.equinox.simpleconfigurator.manipulator -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/equinox-p2_4.21-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