[Bug 248114] databases/mariadb105-server: Cannot build with MIT Kerberos
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 19 20:56:22 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248114
Bug ID: 248114
Summary: databases/mariadb105-server: Cannot build with MIT
Kerberos
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: brnrd at freebsd.org
Reporter: cyberbotx at cyberbotx.com
Flags: maintainer-feedback?(brnrd at freebsd.org)
Assignee: brnrd at freebsd.org
I attempted to build databases/mariadb105-server in poudriere on an amd64
machine with GSSAPI_BASE disabled and GSSAPI_MIT enabled, the build fails as
such:
[00:18:30] [1158/1977] /usr/bin/c++ -DDBUG_TRACE -DHAVE_CONFIG_H
-DMYSQL_DYNAMIC_PLUGIN -DPLUGIN_GSSAPI -Dauth_gssapi_EXPORTS -Iinclude -Isql
-O2 -pipe -L/usr/local/lib -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -L/usr/local/lib
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-isystem /usr/local/include -DDBUG_OFF -fPIC -isystem /usr/local/include
-std=gnu++11 -MD -MT
plugin/auth_gssapi/CMakeFiles/auth_gssapi.dir/gssapi_server.cc.o -MF
plugin/auth_gssapi/CMakeFiles/auth_gssapi.dir/gssapi_server.cc.o.d -o
plugin/auth_gssapi/CMakeFiles/auth_gssapi.dir/gssapi_server.cc.o -c
plugin/auth_gssapi/gssapi_server.cc
[00:18:30] FAILED:
plugin/auth_gssapi/CMakeFiles/auth_gssapi.dir/gssapi_server.cc.o
[00:18:30] /usr/bin/c++ -DDBUG_TRACE -DHAVE_CONFIG_H -DMYSQL_DYNAMIC_PLUGIN
-DPLUGIN_GSSAPI -Dauth_gssapi_EXPORTS -Iinclude -Isql -O2 -pipe
-L/usr/local/lib -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -L/usr/local/lib
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-isystem /usr/local/include -DDBUG_OFF -fPIC -isystem /usr/local/include
-std=gnu++11 -MD -MT
plugin/auth_gssapi/CMakeFiles/auth_gssapi.dir/gssapi_server.cc.o -MF
plugin/auth_gssapi/CMakeFiles/auth_gssapi.dir/gssapi_server.cc.o.d -o
plugin/auth_gssapi/CMakeFiles/auth_gssapi.dir/gssapi_server.cc.o -c
plugin/auth_gssapi/gssapi_server.cc
[00:18:30] c++: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
[00:18:30] c++: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
[00:18:30] plugin/auth_gssapi/gssapi_server.cc:79:5: error: use of undeclared
identifier 'krb5_xfree'
[00:18:30] krb5_free_unparsed_name(context, unparsed_name);
[00:18:30] ^
[00:18:30] plugin/auth_gssapi/gssapi_server.cc:34:38: note: expanded from macro
'krb5_free_unparsed_name'
[00:18:30] #define krb5_free_unparsed_name(a,b) krb5_xfree(b)
[00:18:30] ^
[00:18:30] 1 error generated.
[00:18:30] ninja: build stopped: subcommand failed.
[00:18:30] *** Error code 1
[00:18:30]
[00:18:30] Stop.
[00:18:30] make: stopped in /usr/ports/databases/mariadb105-server
>From extracting security/krb5 and checking its sources, there is no krb5_xfree
in that port.
I'm honestly not sure why this is happening, looking at mariadb's source code
for 10.5, the CMakeLists.txt for auth_gssapi should be checking for krb5_xfree
in krb5.h and only set the HAVE_KRB5_XFREE definition is that is the case, but
as can be seen in the above, there is no -DHAVE_KRB5_XFREE in the c++
invocation . To me this rules out that it is finding the definition of
krb5_xfree in the base implementation.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list