6-6-6/spark-overlay

dev-java/cdi-api-1.2-r4::spark-overlay fails to build

efferre79 opened this issue · 0 comments

The following is the error I get by using openjdk-11 or openjdk-17:

>>> Emerging (1 of 1) dev-java/cdi-api-1.2-r4::spark-overlay
 * cdi-api-1.2-sources.jar BLAKE2B SHA512 size ;-) ...                                         [ ok ]
 * cdi-api-1.2-bin.jar BLAKE2B SHA512 size ;-) ...                                             [ ok ]
 * Using: openjdk-11
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/dev-java/cdi-api-1.2-r4/work
>>> Preparing source in /var/tmp/portage/dev-java/cdi-api-1.2-r4/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/cdi-api-1.2-r4/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-java/cdi-api-1.2-r4/work ...
javac -source 1.8 -target 1.8 -d target/classes -encoding UTF-8 -classpath /usr/share/javax-inject/lib/javax-inject.jar:/usr/share/jakarta-interceptor-api-1/lib/jakarta-interceptor-api.jar:/usr/share/javax-servlet-api-3.0/lib/javax-servlet-api.jar:/usr/share/jakarta-annotation-api/lib/jakarta-annotation-api.jar:/usr/share/jakarta-ejb-api-3/lib/jakarta-ejb-api.jar:/usr/share/javax-xml-rpc-api/lib/javax-xml-rpc-api.jar:/usr/share/jta/lib/jta.jar:/usr/share/jakarta-servlet-api-4/lib/jakarta-servlet-api.jar:/usr/share/jakarta-xml-soap-api-1/lib/jakarta-xml-soap-api.jar:/usr/share/jakarta-activation-api-1/lib/jakarta-activation-api.jar @sources.lst
warning: [options] bootstrap class path not set in conjunction with -source 8
src/main/java/javax/enterprise/inject/spi/BeanManager.java:25: error: package javax.el does not exist
import javax.el.ELResolver;
               ^
src/main/java/javax/enterprise/inject/spi/BeanManager.java:26: error: package javax.el does not exist
import javax.el.ExpressionFactory;
               ^
src/main/java/javax/enterprise/inject/spi/BeanManager.java:413: error: cannot find symbol
    public ELResolver getELResolver();
           ^
  symbol:   class ELResolver
  location: interface BeanManager
src/main/java/javax/enterprise/inject/spi/BeanManager.java:426: error: cannot find symbol
    public ExpressionFactory wrapExpressionFactory(ExpressionFactory expressionFactory);
                                                   ^
  symbol:   class ExpressionFactory
  location: interface BeanManager
src/main/java/javax/enterprise/inject/spi/BeanManager.java:426: error: cannot find symbol
    public ExpressionFactory wrapExpressionFactory(ExpressionFactory expressionFactory);
           ^
  symbol:   class ExpressionFactory
  location: interface BeanManager
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: src/main/java/javax/enterprise/inject/spi/CDI.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
1 warning
 * ERROR: dev-java/cdi-api-1.2-r4::spark-overlay failed (compile phase):
 *   ejavac failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2444:  Called java-pkg-simple_src_compile
 *   environment, line  926:  Called ejavac '-d' 'target/classes' '-encoding' 'UTF-8' '-classpath' '/usr/share/javax-inject/lib/javax-inject.jar:/usr/share/jakarta-interceptor-api-1/lib/jakarta-interceptor-api.jar:/usr/share/javax-servlet-api-3.0/lib/javax-servlet-api.jar:/usr/share/jakarta-annotation-api/lib/jakarta-annotation-api.jar:/usr/share/jakarta-ejb-api-3/lib/jakarta-ejb-api.jar:/usr/share/javax-xml-rpc-api/lib/javax-xml-rpc-api.jar:/usr/share/jta/lib/jta.jar:/usr/share/jakarta-servlet-api-4/lib/jakarta-servlet-api.jar:/usr/share/jakarta-xml-soap-api-1/lib/jakarta-xml-soap-api.jar:/usr/share/jakarta-activation-api-1/lib/jakarta-activation-api.jar' '@sources.lst'
 *   environment, line  655:  Called die
 * The specific snippet of code:
 *       "${args[@]}" || die "ejavac failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-java/cdi-api-1.2-r4::spark-overlay'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/cdi-api-1.2-r4::spark-overlay'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=openjdk-11  CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-11"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =cdi-api-1.2
 * The complete build log is located at '/var/log/portage/build/dev-java/cdi-api-1.2-r4:20230919-124502.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/cdi-api-1.2-r4/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/cdi-api-1.2-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/cdi-api-1.2-r4/work'
 * S: '/var/tmp/portage/dev-java/cdi-api-1.2-r4/work'