Opened 9 years ago

Closed 14 months ago

#45826 closed defect (fixed)

db48 +java fails to configure without java

Reported by: steven@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: db48

Description

Mac-mini-van-Steven-Van-Ingelgem:~# port clean db48
--->  Cleaning db48
Mac-mini-van-Steven-Van-Ingelgem:~# port upgrade db48
--->  Fetching archive for db48
--->  Attempting to fetch db48-4.8.30_4+java+universal.darwin_14.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/db48
--->  Attempting to fetch db48-4.8.30_4+java+universal.darwin_14.i386-x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/db48
--->  Attempting to fetch db48-4.8.30_4+java+universal.darwin_14.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/db48
--->  Computing dependencies for db48
--->  Fetching distfiles for db48
--->  Verifying checksums for db48
--->  Extracting db48
--->  Applying patches to db48
--->  Configuring db48
Error: Failed to configure db48, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db48/db48/work/db-4.8.30-x86_64/build_unix/config.log
Error: org.macports.configure for port db48 returned: configure failure: command execution failed
Please see the log file for port db48 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db48/db48/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (1)

config.log (34.3 KB) - added by steven@… 9 years ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db48/db48/work/db-4.8.30-x86_64/build_unix/config.log

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by steven@…

Attachment: config.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db48/db48/work/db-4.8.30-x86_64/build_unix/config.log

comment:1 Changed 9 years ago by steven@…

Seems javac is needed. Is another dependency needed on Yosemite?

comment:2 Changed 9 years ago by steven@…

Ok, to fix this problem:

Open a console & type:

java -version

Click "more info" in the dialog. Download the JDK version (at least that's what I did). Install it & you can continue with the build process.

Note to maintainer of this package: see if it's possible to do a pre-check on java. And if not give a clear warning to the end user to install the JDK.

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jmr@…

In the future, please Cc the port maintainers (port info --maintainers db48).

comment:4 Changed 9 years ago by jmroot (Joshua Root)

Summary: "Failed to configure db48"db48 +java fails to configure without java

Yes, the java variant requires java. It’s not on by default on Lion and later.

comment:5 Changed 4 years ago by kencu (Ken)

comment:6 Changed 14 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

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.