Bug 228636 - building of databases/mariadb102-client as a dependency fails with GSSAPI_BASE and OpenSSL from ports
Summary: building of databases/mariadb102-client as a dependency fails with GSSAPI_BAS...
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-31 12:39 UTC by stefan.witzel
Modified: 2018-06-02 22:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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.