Bug#1076876: eclipse-jdt-ui: FTBFS: error: cannot find symbol ID_RES_NAV
Santiago Vila
sanvila at debian.org
Wed Jul 24 11:45:55 BST 2024
Package: src:eclipse-jdt-ui
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.astview org.eclipse.jdt.core.manipulation org.eclipse.jdt.junit.core org.eclipse.jdt.junit.runtime org.eclipse.jdt.junit4.runtime org.eclipse.jdt.ui org.eclipse.ltk.core.refactoring org.eclipse.ltk.ui.refactoring -Duser.name debian
Buildfile: /<<PKGBUILDDIR>>/debian/build.xml
org.eclipse.ltk.core.refactoring:
[echo] Building bundle 'Refactoring Core' (org.eclipse.ltk.core.refactoring:3.13.0)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.ltk.core.refactoring/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.ltk.core.refactoring/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.ltk.core.refactoring/target/sources
[copy] Copying 144 files to /<<PKGBUILDDIR>>/org.eclipse.ltk.core.refactoring/target/sources
[javac] Compiling 144 source files to /<<PKGBUILDDIR>>/org.eclipse.ltk.core.refactoring/target/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[copy] Copying 6 files to /<<PKGBUILDDIR>>/org.eclipse.ltk.core.refactoring/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.ltk.core.refactoring/target/org.eclipse.ltk.core.refactoring.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.ltk.core.refactoring/target
org.eclipse.jdt.core.manipulation:
[echo] Building bundle 'Java Code Manipulation Functionality' (org.eclipse.jdt.core.manipulation:1.17.0)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.core.manipulation/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.jdt.core.manipulation/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.core.manipulation/target/sources
[copy] Copying 544 files to /<<PKGBUILDDIR>>/org.eclipse.jdt.core.manipulation/target/sources
[javac] Compiling 544 source files to /<<PKGBUILDDIR>>/org.eclipse.jdt.core.manipulation/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 19 files to /<<PKGBUILDDIR>>/org.eclipse.jdt.core.manipulation/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.jdt.core.manipulation/target/org.eclipse.jdt.core.manipulation.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.jdt.core.manipulation/target
org.eclipse.ltk.ui.refactoring:
[echo] Building bundle 'Refactoring UI' (org.eclipse.ltk.ui.refactoring:3.12.200)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.ltk.ui.refactoring/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.ltk.ui.refactoring/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.ltk.ui.refactoring/target/sources
[copy] Copying 126 files to /<<PKGBUILDDIR>>/org.eclipse.ltk.ui.refactoring/target/sources
[javac] Compiling 126 source files to /<<PKGBUILDDIR>>/org.eclipse.ltk.ui.refactoring/target/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[copy] Copying 49 files to /<<PKGBUILDDIR>>/org.eclipse.ltk.ui.refactoring/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.ltk.ui.refactoring/target/org.eclipse.ltk.ui.refactoring.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.ltk.ui.refactoring/target
org.eclipse.jdt.ui:
[echo] Building bundle 'Java Development Tools UI' (org.eclipse.jdt.ui:3.27.100)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.ui/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.jdt.ui/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jdt.ui/target/sources
[copy] Copying 1968 files to /<<PKGBUILDDIR>>/org.eclipse.jdt.ui/target/sources
[javac] Compiling 1968 source files to /<<PKGBUILDDIR>>/org.eclipse.jdt.ui/target/classes
[javac] /<<PKGBUILDDIR>>/org.eclipse.jdt.ui/target/sources/org/eclipse/jdt/internal/ui/JavaPlugin.java:149: error: cannot find symbol
[javac] public static final String ID_RES_NAV= 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:103: 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: 28 seconds
dh_auto_build: error: ant -Dbasedir . -Dbundledir -f debian/build.xml org.eclipse.jdt.astview org.eclipse.jdt.core.manipulation org.eclipse.jdt.junit.core org.eclipse.jdt.junit.runtime org.eclipse.jdt.junit4.runtime org.eclipse.jdt.ui org.eclipse.ltk.core.refactoring org.eclipse.ltk.ui.refactoring -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