Bug 235884

Summary: sysutils/goaccess does not build with TOKYOCABINET_MHASH=on
Product: Ports & Packages Reporter: Miroslav Lachman <000.fbsd>
Component: Individual Port(s)Assignee: Sofian Brabez <sbz>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (sbz)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
poudriere build failure full log
none
patch-typo-Makefile none

Description Miroslav Lachman 2019-02-20 14:27:50 UTC
Created attachment 202187 [details]
poudriere build failure full log

I cannot build goaccess in my poudriere if I have TOKYOCABINET_MHASH enabled


checking for tchdbnew in -ltokyocabinet... no
configure: error: *** Missing development libraries for Tokyo Cabinet Database

It builds fine without it.
Comment 1 Walter Schwarzenfeld freebsd_triage 2019-02-20 15:14:24 UTC
It is a typo in the Makefile
TOKYOCABINET_HASH_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet

should be

TOKYOCABINET_MHASH_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
Comment 2 Walter Schwarzenfeld freebsd_triage 2019-02-20 15:23:26 UTC
Created attachment 202188 [details]
patch-typo-Makefile
Comment 3 Miroslav Lachman 2019-02-20 16:21:19 UTC
Good catch. Confirmed patch solved the problem.
Comment 4 Walter Schwarzenfeld freebsd_triage 2019-08-21 08:12:22 UTC
Maintainer feedback, please!
Comment 5 Sofian Brabez freebsd_committer freebsd_triage 2020-07-11 16:20:18 UTC
Hi, it seems this patch is now applied and the typo is fixed on HEAD into the port sysutils/goaccess/Makefile.

$ grep MHASH /usr/ports/sysutils/goaccess/Makefile 
OPTIONS_RADIO_TOKYOCABINET=	TOKYOCABINET_BTREE TOKYOCABINET_MHASH
TOKYOCABINET_MHASH_DESC=	Storage using on-memory hash database
TOKYOCABINET_MHASH_CONFIGURE_ON=	--enable-tcb=memhash
TOKYOCABINET_MHASH_LIB_DEPENDS=	libtokyocabinet.so:databases/tokyocabinet

Thanks! I will closed it.