Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2022 09:52:46 +0800
From:      Zhenlei Huang <zlei.huang@gmail.com>
To:        ftimmer@ft-c.de
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: eclipse bug
Message-ID:  <A7FD9DC0-8D32-4DCA-9577-7DE83E248E46@gmail.com>
In-Reply-To: <76f4aa3b0c1fd109d87f1c175d51d532a1d1e915.camel@ft-c.de>
References:  <76f4aa3b0c1fd109d87f1c175d51d532a1d1e915.camel@ft-c.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_16507D3F-6ACD-4C32-A55F-BFDC8DA91C53
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


> On Nov 14, 2022, at 3:16 AM, ml@ft-c.de wrote:
>=20
> Hello,=20
>=20
> I have a FreeBSD System running on thinpad X200. All program works.=20
> Now I have installed FreeBSD on Thinkpad X230
> I need the program dbeaver. I get the error message:
>=20
> ~> dbeaver

It is run as standalone. FreeBSD is not supported officially, from =
https://dbeaver.io/download/ <https://dbeaver.io/download/>; .

>> Start DBeaver Standalone [org.jkiss.dbeaver.ui.app.standalone
> 22.1.1.202206261508]
>> Start Eclipse IDE UI Application [org.eclipse.ui.ide.application
> 1.4.300.v20220114-0859]
>> Start Eclipse Jobs Mechanism [org.eclipse.core.jobs
> 3.12.100.v20220120-1329]
> SWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as =
fallback.
> Dbeaver:
> An error has occurred. See the log file
> /usr/local/share/dbeaver/configuration/1668365061175.log.
>=20
> The program=20
> swt-4.21                       Standard Widget Toolkit for Java
> is installed.
>=20
> The first lines from log file:
> !SESSION 2022-11-13 20:10:39.244 --------
> eclipse.buildId=3Dunknown
> java.version=3D11.0.12
> java.vendor=3DEclipse Foundation
> BootLoader constants: OS=3Dlinux, ARCH=3Dx86_64, WS=3Dgtk, NL=3Den_US
> Command-line arguments:  -os linux -ws gtk -arch x86_64

> -os linux
This is definitely wrong IMO.

>=20
> !ENTRY org.eclipse.osgi 4 0 2022-11-13 20:10:40.637
> !MESSAGE An error occurred while automatically activating bundle
> org.eclipse.ui.ide (151).
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.start() of bundle
> org.eclipse.ui.ide.
> ...
>=20
>=20
> When I reinstall eclipse from ports, I get an error message:
>=20
> portupgrade -N java/eclipse=20
> ...
> [INFO] org.eclipse.rt.osgistarterkit.product 4.24.0-SNAPSHOT SUCCESS
> [INFO] equinox-sdk 4.24.0-SNAPSHOT ........................ SUCCESS=20
> [INFO] eclipse.platform.repository 4.24.0-SNAPSHOT ........ FAILURE
> [INFO] platform-aggregator 4.24.0-SNAPSHOT ................ SKIPPED
> [INFO] -------------------------------
> [INFO] BUILD FAILURE
> [INFO] --------------------------------
> [INFO] Total time:  36:47 min
> [INFO] Finished at: 2022-11-13T10:31:45+01:00
> [INFO] --------------------------------
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-
> plugin:3.0.0-SNAPSHOT:archive-products (archive-products) on projec
> t eclipse.platform.repository: Error packing product: Problem creating
> zip: Execution exception: Java heap space -> [Help 1]

While building from source the Maven plugin fails without enough heap =
memory.

> [ERROR]=20
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]=20
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> =
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]=20
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR]   mvn <args> -rf :eclipse.platform.repository
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/java/eclipse
> egrep: empty (sub)expression
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20221113-6730-cu4lyn env make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>        ! java/eclipse  (unknown build error)
>=20
>=20
> uname -a=20
> FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
>=20
> What should I do?=20

There's a closed github issue. See =
https://github.com/dbeaver/dbeaver/issues/3925 =
<https://github.com/dbeaver/dbeaver/issues/3925>=20
You might want to try running dbeaver as an eclipse plugin (should =
install eclipse first).

