fail during compile phase with the only information: ejavac failed. Reproducible: Always Steps to Reproduce: 1.emerge -qavuDN eclipse-ecj 2. 3. in the attachment: build.log environment eclipse-ecj.pqv eclipse-ecj.info eclipse-ecj.workdir eclipse-ecj.out
Created attachment 763767 [details] all requested files all the requested files to process bug 832171
Seems like a duplicate of https://bugs.gentoo.org/831559
(In reply to "Leo" Y. Liao from comment #2) > Seems like a duplicate of https://bugs.gentoo.org/831559 Definitevely not the same. Not the same cause made the build fail.
(In reply to Jean-Claude Aciman from comment #3) > (In reply to "Leo" Y. Liao from comment #2) > > Seems like a duplicate of https://bugs.gentoo.org/831559 > > Definitevely not the same. Not the same cause made the build fail. A diff between your build.log and that bug's attachment (https://831559.bugs.gentoo.org/attachment.cgi?id=762781): $ diff -u build.log attachment.txt --- build.log 2022-01-23 03:01:33.000000000 -0800 +++ attachment.txt 2022-01-28 23:16:11.995434817 -0800 @@ -4,6 +4,14 @@ * USE: abi_x86_64 amd64 ant elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: openjdk-bin-11 +>>> Unpacking source... +>>> Unpacking ecjsrc-4.21.jar to /var/tmp/portage/dev-java/eclipse-ecj-4.21/work +>>> Source unpacked in /var/tmp/portage/dev-java/eclipse-ecj-4.21/work +>>> Preparing source in /var/tmp/portage/dev-java/eclipse-ecj-4.21/work ... +>>> Source prepared. +>>> Configuring source in /var/tmp/portage/dev-java/eclipse-ecj-4.21/work ... +>>> Source configured. +>>> Compiling source in /var/tmp/portage/dev-java/eclipse-ecj-4.21/work ... * Compiling ... ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:36: error: cannot find symbol import javax.lang.model.element.RecordComponentElement; @@ -309,9 +317,9 @@ * * Call stack: * ebuild.sh, line 127: Called src_compile - * environment, line 2365: Called java-pkg-simple_src_compile - * environment, line 833: Called ejavac '-d' 'target/classes' '-encoding' 'UTF-8' '-classpath' '/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/usr/share/ant-core/lib/ant-launcher.jar' '@sources.lst' - * environment, line 600: Called die + * environment, line 2405: Called java-pkg-simple_src_compile + * environment, line 873: Called ejavac '-d' 'target/classes' '-encoding' 'UTF-8' '-classpath' '/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/usr/share/ant-core/lib/ant-launcher.jar' '@sources.lst' + * environment, line 640: Called die * The specific snippet of code: * ${compiler_executable} ${javac_args} "${@}" || die "ejavac failed" * @@ -321,8 +329,9 @@ GENTOO_VM=openjdk-bin-11 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.13_p8" JAVACFLAGS="-source 11 -target 11" COMPILER="" and of course, the output of emerge --info =eclipse-ecj-4.21 - * The complete build log is located at '/var/log/portage/elog/dev-java:eclipse-ecj-4.21:20220123-093220.log'. + * The complete build log is located at '/var/log/portage/dev-java:eclipse-ecj-4.21:20220120-042155.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/eclipse-ecj-4.21/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/eclipse-ecj-4.21/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/eclipse-ecj-4.21/work' * S: '/var/tmp/portage/dev-java/eclipse-ecj-4.21/work' + I'd say definitely the same. Could you check again carefully?
*** This bug has been marked as a duplicate of bug 831559 ***