I ran into pretty much the same errors as Antal during an upgrade of frog (0.17 -> 0.18.1) and its dependency ucto (0.16 -> 0.17). These errors didn't really help me figure out what went wrong, but I found the troubleshooting information and it worked.
Because of dependencies on libfolia and ticcutils, I had to use brew uninstall --ignore-dependencies libfolia ticcutils before successfully upgrading ucto.
m0022105:~ companjenba$ brew uninstall libfolia ticcutils
Error: Refusing to uninstall /usr/local/Cellar/ticcutils/0.21 and /usr/local/Cellar/libfolia/2.1
because they are required by frog, mbt, timbl, timblserver and ucto, which are currently installed.
You can override this and force removal with:
brew uninstall --ignore-dependencies libfolia ticcutils
m0022105:~ companjenba$ brew uninstall --ignore-dependencies libfolia ticcutils
Uninstalling /usr/local/Cellar/libfolia/2.1... (24 files, 10.3MB)
Uninstalling /usr/local/Cellar/ticcutils/0.21... (42 files, 1.9MB)
m0022105:~ companjenba$ brew install ucto
==> Installing ucto from fbkarsdorp/lamachine
Error: ucto 0.16 is already installed
To upgrade to 0.17, run `brew upgrade ucto`.
m0022105:~ companjenba$ brew upgrade ucto
==> Upgrading 1 outdated package:
fbkarsdorp/lamachine/ucto 0.16 -> 0.17
==> Upgrading fbkarsdorp/lamachine/ucto
==> Installing dependencies for fbkarsdorp/lamachine/ucto: ticcutils and libfolia
==> Installing fbkarsdorp/lamachine/ucto dependency: ticcutils
==> Downloading https://github.com/LanguageMachines/ticcutils/releases/download/v0.21/ticcutils-0.21.tar.gz
Already downloaded: /Users/companjenba/Library/Caches/Homebrew/downloads/a8352b8a6ba43d3605a51c1e504d430e145e64ee52871c55b6d46d06f73f025d--ticcutils-0.21.tar.gz
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/ticcutils/0.21
==> make install
🍺 /usr/local/Cellar/ticcutils/0.21: 42 files, 1.9MB, built in 52 seconds
==> Installing fbkarsdorp/lamachine/ucto dependency: libfolia
==> Downloading https://github.com/LanguageMachines/libfolia/releases/download/v2.1/libfolia-2.1.tar.gz
Already downloaded: /Users/companjenba/Library/Caches/Homebrew/downloads/5f7e9c1a44ff841d96fb736606fd8bced4e9eec38352147ca614a517ff1889fc--libfolia-2.1.tar.gz
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/libfolia/2.1
==> make install
==> make check
🍺 /usr/local/Cellar/libfolia/2.1: 24 files, 10.3MB, built in 1 minute 5 seconds
==> Installing fbkarsdorp/lamachine/ucto
==> Downloading https://github.com/LanguageMachines/ucto/releases/download/v0.17/ucto-0.17.tar.gz
Already downloaded: /Users/companjenba/Library/Caches/Homebrew/downloads/5780f67ae2e3027d9295d6e5143f065a3e2e56c2cb8848fd889ed791fbf5fd00--ucto-0.17.tar.gz
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/ucto/0.17
==> make install
==> make check
🍺 /usr/local/Cellar/ucto/0.17: 21 files, 1.3MB, built in 34 seconds
Removing: /usr/local/Cellar/ucto/0.16... (21 files, 1.3MB)
Removing: /Users/companjenba/Library/Caches/Homebrew/ucto--0.16.tar.gz... (469.9KB)
==> Upgrading 1 dependent:
fbkarsdorp/lamachine/frog 0.17 -> 0.18.1
==> Upgrading fbkarsdorp/lamachine/frog
==> Downloading https://github.com/LanguageMachines/frog/releases/download/v0.18.1/frog-0.18.1.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/20526435/68f04200-9291-11e9-84e8-79abc1709d2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/frog/0.18.1
==> make install
==> Caveats
Before using frog, please link the frogdata to the correct location.
ln -s /usr/local/opt/frogdata/share/frog/ /usr/local/opt/frog/share
==> Summary
🍺 /usr/local/Cellar/frog/0.18.1: 38 files, 5.0MB, built in 1 minute 33 seconds
Removing: /usr/local/Cellar/frog/0.17... (38 files, 5.0MB)
Removing: /Users/companjenba/Library/Caches/Homebrew/frog--0.17.tar.gz... (532.5KB)
==> Caveats
==> frog
Before using frog, please link the frogdata to the correct location.
ln -s /usr/local/opt/frogdata/share/frog/ /usr/local/opt/frog/share
Since it only happens on rare occasions, this doesn't need to get high priority, but it would be nice to get a hint where to look to fix the errors. Or even better: figure out if the right version of icu4c was used. Should that be an issue for ucto itself?
This is an enhancement request, very much related to #2 and the troubleshooting section on icu4c.
I ran into pretty much the same errors as Antal during an upgrade of frog (0.17 -> 0.18.1) and its dependency ucto (0.16 -> 0.17). These errors didn't really help me figure out what went wrong, but I found the troubleshooting information and it worked.
Because of dependencies on
libfolia
andticcutils
, I had to usebrew uninstall --ignore-dependencies libfolia ticcutils
before successfully upgradingucto
.Since it only happens on rare occasions, this doesn't need to get high priority, but it would be nice to get a hint where to look to fix the errors. Or even better: figure out if the right version of icu4c was used. Should that be an issue for ucto itself?