Bug 276109 - databases/mariadb1011-server: configuring fails: Invalid value for PLUGIN_HASHICORP_KEY_MANAGEMENT
Summary: databases/mariadb1011-server: configuring fails: Invalid value for PLUGIN_HAS...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-03 23:20 UTC by vapaapohjola
Modified: 2024-05-25 09:23 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (brnrd)


Attachments
patch (996 bytes, patch)
2024-01-12 06:03 UTC, Ivan Rozhuk
rozhuk.im: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vapaapohjola 2024-01-03 23:20:59 UTC
Running make in databases/mariadb1011-server results in:

CMake Error at cmake/plugin.cmake:108 (MESSAGE):
  Invalid value for PLUGIN_HASHICORP_KEY_MANAGEMENT
Call Stack (most recent call first):
  plugin/hashicorp_key_management/CMakeLists.txt:13 (MYSQL_ADD_PLUGIN)

work/mariadb-10.11.6/CMakeCache.txt says:

//How to build plugin HASHICORP_KEY_MANAGEMENT. Options are: NO
// STATIC DYNAMIC YES AUTO.
PLUGIN_HASHICORP_KEY_MANAGEMENT:STRING=OFF

So the value OFF set in the Makefile (line 180):

HASHICORP_VAULT_CMAKE_OFF=	-DPLUGIN_HASHICORP_KEY_MANAGEMENT=OFF

is not acceptable. Changing the Makefile to

HASHICORP_VAULT_CMAKE_OFF=	-DPLUGIN_HASHICORP_KEY_MANAGEMENT=NO 

fixes the issue.

Cmake version is cmake-core-3.28.1
Contents of /var/db/ports/databases_mariadb1011-server/options:

OPTIONS_FILE_UNSET+=AWS_KEY_MGMT
OPTIONS_FILE_UNSET+=CONNECT_EXTRA
OPTIONS_FILE_UNSET+=DOCS
OPTIONS_FILE_UNSET+=HASHICORP_VAULT
OPTIONS_FILE_UNSET+=WSREP
OPTIONS_FILE_SET+=GSSAPI_BASE
OPTIONS_FILE_UNSET+=GSSAPI_HEIMDAL
OPTIONS_FILE_UNSET+=GSSAPI_MIT
OPTIONS_FILE_UNSET+=GSSAPI_NONE
OPTIONS_FILE_UNSET+=LZO
OPTIONS_FILE_UNSET+=SNAPPY
OPTIONS_FILE_UNSET+=COLUMNSTORE
OPTIONS_FILE_SET+=INNOBASE
OPTIONS_FILE_UNSET+=MROONGA
OPTIONS_FILE_UNSET+=OQGRAPH
OPTIONS_FILE_UNSET+=ROCKSDB
OPTIONS_FILE_UNSET+=S3
OPTIONS_FILE_UNSET+=SPHINX
OPTIONS_FILE_UNSET+=SPIDER
OPTIONS_FILE_UNSET+=ZMQ
OPTIONS_FILE_UNSET+=MSGPACK
Comment 1 Ivan Rozhuk 2024-01-12 06:03:26 UTC
Created attachment 247603 [details]
patch
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-05-25 09:21:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2acbf8c60ce7acabf0da2d40be4aaabcfab0d3b6

commit 2acbf8c60ce7acabf0da2d40be4aaabcfab0d3b6
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2024-05-25 09:19:52 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2024-05-25 09:19:52 +0000

    databases/mariadb1011-server: Update to 10.11.8

     * Fix HashiCorp Vault option [1]

    PR:             276109 [1]
    Reported by:    vapaaphohjola gmail com [1]

 databases/mariadb1011-client/pkg-plist             |  1 -
 databases/mariadb1011-server/Makefile              |  4 ++--
 databases/mariadb1011-server/distinfo              |  6 +++---
 .../files/patch-mysys__ssl_openssl.c               |  2 +-
 .../files/patch-mysys_crc32_crc32c.cc (gone)       | 24 ----------------------
 databases/mariadb1011-server/pkg-plist             |  2 ++
 6 files changed, 8 insertions(+), 31 deletions(-)
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2024-05-25 09:23:38 UTC
Thanks!