Bug 222223 - textproc/rubygem-charlock_holmes: fails to set C++11 or later as required by ICU >= 59
Summary: textproc/rubygem-charlock_holmes: fails to set C++11 or later as required by ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jun Kuriyama
URL:
Keywords: needs-patch
Depends on:
Blocks: 222433
  Show dependency treegraph
 
Reported: 2017-09-11 12:43 UTC by Jan Beich
Modified: 2018-02-06 15:48 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2017-09-11 12:43:35 UTC
In file included from transliterator.cpp:5:
In file included from /usr/local/include/unicode/translit.h:25:
/usr/local/include/unicode/unistr.h:3025:7: error: delegating constructors are permitted only in C++11
      UnicodeString(ConstChar16Ptr(text)) {}
      ^~~~~~~~~~~~~
/usr/local/include/unicode/unistr.h:3087:7: error: delegating constructors are permitted only in C++11
      UnicodeString(ConstChar16Ptr(text), length) {}
      ^~~~~~~~~~~~~
/usr/local/include/unicode/unistr.h:3180:7: error: delegating constructors are permitted only in C++11
      UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {}
      ^~~~~~~~~~~~~

http://package23.nyi.freebsd.org/data/103i386-default-PR218788/2017-05-17_09h18m57s/logs/errors/rubygem-charlock_holmes-0.7.3_5.log
Comment 1 Jan Beich freebsd_committer freebsd_triage 2017-09-11 12:44:36 UTC
The fix is to add USES=compiler:c++11-lib + USE_CXXSTD=gnu++11 then bump PORTREVISION. However, it doesn't help because the port doesn't respect CXXFLAGS.
Comment 2 Jan Beich freebsd_committer freebsd_triage 2017-09-12 19:43:33 UTC
Builds fine after https://reviews.freebsd.org/differential/changeset/?ref=316632
Comment 3 Jan Beich freebsd_committer freebsd_triage 2017-09-18 22:04:37 UTC
Reviving the issue. devel/icu workaround is hard to maintain.
Comment 4 Jan Beich freebsd_committer freebsd_triage 2018-02-06 15:48:46 UTC
Obsoleted by ports r451874.