Created attachment 205350 [details] patch Also in https://github.com/proller/freebsd-ports/tree/master/databases/clickhouse
Apparently there is something wrong with the install target. Seems most of the port installs in the wrong directories. I'll attach a poudriere build log, please have a look
Created attachment 205411 [details] Build error log from poudriere
(In reply to Thomas Zander from comment #2) I've looked at this port and all the files poudriere complains about look very wrong. It doesn't seem they even should be there. E.g.: Error: Missing: %%DATADIR%%/headers/%%SOVERSION%%/usr/lib/clang/6.0.0/include/xtestintrin.h Error: Missing: %%DATADIR%%/headers/%%SOVERSION%%/usr/local/include/Poco/Alignment.h Why should parts of base clang be installed with the port? Simply deleting all this from pkg-plist fixed build for me, clickhouse starts and works normally. I'll attach the patch, have a look please.
Created attachment 206296 [details] clickhouse-19.9.2.4 Please, have a look at the patch with fixed pkg-plist. Lots of files seems to be there by mistake.
It was not mistake, it some internal specialty with depend on llvm.
Created attachment 206303 [details] clickhouse-19.11.5.28 Update to 19.11.5.28 with cleaned header files
A commit references this bug: Author: riggs Date: Fri Aug 9 10:22:44 UTC 2019 New revision: 508434 URL: https://svnweb.freebsd.org/changeset/ports/508434 Log: Update to upstream version 19.11.5.28 PR: 238822 Submitted by: proler@gmail.com (maintainer) Changes: head/databases/clickhouse/Makefile head/databases/clickhouse/distinfo head/databases/clickhouse/pkg-plist