| Summary: | databases/mariadb105-server: Fails to build with MIT Kerberos: gssapi_server.cc:79:5: error: use of undeclared identifier 'krb5_xfree' | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Naram Qashat <cyberbotx> |
| Component: | Individual Port(s) | Assignee: | Bernard Spil <brnrd> |
| Status: | Closed Overcome By Events | ||
| Severity: | Affects Some People | CC: | bofh, mhfb |
| Priority: | --- | Keywords: | needs-patch, needs-qa |
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(brnrd) koobs: merge-quarterly? |
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Naram Qashat
2020-07-19 20:56:21 UTC
Do other databases/mariadb*-server fail in the same manner? I've only ever tried to compile mariadb103-server and mariadb104-server with those options in the past and have not had any errors in building those. I do not know about the older ones. I'm having the same iussue with 10.5 and tried 10.4 which compiles with no issues with the same make flags used. Hi @Naram, @Mariusz, can you chase this patch down to a working svn diff for the port? Sounds like it also needs a ticket in upstream JIRA. This was introduced a month ago in https://github.com/MariaDB/server/commit/93cee30309588b62312debba714eec06ea5b2063 perhaps they broke MIT compat? I would assume that commit is the reason for the breakage, but past that, I don't know how we could patch the FreeBSD port or what sort of patch would need to be submitted upstream. I also can't see why that commit would break things, as mentioned in my initial comment, there doesn't seem to be any reference to HAVE_KRB5_XFREE in the c++ call so the directive isn't defined which means it shouldn't actually be using that redefine macro at all. There must be something else going on that I'm not seeing. I'm having the same build issue with default options (no entry in /var/db/ports/databases_mariadb105-server or any earlier version of it) on FreeBSD-12.1-RELEASE-p7, I'm using make -DBATCH. I noticed one change (10.4 -> 10.5) in plugin/auth_gssapi/CMakeLists.txt SET(CMAKE_REQUIRED_FLAGS "-Werror -Wall") This was added in 10.5. After removing this line manually, the build finishes without problems. I think this could probably be closed now. The recent update to 10.5.5 appears to no longer have a build failure due to this. As per Naram's comment, fixed in 10.5.5 |