Bug 222223

Summary: textproc/rubygem-charlock_holmes: fails to set C++11 or later as required by ICU >= 59
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Jun Kuriyama <kuriyama>
Status: Closed FIXED    
Severity: Affects Only Me CC: kuriyama
Priority: --- Keywords: needs-patch
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 222433    

Description Jan Beich freebsd_committer 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 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 2017-09-12 19:43:33 UTC
Builds fine after https://reviews.freebsd.org/differential/changeset/?ref=316632
Comment 3 Jan Beich freebsd_committer 2017-09-18 22:04:37 UTC
Reviving the issue. devel/icu workaround is hard to maintain.
Comment 4 Jan Beich freebsd_committer 2018-02-06 15:48:46 UTC
Obsoleted by ports r451874.