Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Build failures with https://download.eclipse.org/eclipse/updates/4.27-I-builds/I20221130-1800

Ed,

If you move to Tycho 3.0 and beyond, you need to read the release notes, and this in particular:

https://github.com/eclipse-tycho/tycho/blob/master/RELEASE_NOTES.md#removal-of-tycho-source-featuresource-feature

So you need to replace this:

      <plugin>
        <groupId>org.eclipse.tycho.extras</groupId>
        <artifactId>tycho-source-feature-plugin</artifactId>
        <executions>
          <execution>
            <id>generate-source-feature</id>
            <goals>
              <goal>source-feature</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

with this

      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-source-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <id>feature-source</id>
            <goals>
              <goal>feature-source</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

That replacement is already available in versions of Tycho < 3.0.0

As for bcpg,  that sounds related to this issue:

https://github.com/eclipse-equinox/p2/issues/203

I would expect using Tycho 2.7.5 (with newer version of p2) should eliminate the bcpg problem.  I think tycho 2.7.5 still contains the deprecated org.eclipse.tycho.extras:tycho-source-feature-plugin, but you may as well fix that because eventually you will have to fix that.


On 12.12.2022 07:48, Ed Willink wrote:

Hi

Once again my forced weekly builds against latest fail.

https://ci.eclipse.org/qvt-oml/job/qvto-master/487/

[ERROR] An error occurred while transferring artifact canonical: osgi.bundle,bcpg,1.72.0 from repository https://download.eclipse.org/eclipse/updates/4.27-I-builds/I20221130-1800:
[ERROR]    Result of processing steps.:
[ERROR]       Public key not found for 700e4f39bc05364b.
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,bcpg,1.72.0 into the local Maven repository.See log output for details. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,bcpg,1.72.0 into the local Maven repository.See log output for details.

A similar build locally fails more reasonably on a missing com.ibm.icu.

bcpg is indeed missing. Is there a typo for com.bouncycastle.bcpg?

------------------------------

Last successful build used:

Java 11, Maven 3.6.3, Tycho 2.6.0, Platform 4.26

------------------------------

Upgrading to Java 19 fails with JavaSE-19 not supported.

Upgrading to Java 17 makes no difference.

Upgrading to Maven 3.8.6 makes no difference.

Upgrading to Tycho 2.7.0 or 2.7.5 or 3.0.0: https://ci.eclipse.org/qvt-oml/job/qvto-branch-tests/128/
  gives many

[WARNING] The POM for org.eclipse.tycho.extras:tycho-source-feature-plugin:jar:3.0.0 is missing, no dependency information available

then

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.eclipse.qvto.releng.build-site raw:3.10.8.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):3.10.8-SNAPSHOT
[ERROR]   Missing requirement: org.eclipse.qvto.releng.build-site raw:3.10.8.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):3.10.8-SNAPSHOT requires 'org.eclipse.equinox.p2.iu; org.eclipse.m2m.qvt.oml.tools.source.feature.group 0.0.0' but it could not be found

suggesting something bad with the platform.

What is the correct set of tools to build the latest platform build?

    Regards

        Ed Willink



_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev

Back to the top