* Package: dev-java/eclipse-ecj-4.21 * Repository: gentoo * Maintainer: java@gentoo.org * 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; ^ symbol: class RecordComponentElement location: package javax.lang.model.element ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:187: error: cannot find symbol public List getRecordComponents() { ^ symbol: class RecordComponentElement location: class TypeElementImpl ./org/eclipse/jdt/internal/compiler/apt/model/RecordComponentElementImpl.java:20: error: cannot find symbol import javax.lang.model.element.RecordComponentElement; ^ symbol: class RecordComponentElement location: package javax.lang.model.element ./org/eclipse/jdt/internal/compiler/apt/model/RecordComponentElementImpl.java:28: error: cannot find symbol public class RecordComponentElementImpl extends VariableElementImpl implements RecordComponentElement { ^ symbol: class RecordComponentElement ./org/eclipse/jdt/core/compiler/IProblem.java:453: warning: [dep-ann] deprecated item is not annotated with @Deprecated int VariableTypeCannotBeVoidArray = Internal + 53; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:651: warning: [dep-ann] deprecated item is not annotated with @Deprecated int UnnecessaryArgumentCast = Internal + TypeRelated + 182; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:691: warning: [dep-ann] deprecated item is not annotated with @Deprecated int InvalidTypeExpression = Internal + 203; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:817: warning: [dep-ann] deprecated item is not annotated with @Deprecated int MustSpecifyPackage = Internal + 326; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:832: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SuperclassNotFound = TypeRelated + 329 + ProblemReasons.NotFound; // TypeRelated + 330 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:834: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SuperclassNotVisible = TypeRelated + 329 + ProblemReasons.NotVisible; // TypeRelated + 331 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:836: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SuperclassAmbiguous = TypeRelated + 329 + ProblemReasons.Ambiguous; // TypeRelated + 332 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:838: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SuperclassInternalNameProvided = TypeRelated + 329 + ProblemReasons.InternalNameProvided; // TypeRelated + 333 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:840: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SuperclassInheritedNameHidesEnclosingName = TypeRelated + 329 + ProblemReasons.InheritedNameHidesEnclosingName; // TypeRelated + 334 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:843: warning: [dep-ann] deprecated item is not annotated with @Deprecated int InterfaceNotFound = TypeRelated + 334 + ProblemReasons.NotFound; // TypeRelated + 335 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:845: warning: [dep-ann] deprecated item is not annotated with @Deprecated int InterfaceNotVisible = TypeRelated + 334 + ProblemReasons.NotVisible; // TypeRelated + 336 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:847: warning: [dep-ann] deprecated item is not annotated with @Deprecated int InterfaceAmbiguous = TypeRelated + 334 + ProblemReasons.Ambiguous; // TypeRelated + 337 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:849: warning: [dep-ann] deprecated item is not annotated with @Deprecated int InterfaceInternalNameProvided = TypeRelated + 334 + ProblemReasons.InternalNameProvided; // TypeRelated + 338 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:851: warning: [dep-ann] deprecated item is not annotated with @Deprecated int InterfaceInheritedNameHidesEnclosingName = TypeRelated + 334 + ProblemReasons.InheritedNameHidesEnclosingName; // TypeRelated + 339 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:863: warning: [dep-ann] deprecated item is not annotated with @Deprecated int FieldTypeNotFound = FieldRelated + 349 + ProblemReasons.NotFound; // FieldRelated + 350 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:865: warning: [dep-ann] deprecated item is not annotated with @Deprecated int FieldTypeNotVisible = FieldRelated + 349 + ProblemReasons.NotVisible; // FieldRelated + 351 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:867: warning: [dep-ann] deprecated item is not annotated with @Deprecated int FieldTypeAmbiguous = FieldRelated + 349 + ProblemReasons.Ambiguous; // FieldRelated + 352 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:869: warning: [dep-ann] deprecated item is not annotated with @Deprecated int FieldTypeInternalNameProvided = FieldRelated + 349 + ProblemReasons.InternalNameProvided; // FieldRelated + 353 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:871: warning: [dep-ann] deprecated item is not annotated with @Deprecated int FieldTypeInheritedNameHidesEnclosingName = FieldRelated + 349 + ProblemReasons.InheritedNameHidesEnclosingName; // FieldRelated + 354 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:885: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ArgumentTypeCannotBeVoidArray = MethodRelated + 365; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:887: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ReturnTypeCannotBeVoidArray = MethodRelated + 366; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:894: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ArgumentTypeNotFound = MethodRelated + 369 + ProblemReasons.NotFound; // MethodRelated + 370 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:896: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ArgumentTypeNotVisible = MethodRelated + 369 + ProblemReasons.NotVisible; // MethodRelated + 371 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:898: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ArgumentTypeAmbiguous = MethodRelated + 369 + ProblemReasons.Ambiguous; // MethodRelated + 372 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:900: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ArgumentTypeInternalNameProvided = MethodRelated + 369 + ProblemReasons.InternalNameProvided; // MethodRelated + 373 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:902: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ArgumentTypeInheritedNameHidesEnclosingName = MethodRelated + 369 + ProblemReasons.InheritedNameHidesEnclosingName; // MethodRelated + 374 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:905: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ExceptionTypeNotFound = MethodRelated + 374 + ProblemReasons.NotFound; // MethodRelated + 375 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:907: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ExceptionTypeNotVisible = MethodRelated + 374 + ProblemReasons.NotVisible; // MethodRelated + 376 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:909: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ExceptionTypeAmbiguous = MethodRelated + 374 + ProblemReasons.Ambiguous; // MethodRelated + 377 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:911: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ExceptionTypeInternalNameProvided = MethodRelated + 374 + ProblemReasons.InternalNameProvided; // MethodRelated + 378 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:913: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ExceptionTypeInheritedNameHidesEnclosingName = MethodRelated + 374 + ProblemReasons.InheritedNameHidesEnclosingName; // MethodRelated + 379 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:916: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ReturnTypeNotFound = MethodRelated + 379 + ProblemReasons.NotFound; // MethodRelated + 380 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:918: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ReturnTypeNotVisible = MethodRelated + 379 + ProblemReasons.NotVisible; // MethodRelated + 381 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:920: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ReturnTypeAmbiguous = MethodRelated + 379 + ProblemReasons.Ambiguous; // MethodRelated + 382 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:922: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ReturnTypeInternalNameProvided = MethodRelated + 379 + ProblemReasons.InternalNameProvided; // MethodRelated + 383 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:924: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ReturnTypeInheritedNameHidesEnclosingName = MethodRelated + 379 + ProblemReasons.InheritedNameHidesEnclosingName; // MethodRelated + 384 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:934: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ImportNotVisible = ImportRelated + 389 + ProblemReasons.NotVisible; // ImportRelated + 391 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:936: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ImportAmbiguous = ImportRelated + 389 + ProblemReasons.Ambiguous; // ImportRelated + 392 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:938: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ImportInternalNameProvided = ImportRelated + 389 + ProblemReasons.InternalNameProvided; // ImportRelated + 393 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:940: warning: [dep-ann] deprecated item is not annotated with @Deprecated int ImportInheritedNameHidesEnclosingName = ImportRelated + 389 + ProblemReasons.InheritedNameHidesEnclosingName; // ImportRelated + 394 ^ ./org/eclipse/jdt/core/compiler/IProblem.java:949: warning: [dep-ann] deprecated item is not annotated with @Deprecated int LocalVariableCannotBeNull = Internal + 397; // since 3.3: semantics are LocalVariableRedundantCheckOnNonNull ^ ./org/eclipse/jdt/core/compiler/IProblem.java:951: warning: [dep-ann] deprecated item is not annotated with @Deprecated int LocalVariableCanOnlyBeNull = Internal + 398; // since 3.3: split with LocalVariableRedundantCheckOnNull depending on context ^ ./org/eclipse/jdt/core/compiler/IProblem.java:953: warning: [dep-ann] deprecated item is not annotated with @Deprecated int LocalVariableMayBeNull = Internal + 399; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:1429: warning: [dep-ann] deprecated item is not annotated with @Deprecated int AnnotationFieldNeedConstantInitialization = Internal + 614; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:1591: warning: [dep-ann] deprecated item is not annotated with @Deprecated int IllegalModifierForLocalEnum = TypeRelated + 752; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:1734: warning: [dep-ann] deprecated item is not annotated with @Deprecated int MultipleFunctionalInterfaces = TypeRelated + 895; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2115: warning: [dep-ann] deprecated item is not annotated with @Deprecated int LambdaShapeComputationError = 1101; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2166: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionsIncompatibleResultExpressionTypes = TypeRelated + 1600; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2170: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionsEmptySwitchBlock = Internal + 1601; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2174: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionsNoResultExpression = TypeRelated + 1602; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2178: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionSwitchLabeledBlockCompletesNormally = Internal + 1603; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2182: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionLastStatementCompletesNormally = Internal + 1604; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2186: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionTrailingSwitchLabels = Internal + 1605; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2190: warning: [dep-ann] deprecated item is not annotated with @Deprecated int switchMixedCase = Syntax + 1606; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2194: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionMissingDefaultCase = Internal + 1607; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2198: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionBreakMissingValue = Internal + 1610; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2202: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionMissingEnumConstantCase = Internal + 1611; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2206: warning: [dep-ann] deprecated item is not annotated with @Deprecated int SwitchExpressionIllegalLastStatement = Internal + 1612; ^ ./org/eclipse/jdt/core/compiler/IProblem.java:2385: warning: [dep-ann] deprecated item is not annotated with @Deprecated int PatternVariableNotInScope = PreviewRelated + 1780; ^ ./org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java:600: warning: [dep-ann] deprecated item is not annotated with @Deprecated public CompilerOptions(Map settings, boolean parseLiteralExpressionsAsConstants){ ^ ./org/eclipse/jdt/internal/compiler/Compiler.java:110: warning: [dep-ann] deprecated item is not annotated with @Deprecated public Compiler( ^ ./org/eclipse/jdt/internal/compiler/Compiler.java:161: warning: [dep-ann] deprecated item is not annotated with @Deprecated public Compiler( ^ ./org/eclipse/jdt/internal/compiler/Compiler.java:253: warning: [dep-ann] deprecated item is not annotated with @Deprecated public Compiler( ^ ./org/eclipse/jdt/internal/compiler/batch/Main.java:1484: warning: [dep-ann] deprecated item is not annotated with @Deprecated public static boolean compile(String commandLine) { ^ ./org/eclipse/jdt/internal/compiler/batch/Main.java:1492: warning: [dep-ann] deprecated item is not annotated with @Deprecated public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) { ^ ./org/eclipse/jdt/internal/compiler/batch/Main.java:1582: warning: [dep-ann] deprecated item is not annotated with @Deprecated public Main(PrintWriter outWriter, PrintWriter errWriter, boolean systemExitWhenFinished) { ^ ./org/eclipse/jdt/internal/compiler/batch/Main.java:1590: warning: [dep-ann] deprecated item is not annotated with @Deprecated public Main(PrintWriter outWriter, PrintWriter errWriter, boolean systemExitWhenFinished, Map customDefaultOptions) { ^ ./org/eclipse/jdt/internal/compiler/batch/Main.java:4618: warning: [dep-ann] deprecated item is not annotated with @Deprecated protected void initialize(PrintWriter outWriter, PrintWriter errWriter, boolean systemExit) { ^ ./org/eclipse/jdt/internal/compiler/batch/Main.java:4625: warning: [dep-ann] deprecated item is not annotated with @Deprecated protected void initialize(PrintWriter outWriter, PrintWriter errWriter, boolean systemExit, Map customDefaultOptions) { ^ ./org/eclipse/jdt/internal/compiler/apt/model/Factory.java:331: error: an enum switch case label must be the unqualified name of an enumeration constant case RECORD : ^ ./org/eclipse/jdt/internal/compiler/apt/model/TypesImpl.java:141: error: an enum switch case label must be the unqualified name of an enumeration constant case RECORD_COMPONENT: ^ ./org/eclipse/jdt/internal/compiler/apt/model/TypesImpl.java:163: error: an enum switch case label must be the unqualified name of an enumeration constant case RECORD: ^ ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:93: error: an enum switch case label must be the unqualified name of an enumeration constant case RECORD : ^ ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:113: error: an enum switch case label must be the unqualified name of an enumeration constant case RECORD_COMPONENT : ^ ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:174: error: cannot find symbol RecordComponentElement rec = new RecordComponentElementImpl(_env, comp); ^ symbol: class RecordComponentElement location: class TypeElementImpl ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:186: error: method does not override or implement a method from a supertype @Override ^ ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:190: error: cannot find symbol List enclosed = new ArrayList<>(); ^ symbol: class RecordComponentElement location: class TypeElementImpl ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:192: error: cannot find symbol RecordComponentElement variable = new RecordComponentElementImpl(_env, comp); ^ symbol: class RecordComponentElement location: class TypeElementImpl ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:202: error: method does not override or implement a method from a supertype @Override ^ ./org/eclipse/jdt/internal/compiler/apt/model/TypeElementImpl.java:268: error: cannot find symbol return ElementKind.RECORD; ^ symbol: variable RECORD location: class ElementKind ./org/eclipse/jdt/internal/compiler/apt/model/RecordComponentElementImpl.java:36: error: cannot find symbol return ElementKind.RECORD_COMPONENT; ^ symbol: variable RECORD_COMPONENT location: class ElementKind ./org/eclipse/jdt/internal/compiler/apt/model/RecordComponentElementImpl.java:39: error: method does not override or implement a method from a supertype @Override ^ ./org/eclipse/jdt/internal/compiler/apt/model/RecordComponentElementImpl.java:52: error: cannot find symbol return visitor.visitRecordComponent(this, param); ^ symbol: method visitRecordComponent(RecordComponentElementImpl,P) location: variable visitor of type ElementVisitor where P,R are type-variables: P extends Object declared in method accept(ElementVisitor,P) R extends Object declared in method accept(ElementVisitor,P) ./org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl.java:350: error: an enum switch case label must be the unqualified name of an enumeration constant case RECORD : ^ ./org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl.java:381: error: an enum switch case label must be the unqualified name of an enumeration constant case RECORD_COMPONENT : ^ ./org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl.java:587: error: an enum switch case label must be the unqualified name of an enumeration constant case RECORD : ^ ./org/eclipse/jdt/internal/compiler/apt/model/ElementsImpl.java:600: error: an enum switch case label must be the unqualified name of an enumeration constant case RECORD_COMPONENT : ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 22 errors 69 warnings * ERROR: dev-java/eclipse-ecj-4.21::gentoo failed (compile phase): * ejavac failed * * Call stack: * ebuild.sh, line 127: Called src_compile * 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" * * If you need support, post the output of `emerge --info '=dev-java/eclipse-ecj-4.21::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/eclipse-ecj-4.21::gentoo'`. !!! When you file a bug report, please include the following information: 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/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'