Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.33 I-Build: I20240724-1800 - BUILD FAILED #2197

Closed
MohananRahul opened this issue Jul 25, 2024 · 13 comments
Closed

4.33 I-Build: I20240724-1800 - BUILD FAILED #2197

MohananRahul opened this issue Jul 25, 2024 · 13 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@MohananRahul
Copy link
Contributor

See : https://ci.eclipse.org/releng/job/Builds/job/I-build-4.33/80/console

4.377Z] [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:4.0.8:compile (default-compile) on project org.eclipse.pde.api.tools.annotations: Fatal error compiling: target level should be in '1.8','9'...'22' (or '8.0'..'22.0'): 1.6 -> [Help 1]
[2024-07-24T22:05:54.377Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:4.0.8:compile (default-compile) on project org.eclipse.pde.api.tools.annotations: Fatal error compiling
[2024-07-24T22:05:54.377Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[2024-07-24T22:05:54.377Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2024-07-24T22:05:54.377Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-07-24T22:05:54.377Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-07-24T22:05:54.378Z] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-07-24T22:05:54.378Z] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-07-24T22:05:54.378Z] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)

@MohananRahul MohananRahul added the bug Something isn't working label Jul 25, 2024
@HannesWell
Copy link
Member

@iloveeclipse I'm currently checking/fixing all PDE plugins.

@iloveeclipse
Copy link
Member

The build fails because we've changed compiler in eclipse-jdt/eclipse.jdt.core#2551 and expect only Java 1.8+ as target.

My fault no to check if SDK is ready for that, I've assumed we are at
1.8 already, which is not the case 🙁

I plan to work on that soon, in case someone wants to help, bundles
should require JavaSE-1.8 as minimum EE and org.eclipse.jdt.core.prefs
settings should be at least 1.8 level:

org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.source=1.8 

@HannesWell
Copy link
Member

PR for PDE is up:

Btw. I would like to make everyone whose updating the required Java version of a Plug-in project aware of the new Modify button in the PDE MANIFEST.MF-Editor:

Besides updating the BREE it automatically adjusts the JRE_CONTAINER in the .classpath and the JDT compiler settings accordingly.

@laeubi
Copy link
Contributor

laeubi commented Jul 25, 2024

would like to make everyone whose updating the required Java version of a Plug-in project aware of the new Modify button in the PDE MANIFEST.MF-Editor

Seems this feature got in just-in-time 👍

iloveeclipse pushed a commit to iloveeclipse/eclipse.jdt.core.binaries that referenced this issue Jul 25, 2024
Not sure it is needed during build as I don't see anything that is
compiled here, but better to be safe.

See eclipse-platform/eclipse.platform.releng.aggregator#2197
iloveeclipse pushed a commit to iloveeclipse/eclipse.jdt.core.binaries that referenced this issue Jul 25, 2024
Not sure it is needed during build as I don't see anything that is
compiled here, but better to be safe.

See eclipse-platform/eclipse.platform.releng.aggregator#2197
@HannesWell
Copy link
Member

HannesWell commented Jul 25, 2024

PR for PDE is up:

- https://github.com/eclipse-pde/eclipse.pde/pull/1349

This one is submitted.

@iloveeclipse I have to leave now, can you have a look at the other parts?

I have also triggered a master build for eclipse.platform.releng.aggregator:

Since this fetches the latest master of each sub-module, it can be considered as an 'I-build light'.

iloveeclipse added a commit to iloveeclipse/eclipse.jdt.core.binaries that referenced this issue Jul 25, 2024
Not sure it is needed during build as I don't see anything that is
compiled here, but better to be safe.

See eclipse-platform/eclipse.platform.releng.aggregator#2197
@iloveeclipse
Copy link
Member

I have to leave now, can you have a look at the other parts?

Sure, I'm looking into.

@iloveeclipse
Copy link
Member

Build https://ci.eclipse.org/platform/job/eclipse.platform.releng.aggregator/job/master/2483/console was successful, even without eclipse-jdt/eclipse.jdt.core.binaries#13 merged (probably because there is nothing to compile).

I'm pretty sure there could be test failures, but let address them once we see them, so I will trigger SDK build now.

@iloveeclipse
Copy link
Member

https://ci.eclipse.org/releng/job/Builds/job/I-build-4.33/81/ is triggered.

@merks
Copy link
Contributor

merks commented Jul 25, 2024

As usual @iloveeclipse thanks for your diligence!! And @HannesWell of course too!!

@iloveeclipse
Copy link
Member

https://download.eclipse.org/eclipse/downloads/drops4/I20240725-0200 is there.
Waiting to see how many test fails we will see...

iloveeclipse added a commit to eclipse-jdt/eclipse.jdt.core.binaries that referenced this issue Jul 25, 2024
Not sure it is needed during build as I don't see anything that is
compiled here, but better to be safe.

See eclipse-platform/eclipse.platform.releng.aggregator#2197
@iloveeclipse
Copy link
Member

Mac build shows only 1168 fails :-)
Majority (968) is for pde.api tools.
Will look into after lunch...

@laeubi
Copy link
Contributor

laeubi commented Jul 25, 2024

Majority (968) is for pde.api tools.

They almost all complain about

Should not be a JDT error: Compiling for Java version '1.5' is no longer supported. Minimal supported version is '1.8'

HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Jul 25, 2024
ECJ does not support Java versions below 1.8 anymore

Contributes to fixing
eclipse-platform/eclipse.platform.releng.aggregator#2197
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Jul 25, 2024
ECJ does not support Java versions below 1.8 anymore

Contributes to fixing
eclipse-platform/eclipse.platform.releng.aggregator#2197
HannesWell added a commit to eclipse-pde/eclipse.pde that referenced this issue Jul 25, 2024
ECJ does not support Java versions below 1.8 anymore

Contributes to fixing
eclipse-platform/eclipse.platform.releng.aggregator#2197
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Jul 25, 2024
HannesWell added a commit to eclipse-pde/eclipse.pde that referenced this issue Jul 25, 2024
@iloveeclipse
Copy link
Member

Let's close this one, SDK builds and majority of failures are fixed.
Thanks Hannes for PDE fixes.
I will address remaining issues in JDT UI, it took longer as I've expected, as they have to be analyzed one by one.

@iloveeclipse iloveeclipse added this to the 4.33 M2 milestone Jul 26, 2024
fedejeanne pushed a commit to fedejeanne/eclipse.pde that referenced this issue Jul 31, 2024
ECJ does not support Java versions below 1.8 anymore

Contributes to fixing
eclipse-platform/eclipse.platform.releng.aggregator#2197
fedejeanne pushed a commit to fedejeanne/eclipse.pde that referenced this issue Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants