Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Build errors when setting up Trace Compass development environment
  • From: Bernd Hufmann <bernd.hufmann@xxxxxxxxxxxx>
  • Date: Tue, 10 Dec 2024 15:50:19 +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=arcselector10001; 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=U8s7agNjhLUqqc+0buZAhyFqmI8vbqn8pa6OqReCwec=; b=F2bkmiQdVLLcqv2dVLO8POhzY+FNqEngJHaAtT7XMsNHYfJWfoZa2UGHrHhGUvB0JekFZvllBGs4SEBHiqfmn67XknHzvO28wCH53etiPwqVHMoK63aCY87j7AEwaJrcACu+R5pXEWVWgLgePjwSZIBdZ2WuGWPz3zkiAje1ly0ZV9znFIeKqrW7aRZGoUGMfzD1NCzNxdbSBsu78bYSh9qLLhWtuSj4ghixPeCeL4zN7lySW+3VHBHPSGzcCtZtcvLOJMWb+yFcfFjaVFzwurR51yLpQ1OJr5g85qJDV9P9F0SNAPar3X5qxgWHkgjLtq6QeEEKBRgNAuhlSIMkNA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sdQNZfv+Z6C6BVBGJhitPFGOXz378n6ddG/Gv+Gnvaq+eW23LdfXG2IQw9Vqbc1lAXKdJFRdo45YN5McpyAZNh3L8sOxvlRq/FSwiBjpSg9uqL2fVGSTa30lAGfqpRSaPQO/ukUDJqz3lZpH0nkud9bJGDOEzMlEbvsrbzGK3H1ZiPEoU1Aa+y/QrakEx8GOBq7cgaEnmcFhZjylBO5ESzhym+cMvZNbDUGGkOl8Gsz7HzEK0bV/fxIleL94vkEhC9NO6uDlwY2ZcppGlJ5CA2zYQlTRtb7ZlvqfcGXy8MEmuRns5REj2lWo69tq2zMOrFAv7oQ5Zl+teW7RlSZMvA==
  • 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: AQHbRqZByoVeM1uE2UOvxFJC4GHwybLfmD0vgAAHpOmAAAa00g==
  • Thread-topic: Build errors when setting up Trace Compass development environment

I just realized that I had an old Tracecompass.setup in my OOMPH workspace and that's why it setup an old version. So, please ignore what I wrote about the older version.

I'm still investigating and will come back to you when I know more.

Regards
Bernd

From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Bernd Hufmann via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx>
Sent: December 10, 2024 10:17 AM
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Cc: Bernd Hufmann <bernd.hufmann@xxxxxxxxxxxx>
Subject: [tracecompass-dev] Fw: Build errors when setting up Trace Compass development environment
 



From: Bernd Hufmann <bernd.hufmann@xxxxxxxxxxxx>
Sent: December 10, 2024 10:16 AM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Cc: Greg Savin <gsavin@xxxxxxxx>
Subject: Re: Build errors when setting up Trace Compass development environment
 
Hi Greg

I had to try it myself. I haven't tried the OOMPH installer because I have had my environment setup for a while. 

I noticed a couple of things when I tried it myself. The first thing I noticed is, that an old Tracecompass.setup OOMPH setup file is used (from 9.3 release). It still references the git repository located in Gerrit. The repository has been migrated to GitHub in the meanwhile. The second thing is, that there is no target definition set after it's finished.

Please check the remote  setting of the git repository and let me know if you notice the same issue.

So, what you can do: 
After that you need to set the target platform. The steps are described here:
Once finished setting it, the workspace should build automatically. If not, please go to main menu "Project" and check "Build Automatically"

Then you can set the baseline API as described here:
Please let me know if this helps with your setup.

Note, that on my side I have to figure out why the OOMPH installer does not use the latest trace compass oomph setup file.

BR
Bernd


From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Greg Savin via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx>
Sent: December 4, 2024 7:00 PM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Cc: Greg Savin <gsavin@xxxxxxxx>
Subject: [tracecompass-dev] Build errors when setting up Trace Compass development environment
 
Hi all,

When trying to follow the instructions in the "## Using the Eclipse Installer (Oomph)" section of https://github.com/eclipse-tracecompass/org.eclipse.tracecompass/blob/master/DEVELOPMENT_ENV_SETUP.md, on Ubuntu 22.04.5 LTS, I'm seeing 3222 errors show up in the Problems view of the resulting development instance of Eclipse.

As a quick indication of the sorts of errors I'm referring to, here are a few selected representative errors from the first page of errors shown:

ANTLRReaderStream cannot be resolved to a type  Metadata.java     /org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace      line 424    Java Problem
BaseTree cannot be resolved to a type     Metadata.java     /org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace      line 443    Java Problem
BitSet cannot be resolved to a type FilterParserParser.java /org.eclipse.tracecompass.tmf.filter.parser/target/generated-sources/antlr3/org/eclipse/tracecompass/tmf/filter/parser  line 1138   Java Problem

From this limited bit of information, if anyone can discern something I might be doing wrong, I'd appreciate any feedback.

Thanks,
Greg Savin


Back to the top