Bug#1076877: eclipse-wtp: FTBFS: error: cannot find symbol ID_RES_NAV
Santiago Vila
sanvila at debian.org
Wed Jul 24 11:45:59 BST 2024
Package: src:eclipse-wtp
Version: 3.18-6
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem=eclipse_bundles
dh_update_autotools_config -O--buildsystem=eclipse_bundles
dh_autoreconf -O--buildsystem=eclipse_bundles
dh_auto_configure -O--buildsystem=eclipse_bundles
debian/rules execute_before_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd org.eclipse.wst.xml.core/DevTimeSupport; \
ant -f buildNames.xml; \
ant -f buildParser.xml;
Buildfile: /<<PKGBUILDDIR>>/org.eclipse.wst.xml.core/DevTimeSupport/buildNames.xml
init:
XML10Names:
init:
run-jflex:
[jflex] Reading "/<<PKGBUILDDIR>>/org.eclipse.wst.xml.core/DevTimeSupport/HeadParsers/XML10Names.jFlex"
[jflex]
[jflex] Parsing took 78ms
[jflex]
[jflex] Constructing NFA :
[jflex]
[jflex] NFA construction took 7ms
[jflex]
[jflex] 36 states in NFA
[jflex]
[jflex] Converting NFA to DFA :
[jflex]
[jflex]
[jflex] DFA construction took 5ms
[jflex]
[jflex] 13 states before minimization,
[jflex] 7 states in minimized DFA
[jflex]
[jflex] Minimization took 1ms
[jflex]
[jflex] Writing code to "/<<PKGBUILDDIR>>/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/parser/XML10Names.java"
[jflex]
[jflex] Writing took 17ms
[jflex]
[jflex] Overall scanner generation time: 149ms
[jflex]
BUILD SUCCESSFUL
Total time: 0 seconds
Buildfile: /<<PKGBUILDDIR>>/org.eclipse.wst.xml.core/DevTimeSupport/buildParser.xml
init:
HeadTokenizer:
init:
run-jflex:
[jflex] Reading "/<<PKGBUILDDIR>>/org.eclipse.wst.xml.core/DevTimeSupport/HeadParsers/XMLHeadTokenizer.jFlex"
[jflex]
[jflex] Parsing took 86ms
[jflex]
[jflex] Constructing NFA :
[jflex]
[jflex] NFA construction took 6ms
[jflex]
[jflex] 300 states in NFA
[jflex]
[jflex] Converting NFA to DFA :
[jflex]
[jflex]
[jflex] DFA construction took 42ms
[jflex]
[jflex] 160 states before minimization,
[jflex] 111 states in minimized DFA
[jflex]
[jflex] Minimization took 4ms
[jflex]
[jflex] Writing code to "/<<PKGBUILDDIR>>/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/XMLHeadTokenizer.java"
[jflex]
[jflex] Writing took 19ms
[jflex]
[jflex] Overall scanner generation time: 201ms
[jflex]
BUILD SUCCESSFUL
Total time: 0 seconds
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build -O--buildsystem=eclipse_bundles
ant -Dbasedir . -Dbundledir -f debian/build.xml org.eclipse.jem.util org.eclipse.wst.common.core org.eclipse.wst.common.emf org.eclipse.wst.common.emfworkbench.integration org.eclipse.wst.common.environment org.eclipse.wst.common.frameworks org.eclipse.wst.common.frameworks.ui org.eclipse.wst.common.project.facet.core org.eclipse.wst.common.ui org.eclipse.wst.common.uriresolver org.eclipse.wst.sse.core org.eclipse.wst.sse.ui org.eclipse.wst.validation org.eclipse.wst.validation.ui org.eclipse.wst.xml.core org.eclipse.wst.xml.ui org.eclipse.wst.xsd.core -Duser.name debian
Buildfile: /<<PKGBUILDDIR>>/debian/build.xml
org.eclipse.wst.common.core:
[echo] Building bundle 'WST Common Core Plug-in' (org.eclipse.wst.common.core:1.3.0)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.core/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.wst.common.core/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.core/target/sources
[copy] Copying 35 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.core/target/sources
[javac] Compiling 35 source files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.core/target/classes
[javac] Note: /<<PKGBUILDDIR>>/org.eclipse.wst.common.core/target/sources/org/eclipse/wst/common/core/search/SearchEngine.java uses or overrides 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 8 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.core/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.wst.common.core/target/org.eclipse.wst.common.core.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.wst.common.core/target
org.eclipse.jem.util:
[echo] Building bundle 'Java EMF Model Utilities' (org.eclipse.jem.util:2.1.201)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jem.util/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.jem.util/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.jem.util/target/sources
[copy] Copying 41 files to /<<PKGBUILDDIR>>/org.eclipse.jem.util/target/sources
[javac] Compiling 41 source files to /<<PKGBUILDDIR>>/org.eclipse.jem.util/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 6 files to /<<PKGBUILDDIR>>/org.eclipse.jem.util/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.jem.util/target/org.eclipse.jem.util.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.jem.util/target
org.eclipse.wst.common.core:
org.eclipse.wst.common.core:
org.eclipse.wst.common.environment:
[echo] Building bundle 'Environment Plug-in' (org.eclipse.wst.common.environment:1.0.400)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.environment/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.wst.common.environment/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.environment/target/sources
[copy] Copying 27 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.environment/target/sources
[javac] Compiling 27 source files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.environment/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 5 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.environment/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.wst.common.environment/target/org.eclipse.wst.common.environment.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.wst.common.environment/target
org.eclipse.wst.common.frameworks:
[echo] Building bundle 'Common Frameworks' (org.eclipse.wst.common.frameworks:1.2.201)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks/target/sources
[copy] Copying 72 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks/target/sources
[javac] Compiling 72 source files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks/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 9 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks/target/org.eclipse.wst.common.frameworks.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks/target
org.eclipse.wst.common.emf:
[echo] Building bundle 'EMF Utilities' (org.eclipse.wst.common.emf:1.2.600)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.emf/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.wst.common.emf/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.emf/target/sources
[copy] Copying 110 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.emf/target/sources
[javac] Compiling 110 source files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.emf/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 7 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.emf/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.wst.common.emf/target/org.eclipse.wst.common.emf.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.wst.common.emf/target
org.eclipse.wst.common.core:
org.eclipse.jem.util:
org.eclipse.wst.common.environment:
org.eclipse.wst.common.frameworks:
org.eclipse.wst.common.emf:
org.eclipse.wst.common.project.facet.core:
[echo] Building bundle 'Eclipse Faceted Project Framework' (org.eclipse.wst.common.project.facet.core:1.4.400)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.project.facet.core/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.wst.common.project.facet.core/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.project.facet.core/target/sources
[copy] Copying 125 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.project.facet.core/target/sources
[javac] Compiling 125 source files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.project.facet.core/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 42 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.project.facet.core/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.wst.common.project.facet.core/target/org.eclipse.wst.common.project.facet.core.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.wst.common.project.facet.core/target
org.eclipse.wst.validation:
[echo] Building bundle '' (org.eclipse.wst.validation:1.2.800)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.validation/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.wst.validation/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.validation/target/sources
[copy] Copying 138 files to /<<PKGBUILDDIR>>/org.eclipse.wst.validation/target/sources
[javac] Compiling 138 source files to /<<PKGBUILDDIR>>/org.eclipse.wst.validation/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 17 files to /<<PKGBUILDDIR>>/org.eclipse.wst.validation/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.wst.validation/target/org.eclipse.wst.validation.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.wst.validation/target
org.eclipse.wst.common.emfworkbench.integration:
[echo] Building bundle 'EMF Workbench Edit Plug-in' (org.eclipse.wst.common.emfworkbench.integration:1.2.101)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.emfworkbench.integration/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.wst.common.emfworkbench.integration/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.emfworkbench.integration/target/sources
[copy] Copying 54 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.emfworkbench.integration/target/sources
[javac] Compiling 54 source files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.emfworkbench.integration/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 6 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.emfworkbench.integration/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.wst.common.emfworkbench.integration/target/org.eclipse.wst.common.emfworkbench.integration.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.wst.common.emfworkbench.integration/target
org.eclipse.wst.common.environment:
org.eclipse.wst.common.core:
org.eclipse.wst.common.environment:
org.eclipse.wst.common.frameworks:
org.eclipse.wst.common.core:
org.eclipse.wst.common.environment:
org.eclipse.wst.common.frameworks:
org.eclipse.wst.common.frameworks.ui:
[echo] Building bundle 'WTP UI Plug-in' (org.eclipse.wst.common.frameworks.ui:1.2.400)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks.ui/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks.ui/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks.ui/target/sources
[copy] Copying 68 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks.ui/target/sources
[javac] Compiling 68 source files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks.ui/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 8 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks.ui/target/classes
[jar] Building jar: /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks.ui/target/org.eclipse.wst.common.frameworks.ui.jar
[copy] Copying 1 file to /<<PKGBUILDDIR>>/org.eclipse.wst.common.frameworks.ui/target
org.eclipse.wst.common.project.facet.core:
org.eclipse.wst.common.core:
org.eclipse.wst.common.ui:
[echo] Building bundle 'Eclipse Base UI extensions' (org.eclipse.wst.common.ui:1.1.700)
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.ui/target/classes
[touch] Creating /<<PKGBUILDDIR>>/org.eclipse.wst.common.ui/target/dependencies
[mkdir] Created dir: /<<PKGBUILDDIR>>/org.eclipse.wst.common.ui/target/sources
[copy] Copying 39 files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.ui/target/sources
[javac] Compiling 39 source files to /<<PKGBUILDDIR>>/org.eclipse.wst.common.ui/target/classes
[javac] /<<PKGBUILDDIR>>/org.eclipse.wst.common.ui/target/sources/org/eclipse/wst/common/ui/internal/search/SearchResultPage.java:114: error: cannot find symbol
[javac] private static final String[] SHOW_IN_TARGETS= new String[] { IPageLayout.ID_RES_NAV };
[javac] ^
[javac] symbol: variable ID_RES_NAV
[javac] location: interface IPageLayout
[javac] /<<PKGBUILDDIR>>/org.eclipse.wst.common.ui/target/sources/org/eclipse/wst/common/ui/internal/search/basecode/FileLabelProvider.java:81: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] text= MessageFormat.format(fgSeparatorFormat, fArgs);
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[javac] /<<PKGBUILDDIR>>/org.eclipse.wst.common.ui/target/sources/org/eclipse/wst/common/ui/internal/search/basecode/FileLabelProvider.java:91: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] text= MessageFormat.format(fgSeparatorFormat, fArgs);
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[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
[javac] 2 warnings
BUILD FAILED
/<<PKGBUILDDIR>>/debian/build.xml:60: 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: 8 seconds
dh_auto_build: error: ant -Dbasedir . -Dbundledir -f debian/build.xml org.eclipse.jem.util org.eclipse.wst.common.core org.eclipse.wst.common.emf org.eclipse.wst.common.emfworkbench.integration org.eclipse.wst.common.environment org.eclipse.wst.common.frameworks org.eclipse.wst.common.frameworks.ui org.eclipse.wst.common.project.facet.core org.eclipse.wst.common.ui org.eclipse.wst.common.uriresolver org.eclipse.wst.sse.core org.eclipse.wst.sse.ui org.eclipse.wst.validation org.eclipse.wst.validation.ui org.eclipse.wst.xml.core org.eclipse.wst.xml.ui org.eclipse.wst.xsd.core -Duser.name debian returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary 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