PAM plugin causes build failures on MacOS X
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Low
|
Stewart Smith | ||
5.5 |
Fix Released
|
Low
|
Stewart Smith | ||
percona-pam-for-mysql |
Fix Released
|
Low
|
Stewart Smith |
Bug Description
Gergo Erdosi <email address hidden> reported on percona-discuss that homebrew (tool for building software on MacOSX) couldn't build PS 5.5.24-26.0 due to this error:
/tmp/homebrew-
fatal error: 'security/
A solution was later found (again by Gergo):
I did a quick test. If I add these lines to configure.cmake:
CHECK_
CHECK_
And change auth_pam_common.h to:
#if HAVE_SECURITY_
#include <security/
#elif HAVE_SECURITY_
#include <security/
#endif
Then the package compiles. However I don't have the resources to
actually test PAM authentication, so can't say for sure this is the
solution.
Gergo Erdosi
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 28 lines (+6/-0)2 files modifiedCMakeLists.txt (+2/-0)
src/auth_pam_common.h (+4/-0)
Changed in percona-server: | |
status: | New → In Progress |
Changed in percona-pam-for-mysql: | |
status: | New → In Progress |
assignee: | nobody → Stewart Smith (stewart) |
importance: | Undecided → Low |
Changed in percona-pam-for-mysql: | |
status: | In Progress → Fix Released |
Setting to Fix Released as the PAM branches have been merged back, although I'm not sure when this specific fix hit PS.