fbkarsdorp / homebrew-lamachine

Brew formulas for installing NLP software developed by the Language Machines research group
5 stars 1 forks source link

ticcutils installation breaks on ICU import! #10

Closed proycon closed 6 years ago

proycon commented 6 years ago

It seems homebrew released a new libicu today (61.1) which breaks things (right on the day I release LaMachine v2 ;) ):

==> Installing fbkarsdorp/lamachine/ticcutils
==> Downloading https://github.com/LanguageMachines/ticcutils/releases/download/v0.18/ticcutils-0.18.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/9028755/b65a88ba-157f-11e8-8ffd-de0d9b062976?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180329%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180329T085717Z&X-Amz-Expires=300&X-Amz-Signature=e0a2200d3d5b9fa29711181bad7b7bcf3ab1e4726e0465acf11f700a03495e69&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dticcutils-0.18.tar.gz&response-content-type=application%2Foctet-stream
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/ticcutils/0.18
==> make install
Last 15 lines from /Users/travis/Library/Logs/Homebrew/ticcutils/02.make:
class U_I18N_API RegexMatcher U_FINAL : public UObject {
                 ^
In file included from Unicode.cxx:28:
../include/ticcutils/Unicode.h:78:17: error: unknown type name 'UnicodeString'; did you mean 'icu_61::UnicodeString'?
    std::vector<UnicodeString> results;
                ^~~~~~~~~~~~~
                icu_61::UnicodeString
/usr/local/Cellar/icu4c/61.1/include/unicode/unimatch.h:24:7: note: 'icu_61::UnicodeString' declared here
class UnicodeString;
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [Unicode.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install-recursive] Error 1
proycon commented 6 years ago

Ok, requires upstream change, can trace this to https://ssl.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild