Bug#1027603: eclipse-platform-debug: FTBFS: [javac] /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/sources/org/eclipse/core/internal/variables/StringVariableManager.java:58: error: package org.osgi.service.prefs does not exist

Lucas Nussbaum lucas at debian.org
Sun Jan 1 14:30:43 GMT 2023


Source: eclipse-platform-debug
Version: 4.24-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.externaltools org.eclipse.core.variables org.eclipse.debug.core org.eclipse.debug.ui org.eclipse.ui.console org.eclipse.ui.externaltools -Duser.name debian
> Buildfile: /<<PKGBUILDDIR>>/debian/build.xml
> 
> org.eclipse.core.variables:
>      [echo] Building bundle 'Core Variables' (org.eclipse.core.variables:3.5.100)
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/classes
>     [touch] Creating /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/dependencies
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/sources
>      [copy] Copying 16 files to /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/sources
>     [javac] Compiling 16 source files to /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/classes
>     [javac] /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/sources/org/eclipse/core/internal/variables/StringVariableManager.java:58: error: package org.osgi.service.prefs does not exist
>     [javac] import org.osgi.service.prefs.BackingStoreException;
>     [javac]                              ^
>     [javac] /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/sources/org/eclipse/core/internal/variables/StringVariableManager.java:68: error: cannot access Preferences
>     [javac] public class StringVariableManager implements IStringVariableManager, IPreferenceChangeListener {
>     [javac]        ^
>     [javac]   class file for org.osgi.service.prefs.Preferences not found
>     [javac] /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/sources/org/eclipse/core/internal/variables/StringVariableManager.java:508: error: cannot find symbol
>     [javac] 			prefs.put(PREF_VALUE_VARIABLES, variableString);
>     [javac] 			     ^
>     [javac]   symbol:   method put(String,String)
>     [javac]   location: variable prefs of type IEclipsePreferences
>     [javac] /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/sources/org/eclipse/core/internal/variables/StringVariableManager.java:509: error: cannot find symbol
>     [javac] 			prefs.flush();
>     [javac] 			     ^
>     [javac]   symbol:   method flush()
>     [javac]   location: variable prefs of type IEclipsePreferences
>     [javac] /<<PKGBUILDDIR>>/org.eclipse.core.variables/target/sources/org/eclipse/core/internal/variables/StringVariableManager.java:511: error: cannot find symbol
>     [javac] 		catch(BackingStoreException bse) {
>     [javac] 		      ^
>     [javac]   symbol:   class BackingStoreException
>     [javac]   location: class StringVariableManager
>     [javac] 5 errors
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/debian/build.xml:19: 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: 1 second
> dh_auto_build: error: ant -Dbasedir . -Dbundledir  -f debian/build.xml org.eclipse.core.externaltools org.eclipse.core.variables org.eclipse.debug.core org.eclipse.debug.ui org.eclipse.ui.console org.eclipse.ui.externaltools -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-debug_4.24-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