Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Having the Eclipse Trace Compass Incubator software GUI running
  • From: Bernd Hufmann <bernd.hufmann@xxxxxxxxxxxx>
  • Date: Wed, 10 Jul 2024 12:56:02 +0000
  • Accept-language: en-CA, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=utnzEZejVmOwt/wfJ1+nMpdpY/4fQ9f+4d0YLIAZRyc=; b=Ho/kUAT6kaxFWo/PDGuCWt3iYvWHa15uod1SBsasI33b29j4RBekZFrWW8w2Tkf2m7N5f8EAgYqvvtTrXb/Ef4+z25V3uMQFcrhQs/h7d7ZR1Ne7gQ3Q5i3O389r4KGeArGYHLVZBSUg1gm24EMgWFTN+olpL5EeeiuRQXK6PzOCSaeK2AZUb8jYYL6Bva8yhxNXNHy1YIFpbaKiojXUW1hF7SU3RoI9jAD9Fkir39sSzvyp7671mgt0T6CFPpUp+F7RH1yUNfWzEdDQm43Xsa9bMuaqys5SvNPMD9G6IWbgs++ChH6yib0EhFZg8x8tThdx8EBqAHh4CqLX6wOXyw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F21bdeVjRG6tzTpOLBjT5JJek4ZB07VF5vrKVKct0u2W7w64KBaRWZtDHOLEPMtzL8tPmLl3ly8UK6ahpSW3q6Jhj3azX8P9jY93R+YU1E26LqBNhFV71nghL+Y3TPfhkk9zAH6lrvv13jp5ahNxnjeCm2nJDoMp4UDcR8tmpUOKtrejzQL/KszdIdXjhIxy7n+rOEqW+n5BDm6JOJNfm3jVPrmqYkPAx8ndSZnFTISAyeEHg0+KS2HxNH9ptjuMJ8/o3ymVYg+InAUMZnIQCD+aqVbTkYG2Z6mMNPgAy3a/rgZdT/j7YNV+kRZkkKrdO1DVyvtOwx3K/YcdJ/BU1A==
  • Delivered-to: tracecompass-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tracecompass-dev/>
  • List-help: <mailto:tracecompass-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tracecompass-dev>, <mailto:tracecompass-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tracecompass-dev>, <mailto:tracecompass-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHayJY1XI+Sy1nD8kShKY2T3TSgP7Hbx6GSgAADcjuAAAbF94AUK+Ye
  • Thread-topic: Having the Eclipse Trace Compass Incubator software GUI running

Hi,

MacOS jar files need to be signed and DMG files (for standalone application) need to notarized. The Trace Compass mainline supports signing and notarization. The Incubator project currently only is able to sign the jars (as in referenced issue above). Both jar signing and notarization that is used for that can only be executed from Eclipse build infrastructure (e.g. Eclipse Jenkins) because it needs special access rights. So, when building on a private computer jar signing and notarization can't be executed, unless you update the pom.xml files to provide your own jar signing infrastructure, and then do your own notarization of the DMG files.

Best Regards,
Bernd

From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Matthew Khouzam via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx>
Sent: June 27, 2024 12:47 PM
To: Xiaolin Liu <xiaolinl@xxxxxx>; tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>; tracecompass.incubator-dev@xxxxxxxxxxx <tracecompass.incubator-dev@xxxxxxxxxxx>
Cc: Matthew Khouzam <matthew.khouzam@xxxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Having the Eclipse Trace Compass Incubator software GUI running
 
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
 
Hi, before diving deeper, is it related to this issue?https://github.com/eclipse-tracecompass/org.eclipse.tracecompass/issues/101

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 



Back to the top