From owner-freebsd-java@freebsd.org Sat Mar 16 15:57:45 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE61C153307B; Sat, 16 Mar 2019 15:57:45 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C7FE8E865; Sat, 16 Mar 2019 15:57:43 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1h5Bgr-0001xS-7A; Sat, 16 Mar 2019 16:57:42 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-eclipse@freebsd.org, "Jonathan Chen" Cc: freebsd-java@freebsd.org Subject: Re: Help needed updating java/eclipse to 4.11 References: Date: Sat, 16 Mar 2019 16:57:59 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.2 X-Scan-Signature: 6afe0509a8fa736d7bae96a824aab2db X-Rspamd-Queue-Id: 3C7FE8E865 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-1.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.911,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; NEURAL_HAM_LONG(-0.99)[-0.992,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[klop.ws]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.01)[0.006,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx2.greenhost.nl]; IP_SCORE(-0.23)[ipnet: 195.190.28.0/24(-0.67), asn: 47172(-0.51), country: NL(0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2019 15:57:45 -0000 Hi, Great work already. I can't help much, but by googling on 'UnsatisfiedLinkError: org.eclipse.swt.internal.C.memmove(' found similar issues: An old bug report with a recent hopeful (but not complete) reaction: https://bugs.eclipse.org/bugs/show_bug.cgi?id=488641 Mentions of this (or similar) error occurring with 32/64 bits mismatches between different peaces of the code. https://www.eclipse.org/swt/faq.php https://www.eclipse.org/lists/platform-swt-dev/msg03851.html I hope it helps. Regards, Ronald. On Sat, 16 Mar 2019 08:19:36 +0100, Jonathan Chen wrote: > Hi, > > With the impending demise of java/eclipse 4.6 due to webkit-gtk2 > deprecation, I've been attempting to update the port to > eclipse-4.11.RC2. Progress has been good, and I've managed to produce > an executable from the build. Unfortunately, while I get a > splashscreen displayed, the application currently dies with: > > java.lang.UnsatisfiedLinkError: org.eclipse.swt.internal.C.memmove(I[II)V > at org.eclipse.swt.internal.C.memmove(Native Method) > at org.eclipse.swt.internal.gtk.OS.(OS.java:68) > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209) > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155) > at org.eclipse.swt.widgets.Display.(Display.java:159) > at > org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:749) > at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162) > at > org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:185) > at > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:128) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:661) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597) > at org.eclipse.equinox.launcher.Main.run(Main.java:1476) > at org.eclipse.equinox.launcher.Main.main(Main.java:1449) > > There's some issue with JNI bindings that I just don't understand, and > I'm hoping that some on the list (java@ or eclipse@) may be willing to > give me a hand. Please drop me a line if you're interested in helping > me bring java/eclipse up to date on FreeBSD. > > Thanks!