Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2013 16:11:29 GMT
From:      Eugene <genie@geniechka.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179841: mysql56-client fails due do missing/invalid editline library
Message-ID:  <201306221611.r5MGBTk5060886@oldred.freebsd.org>
Resent-Message-ID: <201306221620.r5MGK0Bo038902@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179841
>Category:       ports
>Synopsis:       mysql56-client fails due do missing/invalid editline library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 22 16:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Eugene
>Release:        8.2-RELEASE-p6
>Organization:
>Environment:
FreeBSD s1.loshmanov.ru 8.2-RELEASE-p6 FreeBSD 8.2-RELEASE-p6 #3: Sun Mar 11 21:28:08 MSK 2012     root@s1.loshmanov.ru:/usr/obj/usr/src/sys/OUR  amd64
>Description:
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
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306221611.r5MGBTk5060886>