Hey Xiaolin,
thanks! This looks like a real bug. Can you open an issue on github? We can investigate it. But if you have MacOS experience and could help in the testing, or even better, put a patch up, we can review and merge.
From: Xiaolin Liu <xiaolinl@xxxxxx>
Sent: Thursday, June 27, 2024 12:21 PM
To: Matthew Khouzam <matthew.khouzam@xxxxxxxxxxxx>; tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>; tracecompass.incubator-dev@xxxxxxxxxxx <tracecompass.incubator-dev@xxxxxxxxxxx>
Cc: Xiaolin Liu <xiaolinl@xxxxxx>
Subject: Re: Having the Eclipse Trace Compass Incubator software GUI running
Dear Matthew,
Thanks for sharing the previous post, I have read it but I don’t think it is related to the problem I have encountered. The M1 chip seems to have different error message generated from my M3 chip.
Best,
Xiaolin
From: Matthew Khouzam <matthew.khouzam@xxxxxxxxxxxx>
Sent: Thursday, June 27, 2024 6:09:53 PM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>; tracecompass.incubator-dev@xxxxxxxxxxx <tracecompass.incubator-dev@xxxxxxxxxxx>
Cc: Xiaolin Liu <xiaolinl@xxxxxx>
Subject: Re: Having the Eclipse Trace Compass Incubator software GUI running
|
If I try to download the incubator version and try to run it on M1 MAC OSX, I will get the following screen: With the normal version, I had to edit the Info.list to check the right Java path on my ...
github.com
|
Matthew
From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Xiaolin Liu via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx>
Sent: Thursday, June 27, 2024 11:17 AM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>; tracecompass.incubator-dev@xxxxxxxxxxx <tracecompass.incubator-dev@xxxxxxxxxxx>
Cc: Xiaolin Liu <xiaolinl@xxxxxx>
Subject: [tracecompass-dev] Having the Eclipse Trace Compass Incubator software GUI running
Dear All,
After I run this command "mvn clean install -Dmaven.test.skip=true", the incubator project can be compiled and built
successfully. But I ran into a problem when I was trying to have the tracecompass software running using "./tracecompass" under the route of "~/org.eclipse.tracecompass.incubator/rcp/org.eclipse.tracecompass.incubator.rcp.product/target/products/org.eclipse.tracecompass.incubator.rcp/macosx/cocoa/x86_64/trace-compass.app/Contents/MacOS"

In the above screenshot, the system output complains, "The
Tracecompass executable launcher was unable to locate its companion
shared library." In the TC incubator, pom.xml specifies x86_64 as the architecture.
For the M-series chips, the resulting executable fails (with the
popup that we got earlier). The files mentioned in the .ini files all exist and are readable. The library
(.so file) is compiled for x86 and readable but not executable. Making it executable does not change the outcome: We get "The Tracecompass-server
executable launcher was unable to locate its companion shared library." in a popup, and the application closes afterward. When
changing the architecture in pom.xml to arm64 on Mac OS, we can start a new build, but it
fails at some point because a dependency cannot be satisfied.

However, the project could be built successfully
without adding tests. If I skip all the tests, then I get a perfect program-built result.

The pop-up error was shown after this successful
build process when I was trying to launch the executable file from the previous route.
Does anyone else also run into the same problem
and know how to solve it? Need some help on it, thanks in advance!
Best,
Xiaolin
|