macaulay2 / homebrew-tap Goto Github PK
View Code? Open in Web Editor NEWThe Macaulay2 tap for Homebrew
The Macaulay2 tap for Homebrew
When doing a brew upgrade
, I get the following error. Any suggestions @mahrud ?
==> Reinstalling 3 dependents with broken linkage from source:
macaulay2/tap/factory, macaulay2/tap/normaliz, macaulay2/tap/macaulay2
==> Fetching macaulay2/tap/factory
==> Downloading https://www.singular.uni-kl.de/ftp/pub/Math/Factory/factory-4.3.0.tar.gz
############################################################################################################ 100.0%
==> Reinstalling macaulay2/tap/factory
==> autoreconf -vif
==> ./configure --disable-doxygen-doc --disable-silent-rules --disable-omalloc --without-Singular --with-gmp=/opt/h
==> make
Last 15 lines from /Users/mike/Library/Logs/Homebrew/factory/03.make:
slong fmpq_mpoly_factor_get_exp_si(fmpq_mpoly_factor_t f,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [cf_factor.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/opt/homebrew/opt/flint/include/ -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/gmp/include -DSING_NDEBUG -DOM_NDEBUG -std=c++11 -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -funroll-loops -fno-rtti -Qunused-arguments -c cfEzgcd.cc -o cfEzgcd.o >/dev/null 2>&1
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/opt/homebrew/opt/flint/include/ -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/gmp/include -DSING_NDEBUG -DOM_NDEBUG -std=c++11 -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -funroll-loops -fno-rtti -Qunused-arguments -c cf_globals.cc -o cf_globals.o >/dev/null 2>&1
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/opt/homebrew/opt/flint/include/ -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/gmp/include -DSING_NDEBUG -DOM_NDEBUG -std=c++11 -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -funroll-loops -fno-rtti -Qunused-arguments -c cf_hnf.cc -fno-common -DPIC -o .libs/cf_hnf.o
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/opt/homebrew/opt/flint/include/ -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/gmp/include -DSING_NDEBUG -DOM_NDEBUG -std=c++11 -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -funroll-loops -fno-rtti -Qunused-arguments -c cfGcdUtil.cc -o cfGcdUtil.o >/dev/null 2>&1
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/opt/homebrew/opt/flint/include/ -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/gmp/include -DSING_NDEBUG -DOM_NDEBUG -std=c++11 -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -funroll-loops -fno-rtti -Qunused-arguments -c cf_gcd.cc -o cf_gcd.o >/dev/null 2>&1
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/opt/homebrew/opt/flint/include/ -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/gmp/include -DSING_NDEBUG -DOM_NDEBUG -std=c++11 -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -funroll-loops -fno-rtti -Qunused-arguments -c cfGcdAlgExt.cc -o cfGcdAlgExt.o >/dev/null 2>&1
libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I./include -I./include -I. -DFACTORY_BUILDING_DLL -I/opt/homebrew/opt/flint/include/ -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/gmp/include -DSING_NDEBUG -DOM_NDEBUG -std=c++11 -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -funroll-loops -fno-rtti -Qunused-arguments -c cf_hnf.cc -o cf_hnf.o >/dev/null 2>&1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Looking in the log file, it seems the flint interface is perhaps very different? Here is the first set of errors reported in that file:
cf_factor.cc:460:9: error: use of undeclared identifier 'nmod_poly_factor_init'; did you mean 'nmod_poly_factor_t'?
nmod_poly_factor_init (result);
^
/opt/homebrew/opt/flint/include/flint/nmod_types.h:53:33: note: 'nmod_poly_factor_t' declared here
typedef nmod_poly_factor_struct nmod_poly_factor_t[1];
^
cf_factor.cc:461:33: error: use of undeclared identifier 'nmod_poly_factor'
mp_limb_t leadingCoeff= nmod_poly_factor (result, f1);
Hello
Kernel: Linux 5.4.0-42-generic x86_64 GNU/Linux
OS: Ubuntu 20.04.1 LTS (focal)
I was trying to install M2 without sudo command, with homebrew, and faced this problem. I am installing M2 to my account in server with ssh, so I hope this might not be problem with root access. I installed homebrew without root access on folder 'myid42/M' inside my user folder 'myid42', following "Alternative installs". (I don't remember exactly why but I think error I got from standard method suggested me to do so) And I must say that I am not familiar with Ubuntu nor Linux but trying my best without properly studying the basics. So let me know if I am missing any information.
(on ~/M/)
mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
eval "$(homebrew/bin/brew shellenv)"
brew update --force --quiet
chmod -R go-w "$(brew --prefix)/share/zsh"
Then I got this problem with latest message "cannot find -lbacktrace"
(base) myid42@lk4:~/M$ brew install M2
==> Fetching dependencies for macaulay2/tap/macaulay2: automake, libtool, and topcom
==> Fetching automake
==> Downloading https://ghcr.io/v2/homebrew/core/automake/manifests/1.16.5
Already downloaded: /home/myid42/.cache/Homebrew/downloads/6863d3ffa73c5a5cbf1f1ea9e47b60784d09b232ac9e56149c1b931d9ec44d8b--automake-1.16.5.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/automake/blobs/sha256:59808c20f7dc565f106b432941b43c52f3d7f46a8d562ab27a4aabd424783158
Already downloaded: /home/myid42/.cache/Homebrew/downloads/0636fd23d95938f0a6e5eb2b50a90af1d0dd25f60cd244d5fec8311308396045--automake--1.16.5.x86_64_linux.bottle.tar.gz
==> Fetching libtool
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.4.7
Already downloaded: /home/myid42/.cache/Homebrew/downloads/583066a50f4afbd11e5d6bd1d66fe9c16c2770a6d8a9f1b1dc5be930fa7194c5--libtool-2.4.7.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/blobs/sha256:1cde2899a36adf5b04d25a9b8b4d6bec8a3099bc59ae68c63e479a4da8ca70b3
Already downloaded: /home/myid42/.cache/Homebrew/downloads/d3dad839b407eb637916b2f26564dd9981bd4b486203d16402e30735923916ce--libtool--2.4.7.x86_64_linux.bottle.tar.gz
==> Fetching macaulay2/tap/topcom
Warning: Building macaulay2/tap/topcom from source as the bottle needs:
- HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /home/myid42/M/homebrew/Cellar)
- HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /home/myid42/M/homebrew)
==> Downloading https://www.wm.uni-bayreuth.de/de/team/rambau_joerg/TOPCOM-Downloads/TOPCOM-1_1_2.tgz
Already downloaded: /home/myid42/.cache/Homebrew/downloads/5431f89f15b97e2080075b0954b9e95c12a8bcce2721d0823a5f8f68c2da3cdc--TOPCOM-1_1_2.tgz
==> Fetching macaulay2/tap/macaulay2
Warning: Building macaulay2/tap/macaulay2 from source as the bottle needs:
- HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /home/myid42/M/homebrew/Cellar)
- HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /home/myid42/M/homebrew)
==> Downloading https://github.com/Macaulay2/M2/commit/c4bf16f3278118ff1b6fdf20d4ad68441f4b26c5.patch?full_index=1
Already downloaded: /home/myid42/.cache/Homebrew/downloads/ac963ad48c0661b05ac4a1f73dd8e6849b57769bffc050d958df262ef5ff1ed2--c4bf16f3278118ff1b6fdf20d4ad68441f4b26c5.patch
==> Downloading https://github.com/Macaulay2/M2/archive/refs/tags/release-1.21.tar.gz
Already downloaded: /home/myid42/.cache/Homebrew/downloads/b03ad43a23f645eabed8b116df2ac468d83d4aaa15520e71a73159c95c0c5156--M2-release-1.21.tar.gz
==> Installing macaulay2 from macaulay2/tap
==> Installing dependencies for macaulay2/tap/macaulay2: automake, libtool, and topcom
==> Installing macaulay2/tap/macaulay2 dependency: automake
==> Pouring automake--1.16.5.x86_64_linux.bottle.tar.gz
?? /home/myid42/M/homebrew/Cellar/automake/1.16.5: 131 files, 3.5MB
==> Installing macaulay2/tap/macaulay2 dependency: libtool
==> Pouring libtool--2.4.7.x86_64_linux.bottle.tar.gz
?? /home/myid42/M/homebrew/Cellar/libtool/2.4.7: 74 files, 3.8MB
==> Installing macaulay2/tap/macaulay2 dependency: topcom
==> autoreconf -vif
==> ./configure --prefix=/home/myid42/M/homebrew/Cellar/topcom/1.1.2_5 CPPFLAGS=-I/home/myid42/M/homebrew/opt/gmp/include -I/home/myid42/M/homebrew/opt/cddlib/include/cddlib
==> make install
?? /home/myid42/M/homebrew/Cellar/topcom/1.1.2_5: 151 files, 62.8MB, built in 1 minute 31 seconds
==> Installing macaulay2/tap/macaulay2
==> Patching
==> Applying c4bf16f3278118ff1b6fdf20d4ad68441f4b26c5.patch
patching file M2/Macaulay2/packages/Normaliz.m2
==> git clone https://github.com/Macaulay2/M2-emacs.git M2/Macaulay2/editors/emacs --branch main
==> git clone https://github.com/Macaulay2/memtailor.git M2/submodules/memtailor
==> git clone https://github.com/Macaulay2/mathic.git M2/submodules/mathic
==> git clone https://github.com/Macaulay2/mathicgb.git M2/submodules/mathicgb
==> cmake -GNinja -SM2 -BM2/BUILD/build-brew -DBUILD_NATIVE=OFF -DCMAKE_PREFIX_PATH=/home/myid42/M/homebrew/opt/bison;/home/myid42/M/homebrew/opt/cmake;/home/myid42/M/homebre
==> cmake --build M2/BUILD/build-brew --target M2-core M2-emacs M2-highlightjs
Last 15 lines from /home/myid42/.cache/Homebrew/Logs/macaulay2/06.cmake:
/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e/SLP-defs.hpp:183:7: warning: 'int SLEvaluatorConcrete<M2::ARingQQGMP>::nInputs' [-Wreorder]
183 | int nInputs, nOutputs;
| ^~~~~~~
/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e/SLP-imp.hpp:64:1: warning: when initialized here [-Wreorder]
64 | SLEvaluatorConcrete<RT>::SLEvaluatorConcrete(const SLEvaluatorConcrete<RT>& a)
| ^~~~~~~~~~~~~~~~~~~~~~~
[401/408] /home/myid42/M/homebrew/Library/Homebrew/shims/linux/super/g++-12 -DBOOST_REGEX_NO_LIB -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/d -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/c -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e/mathicgb -I/home/myid42/M/homebrew/opt/readline/include -I/home/myid42/M/homebrew/opt/libxml2/include/libxml2 -I/home/myid42/M/homebrew/opt/eigen/include/eigen3 -I/home/myid42/M/homebrew/opt/mpsolve/include -I/home/myid42/M/homebrew/opt/frobby/include -I/home/myid42/M/homebrew/opt/factory/include -I/home/myid42/M/homebrew/opt/flint/include -I/home/myid42/M/homebrew/opt/ntl/include -I/home/myid42/M/homebrew/opt/mpfi/include -I/home/myid42/M/homebrew/opt/mpfr/include -I/home/myid42/M/homebrew/opt/bdw-gc/include -I/home/myid42/M/homebrew/opt/gdbm/include -I/home/myid42/M/homebrew/opt/libatomic_ops/include -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/system -isystem /home/myid42/M/homebrew/opt/gmp/include -isystem /home/myid42/M/homebrew/Cellar/boost/1.81.0_1/include -isystem /home/myid42/M/homebrew/opt/tbb/include -isystem /home/myid42/M/homebrew/opt/libffi/include -isystem /home/myid42/M/homebrew/Cellar/givaro/4.2.0/include -isystem /home/myid42/M/homebrew/Cellar/fflas-ffpack/2.5.0/include -O3 -DNDEBUG -Wuninitialized -g3 -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/include -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-cast-qual -Wno-sign-compare -Wno-uninitialized -Wno-unused -Wno-array-bounds -Wno-deprecated-copy -Wno-unknown-pragmas -fopenmp -std=gnu++17 -MD -MT Macaulay2/d/CMakeFiles/M2-interpreter.dir/boostmath-tmp.cc.o -MF Macaulay2/d/CMakeFiles/M2-interpreter.dir/boostmath-tmp.cc.o.d -o Macaulay2/d/CMakeFiles/M2-interpreter.dir/boostmath-tmp.cc.o -c /tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d/boostmath-tmp.cc
[402/408] /home/myid42/M/homebrew/Library/Homebrew/shims/linux/super/g++-12 -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/d -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/c -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e/mathicgb -I/home/myid42/M/homebrew/opt/readline/include -I/home/myid42/M/homebrew/opt/libxml2/include/libxml2 -I/home/myid42/M/homebrew/opt/mpsolve/include -I/home/myid42/M/homebrew/opt/frobby/include -I/home/myid42/M/homebrew/opt/factory/include -I/home/myid42/M/homebrew/opt/flint/include -I/home/myid42/M/homebrew/opt/ntl/include -I/home/myid42/M/homebrew/opt/mpfi/include -I/home/myid42/M/homebrew/opt/mpfr/include -I/home/myid42/M/homebrew/opt/bdw-gc/include -I/home/myid42/M/homebrew/opt/gdbm/include -I/home/myid42/M/homebrew/opt/libatomic_ops/include -isystem /home/myid42/M/homebrew/opt/eigen/include/eigen3 -isystem /home/myid42/M/homebrew/opt/gmp/include -isystem /home/myid42/M/homebrew/Cellar/givaro/4.2.0/include -isystem /home/myid42/M/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /home/myid42/M/homebrew/opt/tbb/include -O3 -DNDEBUG -Wuninitialized -g3 -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/include -I/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-copy -Wno-unknown-pragmas -Wno-ignored-qualifiers -Wno-implicit-fallthrough -fopenmp -std=gnu++17 -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o -c /tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/Macaulay2/e/eigen.cpp
[403/408] : && /home/myid42/M/homebrew/Cellar/cmake/3.25.3/bin/cmake -E rm -f Macaulay2/e/libM2-engine.a && /home/myid42/M/homebrew/opt/binutils/bin/ar qc Macaulay2/e/libM2-engine.a Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2types.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2lib.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2mem.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/scclib.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/memdebug.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/debug.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gmp_aux.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gdbm_interface.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/arithmetic-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/atomic-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/system-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/strings-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/varstrin-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/strings1-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/errio-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/vararray-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/ctype-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/nets-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/varnets-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interrupts-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/pthread0-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdiop0-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gmp-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/engine-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/xml-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdio0-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/parse-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/expr-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdio-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdiop-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/err-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gmp1-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/tokens-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/getline-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/lex-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/parser-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/binding-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/basic-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/convertr-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/common-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/util-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/struct-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/classes-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/buckets-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/equality-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/hashtables-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/regex-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/evaluate-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/sets-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/mysqldummy-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/pthread-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors2-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors3-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors4-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/xmlactors-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors5-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors6-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/threads-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interface-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interface2-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/texmacs-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/boostmath-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/ffi-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interp-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/version-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/boost-regex.cpp.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/xml-c.c.o Macaulay2/e/CMakeFiles/M2-engine.dir/engine.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/franzi-gb.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/franzi-interface.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-sort.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/ntl-debugio.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/ntl-internal.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/res-a2-gb.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/ring-vecs.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/cra.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/factory.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/flint.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/freemodule.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/groebner.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/matrix.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/monoid.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/monomial-ideal.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/monomial-ordering.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/mutable-matrix.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/polyroots.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/random.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/ring.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/ringelement.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/ringmap.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/myalloc.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-ncbasis.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/M2FreeAlgebraQuotient.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/M2FreeAlgebra.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/Word.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/NCReduction.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/FreeAlgebraQuotient.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/FreeAlgebra.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/FreeMonoid.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/WordTable.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/SuffixTree.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/NCGroebner.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/NCF4.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCAlgebras/OverlapTable.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NCResolutions/nc-res-computation.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/Polynomial.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/monomial-collection.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/Eschreyer.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/GF.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/LLL.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/NAG.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/SLP.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/ZZ.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/ZZp.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-RRi.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-CC.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-CCC.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-RR.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-RRR.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-gf-flint-big.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-gf-flint.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-gf-givaro.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-m2-gf.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-qq-flint.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-qq-gmp.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-tower.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-zz-flint.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-zz-gmp.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-zzp-ffpack.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-zzp-flint.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring-zzp.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/aring.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/assprime.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/betti.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/buffer.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/coeffrings.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/comb.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/comp-gb-declared.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/comp-gb-proxy.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/comp-gb.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/comp-res.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/comp.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/cra.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/debug.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/det.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/dmat.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/dpoly.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/finalize.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/fplll-interface.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/frac.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/fractionfreeLU.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/franzi-brp.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/freemod.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/gauss.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/gb-default.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/gb-homog2.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/gb-sugarless.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/gb-test1.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/gb-toric.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/gb-walk.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/gbring.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/gbweight.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/hermite.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/hilb.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/imonorder.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/int-bag.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/intarray.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interreduce.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/interrupted.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/lapack.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/localring.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/mat.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-con.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-stream.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/mem.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/memory-status.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/monideal-minprimes.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/monideal.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/monoid.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/monomial-sets.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/monomial.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/monsort.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/montable.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/montableZZ.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/mutablecomplex.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/ntl-interface.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/ntuple.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/overflow.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/pfaff.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/poly.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/polyquotient.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/polyring.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/qring.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/reader.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/reducedgb-ZZ.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/reducedgb-field-local.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/reducedgb-field.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/reducedgb-marked.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/reducedgb.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/relem.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/res-a0-poly.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/res-a0.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/res-a1-poly.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/res-a1.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/res-a2.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/ring.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/ringmap.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/sagbi.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schorder.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schur.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schur2.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schurSn.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/skew.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/skewpoly.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/solvable.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/spair.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/text-io.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/tower.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/util.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/varpower.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/weylalg.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/f4-computation.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/f4-m2-interface.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/f4-mem.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/f4-monlookup.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/f4-spairs.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/f4.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/gausser.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/hilb-fcn.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/monhashtable.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/moninfo.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/ntuple-monomial.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/f4/varpower-monomial.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-f4-computation.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-f4-m2-interface.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-f4-monlookup.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-f4.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-gausser-QQ-hybrid.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-gausser-QQ.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-gausser-ZZp.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-gausser.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-moninfo-dense.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-moninfo-sparse.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-moninfo.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-monomial-sorter.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-poly-ring.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-schreyer-frame.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/schreyer-resolution/res-varpower-monomial.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/bibasis/bibasis.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/bibasis/allocator.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/bibasis/launcher.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/bibasis/monom.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/bibasis/monomDL.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/bibasis/monomDRL.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/bibasis/monomLex.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/bibasis/settings-manager.cpp.o Macaulay2/e/CMakeFiles/M2-engine.dir/complex.c.o Macaulay2/e/CMakeFiles/M2-engine.dir/error.c.o Macaulay2/e/CMakeFiles/M2-engine.dir/exptable.c.o Macaulay2/e/CMakeFiles/M2-engine.dir/table.c.o && /home/myid42/M/homebrew/opt/binutils/bin/ranlib Macaulay2/e/libM2-engine.a && :
[404/408] : && /home/myid42/M/homebrew/Library/Homebrew/shims/linux/super/g++-12 -O3 -DNDEBUG -g3 -L/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/usr-host/lib -fopenmp Macaulay2/system/CMakeFiles/M2-supervisor.dir/supervisor.cpp.o Macaulay2/system/CMakeFiles/M2-supervisor.dir/m2file.cpp.o Macaulay2/system/CMakeFiles/M2-supervisor.dir/tests.cpp.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2types.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2lib.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2mem.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/scclib.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/memdebug.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/debug.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gmp_aux.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gdbm_interface.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/arithmetic-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/atomic-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/system-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/strings-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/varstrin-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/strings1-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/errio-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/vararray-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/ctype-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/nets-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/varnets-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interrupts-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/pthread0-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdiop0-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gmp-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/engine-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/xml-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdio0-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/parse-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/expr-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdio-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdiop-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/err-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gmp1-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/tokens-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/getline-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/lex-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/parser-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/binding-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/basic-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/convertr-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/common-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/util-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/struct-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/classes-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/buckets-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/equality-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/hashtables-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/regex-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/evaluate-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/sets-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/mysqldummy-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/pthread-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors2-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors3-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors4-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/xmlactors-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors5-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors6-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/threads-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interface-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interface2-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/texmacs-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/boostmath-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/ffi-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interp-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/version-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/boost-regex.cpp.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/xml-c.c.o Macaulay2/bin/CMakeFiles/M2-binary.dir/timestamp.cpp.o Macaulay2/bin/CMakeFiles/M2-binary.dir/main.cpp.o Macaulay2/bin/CMakeFiles/M2-binary.dir/startup.c.o -o usr-dist/x86_64-Linux-Ubuntu-20.04/bin/M2-binary -Wl,-rpath,/home/myid42/M/homebrew/opt/libffi/lib:/home/myid42/M/homebrew/Cellar/givaro/4.2.0/lib:/home/myid42/M/homebrew/opt/mpsolve/lib:/home/myid42/M/homebrew/opt/factory/lib:/home/myid42/M/homebrew/opt/flint/lib:/home/myid42/M/homebrew/opt/ntl/lib:/home/myid42/M/homebrew/opt/mpfi/lib:/home/myid42/M/homebrew/opt/mpfr/lib:/home/myid42/M/homebrew/opt/bdw-gc/lib:/home/myid42/M/homebrew/opt/gmp/lib:/home/myid42/M/homebrew/opt/openblas/lib:/home/myid42/M/homebrew/opt/libxml2/lib:/home/myid42/M/homebrew/opt/readline/lib:/home/myid42/M/homebrew/opt/gdbm/lib:/home/myid42/M/homebrew/opt/tbb/lib::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /home/myid42/M/homebrew/Cellar/boost/1.81.0_1/lib/libboost_stacktrace_backtrace-mt.a Macaulay2/e/libM2-engine.a -ldl -lbacktrace -ldl -lquadmath /home/myid42/M/homebrew/Cellar/boost/1.81.0_1/lib/libboost_regex-mt.a -licudata -licui18n -licuuc /home/myid42/M/homebrew/opt/libffi/lib/libffi.so /home/myid42/M/homebrew/Cellar/givaro/4.2.0/lib/libgivaro.so /home/myid42/M/homebrew/opt/mpsolve/lib/libmps.so /home/myid42/M/homebrew/opt/frobby/lib/libfrobby.a /home/myid42/M/homebrew/opt/factory/lib/libfactory.so /home/myid42/M/homebrew/opt/flint/lib/libflint.so /home/myid42/M/homebrew/opt/ntl/lib/libntl.so /home/myid42/M/homebrew/opt/mpfi/lib/libmpfi.so /home/myid42/M/homebrew/opt/mpfr/lib/libmpfr.so /home/myid42/M/homebrew/opt/bdw-gc/lib/libgc.so /home/myid42/M/homebrew/opt/gmp/lib/libgmpxx.so /home/myid42/M/homebrew/opt/gmp/lib/libgmp.so /home/myid42/M/homebrew/opt/openblas/lib/libopenblas.so -lm -ldl /home/myid42/M/homebrew/opt/libxml2/lib/libxml2.so /home/myid42/M/homebrew/opt/readline/lib/libreadline.so /home/myid42/M/homebrew/opt/readline/lib/libhistory.so /home/myid42/M/homebrew/opt/gdbm/lib/libgdbm.so /home/myid42/M/homebrew/opt/libatomic_ops/lib/libatomic_ops.a Macaulay2/e/mathicgb/libmathicgb.a Macaulay2/e/mathic/libmathic.a Macaulay2/e/memtailor/libmemtailor.a /home/myid42/M/homebrew/opt/tbb/lib/libtbb.so.12.8 /home/myid42/M/homebrew/opt/gcc/lib/gcc/12/libgomp.so /home/myid42/M/homebrew/opt/glibc/lib/libpthread.a && cd /tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/bin && /home/myid42/M/homebrew/Cellar/cmake/3.25.3/bin/cmake -E echo --\ Linked\ libraries: && LD_LIBRARY_PATH=/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/usr-host/lib: /home/myid42/M/homebrew/opt/glibc/bin/ldd /tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/usr-dist/x86_64-Linux-Ubuntu-20.04/bin/M2-binary && /home/myid42/M/homebrew/Cellar/cmake/3.25.3/bin/cmake -E echo --\ INSTALL_RPATH:\ /home/myid42/M/homebrew/Cellar/macaulay2/1.21_2/lib/Macaulay2/lib
FAILED: usr-dist/x86_64-Linux-Ubuntu-20.04/bin/M2-binary
: && /home/myid42/M/homebrew/Library/Homebrew/shims/linux/super/g++-12 -O3 -DNDEBUG -g3 -L/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/usr-host/lib -fopenmp Macaulay2/system/CMakeFiles/M2-supervisor.dir/supervisor.cpp.o Macaulay2/system/CMakeFiles/M2-supervisor.dir/m2file.cpp.o Macaulay2/system/CMakeFiles/M2-supervisor.dir/tests.cpp.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2types.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2lib.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2mem.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/scclib.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/memdebug.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/debug.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gmp_aux.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gdbm_interface.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/arithmetic-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/atomic-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/M2-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/system-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/strings-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/varstrin-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/strings1-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/errio-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/vararray-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/ctype-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/nets-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/varnets-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interrupts-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/pthread0-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdiop0-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gmp-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/engine-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/xml-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdio0-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/parse-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/expr-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdio-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/stdiop-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/err-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/gmp1-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/tokens-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/getline-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/lex-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/parser-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/binding-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/basic-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/convertr-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/common-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/util-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/struct-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/classes-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/buckets-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/equality-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/hashtables-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/regex-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/evaluate-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/sets-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/mysqldummy-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/pthread-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors2-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors3-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors4-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/xmlactors-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors5-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/actors6-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/threads-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interface-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interface2-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/texmacs-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/boostmath-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/ffi-tmp.c.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/interp-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/version-tmp.cc.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/boost-regex.cpp.o Macaulay2/d/CMakeFiles/M2-interpreter.dir/xml-c.c.o Macaulay2/bin/CMakeFiles/M2-binary.dir/timestamp.cpp.o Macaulay2/bin/CMakeFiles/M2-binary.dir/main.cpp.o Macaulay2/bin/CMakeFiles/M2-binary.dir/startup.c.o -o usr-dist/x86_64-Linux-Ubuntu-20.04/bin/M2-binary -Wl,-rpath,/home/myid42/M/homebrew/opt/libffi/lib:/home/myid42/M/homebrew/Cellar/givaro/4.2.0/lib:/home/myid42/M/homebrew/opt/mpsolve/lib:/home/myid42/M/homebrew/opt/factory/lib:/home/myid42/M/homebrew/opt/flint/lib:/home/myid42/M/homebrew/opt/ntl/lib:/home/myid42/M/homebrew/opt/mpfi/lib:/home/myid42/M/homebrew/opt/mpfr/lib:/home/myid42/M/homebrew/opt/bdw-gc/lib:/home/myid42/M/homebrew/opt/gmp/lib:/home/myid42/M/homebrew/opt/openblas/lib:/home/myid42/M/homebrew/opt/libxml2/lib:/home/myid42/M/homebrew/opt/readline/lib:/home/myid42/M/homebrew/opt/gdbm/lib:/home/myid42/M/homebrew/opt/tbb/lib::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /home/myid42/M/homebrew/Cellar/boost/1.81.0_1/lib/libboost_stacktrace_backtrace-mt.a Macaulay2/e/libM2-engine.a -ldl -lbacktrace -ldl -lquadmath /home/myid42/M/homebrew/Cellar/boost/1.81.0_1/lib/libboost_regex-mt.a -licudata -licui18n -licuuc /home/myid42/M/homebrew/opt/libffi/lib/libffi.so /home/myid42/M/homebrew/Cellar/givaro/4.2.0/lib/libgivaro.so /home/myid42/M/homebrew/opt/mpsolve/lib/libmps.so /home/myid42/M/homebrew/opt/frobby/lib/libfrobby.a /home/myid42/M/homebrew/opt/factory/lib/libfactory.so /home/myid42/M/homebrew/opt/flint/lib/libflint.so /home/myid42/M/homebrew/opt/ntl/lib/libntl.so /home/myid42/M/homebrew/opt/mpfi/lib/libmpfi.so /home/myid42/M/homebrew/opt/mpfr/lib/libmpfr.so /home/myid42/M/homebrew/opt/bdw-gc/lib/libgc.so /home/myid42/M/homebrew/opt/gmp/lib/libgmpxx.so /home/myid42/M/homebrew/opt/gmp/lib/libgmp.so /home/myid42/M/homebrew/opt/openblas/lib/libopenblas.so -lm -ldl /home/myid42/M/homebrew/opt/libxml2/lib/libxml2.so /home/myid42/M/homebrew/opt/readline/lib/libreadline.so /home/myid42/M/homebrew/opt/readline/lib/libhistory.so /home/myid42/M/homebrew/opt/gdbm/lib/libgdbm.so /home/myid42/M/homebrew/opt/libatomic_ops/lib/libatomic_ops.a Macaulay2/e/mathicgb/libmathicgb.a Macaulay2/e/mathic/libmathic.a Macaulay2/e/memtailor/libmemtailor.a /home/myid42/M/homebrew/opt/tbb/lib/libtbb.so.12.8 /home/myid42/M/homebrew/opt/gcc/lib/gcc/12/libgomp.so /home/myid42/M/homebrew/opt/glibc/lib/libpthread.a && cd /tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/bin && /home/myid42/M/homebrew/Cellar/cmake/3.25.3/bin/cmake -E echo --\ Linked\ libraries: && LD_LIBRARY_PATH=/tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/usr-host/lib: /home/myid42/M/homebrew/opt/glibc/bin/ldd /tmp/macaulay2-20230314-1391459-11640x/M2-release-1.21/M2/BUILD/build-brew/usr-dist/x86_64-Linux-Ubuntu-20.04/bin/M2-binary && /home/myid42/M/homebrew/Cellar/cmake/3.25.3/bin/cmake -E echo --\ INSTALL_RPATH:\ /home/myid42/M/homebrew/Cellar/macaulay2/1.21_2/lib/Macaulay2/lib
/home/myid42/M/homebrew/opt/binutils/bin/ld: cannot find -lbacktrace: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/macaulay2/homebrew-tap/issues
These open issues may also help:
The Homebrew tap Macaulay2/tap/fflas-ffpack prevents Sage from building https://github.com/Macaulay2/homebrew-tap/issues/68
I don't know if it would help but before having this error there was another error while installing dependency:
==> Installing macaulay2/tap/macaulay2 dependency: autoconf
==> Pouring autoconf--2.71.x86_64_linux.bottle.tar.gz
Error: Failure while executing; `/usr/bin/env tar --extract --no-same-owner --file /home/myid42/.cache/Homebrew/downloads/3f68a25ba78c87e7d08c6b529f89c0d5e80144bf3b5f8242e7d70bb64d597e6b--autoconf--2.71.x86_64_linux.bottle.tar.gz --directory /tmp/d20230314-993703-ie7dvh` exited with 1. Here's the output:
Too many open files
(base) myid42@lk4:~/M$ brew install autoconf
So I installed and reinstalled autoconf manually, and continued with command brew install M2
that's when I started to get same error message on missing file or directory whenever I try to reinstall or install.
I hope everything is clear as error report and does not violate community guidelines.
HOMEBREW_VERSION: 4.0.6-65-g8a5e169
ORIGIN: https://github.com/Homebrew/brew
HEAD: 8a5e1697a64ab8b694fc1d4fd6c8e948fe6950be
Last commit: 4 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 203158f5c16f9ed61b2ae5531b410d48d2973d16
Core tap last commit: 42 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /home/myid42/M/homebrew
HOMEBREW_REPOSITORY: /home/myid42/M/homebrew
HOMEBREW_CELLAR: /home/myid42/M/homebrew/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 32
HOMEBREW_NO_INSTALL_FROM_API: set
Homebrew Ruby: 2.6.8 => /home/myid42/M/homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: 32-core 64-bit broadwell
Clang: N/A
Git: 2.25.1 => /bin/git
Curl: 7.68.0 => /bin/curl
Kernel: Linux 5.4.0-42-generic x86_64 GNU/Linux
OS: Ubuntu 20.04.1 LTS (focal)
Host glibc: 2.31
/usr/bin/gcc: 9.3.0
/usr/bin/ruby: N/A
glibc: 2.35_1
gcc@11: N/A
gcc: 12.2.0
xorg: N/A
Hi
I am trying to load M2, but getting this error. I even tried brew install M2 --HEAD
as suggested in some other issues, but still not working. This is the one I am getting while trying with brew install Macaulay2/tap/M2
currentString:1:1:(3):[2]: error: installPackage: 14 error(s) occurred running examples for package Macaulay2Doc
dmat lu qq PLU
FAILED: Macaulay2/packages/CMakeFiles/install-Macaulay2Doc usr-dist/arm64-Darwin-macOS-14.2/lib/Macaulay2/Macaulay2Doc/.installed /tmp/macaulay2-20231219-89612-1usueq/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Macaulay2Doc /tmp/macaulay2-20231219-89612-1usueq/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.2/lib/Macaulay2/Macaulay2Doc/.installed
cd /tmp/macaulay2-20231219-89612-1usueq/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20231219-89612-1usueq/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.2/bin/M2 -q --stop --silent --no-preload --no-threads -e errorDepth=3 -e debugLevel=0 -e "installPackage(\"Macaulay2Doc\", Verbose => false, RerunExamples => false, CheckDocumentation => true, IgnoreExampleErrors => false, RemakeAllDocumentation => false, InstallPrefix => \"/tmp/macaulay2-20231219-89612-1usueq/M2-release-1.22/M2/BUILD/build-brew/usr-dist/\", UserMode => false, SeparateExec => true, DebuggingMode => true)" -e "\"info-\"|\"Macaulay2Doc\" << Macaulay2Doc#\"test number\" << close" -e "exit 0" && gzip -nf9 /tmp/macaulay2-20231219-89612-1usueq/M2-release-1.22/M2/BUILD/build-brew/usr-dist/common/share/info/Macaulay2Doc.info
ninja: build stopped: subcommand failed.
Hi All,
I'm getting an SHA256 mismatch, and I've tried the standard things recommended when googling (like brew update, brew clean, brew uninstall Macaulay2, install Macaulay2, physically delete this file and do all of the above again), but nothing seems to fix this issue. Any ideas? This is for a 10 year old Mac running 11.7.10.
Error: macaulay2: SHA256 mismatch
Expected: accf5eeddde623d179c8fee9d15cfb7d66d7a90cc7684d11c96ad9b3f3655dbb
Actual: 159d2156810a6bb240410cd61eb641add85088d9f15c888cdaa37b8681f929ce
File: /Users/lukeadmin/Library/Caches/Homebrew/downloads/72bc89d96bdbf4288b629083ea26198d96348adc6b77eb7cd9f2ab0806fcffa6--nauty2_8_8.tar.gz
To retry an incomplete download, remove the file above.```
I am working on OS X BigSur 11.4
When I launch M2 I get
Macaulay2, version 1.18
with packages: ConwayPolynomials, Elimination, IntegralClosure, InverseSystems, LLLBases,
MinimalPrimes, PrimaryDecomposition, ReesAlgebra, Saturation, TangentCone
/Users/BH/Library/Application Support/Macaulay2/local/share/Macaulay2/NoetherNormalization.m2:4:14:(3):[17]: error: syntax error at 'in'
/usr/local/share/Macaulay2/Core/setup.m2:114:27:(1):[17]: --backtrace: parse error--
/usr/local/share/Macaulay2/Core/setup.m2:114:27:(1):[17]: --entering debugger (type help to see debugger commands)
/usr/local/share/Macaulay2/Core/setup.m2:114:27-114:35: --source code:
ret = loadfun fullfilename;
and then the normal M2 prompt appears
Currently bottles for M2 are not relocatable on x86_64_linux
only because of the following offenses:
==> Detecting if macaulay2--1.21_2.x86_64_linux.bottle.tar.gz is relocatable...
Warning: String '/home/linuxbrew/.linuxbrew/opt' still exists in these files:
/home/linuxbrew/.linuxbrew/Cellar/macaulay2/1.21_2/bin/M2-binary
--> match '/home/linuxbrew/.linuxbrew/opt/libatomic_ops/include' at offset 0xcaaa2cc
--> match '/home/linuxbrew/.linuxbrew/opt/gmp/include' at offset 0xcaab4d3
--> match '/home/linuxbrew/.linuxbrew/opt/mpfr/include' at offset 0xcaab4fe
--> match '/home/linuxbrew/.linuxbrew/opt/mpfi/include' at offset 0xcaab52a
--> match '/home/linuxbrew/.linuxbrew/opt/gdbm/include' at offset 0xcaabb7f
--> match '/home/linuxbrew/.linuxbrew/opt/libffi/include' at offset 0xcab1e52
This might be fixed by stripping the binary (which might also explain why the size of the binary on linux is almost 2x as large as on macos).
The benefit of relocatable bottles is that brew would not rebuild from source in situations like this: #176
I started encountering an error when attempting to call packages in Macaulay2. It used to work fine. However, since the last time it worked, I have updated my computer software. (I am currently using an M1 Mac, with macOS Sonoma 14.3.1.)
I reached out to the IT group at my local institution. A technician there said that he tried to install Homebrew and Macaulay2 on an otherwise empty Mac, and got the same error message. So he believes it's possible that this is an error of Macaulay2 with the newest macOS.
It looks like normaliz is installed in a directory that's not on my PATH. In particular, when attempting to call a package in Macaulay2, I get the following message:
error: could not find normaliz
Moreover, the command
/opt/homebrew/bin/normaliz --help
also gives an error message. See attached.
Hi,
More recently, I updated my operating system to macOS Sonoma 14.2.1 and when I tried to install the current release of M2 using the command:
brew install Macaulay2/tap/M2
I encountered an error message.
A portion of the terminal session is:
==> Installing macaulay2/tap/macaulay2
==> Patching
==> Applying 84c7b9f67bfdb6b821e24546ab2dd4e2455dfdbf.patch
patching file 'M2/Macaulay2/e/aring-gf-flint-big.hpp'
patching file 'M2/Macaulay2/e/aring-gf-flint.hpp'
patching file 'M2/Macaulay2/e/aring-qq-flint.hpp'
patching file 'M2/Macaulay2/e/aring-zz-flint.hpp'
patching file 'M2/Macaulay2/e/aring-zzp-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-gf-flint-big.hpp'
patching file 'M2/Macaulay2/e/dmat-gf-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-lu-inplace.hpp'
patching file 'M2/Macaulay2/e/dmat-lu-zzp-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-qq-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-zz-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-zzp-flint.hpp'
patching file 'M2/Macaulay2/e/interface/flint.cpp'
patching file 'M2/Macaulay2/e/interface/ring.cpp'
patching file 'M2/Macaulay2/e/mat-linalg.hpp'
==> git clone https://github.com/Macaulay2/M2-emacs.git M2/Macaulay2/editors/ema
==> git clone https://github.com/Macaulay2/memtailor.git M2/submodules/memtailor
==> git clone https://github.com/Macaulay2/mathic.git M2/submodules/mathic
==> git clone https://github.com/Macaulay2/mathicgb.git M2/submodules/mathicgb
==> cmake -GNinja -SM2 -BM2/BUILD/build-brew -DBUILD_NATIVE=OFF -DCMAKE_PREFIX_P
==> cmake --build M2/BUILD/build-brew --target M2-core M2-emacs M2-highlightjs
==> cmake --build M2/BUILD/build-brew --target install-Macaulay2Doc
Last 15 lines from /Users/nathangrieve/Library/Logs/Homebrew/macaulay2/07.cmake:
-- capturing example results for "Module _ List" -- 0.0623203 seconds elapsed
-- capturing example results for "sheaf(Variety)" -- 0.0605192 seconds elapsed
-- capturing example results for "format" -- 0.0600026 seconds elapsed
-- capturing example results for "polynomial rings" -- 0.0656161 seconds elapsed
-- making example results for "Grassmannian(ZZ,ZZ)" -- 0.463332 seconds elapsed
-- capturing example results for "matrices to and from modules" -- 0.0631704 seconds elapsed
-- capturing example results for "HH^ZZ SheafOfRings" -- 0.0618523 seconds elapsed
-- capturing example results for "quotientRemainder" -- 0.0617456 seconds elapsed
-- capturing example results for "ProjectiveHilbertPolynomial ZZ" -- 0.0601177 seconds elapsed
currentString:1:1:(3):[2]: error: installPackage: 14 error(s) occurred running examples for package Macaulay2Doc
dmat lu qq PLU
FAILED: Macaulay2/packages/CMakeFiles/install-Macaulay2Doc usr-dist/arm64-Darwin-macOS-14.2.1/lib/Macaulay2/Macaulay2Doc/.installed /tmp/macaulay2-20240115-57938-3y8iht/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Macaulay2Doc /tmp/macaulay2-20240115-57938-3y8iht/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.2.1/lib/Macaulay2/Macaulay2Doc/.installed
cd /tmp/macaulay2-20240115-57938-3y8iht/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20240115-57938-3y8iht/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.2.1/bin/M2 -q --stop --silent --no-preload --no-threads -e errorDepth=3 -e debugLevel=0 -e "installPackage("Macaulay2Doc", Verbose => false, RerunExamples => false, CheckDocumentation => true, IgnoreExampleErrors => false, RemakeAllDocumentation => false, InstallPrefix => "/tmp/macaulay2-20240115-57938-3y8iht/M2-release-1.22/M2/BUILD/build-brew/usr-dist/", UserMode => false, SeparateExec => true, DebuggingMode => true)" -e ""info-"|"Macaulay2Doc" << Macaulay2Doc#"test number" << close" -e "exit 0" && gzip -nf9 /tmp/macaulay2-20240115-57938-3y8iht/M2-release-1.22/M2/BUILD/build-brew/usr-dist/common/share/info/Macaulay2Doc.info
ninja: build stopped: subcommand failed.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/macaulay2/homebrew-tap/issues
Have others encountered similar issues? Many thanks.
Hi,
I spend a few days trying to compile Macaulay2 using CMake on Apple Silicon and found a setup that (almost) builds the project perfectly on macOS 12.0.1 Monterey:
The modified formula for Homebrew that compiles on Apple Silicon (slight modification):
I hope this was helpful.
Best wishes, Jose
I am having some difficulty installing M2 from the macaulay2 tap. I have two installations of brew, namely an x86 one at /usr/local and a arm one at /opt/homebrew. I suspect that this may have something to do with the issue, as others have been able to use this tap without problems. Below are the outputs of the error in question, as well as brew config and brew doctor.
brew install $(brew deps --1 --include-build macaulay2/tap/M2):
==> Installing factory from macaulay2/tap
==> Downloading https://service.mathematik.uni-kl.de/ftp/pub/Math/Factory/factory-4.2.0.tar.gz
Already downloaded: /Users/moorewf/Library/Caches/Homebrew/downloads/b3441e1ccbdf47cb653fe65b39dbe6afa208dac7c00634d130e5b829716a4423--factory-4.2.0.tar.gz
==> autoreconf -vif
==> ./configure --disable-doxygen-doc --disable-omalloc --without-Singular --with-gmp=/opt/homebrew/opt/gmp --with-ntl=/opt/homebrew/opt/ntl --with-fl
Last 15 lines from /Users/moorewf/Library/Logs/Homebrew/factory/02.configure:
checking for m4... /usr/bin/m4
checking for bison... bison
checking size of long... (cached) 8
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether to use omalloc... no
checking OMALLOC_INCLUDES?..... unset
checking OMALLOC_LIBS?..... unset
checking whether libsingular_resources should be used... no
checking for atof in -lm... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init in -lgmp... no
configure: error: GNU MP not found
brew config:
HOMEBREW_VERSION: 3.0.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: c951be8d3c7b339c7e759b7c40aec859e09a70a5
Last commit: 6 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: b9a6fd6791dab17e8b3137a2a73d311a70ffb05f
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 12.0 build 1200
Git: 2.24.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.1-arm64
CLT: 12.4.0.0.1.1610135815
Xcode: 12.4
Rosetta 2: false
brew doctor:
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
/usr/local/bin/pkg-config
/usr/local/bin/python3.9-config
/usr/local/bin/python3-config
Warning: gettext files detected at a system prefix.
These files can cause compilation and link failures, especially if they
are compiled with improper architectures. Consider removing these files:
/usr/local/lib/libgettextlib.dylib
/usr/local/lib/libintl.dylib
/usr/local/include/libintl.h
I've been trying to update to version 1.22 on OS X (13.6.1) but once I think I'm done, M2 crashes with the following error:
brew --prefix M2
/bin/M2
dyld[5223]: Library not loaded: /usr/local/opt/flint/lib/libflint-17.dylib
Referenced from: <238BE5E0-D968-3476-8D0E-FE68D564740F> /usr/local/Cellar/macaulay2/1.22_1/bin/M2-binary
(etc.)
[denham:~]$ brew install flint
Warning: flint 3.0.0 is already installed and up-to-date.
I'm a homebrew novice, so all I could think of doing was to remove the packages, reinstall, try again, and get the same results. Thanks in advance for any suggestions.
This is an Intel iMac running Ventura 13.4.1 (22F82) with completely up-to-date homebrew.
There is some libicu linking / version trouble again (with the bottled version). I have libicudata.73.2.dylib which should satisfy the dependency just as well. Why is the .72 version hard-wired? (I never understood linking on MacOS anyway... :( )
~ brew install Macaulay2
==> Fetching macaulay2/tap/macaulay2
==> Downloading https://github.com/Macaulay2/homebrew-tap/releases/download/macaulay2-1.22/macaulay2-1.22.ventura.bottle.tar.gz
Already downloaded: /Users/tom/Library/Caches/Homebrew/downloads/ffd6eaeaf9f1e36120119f5b871d9edc32aeee6ff3083f0d0ae410bdbc447f0d--macaulay2-1.22.ventura.bottle.tar.gz
==> Installing macaulay2 from macaulay2/tap
==> Pouring macaulay2-1.22.ventura.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/macaulay2
==> Summary
๐บ /usr/local/Cellar/macaulay2/1.22: 19,973 files, 230.5MB
==> Running `brew cleanup macaulay2`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
โ ~ M2
dyld[6958]: Library not loaded: /usr/local/opt/icu4c/lib/libicudata.72.dylib
Referenced from: <A01D2E6D-7091-3081-9A77-9D6F8BB8A1C6> /usr/local/Cellar/macaulay2/1.22/bin/M2-binary
Reason: tried: '/usr/local/bin/../lib/Macaulay2/lib/libicudata.72.dylib' (no such file), '/libicudata.72.dylib' (no such file), '/usr/local/opt/icu4c/lib/libicudata.72.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/icu4c/lib/libicudata.72.dylib' (no such file), '/usr/local/opt/icu4c/lib/libicudata.72.dylib' (no such file), '/usr/local/lib/libicudata.72.dylib' (no such file), '/usr/lib/libicudata.72.dylib' (no such file, not in dyld cache), '/usr/local/bin/../lib/Macaulay2/lib/libicudata.72.dylib' (no such file), '/libicudata.72.dylib' (no such file), '/usr/local/Cellar/icu4c/73.2/lib/libicudata.72.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/icu4c/73.2/lib/libicudata.72.dylib' (no such file), '/usr/local/Cellar/icu4c/73.2/lib/libicudata.72.dylib' (no such file), '/usr/local/lib/libicudata.72.dylib' (no such file), '/usr/lib/libicudata.72.dylib' (no such file, not in dyld cache)
[1] 6958 abort M2
~ ls /usr/local/opt/icu4c/lib/libicudata.*
/usr/local/opt/icu4c/lib/libicudata.73.2.dylib /usr/local/opt/icu4c/lib/libicudata.a
/usr/local/opt/icu4c/lib/libicudata.73.dylib /usr/local/opt/icu4c/lib/libicudata.dylib
Trying to brew install Macaulay2 on new MacBook Air, M1 processor, OS 11.6. Get the following authentication error from github
% brew install Macauley2/tap/M2
==> Tapping macauley2/tap
Cloning into '/opt/homebrew/Library/Taps/macauley2/homebrew-tap'...
Username for 'https://github.com': e-duckworth
Password for 'https://[email protected]':
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/macauley2/homebrew-tap/'
Error: Failure while executing; `git clone https://github.com/macauley2/homebrew-tap /opt/homebrew/Library/Taps/macauley2/homebrew-tap --origin=origin --template=` exited with 128.
Hi! I tried to install Macaulay2 by brew install Macaulay2/tap/M2
and the download always gets stuck at gfan
with the following error:
Error: gfan: Failed to download resource "gfan"
Download failed: https://github.com/Macaulay2/homebrew-tap/releases/download/gfan-0.6.2_10/gfan-0.6.2_10.arm64_monterey.bottle.tar.gz
It seems that brew install Macaulay2/tap/M2
or brew install macaulay2/tap/gfan
tries to download gfan-0.6.2_10.arm64_monterey.bottle.tar.gz
but at the release page the corresponding version of gfan-0.6.2_9.arm64_monterey.bottle.tar.gz doesn't match. Is there a workaround for this problem?
brew install Macaulay2/tap/M2
ran, but in /usr/local/bin the M2 files claim to be v 1.19
After brew install Macaulay2/tap/m2
I get
dyld: Library not loaded: /usr/local/opt/flint/lib/libflint-15.dylib
Referenced from: /usr/local/bin/M2-binary
Reason: image not found
/usr/local/bin/m2: line 2: 46496 Abort trap: 6 DYLD_LIBRARY_PATH=`dirname "$0"`/../lib/Macaulay2/lib:$DYLD_LIBRARY_PATH `dirname "$0"`/M2-binary "$@"
Here's the output of brew config
:
HOMEBREW_VERSION: 3.2.5-13-g89b8619
ORIGIN: https://github.com/Homebrew/brew
HEAD: 89b8619153ce7f523fcf4d1bb5fa4b3a375c22a4
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: e245b3ea77930d2b658841b1614aec1c67c2c8d2
Core tap last commit: 10 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.UalsTyJl3J/org.macosforge.xquartz:0
HOMEBREW_EDITOR: bbedit -w
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: quad-core 64-bit kabylake
Clang: 12.0.5 build 1205
Git: 2.32.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.5.1-x86_64
CLT: 12.5.0.22.9
Xcode: N/A
XQuartz: 2.7.11 => /opt/X11
Here's the output of otool -L /usr/local/Cellar/macaulay2/1.18_1/bin/M2-binary | grep -i 'flint'
:
/usr/local/opt/flint/lib/libflint-15.dylib (compatibility version 15.0.0, current version 15.0.1)
Here's the output of ls /usr/local/opt/flint/lib
:
libflint-16.dylib libflint.a libflint.dylib libflint.dylib.16
Well, it's not too mysterious that it can't locate libflint-15.dylib
because it doesn't exist, only libflint-16
. It looks like a new version of FLINT was released about 5 days ago, https://flintlib.org/news.html. I tried installing a couple of earlier versions with brew install [email protected]
and [email protected]
, but they didn't work (brew said those formulas weren't available).
Hi! I'm on macOS 10.14.6 and trying to install Macaulay2 via homebrew. I ran brew install Macaulay2/tap/M2
and it downloaded a lot of dependencies, but it's getting stuck on fflas-ffpack
:
==> Downloading https://github.com/Macaulay2/M2/archive/release-1.17.2.tar.gz
Already downloaded: /Users/marcel/Library/Caches/Homebrew/downloads/55fd784a33a3d222cd1d0c2690fdc41a5bb3943209f4f962309c5ffe131a003a--M2-release-1.17.2.tar.gz
==> Installing dependencies for macaulay2/tap/macaulay2: fflas-ffpack, frobby, libatomic_ops, memtailor, mathic, mathicgb, mpsolve, cohomcalg, csdp, glpk, fourtitwo, libffi, llvm, [email protected], gfan, lrs, nauty, normaliz, tbb and topcom
==> Installing macaulay2/tap/macaulay2 dependency: fflas-ffpack
==> Patching
Error: Failure while executing; `patch -g 0 -f -p1` exited with 1. Here's the output:
patching file macros/omp-check.m4
Hunk Macaulay2/M2#1 FAILED at 36.
1 out of 1 hunk FAILED -- saving rejects to file macros/omp-check.m4.rej
The same thing happens if I try to just brew install fflas-ffpack
by itself. I'm not sure what I should do to fix this issue, any help would be greatly appreciated!
I installed macaulay2 using home-brew by the command
$brew install m2
And run macaulay2, and try to load the package "FourTiTwo". However, I got this error as below.
byeongsuyu@yubyeongsuui-MacBook-Air ~ % m2
Macaulay2, version 1.18
with packages: ConwayPolynomials, Elimination, IntegralClosure, InverseSystems,
LLLBases, MinimalPrimes, PrimaryDecomposition, ReesAlgebra,
Saturation, TangentCone
i1 : loadPackage "FourTiTwo"
--loading configuration for package "FourTiTwo" from file /Users/byeongsuyu/Library/Application Support/Macaulay2/init-FourTiTwo.m2
Library/Application Support/Macaulay2/local/share/Macaulay2/FourTiTwo.m2:379:2:(2):[7]: error: encountered unrecognizable synopsis item in documentation for symbol toricMarkov
Then m2 does not recognize toricMarkov as a defined function. Could anyone helps me to deal with this issue?
M2 updated during a usual brew update
. The next time I called m2
from the command line I got the following error that I cannot parse.
dyld: Symbol not found: __ZN3tbb4task13note_affinityEt
Referenced from: /usr/local/bin/M2-binary
Expected in: /usr/local/lib/libtbb.dylib
in /usr/local/bin/M2-binary
/usr/local/bin/M2: line 2: 53114 Abort trap: 6 DYLD_LIBRARY_PATH=`dirname "$0"`/../lib/Macaulay2/lib:$DYLD_LIBRARY_PATH `dirname "$0"`/M2-binary "$@"
brew config
HOMEBREW_VERSION: 3.1.10-10-gc7dff1b
ORIGIN: https://github.com/Homebrew/brew
HEAD: c7dff1bbfe45128b671a0754bf26fdeba791edca
Last commit: 82 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: cc4d543109e8a5287a25bee7e1a0c9676a8df22f
Core tap last commit: 28 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: quad-core 64-bit haswell
Clang: 12.0.0 build 1200
Git: 2.32.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.7-x86_64
CLT: 12.4.0.0.1.1610135815
Xcode: N/A
Tried to update Macaulay2 using Homebrew, called with the command brew install Macaulay2/tap/M2
.
As far as I can tell the error occurred in building the documentation. A more detailed error message appears below.
Running an Apple M1 Pro chip, MacOS Monterey.
==> cmake --build M2/BUILD/build-brew --target install-Macaulay2Doc
Last 15 lines from /Users/mike/Library/Logs/Homebrew/macaulay2/07.cmake:
-- capturing example results for "Module _ List" -- 0.0871383 seconds elapsed
-- capturing example results for "sheaf(Variety)" -- 0.0855257 seconds elapsed
-- capturing example results for "format" -- 0.0850377 seconds elapsed
-- capturing example results for "polynomial rings" -- 0.0909576 seconds elapsed
-- making example results for "Grassmannian(ZZ,ZZ)" -- 0.513987 seconds elapsed
-- capturing example results for "matrices to and from modules" -- 0.0875512 seconds elapsed
-- capturing example results for "HH^ZZ SheafOfRings" -- 0.0866739 seconds elapsed
-- capturing example results for "quotientRemainder" -- 0.0869851 seconds elapsed
-- capturing example results for "ProjectiveHilbertPolynomial ZZ" -- 0.0849783 seconds elapsed
currentString:1:1:(3):[2]: error: installPackage: 2 error(s) occurred running examples for package Macaulay2Doc
dmat lu qq PLU
FAILED: Macaulay2/packages/CMakeFiles/install-Macaulay2Doc usr-dist/arm64-Darwin-macOS-12.6.7/lib/Macaulay2/Macaulay2Doc/.installed /tmp/macaulay2-20230725-37968-k6k8kw/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Macaulay2Doc /tmp/macaulay2-20230725-37968-k6k8kw/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-12.6.7/lib/Macaulay2/Macaulay2Doc/.installed
My first time trying to install M2 using brew.
brew install Macaulay2/tap/M2
No obvious errors reports (I think).
Then I try /usr/local/bin/M2
and get this:
$ /usr/local/bin/M2
dyld: Library not loaded: /usr/local/opt/ntl/lib/libntl.43.dylib
Referenced from: /usr/local/bin/M2-binary
Reason: image not found
/usr/local/bin/M2: line 2: 69331 Abort trap: 6 DYLD_LIBRARY_PATH=`dirname "$0"`/../lib/Macaulay2/lib:$DYLD_LIBRARY_PATH `dirname "$0"`/M2-binary "$@"
I have no idea what to do next.
Below are (what I believe to be) the relevant error messages. In particular, the error seems to be related to "libgcc_s".
sh: line 1: 20767 Abort trap: 6 /usr/local/bin/gfan --help > /dev/null 2>&1
sh: line 1: 20769 Abort trap: 6 /usr/local/bin/gfan --help > /dev/null 2>&1
sh: line 1: 20771 Abort trap: 6 /usr/local/bin/gfan --help > /dev/null 2>&1
sh: line 1: 20773 Abort trap: 6 /usr/local/bin/gfan --help > /dev/null 2>&1
stdio:5:1:(3): error: could not find gfan
i6 : exit
Hylozoist|ggsmith:~/Repository % /usr/local/bin/gfan --help
dyld[20785]: Library not loaded: /usr/local/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib
Referenced from: <CBB75610-FD33-3E0E-8C58-177E665FAEB2> /usr/local/Cellar/gfan/0.6.2_10/bin/gfan
Reason: tried: '/usr/local/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib' (no such file), '/usr/local/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib' (no such file), '/usr/local/lib/libgcc_s.1.1.dylib' (no such file), '/usr/lib/libgcc_s.1.1.dylib' (no such file, not in dyld cache)
zsh: abort /usr/local/bin/gfan --help'''
the Macaulay installation process failed for me with the message:
url: (56) LibreSSL SSL_read: error:02FFF036:system library:func(4095):Connection reset by peer, errno 54
Error: macaulay2: Failed to download resource "gcc"
Download failed: https://ghcr.io/v2/homebrew/core/gcc/blobs/sha256:d91d7d7af4b16d3b8727a71ee77ce725160d5259924efac20b4458921b126bb1
If you try to install M2 using Homebrew on an old, unsupported machine, it gives a warning along the lines of "don't open an issue .. we will close it .." which scares beginners, even though I believe it is telling people not to open an issue on the main Homebrew repository.
Currently the gfan binary is linked with two dynamic libraries shipped with gcc:
==> Pouring gfan--0.6.2_10.ventura.bottle.1.tar.gz
Broken dependencies:
/usr/local/opt/gcc@11/lib/gcc/11/libgcc_s.1.1.dylib (gcc@11)
/usr/local/opt/gcc@11/lib/gcc/11/libstdc++.6.dylib (gcc@11)
This is not ideal because it means installing the M2 bottle will download and install gcc, which is heavy.
@mahrud, one person at KTH just upgraded homebrew, and M2 stopped working. Doing brew update
, brew upgrade macaulay2
didn't work. Then I uninstalled macaulay2, and tried installing as below. Here is the error. At first, It appeared like it could be related to libfactory and singular, but now we just get the following error (she is working on mac m2, on ventura):
Any ideas what this could be? (I thought there was a list of things to try on the macaulay2 homebrew site, but I didn't see those). What is the best way to upgrade to a newer version of macaulay2?
alsat@alsat-mbp ~ % brew install macaulay2
==> Downloading https://formulae.brew.sh/api/formula.jws.json
#################################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
#################################################################################### 100.0%
==> Fetching macaulay2/tap/macaulay2
==> Downloading https://github.com/Macaulay2/M2/commit/84c7b9f67bfdb6b821e24546ab2dd4e2455d
#################################################################################### 100.0%
==> Downloading https://github.com/Macaulay2/M2/archive/refs/tags/release-1.22.tar.gz
Already downloaded: /Users/alsat/Library/Caches/Homebrew/downloads/62af3a24e20792277dc5d0a8fcfedd4099bd87dc9c76dae1f8e6825433192632--M2-release-1.22.tar.gz
==> Installing macaulay2 from macaulay2/tap
==> Patching
==> Applying 84c7b9f67bfdb6b821e24546ab2dd4e2455dfdbf.patch
patching file 'M2/Macaulay2/e/aring-gf-flint-big.hpp'
patching file 'M2/Macaulay2/e/aring-gf-flint.hpp'
patching file 'M2/Macaulay2/e/aring-qq-flint.hpp'
patching file 'M2/Macaulay2/e/aring-zz-flint.hpp'
patching file 'M2/Macaulay2/e/aring-zzp-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-gf-flint-big.hpp'
patching file 'M2/Macaulay2/e/dmat-gf-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-lu-inplace.hpp'
patching file 'M2/Macaulay2/e/dmat-lu-zzp-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-qq-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-zz-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-zzp-flint.hpp'
patching file 'M2/Macaulay2/e/interface/flint.cpp'
patching file 'M2/Macaulay2/e/interface/ring.cpp'
patching file 'M2/Macaulay2/e/mat-linalg.hpp'
==> git clone https://github.com/Macaulay2/M2-emacs.git M2/Macaulay2/editors/emacs --branch
==> git clone https://github.com/Macaulay2/memtailor.git M2/submodules/memtailor
==> git clone https://github.com/Macaulay2/mathic.git M2/submodules/mathic
==> git clone https://github.com/Macaulay2/mathicgb.git M2/submodules/mathicgb
==> cmake -GNinja -SM2 -BM2/BUILD/build-brew -DBUILD_NATIVE=OFF -DCMAKE_PREFIX_PATH=/opt/ho
==> cmake --build M2/BUILD/build-brew --target M2-core M2-emacs M2-highlightjs
==> cmake --build M2/BUILD/build-brew --target install-Macaulay2Doc
Last 15 lines from /Users/alsat/Library/Logs/Homebrew/macaulay2/07.cmake:
-- capturing example results for "Module _ List" -- 0.0618183 seconds elapsed
-- capturing example results for "sheaf(Variety)" -- 0.0599823 seconds elapsed
-- capturing example results for "format" -- 0.0593311 seconds elapsed
-- capturing example results for "polynomial rings" -- 0.0661276 seconds elapsed
-- making example results for "Grassmannian(ZZ,ZZ)" -- 0.468875 seconds elapsed
-- capturing example results for "matrices to and from modules" -- 0.06267 seconds elapsed
-- capturing example results for "HH^ZZ SheafOfRings" -- 0.0618913 seconds elapsed
-- capturing example results for "quotientRemainder" -- 0.0628503 seconds elapsed
-- capturing example results for "ProjectiveHilbertPolynomial ZZ" -- 0.0596169 seconds elapsed
currentString:1:1:(3):[2]: error: installPackage: 14 error(s) occurred running examples for package Macaulay2Doc
dmat lu qq PLU
FAILED: Macaulay2/packages/CMakeFiles/install-Macaulay2Doc usr-dist/arm64-Darwin-macOS-13.6.1/lib/Macaulay2/Macaulay2Doc/.installed /tmp/macaulay2-20231204-1387-1lklp71/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Macaulay2Doc /tmp/macaulay2-20231204-1387-1lklp71/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-13.6.1/lib/Macaulay2/Macaulay2Doc/.installed
cd /tmp/macaulay2-20231204-1387-1lklp71/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20231204-1387-1lklp71/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-13.6.1/bin/M2 -q --stop --silent --no-preload --no-threads -e errorDepth=3 -e debugLevel=0 -e "installPackage(\"Macaulay2Doc\", Verbose => false, RerunExamples => false, CheckDocumentation => true, IgnoreExampleErrors => false, RemakeAllDocumentation => false, InstallPrefix => \"/tmp/macaulay2-20231204-1387-1lklp71/M2-release-1.22/M2/BUILD/build-brew/usr-dist/\", UserMode => false, SeparateExec => true, DebuggingMode => true)" -e "\"info-\"|\"Macaulay2Doc\" << Macaulay2Doc#\"test number\" << close" -e "exit 0" && gzip -nf9 /tmp/macaulay2-20231204-1387-1lklp71/M2-release-1.22/M2/BUILD/build-brew/usr-dist/common/share/info/Macaulay2Doc.info
ninja: build stopped: subcommand failed.
...
0.054617 seconds elapsed
-- capturing example results for "quotientRemainder" -- 0.0544502 seconds elapsed
-- capturing example results for "ProjectiveHilbertPolynomial ZZ" -- 0.0527198 seconds elapsed
currentString:1:1:(3):[2]: error: installPackage: 14 error(s) occurred running examples for package Macaulay2Doc
dmat lu qq PLU
FAILED: Macaulay2/packages/CMakeFiles/install-Macaulay2Doc usr-dist/arm64-Darwin-macOS-14.2.1/lib/Macaulay2/Macaulay2Doc/.installed /tmp/macaulay2-20231230-2566-wwgisx/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Macaulay2Doc /tmp/macaulay2-20231230-2566-wwgisx/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.2.1/lib/Macaulay2/Macaulay2Doc/.installed
cd /tmp/macaulay2-20231230-2566-wwgisx/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20231230-2566-wwgisx/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.2.1/bin/M2 -q --stop --silent --no-preload --no-threads -e errorDepth=3 -e debugLevel=0 -e "installPackage("Macaulay2Doc", Verbose => false, RerunExamples => false, CheckDocumentation => true, IgnoreExampleErrors => false, RemakeAllDocumentation => false, InstallPrefix => "/tmp/macaulay2-20231230-2566-wwgisx/M2-release-1.22/M2/BUILD/build-brew/usr-dist/", UserMode => false, SeparateExec => true, DebuggingMode => true)" -e ""info-"|"Macaulay2Doc" << Macaulay2Doc#"test number" << close" -e "exit 0" && gzip -nf9 /tmp/macaulay2-20231230-2566-wwgisx/M2-release-1.22/M2/BUILD/build-brew/usr-dist/common/share/info/Macaulay2Doc.info
ninja: build stopped: subcommand failed.
What is going wrong? Wolfgang
Hello!
I've installed M2 many times over the years the "traditional way" but was excited to see that the Homebrew installation is now available. Brew is able to install other programs, but I am running into problems with M2. I'm on a MacBook Air M1 with Big Sur.
The terminal code is below - a helpful former student tells me that it's at the stage of installing dependences, when installing MP code.
I'm not really sure what is going on or how to fix it. Any explanations would be very helpful. Thank you!
Installing mpsolve from macaulay2/tap
==> Downloading https://raw.githubusercontent.com/Macaulay2/M2/35c3e5e5f03cb2e60baa8e69f8109afcdb5fdc7b/M2
Already downloaded: /Users/sarahmayes1/Library/Caches/Homebrew/downloads/39fe3b12ab6d0421c68eb9b55cea05b0c30a8adb7a2c1303ef1eb818b5cd929c--patch-3.2.1
==> Downloading https://numpi.dm.unipi.it/_media/software/mpsolve/mpsolve-3.2.1.tar.gz
Already downloaded: /Users/sarahmayes1/Library/Caches/Homebrew/downloads/f31f526adb593a1df8ba3f344e0fe3455ed1ea44de23b7b3d2c64fe68f871d77--mpsolve-3.2.1.tar.gz
==> Patching
==> Applying patch-3.2.1
patching file configure.ac
patching file src/mpsolve/Makefile.am
patching file configure.ac
==> autoreconf -vif
==> ./configure --disable-examples --disable-ui --disable-documentation GMP_CFLAGS=-I/opt/homebrew/opt/gmp
Last 15 lines from /Users/sarahmayes1/Library/Logs/Homebrew/mpsolve/02.configure:
checking for getline... yes
checking for strndup... yes
checking if C99 complex.h is supported from the C++ compiler... no
checking for pow in -lm... yes
checking for __gmpz_init2 in -lgmp... yes
checking for main in -lgmpxx... yes
checking for gmp.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
checking for check >= 0.9.4... no
checking for gtk+-3.0... no
checking for gtk+-2.0... no
checking for cairo... no
./configure: line 24983: syntax error near unexpected token `newline'
./configure: line 24983: ` '''
Do not report this issue to Homebrew/brew or Homebrew/core!
The resource located at http://www.rambau.wm.uni-bayreuth.de/Software/TOPCOM-0.17.8.tar.gz no longer appears to exist, causing the installation of the "topcom" dependency to fail.
I have just bought a new mac (MacBook Air M2 13' 2022), and tried to install Macaulay2 using homebrew, as recommended in the M2 web page. My laptop came with Monterey OS, and since it was not working, I updated to Ventura, and tried to install macaulay again. Both times the error I see is the following:
"
currentString:1:1:(3):[2]: error: installPackage: 2 error(s) occurred running examples for package Macaulay2Doc
dmat lu qq PLU
FAILED: Macaulay2/packages/CMakeFiles/install-Macaulay2Doc usr-dist/arm64-Darwin-macOS-13.2.1/lib/Macaulay2/Macaulay2Doc/.installed /tmp/macaulay2-20230223-2764-1st4ucc/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Macaulay2Doc /tmp/macaulay2-20230223-2764-1st4ucc/M2-release-1.21/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-13.2.1/lib/Macaulay2/Macaulay2Doc/.installed
cd /tmp/macaulay2-20230223-2764-1st4ucc/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20230223-2764-1st4ucc/M2-release-1.21/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-13.2.1/bin/M2 -q --stop --silent --no-preload --no-threads -e errorDepth=3 -e debugLevel=0 -e "installPackage("Macaulay2Doc", Verbose => false, RerunExamples => false, CheckDocumentation => true, IgnoreExampleErrors => false, RemakeAllDocumentation => false, InstallPrefix => "/tmp/macaulay2-20230223-2764-1st4ucc/M2-release-1.21/M2/BUILD/build-brew/usr-dist/", UserMode => false, SeparateExec => true, DebuggingMode => true)" -e ""info-"|"Macaulay2Doc" << Macaulay2Doc#"test number" << close" -e "exit 0" && gzip -nf9 /tmp/macaulay2-20230223-2764-1st4ucc/M2-release-1.21/M2/BUILD/build-brew/usr-dist/common/share/info/Macaulay2Doc.info
ninja: build stopped: subcommand failed.
"
Is there an easy fix for this?
Thank you
boost
and givaro
libraries are linked using the Cellar path, which means every time that either library is updated (mainly boost
) M2 requires relinking.
2022-11-13T10:22:43.9189153Z Homebrew libraries:
/home/linuxbrew/.linuxbrew/Cellar/boost/1.80.0/lib/libboost_stacktrace_backtrace-mt.so.1.80.0 (boost)
/home/linuxbrew/.linuxbrew/Cellar/givaro/4.2.0/lib/libgivaro.so.9 (macaulay2/tap/givaro)
Avoiding this reduces the need for building new revisions considerably.
In trying to upgrade to version 1.22 using brew install Macaulay2/tap/M2
, I get error: unknown argument: '-MD'
followed by ninja: build stopped: subcommand failed.
.
I am using an Apple Mac on an M1 chip running macOS Ventura 13.4.1 (up-to-date).
I'm not too experienced with homebrew, but here's where in the output it looks like the error begins to occur:
==> cmake -GNinja -SM2 -BM2/BUILD/build-brew -DBUILD_NATIVE=OFF -DCMAKE_PREFIX_P
==> cmake --build M2/BUILD/build-brew --target M2-core M2-emacs M2-highlightjs
After this appears, there are some more logs before the process terminates with the -MD and ninja error messages:
Last 15 lines from /Users/mike/Library/Logs/Homebrew/macaulay2/06.cmake:
/opt/homebrew/bin/ccache /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/c -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o -c /tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/matrix-kbasis.cpp
error: unknown argument: '-MD'
[214/405] /opt/homebrew/bin/ccache /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/c -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o -c /tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/interface/aring.cpp
FAILED: Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o
/opt/homebrew/bin/ccache /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/c -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o -c /tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/interface/aring.cpp
error: unknown argument: '-MD'
[215/405] /opt/homebrew/bin/ccache /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/c -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/res-a2-gb.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/res-a2-gb.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/res-a2-gb.cpp.o -c /tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/res-a2-gb.cpp
FAILED: Macaulay2/e/CMakeFiles/M2-engine.dir/res-a2-gb.cpp.o
/opt/homebrew/bin/ccache /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/c -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/res-a2-gb.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/res-a2-gb.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/res-a2-gb.cpp.o -c /tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/res-a2-gb.cpp
error: unknown argument: '-MD'
[216/405] /opt/homebrew/bin/ccache /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/c -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/interface/cra.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/interface/cra.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/cra.cpp.o -c /tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/interface/cra.cpp
FAILED: Macaulay2/e/CMakeFiles/M2-engine.dir/interface/cra.cpp.o
/opt/homebrew/bin/ccache /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/c -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -mmacosx-version-min=13 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/include -I/tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/interface/cra.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/interface/cra.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/cra.cpp.o -c /tmp/macaulay2-20230627-74719-ik6jks/M2-release-1.22/M2/Macaulay2/e/interface/cra.cpp
error: unknown argument: '-MD'
ninja: build stopped: subcommand failed.
Hi,
I realised there was a recent fix to 1.22_1, but it still is not able to compile in for the new version. Unfortunately there is no bottle yet.
I included the error during the CMake run. The error show up at [288/401] and CMake stops at [299/401].
[288/401] /opt/homebrew/bin/ccache /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/d -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/c -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/include -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o -c /tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/eigen.cpp
FAILED: Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o
/opt/homebrew/bin/ccache /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/d -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/c -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/include -I/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/eigen.cpp.o -c /tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/eigen.cpp
In file included from /tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/eigen.cpp:15:
In file included from /tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/mpreal.h:59:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/complex:706:63: fatal error: no matching function for call to '__constexpr_fabs'
_Tp __logbw = std::__constexpr_logb(std::__constexpr_fmax(std::__constexpr_fabs(__c), std::__constexpr_fabs(__d)));
^~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/Core/functors/BinaryFunctors.h:388:128: note: in instantiation of function template specialization 'std::operator/<eigen_mpfr::mpreal>' requested here
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const LhsScalar& a, const RhsScalar& b) const { return a / b; }
^
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/Core/CoreEvaluators.h:775:12: note: in instantiation of member function 'Eigen::internal::scalar_quotient_op<std::complex<eigen_mpfr::mpreal>>::operator()' requested here
return m_d.func()(m_d.lhsImpl.coeff(index), m_d.rhsImpl.coeff(index));
^
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/Core/AssignEvaluator.h:660:56: note: in instantiation of member function 'Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<std::complex<eigen_mpfr::mpreal>>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<std::complex<eigen_mpfr::mpreal>>, const Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, 1, 0>>>>::coeff' requested here
m_functor.assignCoeff(m_dst.coeffRef(index), m_src.coeff(index));
^
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/Core/AssignEvaluator.h:518:14: note: in instantiation of member function 'Eigen::internal::generic_dense_assignment_kernel<Eigen::internal::evaluator<Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>>, Eigen::internal::evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<std::complex<eigen_mpfr::mpreal>>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<std::complex<eigen_mpfr::mpreal>>, const Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, 1, 0>>>>, Eigen::internal::assign_op<std::complex<eigen_mpfr::mpreal>, std::complex<eigen_mpfr::mpreal>>>::assignCoeff' requested here
kernel.assignCoeff(i);
^
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/Core/AssignEvaluator.h:785:34: note: in instantiation of member function 'Eigen::internal::dense_assignment_loop<Eigen::internal::generic_dense_assignment_kernel<Eigen::internal::evaluator<Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>>, Eigen::internal::evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<std::complex<eigen_mpfr::mpreal>>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>, -1, 1, true>, -1, 1>, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<std::complex<eigen_mpfr::mpreal>>, const Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, 1, 0>>>>, Eigen::internal::assign_op<std::complex<eigen_mpfr::mpreal>, std::complex<eigen_mpfr::mpreal>>>>::run' requested here
dense_assignment_loop<Kernel>::run(kernel);
^
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/Core/AssignEvaluator.h:954:5: note: (skipping 11 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
call_dense_assignment_loop(dst, src, func);
^
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/QR/ColPivHouseholderQR.h:477:3: note: in instantiation of member function 'Eigen::ColPivHouseholderQR<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>>::computeInPlace' requested here
computeInPlace();
^
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/SVD/JacobiSVD.h:229:12: note: in instantiation of function template specialization 'Eigen::ColPivHouseholderQR<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>>::compute<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>>' requested here
m_qr.compute(m_adjoint);
^
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/SVD/JacobiSVD.h:692:27: note: in instantiation of member function 'Eigen::internal::qr_preconditioner_impl<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>, 2, 0>::run' requested here
m_qr_precond_morecols.run(*this, m_scaledMatrix);
^
/opt/homebrew/opt/eigen/include/eigen3/unsupported/Eigen/../../Eigen/src/SVD/JacobiSVD.h:549:7: note: in instantiation of member function 'Eigen::JacobiSVD<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>>::compute' requested here
compute(matrix, computationOptions);
^
/tmp/macaulay2-20231103-41927-y7kiqs/M2-release-1.22/M2/Macaulay2/e/eigen.cpp:353:34: note: in instantiation of member function 'Eigen::JacobiSVD<Eigen::Matrix<std::complex<eigen_mpfr::mpreal>, -1, -1>>::JacobiSVD' requested here
Eigen::JacobiSVD<MatrixXmpCCC> svd(AXmp, Eigen::ComputeThinU | Eigen::ComputeThinV);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/cmath:653:54: note: candidate function not viable: no known conversion from 'eigen_mpfr::mpreal' to 'float' for 1st argument
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR float __constexpr_fabs(float __x) _NOEXCEPT {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/cmath:657:55: note: candidate function not viable: no known conversion from 'eigen_mpfr::mpreal' to 'double' for 1st argument
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR double __constexpr_fabs(double __x) _NOEXCEPT {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/cmath:661:60: note: candidate function not viable: no known conversion from 'eigen_mpfr::mpreal' to 'long double' for 1st argument
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR long double __constexpr_fabs(long double __x) _NOEXCEPT {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/cmath:666:48: note: candidate template ignored: requirement 'is_integral<eigen_mpfr::mpreal>::value' was not satisfied [with _Tp = eigen_mpfr::mpreal]
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR double __constexpr_fabs(_Tp __x) _NOEXCEPT {
^
1 error generated.
From the brew documentation:
Bottles are produced by installing a formula with
brew install --build-bottle <formula>
and then bottling it withbrew bottle <formula>
. This generates a bottle file in the current directory and outputs the bottle DSL for insertion into the formula file.
Anyone with a standard Apple M1 machine can produce bottles for Macaulay2 and its dependencies, which we can then upload as release files on Github and update the formula file so that others can install Macaulay2 without the need to compile anything.
The following formulas need to be bottled:
Currently:
==> Dependencies
Build: autoconf โ, automake โ, bison โ, cmake โ, libtool โ, ninja โ, pkg-config โ
Required: bdw-gc โ, boost โ, eigen โ, [email protected] โ, fflas-ffpack โ, [email protected] โ, frobby โ, gdbm โ, givaro โ, glpk โ, gmp โ, libatomic_ops โ, libxml2 โ, mathic โ, mathicgb โ, memtailor โ, mpfr โ, mpsolve โ, ntl โ, [email protected] โ, readline โ
Recommended: [email protected] โ, cohomcalg โ, csdp โ, fourtitwo โ, gfan โ, lrs โ, nauty โ, normaliz โ, topcom โ
Optional: tbb โ
Some can become build dependencies, like eigen
and fflas-ffpack
, some like cddlib
can be entirely removed. It might be good to statically link larger dependencies (like boost
, openblas
) and make them build dependencies.
ps: tbb
is optional because it introduced a dependency on gcc
, which caused some issues. Would be good to make it a recommended build dependency for both M2 and mathicgb again.
Here is the end of the log in a (failing) attempt to brew csdp
CMAKE_PREFIX_PATH: /opt/homebrew
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/11
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
ACLOCAL_PATH: /opt/homebrew/share/aclocal
PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
Error: macaulay2/tap/csdp 6.2.0 did not build
I was trying to install Macaulay2 by using homebrew but I keep getting the error:
The Homebrew tap Macaulay2/tap/fflas-ffpack prevents Sage from building https://github.com/Macaulay2/homebrew-tap/issues/68
Somebody here said it can be fixed over here 877fc15
But I have no idea what I'm supposed to do. Should I copy and paste the code given in the link to my terminal? (I tried copying and pasting it but it didn't work). By the way my mac version is macOS 13.1
The tests directory isn't installed with the brew package. See:
https://github.com/Macaulay2/M2/blob/9b0b7f0c72ad4b5d1ad7f3814786736c35c87022/M2/Macaulay2/tests/normal/Makefile.in#L12-L18
Originally posted by @mahrud in Macaulay2/M2#1834 (comment)
Hi, I tried to install M2 by
brew install Macaulay2/tap/M2
on M1-Mac. However, it failed to compile Csdp. The clang does not recognize the keyword "inline"; I guess that it needs an option to understand the c99 specification.
Many thanks in advance for advices.
brew install csdp
==> Downloading https://raw.githubusercontent.com/Macaulay2/M2/1f99f71a1308318679412de7f20e9
Already downloaded: /Users/nobuki/Library/Caches/Homebrew/downloads/3502d46bdfc627a4d2dd452c2bf7e15efbbf546591d07240043326fe5f64df8e--patch-6.2.0
==> Downloading https://github.com/coin-or/Csdp/archive/releases/6.2.0.tar.gz
Already downloaded: /Users/nobuki/Library/Caches/Homebrew/downloads/49d31940eb27a9babe8061a83fed6d3b764e7d86091ebbd31a2ce4b559baa31c--Csdp-releases-6.2.0.tar.gz
==> Installing csdp from macaulay2/tap
==> Patching
==> Applying patch-6.2.0
patching file Makefile
patching file example/Makefile
patching file lib/user_exit.c
patching file solver/Makefile
patching file theta/Makefile
patching file theta/rand_graph.c
==> make CC=clang ${OpenMP_C_FLAGS} ${CFLAGS} LDLIBS=${OpenMP_C_LDLIBS} LIBS=-L../lib -lsdp
Last 15 lines from /Users/nobuki/Library/Logs/Homebrew/csdp/01.make:
clang -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -c -o sdp.o sdp.c
clang -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -c -o op_o.o op_o.c
clang -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -c -o psd_feas.o psd_feas.c
clang -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -c -o op_a.o op_a.c
clang -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -c -o op_at.o op_at.c
clang -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -c -o Fnorm.o Fnorm.c
clang -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -ansi -Wall -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -c -o calc_pobj.o calc_pobj.c
In file included from op_o.c:15:
/opt/homebrew/opt/libomp/include/omp.h:484:12: error: unknown type name 'inline'
static inline int omp_is_initial_device(void) { return 1; }
^
1 error generated.
make[1]: *** [op_o.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
bash-3.2$ brew config
HOMEBREW_VERSION: 3.2.16
ORIGIN: https://github.com/Homebrew/brew
HEAD: 09b7ab2c1de3ab32f385aac922b2cd644fdd7c79
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 33afcbb22f54ca27729844dbc2dd9054c43e24ce
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.cIyf8vwb3j/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.0.0 build 1300
Git: 2.30.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.6-arm64
CLT: 13.0.0.0.1.1630607135
Xcode: 13.0
XQuartz: 2.8.1 => /opt/X11
Rosetta 2: false
Hi, I've been running native M2 on an M1 macbook for the past year (thanks Mahrud!). Yesterday I ran some brew
commands while trying to get a jar
file working, which somehow led to a broken M2. Trying a fresh re-install didn't work. Now running only brew upgrade
I see:
==> Upgrading 1 outdated package:
macaulay2/tap/factory 4.2.0 -> 4.2.1_1
==> Downloading https://service.mathematik.uni-kl.de/ftp/pub/Math/Factory/factory-4.2.1.tar.gz
curl: (28) Failed to connect to service.mathematik.uni-kl.de port 443 after 75011 ms: Operation timed out
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (28) Failed to connect to service.mathematik.uni-kl.de port 443 after 75003 ms: Operation timed out
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (28) Failed to connect to service.mathematik.uni-kl.de port 443 after 75004 ms: Operation timed out
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (28) Failed to connect to service.mathematik.uni-kl.de port 443 after 75004 ms: Operation timed outError: factory: Failed to download resource "factory"
Download failed: https://service.mathematik.uni-kl.de/ftp/pub/Math/Factory/factory-4.2.1.tar.gz
Checking the U of Kaiserslautern math dept website, I see their IT systems are blocked and the Singular website it down (is it just me?). Is there a workaround to get brew to finish the upgrade?
Here is the error message I get after trying to install M2 on macOS 12.1 Monterey (M1) using homebrew:
Error: macaulay2: Failed to download resource "factory"
Download failed: https://service.mathematik.uni-kl.de/ftp/pub/Math/Factory/factory-4.2.1.tar.gz
Can you help me with this? Thanks.
When installing on my M1 Macbook Pro via brew I get the error unknown argument: '-MD'
. I have pasted terminal output below as well as my brew config. Not sure if I am missing a dependancy or not.
% brew --config
HOMEBREW_VERSION: 4.0.18
ORIGIN: https://github.com/Homebrew/brew
HEAD: b0dc84b117f54f6b18e0528b95477c54e409ebdd
Last commit: 5 days ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: d690bfc28b1a23765a51a9bd02eff0c2b58d50a5
Core tap last commit: 9 weeks ago
Core tap branch: master
Core tap JSON: 17 May 21:40 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 14.0.0 build 1400
Git: 2.37.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.87.0 => /usr/bin/curl
macOS: 12.6.5-arm64
CLT: 14.2.0.0.1.1668646533
Xcode: N/A
Rosetta 2: false
% brew install Macaulay2/tap/M2
==> Downloading https://formulae.brew.sh/api/formula.jws.json
##O=# #
==> Fetching macaulay2/tap/macaulay2
==> Downloading https://github.com/Macaulay2/M2/commit/c4bf16f3278118ff1b6fdf20d4ad68441f4b26c5.patch?full_inde
Already downloaded: /Users/bstone49/Library/Caches/Homebrew/downloads/ac963ad48c0661b05ac4a1f73dd8e6849b57769bffc050d958df262ef5ff1ed2--c4bf16f3278118ff1b6fdf20d4ad68441f4b26c5.patch
==> Downloading https://github.com/Macaulay2/M2/archive/refs/tags/release-1.21.tar.gz
Already downloaded: /Users/bstone49/Library/Caches/Homebrew/downloads/b03ad43a23f645eabed8b116df2ac468d83d4aaa15520e71a73159c95c0c5156--M2-release-1.21.tar.gz
==> Installing macaulay2 from macaulay2/tap
==> Patching
==> Applying c4bf16f3278118ff1b6fdf20d4ad68441f4b26c5.patch
patching file M2/Macaulay2/packages/Normaliz.m2
==> git clone https://github.com/Macaulay2/M2-emacs.git M2/Macaulay2/editors/emacs --branch main
==> git clone https://github.com/Macaulay2/memtailor.git M2/submodules/memtailor
==> git clone https://github.com/Macaulay2/mathic.git M2/submodules/mathic
==> git clone https://github.com/Macaulay2/mathicgb.git M2/submodules/mathicgb
==> cmake -GNinja -SM2 -BM2/BUILD/build-brew -DBUILD_NATIVE=OFF -DCMAKE_PREFIX_PATH=/opt/homebrew/opt/bison;/op
==> cmake --build M2/BUILD/build-brew --target M2-core M2-emacs M2-highlightjs
Last 15 lines from /Users/bstone49/Library/Logs/Homebrew/macaulay2/06.cmake:
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/c -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-min=12 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o -c /tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/interface/aring.cpp
error: unknown argument: '-MD'
[214/412] /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/c -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-min=12 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o -c /tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/matrix-symm.cpp
FAILED: Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/c -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-min=12 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-symm.cpp.o -c /tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/matrix-symm.cpp
error: unknown argument: '-MD'
[215/412] /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/c -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-min=12 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o -c /tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/matrix-kbasis.cpp
FAILED: Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/c -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-min=12 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-kbasis.cpp.o -c /tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/matrix-kbasis.cpp
error: unknown argument: '-MD'
[216/412] /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/c -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-min=12 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-sort.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-sort.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-sort.cpp.o -c /tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/matrix-sort.cpp
FAILED: Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-sort.cpp.o
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/c -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/Macaulay2/d -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathic -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/memtailor -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/mathicgb -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/libxml2 -I/opt/homebrew/opt/mpsolve/include -I/opt/homebrew/opt/frobby/include -I/opt/homebrew/opt/factory/include -I/opt/homebrew/opt/flint/include -I/opt/homebrew/opt/ntl/include -I/opt/homebrew/opt/mpfi/include -I/opt/homebrew/opt/mpfr/include -I/opt/homebrew/opt/bdw-gc/include -I/opt/homebrew/opt/gdbm/include -I/opt/homebrew/opt/libatomic_ops/include -isystem /opt/homebrew/opt/eigen/include/eigen3 -isystem /opt/homebrew/opt/gmp/include -isystem /opt/homebrew/Cellar/givaro/4.2.0/include -isystem /opt/homebrew/Cellar/fflas-ffpack/2.5.0/include -isystem /opt/homebrew/opt/tbb/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-min=12 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/include -I/tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -Xclang -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-sort.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-sort.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/matrix-sort.cpp.o -c /tmp/macaulay2-20230517-52689-neaod2/M2-release-1.21/M2/Macaulay2/e/matrix-sort.cpp
error: unknown argument: '-MD'
ninja: build stopped: subcommand failed.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/macaulay2/homebrew-tap/issues
Today, during a routine update/upgrade of homebrew, Macaulay2 failed to upgrade (I am working on an Intel MacBook Pro with Sonoma 14.2.1) I tried uninstalling and installing it again, using all the tricks and patches I learned about a month ago when the install also failed but ultimately succeeded; this time I could not get it to install, despite repeated attempts. To recap the main two tracks I used:
(1) If I try a standard "brew install M2" or " brew install Macaulay2/tap/M2", I get
==> Downloading https://formulae.brew.sh/api/formula.jws.json
################################################################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
################################################################################################################## 100.0%
==> Fetching macaulay2/tap/macaulay2
==> Downloading https://github.com/Macaulay2/homebrew-tap/releases/download/macaulay2-1.22_2/macaulay2-1.22_2.ventura.bot
Already downloaded: .../Library/Caches/Homebrew/downloads/4f0cce1868b068f4953cd9f88b701a3ab685cfb8cda1a9509fb1e00158174aa3--macaulay2-1.22_2.ventura.bottle.tar.gz
==> Installing macaulay2 from macaulay2/tap
==> Pouring macaulay2-1.22_2.ventura.bottle.tar.gz
>M2
dyld[33649]: Library not loaded: /usr/local/opt/icu4c/lib/libicudata.73.dylib
Referenced from: <0DB95822-6D58-3D58-AABF-BAEBE9BB176D> /usr/local/Cellar/macaulay2/1.22_2/bin/M2-binary
Reason: tried: '/usr/local/bin/../lib/Macaulay2/lib/libicudata.73.dylib' (no such file), '/libicudata.73.dylib' (no such file), '/usr/local/opt/icu4c/lib/libicudata.73.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/icu4c/lib/libicudata.73.dylib' (no such file), '/usr/local/opt/icu4c/lib/libicudata.73.dylib' (no such file), '/usr/local/lib/libicudata.73.dylib' (no such file), '/usr/lib/libicudata.73.dylib' (no such file, not in dyld cache), '/usr/local/bin/../lib/Macaulay2/lib/libicudata.73.dylib' (no such file), '/libicudata.73.dylib' (no such file), '/usr/local/Cellar/icu4c/74.2/lib/libicudata.73.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/icu4c/74.2/lib/libicudata.73.dylib' (no such file), '/usr/local/Cellar/icu4c/74.2/lib/libicudata.73.dylib' (no such file), '/usr/local/lib/libicudata.73.dylib' (no such file), '/usr/lib/libicudata.73.dylib' (no such file, not in dyld cache)
zsh: abort M2
(2) On the other hand, if I try "brew install --build-bottle M2", this is what I get, after waiting for a few hours:
==> Fetching macaulay2/tap/macaulay2
==> Downloading https://github.com/Macaulay2/M2/commit/84c7b9f67bfdb6b821e24546ab2dd4e2455dfdbf.patch?full_index=1
################################################################################################################## 100.0%
==> Downloading https://github.com/Macaulay2/M2/archive/refs/tags/release-1.22.tar.gz
Already downloaded: ../Library/Caches/Homebrew/downloads/62af3a24e20792277dc5d0a8fcfedd4099bd87dc9c76dae1f8e6825433192632--M2-release-1.22.tar.gz
==> Installing macaulay2 from macaulay2/tap
==> Patching
==> Applying 84c7b9f67bfdb6b821e24546ab2dd4e2455dfdbf.patch
patching file 'M2/Macaulay2/e/aring-gf-flint-big.hpp'
patching file 'M2/Macaulay2/e/aring-gf-flint.hpp'
patching file 'M2/Macaulay2/e/aring-qq-flint.hpp'
patching file 'M2/Macaulay2/e/aring-zz-flint.hpp'
patching file 'M2/Macaulay2/e/aring-zzp-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-gf-flint-big.hpp'
patching file 'M2/Macaulay2/e/dmat-gf-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-lu-inplace.hpp'
patching file 'M2/Macaulay2/e/dmat-lu-zzp-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-qq-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-zz-flint.hpp'
patching file 'M2/Macaulay2/e/dmat-zzp-flint.hpp'
patching file 'M2/Macaulay2/e/interface/flint.cpp'
patching file 'M2/Macaulay2/e/interface/ring.cpp'
patching file 'M2/Macaulay2/e/mat-linalg.hpp'
==> git clone https://github.com/Macaulay2/M2-emacs.git M2/Macaulay2/editors/emacs
==> git clone https://github.com/Macaulay2/memtailor.git M2/submodules/memtailor
==> git clone https://github.com/Macaulay2/mathic.git M2/submodules/mathic
==> git clone https://github.com/Macaulay2/mathicgb.git M2/submodules/mathicgb
==> cmake -GNinja -SM2 -BM2/BUILD/build-brew -DBUILD_NATIVE=OFF -DCMAKE_PREFIX_PATH=/usr/local/opt/bison;/usr/local/opt/c
==> cmake --build M2/BUILD/build-brew --target M2-core M2-emacs
==> cmake --build M2/BUILD/build-brew --target install-Macaulay2Doc
==> cmake --build M2/BUILD/build-brew --target install-packages
Last 15 lines from .../Library/Logs/Homebrew/macaulay2/08.cmake:
-- making example results for "GG" -- 2.10619 seconds elapsed
-- making example results for "MultiprojectiveVariety \\\\ MultiprojectiveVariety" -- 2.38556 seconds elapsed
-- making example results for "EmbeddedProjectiveVariety !" -- 4.76034 seconds elapsed
-- making example results for "permute(MultiprojectiveVariety,List)" -- 4.31923 seconds elapsed
-- making example results for "shortcuts" -- 3.73553 seconds elapsed
-- making example results for "segreEmbedding" -- 2.36615 seconds elapsed
-- making example results for "degrees(MultiprojectiveVariety)" -- 2.35185 seconds elapsed
-- making example results for "RAT List" -- 1.99749 seconds elapsed
-- making example results for "degree(MultirationalMap,Option)" -- 8.70781 seconds elapsed
-- making example results for "conormalVariety(EmbeddedProjectiveVariety)" -- 2.41562 seconds elapsed
-- making example results for "sectionalGenus" -- 1.73697 seconds elapsed
-- making example results for "rationalMap(MultiprojectiveVariety,Tally)" -- 2.1617 seconds elapsed
-- warning: found 116 documentation node(s) not listed as a subnode
ninja: build stopped: subcommand failed.
I also tried re-installing fan -- the install worked there, but that did not help at all. Is there anything else I could try?
I am having issues just installing this on my mac device.
I think that maybe a host is down and it's not installing a library correctly. Below is a log of the downloads it started, and then the error. I followed the directions on the brew install, and I don't know how to fix this.
If I reinstall without cleaning on top of this folder, it'll download more files but eventually give me a child dependency error.
==> Downloading https://service.mathematik.uni-kl.de/ftp/pub/Math/Factory/factory-4.2
==> Downloading from https://www.mathematik.uni-kl.de/
######################################################################## 100.0%
Error: Is a directory @ rb_file_s_rename - (/Users/joshuaandrewrice/Library/Caches/Homebrew/downloads/ecd5c13be47e5c767cafe7bde587f29ee2f8ebe1e8db5df1b6f17babac3035bc--/.incomplete, /Users/joshuaandrewrice/Library/Caches/Homebrew/downloads/ecd5c13be47e5c767cafe7bde587f29ee2f8ebe1e8db5df1b6f17babac3035bc--/)
I first ran into #92, and the workaround at the bottom + brew postinstall libomp
got me past that error.
Now I am running into a ninja build error:
==> git clone https://github.com/Macaulay2/M2-emacs.git M2/Macaulay2/editors/emacs
==> cmake -GNinja -SM2 -BM2/BUILD/build-brew -DBUILD_NATIVE=OFF -DCMAKE_PREFIX_PATH=/opt/homebrew/opt/bison;/opt/homebrew/opt/cmake;/opt/homebrew/opt/ninja;/opt/homebrew/opt/pkg
==> cmake --build M2/BUILD/build-brew --target M2-core M2-emacs
==> cmake --build M2/BUILD/build-brew --target install-packages
Last 15 lines from /Users/aokeefe/Library/Logs/Homebrew/macaulay2/04.cmake:
-- making example results for "Example 3" -- 1.10076 seconds elapsed
-- making example results for "filteredComplex(ChainComplex)" -- 0.860843 seconds elapsed
-- making example results for "SpectralSequencePage _ List" -- 0.872207 seconds elapsed
-- making example results for "tensor(RingMap,ChainComplex)" -- 0.864891 seconds elapsed
-- making example results for "Identifying anti-podal points of the two sphere" -- 1.44123 seconds elapsed
-- making example results for "How to make filtered complexes from chain complex maps" -- 0.864011 seconds elapsed
-- making example results for "spectralSequencePage" -- 1.32366 seconds elapsed
-- making example results for "The trivial fibration over the sphere with fibers the sphere" -- 1.03549 seconds elapsed
-- making example results for "Filtered complexes and simplicial complexes" -- 1.32513 seconds elapsed
-- making example results for "SpectralSequence _ ZZ" -- 1.72374 seconds elapsed
-- warning: found 109 documentation node(s) not listed as a subnode
-- warning: missing node: maps between chain complexes cited by filteredComplex(List)
-- warning: missing node: tensor(...,Constants=>...) cited by tensor(RingMap,ChainComplex)
-- warning: 2 warning(s) occurred in documentation for package SpectralSequences
ninja: build stopped: subcommand failed.
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
The Homebrew tap Macaulay2/tap/fflas-ffpack prevents Sage from building https://github.com/Macaulay2/homebrew-tap/issues/68
The very last lines are always a warning about 'documentation nodes not listed as a sub node', but the example results just above it are always different (the test examples are randomized). I don't know if fflas-ffpack is what's failling, but issue #68 did not sound like this problem.
Hi,
I can't install/run M2 on my Intel Mac at the moment. If I install the 1.18-rc1_1 bottle, then M2 does not run:
> M2
dyld: Symbol not found: __ZN3tbb4task13note_affinityEt
Referenced from: /usr/local/bin/M2-binary
Expected in: /usr/local/lib/libtbb.dylib
in /usr/local/bin/M2-binary
/usr/local/bin/M2: line 2: 2067 Abort trap: 6 DYLD_LIBRARY_PATH=`dirname "$0"`/../lib/Macaulay2/lib:$DYLD_LIBRARY_PATH `dirname "$0"`/M2-binary "$@"
If I build from source it fails:
> brew install --build-from-source m2
[...]
[190/351] /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I../../Macaulay2/e -I../../Macaulay2/d -I../../Macaulay2/c -IMacaulay2/d -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libxml2 -I/usr/local/opt/mpsolve/include -I/usr/local/opt/mathicgb/include -I/usr/local/opt/mathic/include -I/usr/local/opt/memtailor/include -I/usr/local/opt/frobby/include -I/usr/local/opt/factory/include -I/usr/local/opt/flint/include -I/usr/local/opt/ntl/include -I/usr/local/opt/mpfi/include -I/usr/local/opt/mpfr/include -I/usr/local/opt/bdw-gc/include -I/usr/local/opt/tbb/include -I/usr/local/opt/gdbm/include -I/usr/local/opt/libatomic_ops/include -isystem /usr/local/opt/gmp/include -isystem /usr/local/Cellar/givaro/4.1.1_4/include -isystem /usr/local/Cellar/fflas-ffpack/2.4.3_7/include -isystem /usr/local/opt/libomp/include -isystem /usr/local/opt/eigen/include/eigen3 -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=11 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/tmp/macaulay2-20210608-98361-jv9b4u/M2-release-1.18-rc1/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20210608-98361-jv9b4u/M2-release-1.18-rc1/M2/include -I/tmp/macaulay2-20210608-98361-jv9b4u/M2-release-1.18-rc1/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /usr/local/opt/libomp/lib/libomp.dylib -Xclang -std=gnu++17 -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/interface/ring.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/interface/ring.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/ring.cpp.o -c ../../Macaulay2/e/interface/ring.cpp
[191/351] /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DOM_NDEBUG -DSING_NDEBUG -I../../Macaulay2/e -I../../Macaulay2/d -I../../Macaulay2/c -IMacaulay2/d -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libxml2 -I/usr/local/opt/mpsolve/include -I/usr/local/opt/mathicgb/include -I/usr/local/opt/mathic/include -I/usr/local/opt/memtailor/include -I/usr/local/opt/frobby/include -I/usr/local/opt/factory/include -I/usr/local/opt/flint/include -I/usr/local/opt/ntl/include -I/usr/local/opt/mpfi/include -I/usr/local/opt/mpfr/include -I/usr/local/opt/bdw-gc/include -I/usr/local/opt/tbb/include -I/usr/local/opt/gdbm/include -I/usr/local/opt/libatomic_ops/include -isystem /usr/local/opt/gmp/include -isystem /usr/local/Cellar/givaro/4.1.1_4/include -isystem /usr/local/Cellar/fflas-ffpack/2.4.3_7/include -isystem /usr/local/opt/libomp/include -isystem /usr/local/opt/eigen/include/eigen3 -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=11 -Wuninitialized -g --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/tmp/macaulay2-20210608-98361-jv9b4u/M2-release-1.18-rc1/M2/BUILD/build-brew/usr-host/include -I/tmp/macaulay2-20210608-98361-jv9b4u/M2-release-1.18-rc1/M2/include -I/tmp/macaulay2-20210608-98361-jv9b4u/M2-release-1.18-rc1/M2/BUILD/build-brew/include -Wall -Wextra -Wfatal-errors -Wcast-qual -Wno-unused-parameter -Wno-attributes -Wno-unused-command-line-argument -Wno-cast-qual -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-register -Wno-mismatched-tags -Wno-unused-variable -Xpreprocessor -fopenmp /usr/local/opt/libomp/lib/libomp.dylib -Xclang -std=gnu++17 -MD -MT Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o -MF Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o.d -o Macaulay2/e/CMakeFiles/M2-engine.dir/interface/aring.cpp.o -c ../../Macaulay2/e/interface/aring.cpp
ninja: build stopped: subcommand failed.
@mahrud I tried installing macaulay2 via homebrew on the mac, and have hit a few build issues. What is the best way to handle this error?
bash-3.2$ brew tap Macaulay2/tap
bash-3.2$ brew install --only-dependencies macaulay2/tap/M2
==> Installing macaulay2 from macaulay2/tap
==> Downloading https://github.com/Macaulay2/homebrew-tap/releases/download/factory-4.2.0_1/factory-4.2.0_1.catalina.bottle.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/326525187/4c94d900-d52d-11eb-81fc-0ea1f80b1a53?X-Amz-Algorithm=AWS4-HMAC-S
###################################################################################################################################### 100.0%
==> Installing dependencies for macaulay2/tap/macaulay2: factory
==> Installing macaulay2/tap/macaulay2 dependency: factory
==> Pouring factory-4.2.0_1.catalina.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/factory/cf_gmp.h
Target /usr/local/include/factory/cf_gmp.h
is a symlink belonging to singular. You can unlink it:
brew unlink singular
To force the link and overwrite all conflicting files:
brew link --overwrite factory
To list all files that would be deleted:
brew link --overwrite --dry-run factory
Possible conflicting files are:
/usr/local/include/factory/cf_gmp.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/cf_gmp.h
/usr/local/include/factory/factory.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/factory.h
/usr/local/include/factory/factoryconf.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/factoryconf.h
/usr/local/include/factory/globaldefs.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/globaldefs.h
/usr/local/include/factory/si_log2.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/si_log2.h
/usr/local/include/factory/templates/ftmpl_afactor.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/templates/ftmpl_afactor.h
/usr/local/include/factory/templates/ftmpl_array.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/templates/ftmpl_array.h
/usr/local/include/factory/templates/ftmpl_factor.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/templates/ftmpl_factor.h
/usr/local/include/factory/templates/ftmpl_list.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/templates/ftmpl_list.h
/usr/local/include/factory/templates/ftmpl_matrix.h -> /usr/local/Cellar/singular/4.2.0_1/include/factory/templates/ftmpl_matrix.h
Error: Could not symlink share/factory/gftables/10201
Target /usr/local/share/factory/gftables/10201
is a symlink belonging to singular. You can unlink it:
brew unlink singular
To force the link and overwrite all conflicting files:
brew link --overwrite singular
To list all files that would be deleted:
brew link --overwrite --dry-run singular
Would be nice to automatically rebuild bottles when requirements bump revisions or versions; for instance a version bump in ntl caused factory and M2 to not be able to find the dynamic libraries they were linked against, which required rebuilding both.
The alternative solution is static linking, but that's creates larger binaries and in general is not in the spirit of brew bottles.
I've been getting the error
Last 15 lines from /Users/david/Library/Logs/Homebrew/macaulay2/07.cmake:
-- capturing example results for "Module _ List" -- 0.0893896 seconds elapsed
-- capturing example results for "sheaf(Variety)" -- 0.0868352 seconds elapsed
-- capturing example results for "format" -- 0.0860654 seconds elapsed
-- capturing example results for "polynomial rings" -- 0.0929203 seconds elapsed
-- making example results for "Grassmannian(ZZ,ZZ)" -- 0.522714 seconds elapsed
-- capturing example results for "matrices to and from modules" -- 0.0886607 seconds elapsed
-- capturing example results for "HH^ZZ SheafOfRings" -- 0.0885473 seconds elapsed
-- capturing example results for "quotientRemainder" -- 0.088819 seconds elapsed
-- capturing example results for "ProjectiveHilbertPolynomial ZZ" -- 0.0873046 seconds elapsed
currentString:1:1:(3):[2]: error: installPackage: 2 error(s) occurred running examples for package Macaulay2Doc
dmat lu qq PLU
FAILED: Macaulay2/packages/CMakeFiles/install-Macaulay2Doc usr-dist/arm64-Darwin-macOS-14.1/lib/Macaulay2/Macaulay2Doc/.installed /tmp/macaulay2-20231110-54593-zmf934/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Macaulay2Doc /tmp/macaulay2-20231110-54593-zmf934/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.1/lib/Macaulay2/Macaulay2Doc/.installed
cd /tmp/macaulay2-20231110-54593-zmf934/M2-release-1.22/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20231110-54593-zmf934/M2-release-1.22/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.1/bin/M2 -q --stop --silent --no-preload --no-threads -e errorDepth=3 -e debugLevel=0 -e "installPackage(\"Macaulay2Doc\", Verbose => false, RerunExamples => false, CheckDocumentation => true, IgnoreExampleErrors => false, RemakeAllDocumentation => false, InstallPrefix => \"/tmp/macaulay2-20231110-54593-zmf934/M2-release-1.22/M2/BUILD/build-brew/usr-dist/\", UserMode => false, SeparateExec => true, DebuggingMode => true)" -e "\"info-\"|\"Macaulay2Doc\" << Macaulay2Doc#\"test number\" << close" -e "exit 0" && gzip -nf9 /tmp/macaulay2-20231110-54593-zmf934/M2-release-1.22/M2/BUILD/build-brew/usr-dist/common/share/info/Macaulay2Doc.info
ninja: build stopped: subcommand failed.
while trying to install with brew install Macaulay2/tap/M2
.
The output of brew config
is
HOMEBREW_VERSION: 4.1.19-29-ga808e30
ORIGIN: https://github.com/Homebrew/brew
HEAD: a808e3014181b8308954b93ed1a3fa1bc55239e4
Last commit: 11 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 6966b7bee49cb0af845296c3716460a85ef2d372
Core tap last commit: 38 minutes ago
Core tap branch: master
Core tap JSON: 10 Nov 01:46 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.jVT6FrE38A/org.xquartz:0
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 14.1-arm64
CLT: 15.0.0.0.1.1694021235
Xcode: 15.0.1
Rosetta 2: false
I've tried running brew autoremove
, deleting the Macaulay2 tap, deleting the Homebrew cache, and deleting any M2 related folders in /tmp/
before reinstalling, but the issue still persists.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.