Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2022 20:16:25 +0100
From:      ml@ft-c.de
To:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   eclipse bug
Message-ID:  <76f4aa3b0c1fd109d87f1c175d51d532a1d1e915.camel@ft-c.de>

next in thread | raw e-mail | index | archive | help
Hello,=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:

~> dbeaver
> 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.

The program=20
swt-4.21                       Standard Widget Toolkit for Java
is installed.

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

!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.
...


When I reinstall eclipse from ports, I get an error message:

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]
[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

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)


uname -a=C2=A0
FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64

What should I do?=C2=A0
Do you need more information?
(I am not a java expert.)
Franz




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76f4aa3b0c1fd109d87f1c175d51d532a1d1e915.camel>