From nobody Mon Nov 14 01:52:46 2022 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N9XQ43Jgnz4dJN5 for ; Mon, 14 Nov 2022 01:53:00 +0000 (UTC) (envelope-from zlei.huang@gmail.com) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N9XQ41Jx6z3xWP for ; Mon, 14 Nov 2022 01:53:00 +0000 (UTC) (envelope-from zlei.huang@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1032.google.com with SMTP id l22-20020a17090a3f1600b00212fbbcfb78so12471949pjc.3 for ; Sun, 13 Nov 2022 17:53:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=yUfYPaYLDcOhRVs+MAW89SgrOiJYnTkVRKKN18eKW/8=; b=WsC5v060pYonJ4/UJ/b39BEqxgV+o1MThTJT3PkWq8FWDAJraPI/JWUg9Xm95BSt1v PqIKyT+PO4VfE8EjVVuPgR7gZO/rettYp0TZhHj9c1F0NTxnQLlL7pyoDcJYkyBecArU L0XeE9ET42Rmb6yVSWRxeeRmU4nCasJCLvUa0tJv+qHXzlc+bton2yMhmGKEewJ007XH yHG7uA4sYr6xHjJ62JzRhi56cI6VwJhTIJEPrPxG0dp2b6+g0acldK6rDbw/ESCI5PVY jS+2/MuZ3sz5dgitA8hnGS0ligiMEBXVr2nSKZ0MA9ZjuHPqkEuJZDz/esbB+YP/yRLF h/9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yUfYPaYLDcOhRVs+MAW89SgrOiJYnTkVRKKN18eKW/8=; b=M3gdnzwDAmvLV4XKnw8K9czC62cZ9UA/jezODqpF9E0wHZWu3DCTL2rE/VhDxHTYJU wpP7rNUS3Z9WKjUxf4zOvFREtB5V+kmDF9yeGwRb6oeyPHWYMEj8z4h6LTuFo8bY5Kk+ LORUTzu5pupqwD9An2Qg+i2ZCyfFwXgSoj6Hav4R43wF8UmtqKABIu05S8tKq/niwOJQ Ec6cVjRdiyvwvoQ+jEnJN9/PnjTcCyK8HVZ775O2TtnNsQRel8Vz4eT8y+v0bM9MN2GJ A3GBRYmHsxtkjQHId3S/PTh5FGiI0LiA2yZt9AXdi0E/935DFnfsJ+RDFgFUrIhONbyY Bb7w== X-Gm-Message-State: ANoB5pnGhDa2uYYTv34wBCtesoEjTw1je/vz1P1LrCNKB2HZ93epGYDk KeCXvXbVbL9YTfjiveSn4dZ0eepjOmK+Vg== X-Google-Smtp-Source: AA0mqf4MTHLlwxC1anr1Yu0jGUPBXfW7wkuTIrbFQZuX1pNeT/qLjT1DS/BXMfJV+gAjJu3hT+W/bQ== X-Received: by 2002:a17:90a:7b89:b0:213:9b80:ceee with SMTP id z9-20020a17090a7b8900b002139b80ceeemr11706344pjc.243.1668390778362; Sun, 13 Nov 2022 17:52:58 -0800 (PST) Received: from [172.17.252.129] (ns1.oxydns.net. [45.32.91.63]) by smtp.gmail.com with ESMTPSA id t8-20020a634448000000b0041ae78c3493sm4818271pgk.52.2022.11.13.17.52.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Nov 2022 17:52:58 -0800 (PST) From: Zhenlei Huang Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_16507D3F-6ACD-4C32-A55F-BFDC8DA91C53" List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: eclipse bug Date: Mon, 14 Nov 2022 09:52:46 +0800 In-Reply-To: <76f4aa3b0c1fd109d87f1c175d51d532a1d1e915.camel@ft-c.de> Cc: FreeBSD-STABLE Mailing List To: ftimmer@ft-c.de References: <76f4aa3b0c1fd109d87f1c175d51d532a1d1e915.camel@ft-c.de> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Rspamd-Queue-Id: 4N9XQ41Jx6z3xWP X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --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/ . >> 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 -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 = =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

On Nov 14, = 2022, at 3:16 AM, ml@ft-c.de = wrote:

Hello,

I have a FreeBSD System = running on thinpad X200. All program works.
Now I have = installed FreeBSD on Thinkpad X230
I need the program = dbeaver. I get the error message:

~> = dbeaver

It is run as standalone. FreeBSD is not supported = officially, from 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.

The program
swt-4.21 =             &n= bsp;         Standard = Widget Toolkit for Java
is installed.

The first lines from log file:
!SESSION = 2022-11-13 20:10:39.244 --------
eclipse.buildId=3Dunknownjava.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.


!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
...
[INFO] = org.eclipse.rt.osgistarterkit.product 4.24.0-SNAPSHOT SUCCESS
[INFO] equinox-sdk 4.24.0-SNAPSHOT ........................ = SUCCESS
[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]
[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]
[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/MojoExecutionE= xception
[ERROR]
[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 
FreeBSD 13.1-RELEASE = releng/13.1-n250148-fc952ac2212 GENERIC amd64

What should I do? 

There's a = closed github issue. See https://github.com/dbeaver/dbeaver/issues/3925 
<= div style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">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



Best = regards,
Zhenlei
= --Apple-Mail=_16507D3F-6ACD-4C32-A55F-BFDC8DA91C53--