#63160 closed defect (fixed)
dbeaver-community @ 21.1.1 - Error: Port dbeaver-community is still broken after rebuilding it more than 3 times.
Reported by: | FaradayLight (Faraday Light) | Owned by: | judaew (Vadym-Valdis Yudaiev) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | arm64 bigsur | Cc: | FaradayLight (Faraday Light) |
Port: | dbeaver-community |
Description
Hi,
Have attempted to install beaver for the first time, but the install failed three times with errors of the form:
---> Cleaning dbeaver-community ---> Updating database of binaries ---> Scanning binaries for linking errors ---> Found 17 broken files, matching files to ports ---> Found 2 broken ports, determining rebuild order ---> Rebuilding in order openjdk11 @11.0.11_0 dbeaver-community @21.1.1_0
Please see attached capture from the main output for the sequence of repeated attempts.
Attachments (4)
Change History (26)
Changed 3 years ago by FaradayLight (Faraday Light)
Attachment: | db_beaver_main_log_20210701.txt added |
---|
comment:1 Changed 3 years ago by FaradayLight (Faraday Light)
Cc: | FaradayLight added |
---|
comment:2 Changed 3 years ago by FaradayLight (Faraday Light)
Cc: | FaradayLight removed |
---|
comment:3 Changed 3 years ago by FaradayLight (Faraday Light)
Cc: | FaradayLight added |
---|
comment:4 Changed 3 years ago by FaradayLight (Faraday Light)
Cc: | FaradayLight removed |
---|
comment:5 Changed 3 years ago by FaradayLight (Faraday Light)
Cc: | FaradayLight added |
---|
comment:6 Changed 3 years ago by FaradayLight (Faraday Light)
Owner: | set to judaew |
---|---|
Status: | new → assigned |
Changed 3 years ago by FaradayLight (Faraday Light)
Attachment: | dbeaver_rev_upgrade_20210701.txt added |
---|
comment:7 Changed 3 years ago by FaradayLight (Faraday Light)
"please open only one ticket" That was the intent; please see the comment above.
comment:8 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
The reason for the problem, from your log, seems to be:
Could not open /System/Library/Frameworks/JavaVM.framework/Versions/A/Frameworks/JavaNativeFoundation.framework/Versions/A/JavaNativeFoundation: Error opening or reading file (referenced from /Library/Java/JavaVirtualMachines/openjdk11/Contents/Home/lib/libawt.dylib)
I'm not sure to what extent this is a MacPorts problem, since neither path is within the MacPorts prefix /opt/local.
comment:9 Changed 3 years ago by FaradayLight (Faraday Light)
Hi,
Yes MacPorts gave a warning that it would install in that location. I can not recall the exact warning message, but I can re-run the install from scratch again to capture the warning text.
comment:10 Changed 3 years ago by FaradayLight (Faraday Light)
OK, I did not get a pop-up waring this time; the following is displayed in the output:
---> Staging openjdk11 into destroot Warning: openjdk11 installs files outside the common directory structure. ---> Installing openjdk11 @11.0.11_0 -
comment:11 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)
dbeaver-community
hasn't arm64 releases on macOS. Therefore, Portifle has the option supported_archs x86_64
Ryan Schmidt, could this be a problem in this case?
comment:12 Changed 3 years ago by FaradayLight (Faraday Light)
I am not familiar with the internals of DBeaver, and I came to the problem while installing this package, however the problem would seem to lie with the JDK not DBeaver itself.
I see that openjdk11-zulu appears to deploy to Apple Silicon so might there be a path to solution using that JDK implemetation?
comment:13 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)
comment:14 Changed 3 years ago by FaradayLight (Faraday Light)
OK,
I uninstalled and re-installed the package @21.1.2_1. The errors are still reported but I am able to use DBeaver itself.
comment:15 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)
Thanks for the feedback. Could you show me the errors?
comment:16 Changed 3 years ago by FaradayLight (Faraday Light)
Hi,
The failure mode is unchanged from the details I have given above.
I can run it again if you would like me to collect any particular log files.
comment:17 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)
Am I understanding you correctly, you are still getting the following error (from db_beaver_main_log_20210701.txt):
129 Error: Port dbeaver-community is still broken after rebuilding it more than 3 times. 130 Error: Please run port -d -y rev-upgrade and use the output to report a bug. 131 Error: rev-upgrade failed: Port dbeaver-community still broken after rebuilding 3 times 132 Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Or was there some other error?
comment:18 Changed 3 years ago by FaradayLight (Faraday Light)
Hello again.
Just to confirm the current state of play, I performed the following:
% sudo port clean dbeaver-community % sudo port uninstall dbeaver-community % sudo port clean openjdk11 % sudo port uninstall openjdk11 % sudo port install dbeaver-community
... and get the following:
---> Staging openjdk11 into destroot Warning: openjdk11 installs files outside the common directory structure. ---> Installing openjdk11 @11.0.11_0 ... ---> Activating dbeaver-community @21.1.2_1 ---> Cleaning dbeaver-community ---> Updating database of binaries ---> Scanning binaries for linking errors ---> Found 17 broken files, matching files to ports ---> Found 2 broken ports, determining rebuild order You can always run 'port rev-upgrade' again to fix errors. The following ports will be rebuilt: openjdk11 @11.0.11 dbeaver-community @21.1.2 Continue? [Y/n]: Y ---> Cleaning openjdk11 ---> Cleaning dbeaver-community ---> Scanning binaries for linking errors ---> Found 17 broken files, matching files to ports ---> Found 2 broken ports, determining rebuild order ---> Rebuilding in order openjdk11 @11.0.11_0 dbeaver-community @21.1.2_1 ---> Fetching distfiles for openjdk11 ---> Verifying checksums for openjdk11 ---> Extracting openjdk11 ---> Configuring openjdk11 ---> Building openjdk11 ---> Staging openjdk11 into destroot Warning: openjdk11 installs files outside the common directory structure. ---> Unable to uninstall openjdk11 @11.0.11_0, the following ports depend on it: ---> dbeaver-community @21.1.2_1 Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating openjdk11 @11.0.11_0 ---> Cleaning openjdk11 ---> Uninstalling openjdk11 @11.0.11_0 ---> Cleaning openjdk11 ---> Installing openjdk11 @11.0.11_0 ---> Activating openjdk11 @11.0.11_0 ---> Cleaning openjdk11 ---> Fetching distfiles for dbeaver-community ---> Verifying checksums for dbeaver-community ---> Extracting dbeaver-community ---> Configuring dbeaver-community ---> Building dbeaver-community ---> Staging dbeaver-community into destroot ---> Deactivating dbeaver-community @21.1.2_1 ---> Cleaning dbeaver-community ---> Uninstalling dbeaver-community @21.1.2_1 ---> Cleaning dbeaver-community ---> Installing dbeaver-community @21.1.2_1 ---> Activating dbeaver-community @21.1.2_1 ---> Cleaning dbeaver-community ---> Updating database of binaries ---> Scanning binaries for linking errors ---> Found 17 broken files, matching files to ports ---> Found 2 broken ports, determining rebuild order ---> Rebuilding in order openjdk11 @11.0.11_0 dbeaver-community @21.1.2_1 ---> Fetching distfiles for openjdk11 ---> Verifying checksums for openjdk11 ---> Extracting openjdk11 ---> Configuring openjdk11 ---> Building openjdk11 ---> Staging openjdk11 into destroot Warning: openjdk11 installs files outside the common directory structure. ---> Deactivating openjdk11 @11.0.11_0 ---> Cleaning openjdk11 ---> Uninstalling openjdk11 @11.0.11_0 ---> Cleaning openjdk11 ---> Installing openjdk11 @11.0.11_0 ---> Activating openjdk11 @11.0.11_0 ---> Cleaning openjdk11 ---> Fetching distfiles for dbeaver-community ---> Verifying checksums for dbeaver-community ---> Extracting dbeaver-community ---> Configuring dbeaver-community ---> Building dbeaver-community ---> Staging dbeaver-community into destroot ---> Deactivating dbeaver-community @21.1.2_1 ---> Cleaning dbeaver-community ---> Uninstalling dbeaver-community @21.1.2_1 ---> Cleaning dbeaver-community ---> Installing dbeaver-community @21.1.2_1 ---> Activating dbeaver-community @21.1.2_1 ---> Cleaning dbeaver-community ---> Updating database of binaries ---> Scanning binaries for linking errors ---> Found 17 broken files, matching files to ports Error: Port dbeaver-community is still broken after rebuilding it more than 3 times. Error: Please run port -d -y rev-upgrade and use the output to report a bug. Error: rev-upgrade failed: Port dbeaver-community still broken after rebuilding 3 times Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. ---> Some of the ports you installed have notes: openjdk11 has the following notes: If you have more than one JDK installed you can make openjdk11 the default by adding the following line to your shell profile: export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk11/Contents/Home tacitus@malory ~ %
However, I am now able to launch the app.
I have also had a look in the dbeaver-debug.log but there is nothing unusual reported there.
There are however exceptions appearing in this file: ~/Library/DBeaverData/workspace6/.metadata/.log
... but they appear to be related to this file: /Applications/MacPorts/DBeaver.app/Contents/Info.plist
I have attached a copy of the .log file as "session_20210714.log"
Changed 3 years ago by FaradayLight (Faraday Light)
Attachment: | session_20210714.log added |
---|
Changed 3 years ago by FaradayLight (Faraday Light)
Attachment: | debug_db.log added |
---|
Output of port -d -y rev-upgrade
comment:19 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)
Official support for Apple Silicon is promised for version 21.2.2, which is due to be released by October 04, 2021. https://github.com/dbeaver/dbeaver/milestone/150
comment:21 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:22 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)
Now dbeaver-community
works without Rosetta 2 in 21.2.2 version.
Apologies - the submission was blocked by the SPAM check while attaching the log and that lost the Cc and other corrections.