fbkarsdorp / homebrew-lamachine

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

[macOS ARM64] conditional "OLD_LM" was never defined #17

Closed proycon closed 1 year ago

proycon commented 2 years ago

On installing ucto (v0.25), this fatal error occurs now (macOS, M1):

 ==> Installing fbkarsdorp/lamachine/frog dependency: ucto
==> ./configure --prefix=/opt/homebrew/Cellar/ucto/0.25
Last 15 lines from /Users/sebastiaan/Library/Logs/Homebrew/ucto/01.configure:
configure: pkg-config: PATH=/opt/homebrew/Cellar/ucto/0.25/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/libxml2/lib/pkgconfig:/opt/homebrew/opt/zlib/lib/pkgconfig:/opt/homebrew/opt/ticcutils/lib/pkgconfig:/opt/homebrew/opt/libfolia/lib/pkgconfig:/opt/homebrew/opt/uctodata/lib/pkgconfig
checking for libexttextcat... no
checking for libtextcat... no
checking for libtextcat/textcat.h... yes
checking for library containing textcat_Init... none required
configure: textcat Language Model files not found. Textcat disabled.
checking for icu-uc >= 50 icu-io ... yes
checking for libxml-2.0 >= 2.6.16 ... yes
checking for folia >= 2.9 ... yes
checking for ticcutils >= 0.22 ... yes
checking for uctodata... yes
checking for uctodata >= 0.9... yes
checking that generated files are newer than configure... done
configure: error: conditional "OLD_LM" was never defined.
Usually this means the macro was only invoked conditionally.
svandaalen commented 2 years ago

Above error occurred on MacBook Air 2020 M1 (8CPU/7GPU cores, 16GB) running MacOS 12.4.

Output of brew config M1 Mac:

HOMEBREW_VERSION: 3.5.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: 0b030b74e2ac518bd0bc4158f96c449198f9957f
Last commit: 29 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 7a4add20204bbabcf05dbaa4cfcc439438706472
Core tap last commit: 81 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.1.6 build 1316
Git: 2.32.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.4-arm64
CLT: 13.4.0.0.1.1651278267
Xcode: N/A
Rosetta 2: false
svandaalen commented 2 years ago

Installing frog (and therefore ucto) works fine on work Intel MacBook Pro 16" 2019.

