Bug#1076875: eclipse-jdt-debug: FTBFS: error: cannot find symbol ID_RES_NAV
Santiago Vila
sanvila at debian.org
Wed Jul 24 11:45:51 BST 2024
Package: src:eclipse-jdt-debug
Version: 4.26-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
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.20.0)
[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 361 files to /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/sources
[javac] Compiling 361 source files to /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/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 18 files to /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target/org.eclipse.jdt.debug.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.jdt.debug/target
org.eclipse.jdt.debug:
org.eclipse.jdt.launching:
[echo] Building bundle 'Java Development Tools Launching Support' (org.eclipse.jdt.launching:3.19.800)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.launching/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.jdt.launching/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.launching/target/sources
[copy] Copying 128 files to /<<PKGBUILDDIR>>/org.eclipse.jdt.launching/target/sources
[javac] Compiling 128 source files to /<<PKGBUILDDIR>>/org.eclipse.jdt.launching/target/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /<<PKGBUILDDIR>>/org.eclipse.jdt.launching/target/sources/org/eclipse/jdt/launching/StandardClasspathProvider.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 9 files to /<<PKGBUILDDIR>>/org.eclipse.jdt.launching/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.jdt.launching/target/org.eclipse.jdt.launching.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.jdt.launching/target
org.eclipse.jdt.debug.ui:
[echo] Building bundle 'JDI Debug UI' (org.eclipse.jdt.debug.ui:3.12.900)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.debug.ui/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.jdt.debug.ui/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.debug.ui/target/sources
[copy] Copying 430 files to /<<PKGBUILDDIR>>/org.eclipse.jdt.debug.ui/target/sources
[javac] Compiling 430 source files to /<<PKGBUILDDIR>>/org.eclipse.jdt.debug.ui/target/classes
[javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.debug.ui/target/sources/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java:1452: error: cannot find symbol
[javac] return new String[] { JavaUI.ID_PACKAGES, IPageLayout.ID_RES_NAV };
[javac] ^
[javac] symbol: variable ID_RES_NAV
[javac] location: interface IPageLayout
[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] 1 error
BUILD FAILED
/<<PKGBUILDDIR>>/debian/build.xml:24: 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: 11 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
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202407/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the pkg-java-maintainers
mailing list