Bug 238822

Summary: databases/clickhouse update to 19.9.2.4
Product: Ports & Packages Reporter: proler
Component: Individual Port(s)Assignee: Thomas Zander <riggs>
Status: Closed FIXED    
Severity: Affects Only Me CC: proler, riggs, sergey
Priority: --- Keywords: needs-qa, patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
Build error log from poudriere
none
clickhouse-19.9.2.4
sergey: maintainer-approval? (proler)
clickhouse-19.11.5.28 none

Comment 1 Thomas Zander freebsd_committer freebsd_triage 2019-06-29 11:31:42 UTC
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
Comment 2 Thomas Zander freebsd_committer freebsd_triage 2019-06-29 11:35:18 UTC
Created attachment 205411 [details]
Build error log from poudriere
Comment 3 Sergey Akhmatov 2019-08-05 16:17:36 UTC
(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.
Comment 4 Sergey Akhmatov 2019-08-05 16:19:24 UTC
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.
Comment 5 proler 2019-08-06 11:20:17 UTC
It was not mistake, it some internal specialty with depend on llvm.
Comment 6 proler 2019-08-06 11:21:31 UTC
Created attachment 206303 [details]
clickhouse-19.11.5.28

Update to 19.11.5.28 with cleaned header files
Comment 7 commit-hook freebsd_committer freebsd_triage 2019-08-09 10:23:29 UTC
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