Bug 243278 - databases/db6: Fails to build with JAVA option enabled: Makefile error: "" is not a valid value for JAVA_VERSION
Summary: databases/db6: Fails to build with JAVA option enabled: Makefile error: "" is...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Matthias Andree
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-11 22:45 UTC by Tommy P
Modified: 2020-01-12 12:54 UTC (History)
0 users

See Also:
mandree: maintainer-feedback+
mandree: merge-quarterly+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommy P 2020-01-11 22:45:38 UTC
I'm unable to build databases/db6:

root@d-build-fbsd12:/usr/ports/databases/db6 # ls {,/usr/local}/etc/make*
ls: No match.

root@d-build-fbsd12:/usr/ports/databases/db6 # make showconfig
===> The following configuration options are available for db6-6.2.32_1:
     CRYPTO=on: Cryptography support
     DEBUG=off: Build with debugging support
     DOCS=off: Build and/or install documentation
     JAVA=on: Java platform support
     L10N=off: Localization support (EXPERIMENTAL)
     SQL=on: Enable SQL API (EXPERIMENTAL)
     TCL=on: Tcl scripting language support
===> Use 'make config' to modify these settings

root@d-build-fbsd12:/usr/ports/databases/db6 # make
db6-6.2.32_1: Makefile error: "" is not a valid value for JAVA_VERSION. It should be one or more of: 7 8 11 12 13 (with an optional "+" suffix.)
*** Error code 1

Stop.
make[1]: stopped in /poudriere/ports/default/databases/db6
*** Error code 1

Stop.
make: stopped in /poudriere/ports/default/databases/db6

root@d-build-fbsd12:/usr/ports/databases/db6 # uname -a
FreeBSD d-build-fbsd12.dev.corp 12.0-RELEASE-p12 FreeBSD 12.0-RELEASE-p12 #0 r356535M: Fri Jan 10 02:55:32 PST 2020 


Please advise.  Thank you.
Comment 1 commit-hook freebsd_committer 2020-01-12 12:48:44 UTC
A commit references this bug:

Author: mandree
Date: Sun Jan 12 12:47:54 UTC 2020
New revision: 522784
URL: https://svnweb.freebsd.org/changeset/ports/522784

Log:
  databases/db6, db5: fix JAVA-enabled build, suppress sed failed warnings

  Add JAVA_VERSION="7 8" to db6
  Add REWARNFILE=/dev/null to db6 and db5

  Reported by: Tommy P <tommyhp2@gmail.com>
  PR:          243278
  MFH:         2020Q1 (blanket, fix broken build)

Changes:
  head/databases/db5/Makefile
  head/databases/db6/Makefile
Comment 2 commit-hook freebsd_committer 2020-01-12 12:53:45 UTC
A commit references this bug:

Author: mandree
Date: Sun Jan 12 12:52:50 UTC 2020
New revision: 522785
URL: https://svnweb.freebsd.org/changeset/ports/522785

Log:
  MFH: r522784

  databases/db6, db5: fix JAVA-enabled build, suppress sed failed warnings

  Add JAVA_VERSION="7 8" to db6
  Add REWARNFILE=/dev/null to db6 and db5

  Reported by: 	Tommy P <tommyhp2@gmail.com>
  PR:             243278

  Approved by:	ports-secteam (blanket, unbreaks a broken build under non-default JAVA option)

Changes:
_U  branches/2020Q1/
  branches/2020Q1/databases/db5/Makefile
  branches/2020Q1/databases/db6/Makefile
Comment 3 Matthias Andree freebsd_committer 2020-01-12 12:54:21 UTC
This is a one-liner fix adding JAVA_VERSION="7 8" to Makefile and had blanket approval for MFH because it was fixing a previously broken build with non-default options.