Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2012 03:14:35 GMT
From:      Ross <basarevych@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166898: net-mgmt/collectd looks for outdated libmemcached.so version
Message-ID:  <201204130314.q3D3EZ8o085745@red.freebsd.org>
Resent-Message-ID: <201204130320.q3D3KC43006704@freefall.freebsd.org>

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

>Number:         166898
>Category:       ports
>Synopsis:       net-mgmt/collectd looks for outdated libmemcached.so version
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 03:20:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Ross
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD coffin.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sun Feb 12 15:50:18 EET 2012     root@coffin.local:/usr/obj/share/freebsd/RELENG_9_0/src/sys/COFFIN  amd64
>Description:
If collectd is built with memcached support, Makefile adds:

LIB_DEPENDS+=   memchached.8:${PORTSDIR}/databases/libmemcached

But current version of libmemcached installs /usr/local/lib/libmemcached.so.9

>How-To-Repeat:
Build collectd with MEMCACHED enabled
>Fix:
Change Makefile: memchached.8 to memchached.9

Patch attached with submission follows:

--- Makefile.orig	2012-04-13 06:09:58.000000000 +0300
+++ Makefile	2012-04-13 05:55:10.000000000 +0300
@@ -260,7 +260,7 @@
 .endif
 
 .if defined(WITH_MEMCACHED)
-LIB_DEPENDS+=	memcached.8:${PORTSDIR}/databases/libmemcached
+LIB_DEPENDS+=	memcached.9:${PORTSDIR}/databases/libmemcached
 CONFIGURE_ARGS+=--enable-memcached
 CONFIGURE_ARGS+=--with-libmemcached=${LOCALBASE}
 PLIST_SUB+=	MEMCACHED=""


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



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