eclipse-tracecompass-incubator / org.eclipse.tracecompass.incubator

Eclipse Public License 2.0
2 stars 10 forks source link

Incubator version in not supported to run on a mac M3 chip. #45

Open AisXiaolin opened 1 week ago

AisXiaolin commented 1 week ago

The current Incubator version is not working on the M3 chip. I am currently using macOS Sonoma 14.3 and Apple M3 Pro. I could get the Incubator version downloaded and built, and the GUI ran perfectly on my Linux host computer (Ubuntu 24.04 LTS, Intel i5 chip). But when I was trying to replicate the entire process on my laptop. It stucked on an error messages complaining about the "Tracecompass-server" saying "The Tracecompass-server executable launcher was unable to locate its companion shared library". In order to resolve this problem, we have tried to checked around, however, 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.

image
AisXiaolin commented 1 week ago

I have just updated the system on the M3 chip to Mac OS Sonoma 14.5; this also doesn't solve the problem. However, my trace compass can still be running, just not the incubator version.

image
MatthewKhouzam commented 5 days ago

This is a legitimate bug. We don't have the m3 macs here to test on. I would say if you can fix it, we'll gladly review. As SWTBot failed, maybe try -Dmaven.test.skip=true or -DskipTests=true?