Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832171 - dev-java/eclipse-ecj-4.21::gentoo failed (compile phase) : ejavac failed
Summary: dev-java/eclipse-ecj-4.21::gentoo failed (compile phase) : ejavac failed
Status: RESOLVED DUPLICATE of bug 831559
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-27 21:16 UTC by Jean-Claude Aciman
Modified: 2022-01-29 07:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
all requested files (eclipse-ecj.tar.gz,27.70 KB, application/gzip)
2022-01-27 21:17 UTC, Jean-Claude Aciman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Aciman 2022-01-27 21:16:06 UTC
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
Comment 1 Jean-Claude Aciman 2022-01-27 21:17:34 UTC
Created attachment 763767 [details]
all requested files

all the requested files to process bug 832171
Comment 2 Yuan Liao (Leo3418) 2022-01-28 00:39:57 UTC
Seems like a duplicate of https://bugs.gentoo.org/831559
Comment 3 Jean-Claude Aciman 2022-01-28 21:44:56 UTC
(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.
Comment 4 Yuan Liao (Leo3418) 2022-01-29 07:17:48 UTC
(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?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-29 07:20:05 UTC

*** This bug has been marked as a duplicate of bug 831559 ***