PAM plugin build warning for IF...ENDIF

Bug #1541601 reported by Tomislav Plavcic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
Invalid
Undecided
Unassigned
5.6
Invalid
Undecided
Unassigned
5.7
Fix Released
Low
Tomislav Plavcic

Bug Description

When building 5.7.10-rc2 I see following:
21:06:11 CMake Warning (dev) in plugin/percona-pam-for-mysql/CMakeLists.txt:
21:06:11 A logical block opening on the line
21:06:11
21:06:11 /mnt/workspace/percona-server-5.7-debian-binary/label_exp/ubuntu-precise-64bit/percona-server-5.7-5.7.10-2rc2/plugin/percona-pam-for-mysql/CMakeLists.txt:29 (IF)
21:06:11
21:06:11 closes on the line
21:06:11
21:06:11 /mnt/workspace/percona-server-5.7-debian-binary/label_exp/ubuntu-precise-64bit/percona-server-5.7-5.7.10-2rc2/plugin/percona-pam-for-mysql/CMakeLists.txt:42 (ENDIF)
21:06:11
21:06:11 with mis-matching arguments.
21:06:11 This warning is for project developers. Use -Wno-dev to suppress it.

This doesn't look ok:
IF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE_GETGRGID_R AND HAVE_DLFCN_H)
...
ENDIF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE_GETGRGID_R)

tags: added: pam
tags: added: low-hanging-fruit
Revision history for this message
Roel Van de Paar (roel11) wrote :

BLD-400

tags: added: qa57
Changed in percona-server:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Tomislav Plavcic (tplavcic)
Revision history for this message
Tomislav Plavcic (tplavcic) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3371

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.