brew install frog
==> Downloading https://ghcr.io/v2/homebrew/core/libxml2/manifests/2.9.14_3
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxml2/blobs/sha256:56fef01e0a6a25e5
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/bzip2/manifests/1.0.8-1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/bzip2/blobs/sha256:f693e5af4c3c047ab1
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:f
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/zlib/manifests/1.2.12
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/zlib/blobs/sha256:5072d7b94690a52220f
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libtar/manifests/1.2.20-2
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libtar/blobs/sha256:de9f3cf843c333e94
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:d
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/ticcutils/releases/download/v0.29/
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/timbl/releases/download/v6.7/timbl
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/timblserver/releases/download/v1.1
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/mbt/releases/download/v3.8/mbt-3.8
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/mbtserver/releases/download/v0.15/
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/frogdata/releases/download/v0.21/f
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libtextcat/manifests/2.2-1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libtextcat/blobs/sha256:6fc8d211fac04
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/libfolia/releases/download/v2.11/l
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/uctodata/releases/download/v0.9.1/
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/ucto/releases/download/v0.25/ucto-
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Downloading https://github.com/LanguageMachines/frog/releases/download/v0.25/frog-
==> Downloading from https://objects.githubusercontent.com/github-production-release-a
######################################################################## 100.0%
==> Installing frog from fbkarsdorp/lamachine
==> Installing dependencies for fbkarsdorp/lamachine/frog: libxml2, bzip2, zlib, libtar, ticcutils, timbl, timblserver, mbtagger, mbtserver, frogdata, libtextcat, libfolia, uctodata and ucto
==> Installing fbkarsdorp/lamachine/frog dependency: libxml2
==> Pouring libxml2--2.9.14_3.monterey.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/libxml2/2.9.14_3: 288 files, 10.7MB
==> Installing fbkarsdorp/lamachine/frog dependency: bzip2
==> Pouring bzip2--1.0.8.monterey.bottle.1.tar.gz
๐Ÿบ  /usr/local/Cellar/bzip2/1.0.8: 26 files, 532.0KB
==> Installing fbkarsdorp/lamachine/frog dependency: zlib
==> Pouring zlib--1.2.12.monterey.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/zlib/1.2.12: 12 files, 407KB
==> Installing fbkarsdorp/lamachine/frog dependency: libtar
==> Pouring libtar--1.2.20.monterey.bottle.2.tar.gz
๐Ÿบ  /usr/local/Cellar/libtar/1.2.20: 84 files, 229KB
==> Installing fbkarsdorp/lamachine/frog dependency: ticcutils
==> ./configure --prefix=/usr/local/Cellar/ticcutils/0.29
==> make install
๐Ÿบ  /usr/local/Cellar/ticcutils/0.29: 43 files, 2.2MB, built in 42 seconds
==> Installing fbkarsdorp/lamachine/frog dependency: timbl
==> ./configure --prefix=/usr/local/Cellar/timbl/6.7
==> make install
๐Ÿบ  /usr/local/Cellar/timbl/6.7: 42 files, 2.4MB, built in 46 seconds
==> Installing fbkarsdorp/lamachine/frog dependency: timblserver
==> ./configure --prefix=/usr/local/Cellar/timblserver/1.15
==> make install
๐Ÿบ  /usr/local/Cellar/timblserver/1.15: 19 files, 939.6KB, built in 36 seconds
==> Installing fbkarsdorp/lamachine/frog dependency: mbtagger
==> ./configure --prefix=/usr/local/Cellar/mbtagger/3.8 --with-boost=/usr/local/opt/bo
==> make install
๐Ÿบ  /usr/local/Cellar/mbtagger/3.8: 26 files, 1.8MB, built in 28 seconds
==> Installing fbkarsdorp/lamachine/frog dependency: mbtserver
==> ./configure --prefix=/usr/local/Cellar/mbtserver/0.15
==> make install
๐Ÿบ  /usr/local/Cellar/mbtserver/0.15: 18 files, 1.6MB, built in 30 seconds
==> Installing fbkarsdorp/lamachine/frog dependency: frogdata
==> ./configure --prefix=/usr/local/Cellar/frogdata/0.21  --disable-silent-rules
==> make install
๐Ÿบ  /usr/local/Cellar/frogdata/0.21: 97 files, 244.9MB, built in 6 seconds
==> Installing fbkarsdorp/lamachine/frog dependency: libtextcat
==> Pouring libtextcat--2.2.monterey.bottle.1.tar.gz
๐Ÿบ  /usr/local/Cellar/libtextcat/2.2: 176 files, 795KB
==> Installing fbkarsdorp/lamachine/frog dependency: libfolia
==> ./configure --prefix=/usr/local/Cellar/libfolia/2.11
==> make install
==> make check
๐Ÿบ  /usr/local/Cellar/libfolia/2.11: 26 files, 12.2MB, built in 44 seconds
==> Installing fbkarsdorp/lamachine/frog dependency: uctodata
==> ./configure --prefix=/usr/local/Cellar/uctodata/0.9.1
==> make install
๐Ÿบ  /usr/local/Cellar/uctodata/0.9.1: 43 files, 117.5KB, built in 5 seconds
==> Installing fbkarsdorp/lamachine/frog dependency: ucto
==> ./configure --prefix=/usr/local/Cellar/ucto/0.25
==> make install
==> make check
๐Ÿบ  /usr/local/Cellar/ucto/0.25: 21 files, 1.4MB, built in 35 seconds
==> Installing fbkarsdorp/lamachine/frog
==> ./configure --prefix=/usr/local/Cellar/frog/0.25
==> 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.25: 39 files, 6.5MB, built in 1 minute 4 seconds
==> Running `brew cleanup frog`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> 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

Output of brew config on Intel MBP:

brew config
HOMEBREW_VERSION: 3.5.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: 0b030b74e2ac518bd0bc4158f96c449198f9957f
Last commit: 29 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 0e3684dd843069c8637cb6aaa42ec8e7713a6b02
Core tap last commit: 14 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 16-core 64-bit kabylake
Clang: 13.1.6 build 1316
Git: 2.32.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.4-x86_64
CLT: 13.4.0.0.1.1651278267
Xcode: N/A
proycon commented 2 years ago

Thanks! So it's probably only the aarch64 build that fails for some reason.

