Skip to main content

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

hi,

Thanks for your quick reply.

On Fri, Jun 14, 2024 at 7:00 PM Mark Hoffmann via eclipse-dev
<eclipse-dev@xxxxxxxxxxx> wrote:
>
> Hi,
>
> I believe the P2 parts may use os-specific dependencies, that let this
> build error:
>
> Maybe the properties for the risc build do not match to the native
> capabilities in com.sun.jna.

Yeah, from the build log, I see some architectures related path[0] for
com.sun.jna. Thanks for help to confirm this.
>
> https://docs.osgi.org/specification/osgi.core/8.0.0/framework.module.html#framework.module-loading.native.code.libraries

I wonder how to add support riscv64 for com.sun.jna[1] part or is
there any chance to skip it temporary?

Thanks again.

[0]: https://gist.github.com/yuzibo/3f050c5d5d186c82a69423085277aaea#file-gistfile1-txt-L533
[1]: https://mvnrepository.com/artifact/com.sun.jna/jna
>
> Regards,
>
> Mark
>
>
> [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-classpath failed:
> org.osgi.f
> ramework.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
> [ERROR]                   -> Export-Package:
> org.eclipse.equinox.internal.p2.ui.actions;
> bundle-symbolic-name="org.eclipse.equinox.p2.ui"; bundle-v
> ersion="2.8.400.v20240511-1722"; version="0.0.0";
> x-friends:="org.eclipse.equinox.p2.ui.admin,org.eclipse.equinox.p2.ui.sdk.scheduler"
> [ERROR]                      org.eclipse.equinox.p2.ui [280]
> [ERROR]                        Unresolved requirement: Import-Package:
> org.eclipse.e4.ui.progress
> [ERROR]                          -> Export-Package:
> org.eclipse.e4.ui.progress;
> bundle-symbolic-name="org.eclipse.e4.ui.progress"; bundle-version="
> 0.4.600.v20240606-1020"; version="0.0.0"
> [ERROR]                             org.eclipse.e4.ui.progress [232]
> [ERROR]                               Unresolved requirement:
> Require-Bundle: org.eclipse.e4.ui.workbench.swt
> [ERROR]                                 -> Bundle-SymbolicName:
> org.eclipse.e4.ui.workbench.swt;
> bundle-version="0.17.400.v20240425-0840"; singleto
> n:="true"
> [ERROR] org.eclipse.e4.ui.workbench.swt [234]
> [ERROR]                                      Unresolved requirement:
> Require-Bundle: org.eclipse.urischeme; bundle-version="1.1.0"
> [ERROR]                                        -> Bundle-SymbolicName:
> org.eclipse.urischeme; bundle-version="1.3.400.v20240606-1412"; singleton:="
> true"
> [ERROR] org.eclipse.urischeme [241]
> [ERROR]                                             Unresolved
> requirement: Require-Bundle: com.sun.jna; bundle-version="[5.8.0,6.0.0)"
> [ERROR]                                               ->
> Bundle-SymbolicName: com.sun.jna; bundle-version="5.14.0.v20231211-1200"
> [ERROR] com.sun.jna [12]
> [ERROR] [ERROR] Unresolved requirement: Require-Capability: osgi.native;
> native.paths.8:List<String>="co
> m/sun/jna/sunos-x86-64/libjnidispatch.so";
> native.paths.17:List<String>="com/sun/jna/linux-x86-64/libjnidispatch.so";
> native.paths.7:List<String>="
> com/sun/jna/sunos-x86/libjnidispatch.so";
> native.paths.16:List<String>="com/sun/jna/linux-x86/libjnidispatch.so";
> native.paths.19:List<String>="com
>
> Am 14.06.24 um 12:32 schrieb Bo YU via eclipse-dev:
> > 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
> > _______________________________________________
> > eclipse-dev mailing list
> > eclipse-dev@xxxxxxxxxxx
> > To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipse-dev
>
> --
> Mark Hoffmann
> M.A. Dipl.-Betriebswirt (FH)
> CEO / CTO
>
> Phone:  +49 3641 384 910 0
> Mobile: +49 175 701 2201
> E-Mail: m.hoffmann@xxxxxxxxxxxxxxxx
> Web:    www.datainmotion.com
>
> Data In Motion Consulting GmbH
> Kahlaische Strasse 4
> 07745 Jena
> Germany
>
> CEO:
> Mark Hoffmann
> Jürgen Albert
>
> Jena HRB 513025
> Tax-No 162/107/05779
> VAT-Id DE310002614
>
>
> _______________________________________________
> eclipse-dev mailing list
> eclipse-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top