Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] JNA 5.6.0 failure on linux-x86-64
  • From: Torbjorn SVENSSON <torbjorn.svensson@xxxxxx>
  • Date: Thu, 25 Mar 2021 11:01:29 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=st.com; dmarc=pass action=none header.from=st.com; dkim=pass header.d=st.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-SenderADCheck; bh=ld8TcrfIkKnlBG2Wp0oRXSBuCA9an67uIjjgE0w0G+Y=; b=ObvCbT18bGyib/gdB6/t+TTsKgsCUQJn3+bRj1XQiaj3FcThGKGjK9ZPbhjwZVgG8fZTBgw8o0PMPY7I8qVqGeBJ8BMpb7mWPtfgrDg+MWNzmEZXlatMQBs7lELK9vjqTr0jmNAqRsulmvU+ToabUmpsp+KCsF56NA9A9FaCPRNPcSliY8kmIf5TWHP0uxlbv0GnJyuIsmKcXqh3sVbNlVhmcx1Q93ihnhoWwCWGbYU/OYKn1b3AaNKmosvvzHK5VpUFdRaFtXR5gMAoKWl2PbhEPO3ZTy+mu3RA5t9fLv3Ono/b/SbZxkSmV2mSDXA16W1h4DvU478OsT2au40RbQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UD1jJazbr+07oJHJuTy0Yc4HOVL2LEvFAcpwKi/EAh6wfTfpCr+rXU40vdxqAfD/D1UNLN4RA13mtdTYW30q6hhOjYg7XPo+d6en5NwqydCbvc6oJM833KNWweHxle+xvCf6+Km0Vaex9Ibrl+uQZMWhNNJaSYOURPi8tLBFR3bTAZh3tyfGgfHNQW2OW+9suPwcxqShtW7eZmxJeB8BgEqGMp+tRrXgn/w1eKYR8EhLM6wmJtODQLROkDprSZ1ZYWnwctl9avCIjAdSb5yVu6No0e+1GYyLSXXvva046nIt3KlzTBd6OGMZotQ2OQXvYdhpwZJ+3ZJLHIrk3ybGWg==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev/>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXIM/aY2AQvBTsUES09cpnf3EEWaqUZMJwgAAiGwCAAAMlwA==
  • Thread-topic: [cdt-dev] JNA 5.6.0 failure on linux-x86-64

Hello,

Yes, Jonah was the one doing the Orbit part, and I was the one introducing the dependency in CDT.

The locations you point out below are the correct sources for the plugin. If the plugin has a different directory structure than the source jar file, then I would say that there is some bug in the recipe handling. AFAIK, the only thing the Orbit recipes are supposed to do is add some resources to make it an OSGi bundle.

At least, it's a step forward that you can reproduce the build yourself.

Kind regards,
Torbjörn

-----Original Message-----
From: cdt-dev <cdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Christian Walther
Sent: den 25 mars 2021 11:47
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] JNA 5.6.0 failure on linux-x86-64

Torbjorn SVENSSON wrote:
> I just took a look at the content of the com.sun.jna_5.6.0.v20200716-0148.jar file and it looks like the libjnidispatch.so file is locate in the root of the tree rather in a sub-directory. Maybe that's the error?

Oh, good find, I missed that. Yes, that looks likely.

> Regarding the missing library; maybe you should open a issue report on the JNA project itself.

As far as I can tell the JNA project does not produce Eclipse plugins. The binary published by them (https://repo1.maven.org/maven2/net/java/dev/jna/jna/5.6.0/jna-5.6.0.jar) looks different from com.sun.jna_5.6.0.v20200716-0148.jar, and besides has linux-x86-64/libjnidispatch.so in the correct place.

So I need to find the project that packaged JNA into an Eclipse plugin. In the meantime I have found that the plugin comes from Orbit, and https://download.eclipse.org/tools/orbit/downloads/drops/R20210223232630/ lists Jonah Graham as the contact, so maybe I haven’t come to the totally wrong place after all. The source code seems to be at https://git.eclipse.org/c/orbit/orbit-recipes.git/tree/jna/com.sun.jna_5.6.0 . When I clone that and run "mvn clean package", it builds me a plugin with the same bug. That gives me something to work with. Will report back.

 -Christian

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

Back to the top