The only references to OLD_LM are in https://github.com/LanguageMachines/ucto/blob/master/m4/ac_search_lm.m4 , which seems to run fine because it outputs "textcat Language Model files not found. Textcat disabled." as expected. I don't understand why it stumbles over it later.

@kosloot do you have a clue?

proycon commented 2 years ago

Linux aarch64 (gcc+musl) seems to be no problem (Alpine Linux's CI pipeline succeeded fine)

svandaalen commented 2 years ago

Brew verbose and debug installation of ucto on M1:

โžœ  ~ brew install --verbose --debug ucto
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/ucto.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtextcat.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/ticcutils.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/bzip2.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxml2.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.10.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/ca-certificates.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/zlib.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtar.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/libfolia.rb
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/uctodata.rb
==> Downloading https://github.com/LanguageMachines/ucto/releases/download/v0.25/ucto-0.25.tar.gz
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.5.6\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 12.4\)\ curl/7.79.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/LanguageMachines/ucto/releases/download/v0.25/ucto-0.25.tar.gz
Already downloaded: /Users/sebastiaan/Library/Caches/Homebrew/downloads/b138dd41bc2f030d20b67cedca9761381ea0df9504900d09e881eab570127f54--ucto-0.25.tar.gz
==> Verifying checksum for 'b138dd41bc2f030d20b67cedca9761381ea0df9504900d09e881eab570127f54--ucto-0.25.tar.gz'
==> Installing ucto from fbkarsdorp/lamachine
/opt/homebrew/Library/Homebrew/shims/shared/git --version
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtextcat.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/ticcutils.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/bzip2.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxml2.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/zlib.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtar.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/libfolia.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/uctodata.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.10.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/ca-certificates.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/opt/homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
tar --extract --no-same-owner --file /Users/sebastiaan/Library/Caches/Homebrew/downloads/b138dd41bc2f030d20b67cedca9761381ea0df9504900d09e881eab570127f54--ucto-0.25.tar.gz --directory /private/tmp/d20220722-27702-1bltm37
cp -pR /private/tmp/d20220722-27702-1bltm37/ucto-0.25/. /private/tmp/ucto-20220722-27702-17zcu50/ucto-0.25
chmod -Rf +w /private/tmp/d20220722-27702-1bltm37
==> ./configure --disable-dependency-tracking --disable-silent-rules --prefix=/opt/homebrew/Cellar/ucto/0.25
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether clang++ accepts -g... yes
checking for clang++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang++... none
checking build system type... aarch64-apple-darwin21.5.0
checking host system type... aarch64-apple-darwin21.5.0
checking how to print strings... printf
checking for gcc... clang
checking whether the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang understands -c and -o together... yes
checking dependency style of clang... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert aarch64-apple-darwin21.5.0 file names to aarch64-apple-darwin21.5.0 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin21.5.0 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin21.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin21.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether ln -s works... yes
checking for _Bool... no
checking for stdbool.h that conforms to C99... no
checking for inline... inline
checking for size_t... yes
checking for int32_t... yes
checking for a readline compatible library... -lreadline
checking for readline.h... no
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking for history.h... no
checking for readline/history.h... yes
checking for pkg-config... /opt/homebrew/Library/Homebrew/shims/mac/super/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: pkg-config: PATH=/opt/homebrew/Cellar/ucto/0.25/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/libxml2/lib/pkgconfig:/opt/homebrew/opt/zlib/lib/pkgconfig:/opt/homebrew/opt/ticcutils/lib/pkgconfig:/opt/homebrew/opt/libfolia/lib/pkgconfig:/opt/homebrew/opt/uctodata/lib/pkgconfig
checking for libexttextcat... no
checking for libtextcat... no
checking for libtextcat/textcat.h... yes
checking for library containing textcat_Init... none required
configure: textcat Language Model files not found. Textcat disabled.
checking for icu-uc >= 50 icu-io ... yes
checking for libxml-2.0 >= 2.6.16 ... yes
checking for folia >= 2.9 ... yes
checking for ticcutils >= 0.22 ... yes
checking for uctodata... yes
checking for uctodata >= 0.9... yes
checking that generated files are newer than configure... done
configure: error: conditional "OLD_LM" was never defined.
Usually this means the macro was only invoked conditionally.
/opt/homebrew/Library/Homebrew/shims/shared/git --version
/opt/homebrew/Library/Homebrew/shims/shared/curl --version
/opt/homebrew/Library/Homebrew/ignorable.rb:29:in `block in raise'
BuildError: Failed executing: ./configure --disable-dependency-tracking --disable-silent-rules --prefix=/opt/homebrew/Cellar/ucto/0.25
svandaalen commented 2 years ago

Same on Intel MBP where the installation completes without any errors:

brew install --verbose --debug ucto
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).

You have 16 outdated formulae installed.
You can upgrade them with brew upgrade
or list them with brew outdated.

/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/ucto.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtextcat.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/ticcutils.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/bzip2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxml2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.10.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ca-certificates.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/zlib.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtar.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/libfolia.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/uctodata.rb
==> Downloading https://github.com/LanguageMachines/ucto/releases/download/v0.25/ucto-0.25.tar.gz
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.5.6\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 12.4\)\ curl/7.79.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/LanguageMachines/ucto/releases/download/v0.25/ucto-0.25.tar.gz
Already downloaded: /Users/sebastiaanvandaalen/Library/Caches/Homebrew/downloads/b138dd41bc2f030d20b67cedca9761381ea0df9504900d09e881eab570127f54--ucto-0.25.tar.gz
==> Verifying checksum for 'b138dd41bc2f030d20b67cedca9761381ea0df9504900d09e881eab570127f54--ucto-0.25.tar.gz'
==> Installing ucto from fbkarsdorp/lamachine
/usr/local/Homebrew/Library/Homebrew/shims/shared/git --version
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtextcat.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/icu4c.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/ticcutils.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/bzip2.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxml2.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/readline.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/zlib.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtar.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/libfolia.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/uctodata.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/m4.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtool.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.10.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpdecimal.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl@1.1.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ca-certificates.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sqlite.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xz.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python@3.9.rb
tar --extract --no-same-owner --file /Users/sebastiaanvandaalen/Library/Caches/Homebrew/downloads/b138dd41bc2f030d20b67cedca9761381ea0df9504900d09e881eab570127f54--ucto-0.25.tar.gz --directory /private/tmp/d20220722-8718-12eb3km
cp -pR /private/tmp/d20220722-8718-12eb3km/ucto-0.25/. /private/tmp/ucto-20220722-8718-1qduvqw/ucto-0.25
chmod -Rf +w /private/tmp/d20220722-8718-12eb3km
==> ./configure --disable-dependency-tracking --disable-silent-rules --prefix=/usr/local/Cellar/ucto/0.25
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether clang++ accepts -g... yes
checking for clang++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang++... none
checking build system type... x86_64-apple-darwin21.5.0
checking host system type... x86_64-apple-darwin21.5.0
checking how to print strings... printf
checking for gcc... clang
checking whether the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang understands -c and -o together... yes
checking dependency style of clang... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert x86_64-apple-darwin21.5.0 file names to x86_64-apple-darwin21.5.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin21.5.0 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin21.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin21.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether ln -s works... yes
checking for _Bool... no
checking for stdbool.h that conforms to C99... no
checking for inline... inline
checking for size_t... yes
checking for int32_t... yes
checking for a readline compatible library... -lreadline
checking for readline.h... no
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking for history.h... no
checking for readline/history.h... yes
checking for pkg-config... /usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: pkg-config: PATH=/usr/local/Cellar/ucto/0.25/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/zlib/lib/pkgconfig:/usr/local/opt/ticcutils/lib/pkgconfig:/usr/local/opt/libfolia/lib/pkgconfig:/usr/local/opt/uctodata/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig
checking for libexttextcat... no
checking for libtextcat... no
checking for libtextcat/textcat.h... yes
checking for library containing textcat_Init... none required
checking for icu-uc >= 50 icu-io ... yes
checking for libxml-2.0 >= 2.6.16 ... yes
checking for folia >= 2.9 ... yes
checking for ticcutils >= 0.22 ... yes
checking for uctodata... yes
checking for uctodata >= 0.9... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ucto.pc
config.status: creating m4/Makefile
config.status: creating config/Makefile
config.status: creating config/textcat_normal.cfg
config.status: creating config/textcat_alt.cfg
config.status: creating docs/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating include/Makefile
config.status: creating include/ucto/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
==> make install
Making install in src
clang++ -DHAVE_CONFIG_H -I. -I..  -I../include  -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c -o ucto.o ucto.cxx
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -I../include  -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c -o my_textcat.lo my_textcat.cxx
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -I../include  -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c -o setting.lo setting.cxx
/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -I../include  -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c -o tokenize.lo tokenize.cxx
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c my_textcat.cxx  -fno-common -DPIC -o .libs/my_textcat.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c setting.cxx  -fno-common -DPIC -o .libs/setting.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c tokenize.cxx  -fno-common -DPIC -o .libs/tokenize.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c my_textcat.cxx -o my_textcat.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c setting.cxx -o setting.o >/dev/null 2>&1
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -c tokenize.cxx -o tokenize.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CXX   --mode=link clang++ -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -version-info 6:0:0 -ltextcat -o libucto.la -rpath /usr/local/Cellar/ucto/0.25/lib my_textcat.lo setting.lo tokenize.lo  -L/usr/local/Cellar/libfolia/2.11/lib -lfolia -L/usr/local/Cellar/icu4c/70.1/lib -licuio -licui18n -licuuc -licudata  -lreadline -L/usr/local/Cellar/libxml2/2.9.14_3/lib -lxml2 -L/usr/local/Cellar/ticcutils/0.29/lib -lticcutils
libtool: link: clang++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libucto.6.dylib  .libs/my_textcat.o .libs/setting.o .libs/tokenize.o   -ltextcat -L/usr/local/Cellar/libfolia/2.11/lib -lfolia -L/usr/local/Cellar/icu4c/70.1/lib -licuio -licui18n -licuuc -licudata -lreadline -L/usr/local/Cellar/libxml2/2.9.14_3/lib -lxml2 -L/usr/local/Cellar/ticcutils/0.29/lib -lticcutils  -g -O3   -install_name  /usr/local/Cellar/ucto/0.25/lib/libucto.6.dylib -compatibility_version 7 -current_version 7.0 -Wl,-single_module
libtool: link: (cd ".libs" && rm -f "libucto.dylib" && ln -s "libucto.6.dylib" "libucto.dylib")
libtool: link: ar cr .libs/libucto.a  my_textcat.o setting.o tokenize.o
libtool: link: ranlib .libs/libucto.a
libtool: link: ( cd ".libs" && rm -f "libucto.la" && ln -s "../libucto.la" "libucto.la" )
/bin/sh ../libtool  --tag=CXX   --mode=link clang++ -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include  -ltextcat -o ucto ucto.o libucto.la -L/usr/local/Cellar/libfolia/2.11/lib -lfolia -L/usr/local/Cellar/icu4c/70.1/lib -licuio -licui18n -licuuc -licudata  -lreadline -L/usr/local/Cellar/libxml2/2.9.14_3/lib -lxml2 -L/usr/local/Cellar/ticcutils/0.29/lib -lticcutils
libtool: link: clang++ -DSYSCONF_PATH=\"/usr/local/Cellar/ucto/0.25/share\" -std=c++11 -W -Wall -pedantic -g -O3 -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/libfolia/2.11/include -I/usr/local/opt/libtextcat/include/libtextcat/ -D U_USING_ICU_NAMESPACE=1 -I/usr/local/Cellar/ucto/0.25/include/libtextcat -I/usr/local/Cellar/icu4c/70.1/include -I/usr/local/Cellar/libxml2/2.9.14_3/include/libxml2 -I/usr/local/Cellar/ticcutils/0.29/include -o .libs/ucto ucto.o -Wl,-bind_at_load  ./.libs/libucto.dylib -L/usr/local/Cellar/libfolia/2.11/lib -L/usr/local/Cellar/icu4c/70.1/lib -L/usr/local/Cellar/libxml2/2.9.14_3/lib -L/usr/local/Cellar/ticcutils/0.29/lib -ltextcat -lfolia -licuio -licui18n -licuuc -licudata -lreadline -lxml2 -lticcutils
make[2]: Nothing to be done for `install-data-am'.
 .././install-sh -c -d '/usr/local/Cellar/ucto/0.25/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libucto.la '/usr/local/Cellar/ucto/0.25/lib'
