cmake was updated on Jan 6th and since then my mariadb101-server poudriere build has been failing. I have the 'LZ4' port option enabled and it seems that the cmake build can't find lz4.
Attached is the poudriere build log.
Created attachment 210641 [details]
mariadb101-server poudriere build log
The important bit is in the configure / cmake output:
-- =====> cpprestsdk package not found
-- Looking for include file lz4.h
-- Looking for include file lz4.h - found
-- Looking for LZ4_compress_limitedOutput in lz4
-- Looking for LZ4_compress_limitedOutput in lz4 - not found
-- Looking for LZ4_compress_default in lz4
-- Looking for LZ4_compress_default in lz4 - not found
CMake Error at cmake/lz4.cmake:31 (MESSAGE):
Required lz4 library is not found
Call Stack (most recent call first):
Issue is with paths used by cmake during detection.
Since I'm not a cmake guru, I'm marking the options BROKEN for 10.1 with a hint to update to a newer version (10.[2-4]).
Update of the port coming up for the security fix.
A commit references this bug:
Date: Sun Feb 2 17:58:01 UTC 2020
New revision: 524993
databases/mariadb101-server: Security update to 10.1.44
Marked BROKEN in r524993
and set EXPIRY in r524999
Later versions do build normally with LZ4 OPTION enabled (as brnrd@ mentions), so it seems the best thing would be to just chase an update.
I did check the differences between these versions. The 10.1 cmake script is a completely different implementation.