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): storage/innobase/CMakeLists.txt:28 (MYSQL_CHECK_LZ4) ```
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: Author: brnrd Date: Sun Feb 2 17:58:01 UTC 2020 New revision: 524993 URL: https://svnweb.freebsd.org/changeset/ports/524993 Log: databases/mariadb101-server: Security update to 10.1.44 PR: 243279 MFH: 2020Q1 Security: a6cf65ad-37d2-11ea-a1c7-b499baebfeaf Security: CVE-2020-2574 Changes: head/databases/mariadb101-server/Makefile head/databases/mariadb101-server/distinfo
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.