libtool: install: /usr/bin/install -c .libs/libucto.6.dylib /usr/local/Cellar/ucto/0.25/lib/libucto.6.dylib
libtool: install: (cd /usr/local/Cellar/ucto/0.25/lib && { ln -s -f libucto.6.dylib libucto.dylib || { rm -f libucto.dylib && ln -s libucto.6.dylib libucto.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libucto.lai /usr/local/Cellar/ucto/0.25/lib/libucto.la
libtool: install: /usr/bin/install -c .libs/libucto.a /usr/local/Cellar/ucto/0.25/lib/libucto.a
libtool: install: chmod 644 /usr/local/Cellar/ucto/0.25/lib/libucto.a
libtool: install: ranlib /usr/local/Cellar/ucto/0.25/lib/libucto.a
 .././install-sh -c -d '/usr/local/Cellar/ucto/0.25/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c ucto '/usr/local/Cellar/ucto/0.25/bin'
libtool: install: /usr/bin/install -c .libs/ucto /usr/local/Cellar/ucto/0.25/bin/ucto
Making install in include
Making install in ucto
make[3]: Nothing to be done for `install-exec-am'.
 ../.././install-sh -c -d '/usr/local/Cellar/ucto/0.25/include/ucto'
 /usr/bin/install -c -m 644 my_textcat.h setting.h tokenize.h '/usr/local/Cellar/ucto/0.25/include/ucto'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in m4
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in config
make[2]: Nothing to be done for `install-exec-am'.
 .././install-sh -c -d '/usr/local/Cellar/ucto/0.25/share/ucto'
 /usr/bin/install -c -m 644 textcat_normal.cfg textcat_alt.cfg '/usr/local/Cellar/ucto/0.25/share/ucto'
/Library/Developer/CommandLineTools/usr/bin/make  install-data-hook
rm -f /usr/local/Cellar/ucto/0.25/share/ucto/textcat.cfg
cp -f /usr/local/Cellar/ucto/0.25/share/ucto/textcat_alt.cfg /usr/local/Cellar/ucto/0.25/share/ucto/textcat.cfg
Making install in docs
make[2]: Nothing to be done for `install-exec-am'.
 .././install-sh -c -d '/usr/local/Cellar/ucto/0.25/share/man/man1'
 /usr/bin/install -c -m 644 ucto.1 '/usr/local/Cellar/ucto/0.25/share/man/man1'
Making install in tests
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Nothing to be done for `install-exec-am'.
 ./install-sh -c -d '/usr/local/Cellar/ucto/0.25/lib/pkgconfig'
 /usr/bin/install -c -m 644 ucto.pc '/usr/local/Cellar/ucto/0.25/lib/pkgconfig'
==> make check
Making check in src
/Library/Developer/CommandLineTools/usr/bin/make  check-TESTS
PASS: tst.sh
============================================================================
Testsuite summary for ucto 0.25
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
Making check in include
Making check in ucto
make[2]: Nothing to be done for `check'.
make[2]: Nothing to be done for `check-am'.
Making check in m4
make[1]: Nothing to be done for `check'.
Making check in config
make[1]: Nothing to be done for `check'.
Making check in docs
make[1]: Nothing to be done for `check'.
Making check in tests
make[1]: Nothing to be done for `check'.
make[1]: Nothing to be done for `check-am'.
/usr/local/Homebrew/Library/Homebrew/shims/shared/git --version
==> Cleaning
==> Fixing /usr/local/Cellar/ucto/0.25/bin/ucto permissions from 755 to 555
==> Fixing /usr/local/Cellar/ucto/0.25/lib/libucto.6.dylib permissions from 755 to 444
==> Fixing /usr/local/Cellar/ucto/0.25/lib/libucto.a permissions from 644 to 444
rm /usr/local/Cellar/ucto/0.25/lib/libucto.la
==> Fixing /usr/local/Cellar/ucto/0.25/lib/pkgconfig/ucto.pc permissions from 644 to 444
==> Finishing up
ln -s ../Cellar/ucto/0.25/bin/ucto ucto
ln -s ../Cellar/ucto/0.25/include/ucto ucto
ln -s ../../../Cellar/ucto/0.25/share/man/man1/ucto.1 ucto.1
ln -s ../../Cellar/ucto/0.25/share/ucto/textcat.cfg textcat.cfg
ln -s ../../Cellar/ucto/0.25/share/ucto/textcat_alt.cfg textcat_alt.cfg
ln -s ../../Cellar/ucto/0.25/share/ucto/textcat_normal.cfg textcat_normal.cfg
ln -s ../Cellar/ucto/0.25/lib/libucto.6.dylib libucto.6.dylib
ln -s ../Cellar/ucto/0.25/lib/libucto.a libucto.a
ln -s ../Cellar/ucto/0.25/lib/libucto.dylib libucto.dylib
ln -s ../../Cellar/ucto/0.25/lib/pkgconfig/ucto.pc ucto.pc
==> Changing dylib ID of /usr/local/Cellar/ucto/0.25/lib/libucto.6.dylib
  from /usr/local/Cellar/ucto/0.25/lib/libucto.6.dylib
    to /usr/local/opt/ucto/lib/libucto.6.dylib
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /usr/local/opt/ucto/.brew/ucto.rb
==> Summary
๐Ÿบ  /usr/local/Cellar/ucto/0.25: 21 files, 1.4MB, built in 34 seconds
==> Running `brew cleanup ucto`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libtiff.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/postgresql.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/wget.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xorgproto.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libidn2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sdl2_gfx.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/frogdata.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxau.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libpng.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pixman.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxdmcp.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libuv.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/freetype.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libvorbis.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpg123.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libunistring.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/brotli.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/maven.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libogg.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/neofetch.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/harfbuzz.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/glib.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxcb.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/wimlib.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sdl2_ttf.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/exa.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openfortivpn.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/mbtserver.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/llvm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sdl2_mixer.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lz4.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libmodplug.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/graphite2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/screenresolution.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cairo.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/webp.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/c-ares.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gobject-introspection.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libpthread-stubs.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libnghttp2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/fontconfig.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openjdk.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/giflib.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/speedtest-cli.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/krb5.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxrender.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/flac.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/timbl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxext.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/oniguruma.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/bat.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pcre.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/timblserver.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/frog.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/node.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/jpeg.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sdl2_image.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/jq.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/fbkarsdorp/homebrew-lamachine/Formula/mbtagger.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sdl2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libx11.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lzo.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libffi.rb
kosloot commented 2 years ago

I pushed a small patch to Ucto. Maybe it is sufficient.

kosloot commented 2 years ago

I amended my patch. I seems to work now (at least for Mac OSX on the github actions servers) So I included the same patch in frog too (which also failed on MAC)

proycon commented 2 years ago

Thanks! Sorry for the delay! Instructions for mac M1 users (@svandaalen ? ๐Ÿ˜‰ ) to test this:

brew tap fbkarsdorp/homebrew-lamachine &&\
brew install pkg-config autoconf automake libtool autoconf-archive xml2 libxslt icu4c libtextcat ticcutils libfolia uctodata &&\
git clone https://github.com/LanguageMachines/ucto &&\
cd ucto &&\
bash bootstrap.sh && ./configure && make
proycon commented 2 years ago

Some findings:

checking for libtextcat/textcat.h... no configure: textcat include file not available

Some debugging from @dirkroorda:

Ik denk dat het toch met M1 te maken heeft, en wel dat brew daar installeert onder /opt/homebrew. Daar is het configure script niet op berekend. Ik zie daar bijvoorbeeld:

if test "x$PKG_CONFIG_PATH" = x; then
    export PKG_CONFIG_PATH="$prefix/lib/pkgconfig"
else
    export PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
fi

Die prefix blijkt usr/local te zijn. Maar als ik in /usr/local/lib kijk zie ik:

me:/usr/local/lib/pkgconfig > ls -l
total 16
lrwxr-xr-x  1 me    admin   54 Jun 21  2021 libevent.pc -> ../../Cellar/libevent/2.1.12/lib/pkgconfig/libevent.pc

etc. Kortom, de Intel Cellar wordt nu genomen ( ../../Cellar = /usr/local/Cellar en dat is de verkeerde.

What we found out about homebrew on mac is that it's a bit of a messy situation (source: https://apple.stackexchange.com/questions/410825/apple-silicon-port-all-homebrew-packages-under-usr-local-opt-to-opt-homebrew):

According to https://docs.brew.sh/Installation, /usr/local is for Intel binaries, /opt/homebrew for ARM.

We're still awaiting another test on another m1 to be sure it's reproducible.

kosloot commented 2 years ago

Always surprising to see how Apple screws thing up. I hope the last patch by @proycon did the trick?

kosloot commented 2 years ago

One other script to look at is m4/ac_osx_pkg.m4 That is used to find pkg-config files on Darwin now (for icu4c), but maybe can be adapted for M1 too It would be nice if it could find a pkg-confg file for libtextcat (at the moment we have to use a lot off trickery to get that right)

proycon commented 1 year ago

We still need to confirm the patch works.

@antalvdb You were trying this recently, right? (on the ucto git master tree). What were your findings?

antalvdb commented 1 year ago

checking for pkg-config... /opt/homebrew/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: pkg-config: PATH=/usr/local/lib/pkgconfig checking for libexttextcat... no checking for libtextcat... no checking for libtextcat/textcat.h... no configure: textcat include file not available configure: error: no working libtextcat or libexttextcat found!

kosloot commented 1 year ago

a few questions:

  1. Is textcat installed on your system? Search for textcat.h anywhere
  2. if YES : is a textcat pkg file installed (hopefully in /opt/homebrew/bin/pkg-config, or a subdir
  3. if NO: please do so, and look again for `textcat.h and lib*textcat*
antalvdb commented 1 year ago

Textcat is installed; on M1/M2 macs, homebrew installs everything in /opt/homebrew. Both textcat.h and libtextcat are there. It seems that although "checking for pkg-config... /opt/homebrew/bin/pkg-config", later on this is superseded by "configure: pkg-config: PATH=/usr/local/lib/pkgconfig". This seems to be handled in m4/as_osx_pkg.m4 - but not sure what happens precisely.

kosloot commented 1 year ago

Those messages are a bit confusing: To break it down:

checking for pkg-config... /opt/homebrew/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes

Now we know we have the pkg-config PROGRAM, and the version

configure: pkg-config: PATH=/usr/local/lib/pkgconfig

This is the location where we will install our OWN .pc config files for our software stack folia.pc and ticcutils.pc should already be there. BUT: here we also will look for other .pc files. Normally this is ADDED to the default $PKG_CONFIG_PATH, which seems to be empty on MAC systems This is where the m4/as_osx_pkg.m4 comes in play: It attempts to add the path for ICU tot the searchpath, on "old" Mac-OSX systems this will be something like /usr/local/opt/icu4c/lib/pkgconfig There should be some icu.pc files

I assume it is some other location on your system?? Like /opt/homebrew/lib ?? I really need to know this...

BUT then still: Chances are, that there is NO libtextcat.pc or libexttextcat.pc on your system. As for older Linux systems

As a last resort, we start looking for the .h and lib files in a possible location: /include/libtextcat and /usr/lib

checking for libexttextcat... no
checking for libtextcat... no
checking for libtextcat/textcat.h... no
configure: textcat include file not available
configure: error: no working libtextcat or libexttextcat found!

And then we failed...

SO the main questions are still: Is there any pkg-config file for textcat on your system? use:

pkg-config --list-all|grep textcat

to check

IF NOT: what is the exact (and complete) path of textcat.h?

Hope this helps

antalvdb commented 1 year ago
  1. Is there any pkg-config file for textcat on your system? No, "pkg-config --list-all|grep textcat" returns nothing.
  2. IF NOT: what is the exact (and complete) path of textcat.h?
/opt/homebrew/Cellar/libtextcat/2.2/include/libtextcat/textcat.h

Also,

(ml) MacBook-Pro-5:ucto antalb$ ls /opt/homebrew/Cellar/icu4c/71.1/lib/pkgconfig/
icu-i18n.pc icu-io.pc   icu-uc.pc

Hope this information helps!

kosloot commented 1 year ago

Thanx. Unfortunately this information suggests that it is impossible for me to find a generic solution. You have added some more unknown variables in the equations...

I did some googling around, and more people ar struggling with the Max idiosyncrasies. like
https://apple.stackexchange.com/questions/145437/where-can-i-find-the-installed-package-path-via-brew https://mkyong.com/mac/where-does-homebrew-install-packages-on-mac/ https://github.com/Homebrew/brew/issues/13481

Without a hands-on environment to check and experiment, I have to give up. Maybe @fbkarsdorp as the "known homebrew expert" can help us out?

proycon commented 1 year ago

Things seem to work nowadays (had several people reporting success) so I'm closing this issue.