Summary: | textproc/sphinxsearch does not compile | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Gerrit Beine <mail+freebsd> | ||||
Component: | Individual Port(s) | Assignee: | Matthew Seaman <matthew> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Only Me | CC: | olivierw1+bugzilla-freebsd, w.schwarzenfeld | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(matthew) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Thank you very much for your report. This seems to be localized in the libstemmer code. I'll look into it over the weekend, but if you need a quick work-around, disabling the LIBSTEMMER option should get you running at least. (In reply to Matthew Seaman from comment #1) Thank you very much for your fast reply! I'll try to compile it without libstemmer. Libstemmer is no problem on my system (10.3-amd64). I had to set off re2. (In reply to w.schwarzenfeld from comment #3) Yes, you are correct. The LIBSTEMMER option has no effect on this problem, but the RE2 option does. Turn off RE2 as a work-around. Now to work out why this is happening: ``` /usr/local/include/re2/re2.h:915:5: error: no matching function for call to 'call_once' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~~~~~~ /usr/include/c++/v1/mutex:559:1: note: candidate function template not viable: requires 2 arguments, but 3 were provided call_once(once_flag& __flag, _Callable& __func) ^ /usr/include/c++/v1/mutex:571:1: note: candidate function template not viable: requires 2 arguments, but 3 were provided call_once(once_flag& __flag, const _Callable& __func) ^ ``` Re2 option compiles with the older revision of devel/re2 (r437439). I could compile it with re2 on. If I comment out the whole section between line 880 and 920 (#ifndef swig <-> #endif) in /usr/local/include/re2/re2.h. Seem it is need another or additional condition. A commit references this bug: Author: matthew Date: Sun May 14 20:33:31 UTC 2017 New revision: 440902 URL: https://svnweb.freebsd.org/changeset/ports/440902 Log: Pending a better fix, mark broken when the RE2 option is enabled. Recent versions of devel/re2 install headers that result in error messages like so: /usr/local/include/re2/re2.h:915:5: error: no matching function for call to 'call_once' std::call_once(once_, &LazyRE2::Init, this); ^~~~~~~~~~~~~~ No change to the default package, so no PORTREVISION bump. PR: 219239 Submitted by: mail+freebsd@gerritbeine.de, w.schwarzenfeld@utanet.at Changes: head/textproc/sphinxsearch/Makefile I think this could be closed. Seems only forgotten to close. Agreed. |
Created attachment 182545 [details] Compilation log from poudriere Compilation via poudriere fails with notice of bad C++ code, the same happens on amd64, armv6 and i386.