Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Fwd: help to build eclipse on risv64

Sorry, before sending this mail, I did not confirm the subscription.
So send it again.


---------- Forwarded message ----------
From: Bo YU <tsu.yubo@xxxxxxxxx>
To: eclipse-dev@xxxxxxxxxxx
Cc:
Bcc:
Date: Fri, 14 Jun 2024 18:05:02 +0800
Subject: help to build eclipse on risv64
hi,

Sorry if I post this to the wrong mail list and please tell me if it
is available.

I am trying to build eclipse IDE on riscv64 and following the
instructions from eclipse repo[0].

Everything is built very well, but it will fail for
`org.eclipse.equinox.p2.tests`, part of the log is as follows

```
...
[INFO] [bundle] Equinox Provisioning Discovery 1.3.300-SNAPSHOT
SUCCESS [  3.916 s]
[INFO] [bundle] Equinox Provisioning Discovery 1.3.300-SNAPSHOT
SUCCESS [  5.025 s]
[INFO] [bundle] Equinox Provisioning Installer 1.4.300-SNAPSHOT
SUCCESS [  5.348 s]
[INFO] [bundle] Equinox Provisioning Discovery UI 1.3.300-SNAPSHOT
SUCCESS [  9.845 s]
[INFO] [feature] Equinox p2, Discovery UI support 1.3.400-SNAPSHOT
SUCCESS [  4.857 s]
[INFO] [bundle] Test Install Verifier 1.4.300-SNAPSHOT .... SUCCESS [  8.630 s]
[INFO] org.eclipse.equinox.p2.tests 1.9.400-SNAPSHOT ...... FAILURE [ 31.281 s]
[INFO] [test-bundle] Equinox Provisioning Discovery Tests
1.4.500-SNAPSHOT SUCCESS [ 10.059 s]
[INFO] [test-bundle] Equinox Provisioning Tests (Incubation)
1.4.400-SNAPSHOT SKIPPED
[INFO] [bundle] p2 Admin UI 1.3.400-SNAPSHOT .............. SUCCESS [  9.361 s]
[INFO] [bundle] Provisioning Admin UI RCP (Incubation)
1.4.100-SNAPSHOT SUCCESS [  5.754 s]
[INFO] [feature] p2 Server Feature 1.12.1300-SNAPSHOT ..... SUCCESS [  3.618 s]
...
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:33 h
[INFO] Finished at: 2024-06-13T12:12:46Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:4.0.8:validate-classpath
(default-validate-classpath) on project
org.eclipse.equinox.p2.tests: Execution default-validate-classpath of
goal org.eclipse.tycho:tycho-compiler-plugin:4.0.8:validate-classp
ath failed: org.osgi.framework.BundleException: Bundle
org.eclipse.equinox.p2.tests cannot be
resolved:org.eclipse.equinox.p2.tests [285
]
[ERROR]   Unresolved requirement: Require-Bundle:
org.eclipse.equinox.p2.tests.verifier; bundle-version="1.0.0"
[ERROR]     -> Bundle-SymbolicName:
org.eclipse.equinox.p2.tests.verifier;
bundle-version="1.4.300.v20240321-1450"; singleton:="true"
[ERROR]        org.eclipse.equinox.p2.tests.verifier [286]
[ERROR]          Unresolved requirement: Require-Bundle:
org.eclipse.equinox.p2.ui.sdk.scheduler; bundle-version="1.2.0"
[ERROR]            -> Bundle-SymbolicName:
org.eclipse.equinox.p2.ui.sdk.scheduler;
bundle-version="1.6.300.v20240515-1919"; singleton:=
"true"
[ERROR]               org.eclipse.equinox.p2.ui.sdk.scheduler [281]
[ERROR]                 Unresolved requirement: Import-Package:
org.eclipse.equinox.internal.p2.ui.actions
...
```
The full build log is here:
https://gist.github.com/yuzibo/3f050c5d5d186c82a69423085277aaea

As you have seen here, Most components for eclipse was built
successfully except org.eclipse.equinox.p2.tests. I am not sure why it
will not be built on riscv64. Because it does not support riscv64 now?
Or is there a workaround we can skip this component?

BTW, do we have plan to add build ci for irscv64? if so, I can offer
real riscv64 hardware to access.

Any help will be appreciated.

BR,
Bo

[0] https://github.com/eclipse-platform/eclipse.platform.releng.aggregator


Back to the top