Opened 2 years ago

Closed 13 months ago

#64470 closed defect (fixed)

db48 +java: error: Java version 1.3 or higher required, got 14.0.2

Reported by: iglaweb (Igor Lashkov) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: mascguy (Christopher Nielsen), stromnov (Andrey Stromnov)
Port: db48

Description (last modified by reneeotten (Renee Otten))

I use following command: 'sudo port install opencv4 +java'

:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/work/db-4.8.30/build_unix" && ../dist/configure --prefix=/opt/local --enable-cxx --includedir=\${prefix}/include/db48 --libdir=\${prefix}/lib/db48 --enable-java 
:info:configure Exit code: 1
:error:configure Failed to configure db48: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/work/db-4.8.30/build_unix/config.log
:error:configure Failed to configure db48: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/main.log for details.
version:1

Attachments (1)

main.log (37.3 KB) - added by iglaweb (Igor Lashkov) 2 years ago.

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by iglaweb (Igor Lashkov)

Attachment: main.log added

comment:1 Changed 2 years ago by iglaweb (Igor Lashkov)

What java version should I have?

:info:configure configure: error: Java version 1.3 or higher required, got 14.0.2
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_db48/db48/work/db-4.8.30/build_unix" && ../dist/configure --prefix=/opt/local --enable-cxx --includedir=\${prefix}/include/db48 --libdir=\${prefix}/lib/db48 --enable-java 
:info:configure Exit code: 1
Last edited 2 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 2 years ago by reneeotten (Renee Otten)

Cc: mascguy added
Description: modified (diff)
Owner: set to stromnov
Priority: HighNormal
Status: newassigned

comment:3 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: stromnov added
Owner: changed from stromnov to jmroot
Port: db48 added; opencv4 removed
Summary: opencv4 not installed on MacOS Catalina 10.15.7db48: configure failure on 10.15.7

This is actually an issue related to installing db48. Updated the ticket to reflect that.

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: db48: configure failure on 10.15.7db48 +java: error: Java version 1.3 or higher required, got 14.0.2

Sounds like the Java version check in db48 is wrong.

Here's a patch from Debian for db53 that just disables the Java version check. Maybe we need to do similarly in all our db* ports.

https://sources.debian.org/patches/db5.3/5.3.28+dfsg1-0.5/009-java-10.patch/

comment:5 Changed 13 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 34ffea56d67386ade0e9a381903c4a091abf7d60/macports-ports (master):

db48: move java and tcl bindings to subports

Also use the java portgroup and fix other java build issues.

Closes: #45826
Closes: #57743
Closes: #64470
Closes: #65831

Note: See TracTickets for help on using tickets.