Bug 213643

Summary: databases/percona-pam-for-mysql: need USES+=libedit
Product: Ports & Packages Reporter: Dima Panov <fluffy>
Component: Individual Port(s)Assignee: Mark Felder <feld>
Status: Closed FIXED    
Severity: Affects Only Me CC: feld
Priority: --- Flags: bugzilla: maintainer-feedback? (flo)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
databases/percona-pam-for-mysql: need USES+=libedit none

Description Dima Panov freebsd_committer freebsd_triage 2016-10-20 13:47:01 UTC
Created attachment 175973 [details]
databases/percona-pam-for-mysql: need USES+=libedit

databases/percona-pam-for-mysql faiil in clean poudriere due to missing editline (percona56-client always declade dependency on editline, percona56-server always pass it from client)

-- EDITLINE_INCLUDE_DIR /usr/include/edit/readline
-- EDITLINE_LIBRARY /usr/lib/libedit.so
-- Performing Test EDITLINE_HAVE_HIST_ENTRY
-- Performing Test EDITLINE_HAVE_HIST_ENTRY - Success
-- Performing Test EDITLINE_HAVE_COMPLETION
-- Performing Test EDITLINE_HAVE_COMPLETION - Failed
CMake Error at cmake/readline.cmake:285 (MESSAGE):
  Cannot find system editline libraries.
Call Stack (most recent call first):
  CMakeLists.txt:429 (MYSQL_CHECK_EDITLINE)


Fix: declare editline dependency in masterport for any out-of-source plugins too.
Comment 1 Mark Felder freebsd_committer freebsd_triage 2016-10-20 19:02:39 UTC
Thank you for catching this! Testing a build on 11-RELEASE now...
Comment 2 Mark Felder freebsd_committer freebsd_triage 2016-10-20 20:08:03 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-10-20 20:08:40 UTC
A commit references this bug:

Author: feld
Date: Thu Oct 20 20:07:51 UTC 2016
New revision: 424354
URL: https://svnweb.freebsd.org/changeset/ports/424354

Log:
  databases/percona-pam-for-mysql: Fix build

  The build was failing on 11 and head due to missing USES=libedit

  PR:		213643

Changes:
  head/databases/percona-pam-for-mysql/Makefile
  head/databases/percona56-server/Makefile