Good luck :)

PS: DBeaver is in the list of WantedPorts, =
https://wiki.freebsd.org/WantedPorts

> Do you need more information?
> (I am not a java expert.)
> Franz
>=20
>=20

Best regards,
Zhenlei=

--Apple-Mail=_16507D3F-6ACD-4C32-A55F-BFDC8DA91C53
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div =
class=3D"">
<div><br class=3D""></div>

</div>
<div><blockquote type=3D"cite" class=3D""><div class=3D"">On Nov 14, =
2022, at 3:16 AM, <a href=3D"mailto:ml@ft-c.de" class=3D"">ml@ft-c.de</a> =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"">Hello, <br class=3D""><br class=3D"">I have a FreeBSD System =
running on thinpad X200. All program works. <br class=3D"">Now I have =
installed FreeBSD on Thinkpad X230<br class=3D"">I need the program =
dbeaver. I get the error message:<br class=3D""><br class=3D"">~&gt; =
dbeaver<br class=3D""></div></div></blockquote><div><br =
class=3D""></div><div>It is run as standalone. FreeBSD is not supported =
officially, from&nbsp;<a href=3D"https://dbeaver.io/download/" =
class=3D"">https://dbeaver.io/download/</a>&nbsp;.</div><div><br =
class=3D""></div><blockquote type=3D"cite" class=3D""><div class=3D""><div=
 class=3D""><blockquote type=3D"cite" class=3D"">Start DBeaver =
