Bug 228636

Summary: building of databases/mariadb102-client as a dependency fails with GSSAPI_BASE and OpenSSL from ports
Product: Ports & Packages Reporter: stefan.witzel
Component: Individual Port(s)Assignee: Bernard Spil <brnrd>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: rene
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description stefan.witzel 2018-05-31 12:39:55 UTC
Hi,

in make.conf I have set DEFAULT_VERSIONS+=ssl=openssl.

When I try to install mariadb102-server with GSSAPI_NONE from the ports the building of mariadb102-client as a dependency failed with an error message that it is not allowed to select GSSAPI_BASE when OpenSSL from the ports as default.

The installation mariadb102-server is successfull when I first install mariadb102-client with GSSAPI_NONE.

I suspect the selection of GSSAPI_NONE from mariadb102-server is not passed to the dependency mariadb102-client.

Stefan
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2018-06-02 22:28:13 UTC
Hi Stefan,

The GSSAPI_* knobs are used by many ports. You must unset this on a global level to build ports with OpenSSL from ports.

To set these globally in make.conf
> OPTIONS_SET= GSSAPI_NONE
> OPTIONS_UNSET= GSSAPI_BASE

or set the options for both ports. Knobs are not passed on to dependent ports, they only apply to the port where they are defined. Hence you're best of setting these GSSAPI knobs globally.
Comment 2 Rene Ladan freebsd_committer freebsd_triage 2020-07-01 11:01:16 UTC
Does this also happen with 10.3 or later?