Bug 179841

Summary: databases/mysql56-client fails due do missing/invalid editline library
Product: Ports & Packages Reporter: Eugene R <genie>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Eugene R 2013-06-22 17:20:00 UTC
Probably caused by changes in MySQL handling of libedit/editline in 5.6.12 
(A new CMake option, WITH_EDITLINE, is provided to indicate whether to use the bundled or system libedit/editline library. The permitted values are bundled (the default) and system. WITH_EDITLINE replaces WITH_LIBEDIT, which has been removed).
Make of myql56-client now fails. With system libedit it seems not to find a library at all, with installed devel/libedit port it complains about missing features:
-- EDITLINE_INCLUDE_DIR /usr/local/include/editline
-- EDITLINE_LIBRARY /usr/local/lib/libedit.so
-- Performing Test EDITLINE_HAVE_HIST_ENTRY
-- Performing Test EDITLINE_HAVE_HIST_ENTRY - Failed
-- Performing Test EDITLINE_HAVE_COMPLETION
-- Performing Test EDITLINE_HAVE_COMPLETION - Failed
CMake Error at cmake/readline.cmake:206 (MESSAGE):
  Cannot find system editline libraries.
Call Stack (most recent call first):
  CMakeLists.txt:325 (MYSQL_CHECK_EDITLINE)

On another machine (FreeBSD 9.1) all works fine.

How-To-Repeat: 1. update port tree to mysql 5.6.12
2. try to make mysql56-client
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-22 18:37:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2013-06-24 09:31:07 UTC
State Changed
From-To: open->closed

FreeBSD 8.2 is not supported anymore. Not reproduceable on FreeBSD 8.3.