Standalone [org.jkiss.dbeaver.ui.app.standalone<br =
class=3D""></blockquote>22.1.1.202206261508]<br class=3D""><blockquote =
type=3D"cite" class=3D"">Start Eclipse IDE UI Application =
[org.eclipse.ui.ide.application<br =
class=3D""></blockquote>1.4.300.v20220114-0859]<br class=3D""><blockquote =
type=3D"cite" class=3D"">Start Eclipse Jobs Mechanism =
[org.eclipse.core.jobs<br =
class=3D""></blockquote>3.12.100.v20220120-1329]<br class=3D"">SWT =
OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback.<br =
class=3D"">Dbeaver:<br class=3D"">An error has occurred. See the log =
file<br =
class=3D"">/usr/local/share/dbeaver/configuration/1668365061175.log.<br =
class=3D""><br class=3D"">The program <br class=3D"">swt-4.21 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Standard =
Widget Toolkit for Java<br class=3D"">is installed.<br class=3D""><br =
class=3D"">The first lines from log file:<br class=3D"">!SESSION =
2022-11-13 20:10:39.244 --------<br class=3D"">eclipse.buildId=3Dunknown<b=
r class=3D"">java.version=3D11.0.12<br class=3D"">java.vendor=3DEclipse =
Foundation<br class=3D"">BootLoader constants: OS=3Dlinux, ARCH=3Dx86_64, =
WS=3Dgtk, NL=3Den_US<br class=3D"">Command-line arguments: &nbsp;-os =
linux -ws gtk -arch x86_64</div></div></blockquote><div><br =
class=3D""></div><div>&gt; -os linux</div><div>This is definitely wrong =
IMO.</div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div class=3D""><br class=3D"">!ENTRY org.eclipse.osgi 4 0 =
2022-11-13 20:10:40.637<br class=3D"">!MESSAGE An error occurred while =
automatically activating bundle<br class=3D"">org.eclipse.ui.ide =
(151).<br class=3D"">!STACK 0<br =
class=3D"">org.osgi.framework.BundleException: Exception in<br =
class=3D"">org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.start() of =
bundle<br class=3D"">org.eclipse.ui.ide.<br class=3D"">...<br =
class=3D""><br class=3D""><br class=3D"">When I reinstall eclipse from =
ports, I get an error message:<br class=3D""><br class=3D"">portupgrade =
-N java/eclipse <br class=3D"">...<br class=3D"">[INFO] =
org.eclipse.rt.osgistarterkit.product 4.24.0-SNAPSHOT SUCCESS<br =
class=3D"">[INFO] equinox-sdk 4.24.0-SNAPSHOT ........................ =
SUCCESS <br class=3D"">[INFO] eclipse.platform.repository =
4.24.0-SNAPSHOT ........ FAILURE<br class=3D"">[INFO] =
platform-aggregator 4.24.0-SNAPSHOT ................ SKIPPED<br =
class=3D"">[INFO] -------------------------------<br class=3D"">[INFO] =
BUILD FAILURE<br class=3D"">[INFO] --------------------------------<br =
class=3D"">[INFO] Total time: &nbsp;36:47 min<br class=3D"">[INFO] =
Finished at: 2022-11-13T10:31:45+01:00<br class=3D"">[INFO] =
--------------------------------<br class=3D"">[ERROR] Failed to execute =
goal org.eclipse.tycho:tycho-p2-director-<br =
class=3D"">plugin:3.0.0-SNAPSHOT:archive-products (archive-products) on =
projec<br class=3D"">t eclipse.platform.repository: Error packing =
product: Problem creating<br class=3D"">zip: Execution exception: Java =
heap space -&gt; [Help 1]<br class=3D""></div></div></blockquote><div><br =
class=3D""></div><div>While building from source the Maven plugin fails =
without enough heap memory.</div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><div class=3D"">[ERROR] <br class=3D"">[ERROR] =
To see the full stack trace of the errors, re-run Maven with<br =
class=3D"">the -e switch.<br class=3D"">[ERROR] Re-run Maven using the =
-X switch to enable full debug logging.<br class=3D"">[ERROR] <br =
class=3D"">[ERROR] For more information about the errors and possible =
solutions,<br class=3D"">please read the following articles:<br =
class=3D"">[ERROR] [Help 1]<br class=3D""><a =
href=3D"http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionExce=
ption" =
class=3D"">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE=
xception</a><br class=3D"">[ERROR] <br class=3D"">[ERROR] After =
correcting the problems, you can resume the build with<br class=3D"">the =
command<br class=3D"">[ERROR] &nbsp;&nbsp;mvn &lt;args&gt; -rf =
:eclipse.platform.repository<br class=3D"">*** Error code 1<br =
class=3D""><br class=3D"">Stop.<br class=3D"">make: stopped in =
/usr/ports/java/eclipse<br class=3D"">egrep: empty (sub)expression<br =
class=3D"">** Command failed [exit code 1]: /usr/bin/script -qa<br =
class=3D"">/tmp/portupgrade20221113-6730-cu4lyn env make<br class=3D"">** =
Fix the problem and try again.<br class=3D"">** Listing the failed =
packages (-:ignored / *:skipped / !:failed)<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;! java/eclipse &nbsp;(unknown =
build error)<br class=3D""><br class=3D""><br class=3D"">uname =
-a&nbsp;<br class=3D"">FreeBSD 13.1-RELEASE =
releng/13.1-n250148-fc952ac2212 GENERIC amd64<br class=3D""><br =
class=3D"">What should I do?&nbsp;<br =
class=3D""></div></div></blockquote><div><br class=3D""></div><div><div =
style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">There's a =
closed github issue. See&nbsp;<a =
href=3D"https://github.com/dbeaver/dbeaver/issues/3925" =
class=3D"">https://github.com/dbeaver/dbeaver/issues/3925</a>&nbsp;</div><=
div style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">You might =
want to try&nbsp;running dbeaver as an eclipse plugin (should install =
eclipse first).</div></div><div><br class=3D""></div><div>Good luck =
:)</div><div><br class=3D""></div><div>PS: DBeaver is in the list of =
WantedPorts,&nbsp;<a href=3D"https://wiki.freebsd.org/WantedPorts" =
class=3D"">https://wiki.freebsd.org/WantedPorts</a></div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
class=3D"">Do you need more information?<br class=3D"">(I am not a java =
expert.)<br class=3D"">Franz<br class=3D""><br class=3D""><br =
class=3D""></div></div></blockquote><br class=3D""></div><div =
style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Best =
regards,</div><div style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0);">Zhenlei</div></body></html>=

--Apple-Mail=_16507D3F-6ACD-4C32-A55F-BFDC8DA91C53--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A7FD9DC0-8D32-4DCA-9577-7DE83E248E46>