Bug 213643 - databases/percona-pam-for-mysql: need USES+=libedit
Summary: databases/percona-pam-for-mysql: need USES+=libedit
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Felder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-20 13:47 UTC by Dima Panov
Modified: 2016-10-20 20:08 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (flo)


Attachments
databases/percona-pam-for-mysql: need USES+=libedit (781 bytes, patch)
2016-10-20 13:47 UTC, Dima Panov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Panov freebsd_committer 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 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 2016-10-20 20:08:03 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer 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