Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macaulay2: rebuild 1.24.05 #243

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 5 additions & 14 deletions Formula/macaulay2.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
class Macaulay2 < Formula

Check warning on line 1 in Formula/macaulay2.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

No bottle built for macaulay2!

macaulay2 has unbottled dependencies, so a bottle will not be built.
@name = "M2"
desc "Software system for algebraic geometry research"
homepage "http://macaulay2.com"
url "https://github.com/Macaulay2/M2/archive/refs/tags/release-1.24.05.tar.gz"
sha256 "63b8c9931a5cbd0b937ad6ddb81530c26f3fbe5971cc935d294772652ebcf101"
url "https://github.com/Macaulay2/M2/archive/refs/heads/development.tar.gz"
version "1.24.11-rc1"
sha256 "d144a67c295301abe8cec76a8ad2a305c8170ec8217adfefd9ce0383ef7dac1a"
license any_of: ["GPL-2.0-only", "GPL-3.0-only"]
revision 1

head "https://github.com/Macaulay2/M2/archive/refs/heads/development.tar.gz"

bottle do
root_url "https://ghcr.io/v2/macaulay2/tap"
sha256 cellar: :any, arm64_sonoma: "9fa62984c1f40bda3720b556fb384bcec36fa7780c76d57234b039b1a6b430fd"
sha256 cellar: :any, ventura: "5b821509c8a71d914fb4fb2d2887601a315293052b01e86803ea85d5e460b645"
sha256 cellar: :any, monterey: "5c987cd5c60e83ad5ffe5fcb772277b2fc39918c6fcd252936630635eb455ae8"
sha256 x86_64_linux: "fdd8b0361c22e532c5b5107998d7dce913adaa23119ce5eca75d137cee48110d"
end

depends_on "bison" => :build
depends_on "cmake" => :build
Expand Down Expand Up @@ -56,7 +46,7 @@

patch :DATA

def install

Check warning on line 49 in Formula/macaulay2.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

`brew install --verbose --formula --build-bottle macaulay2/tap/macaulay2` failed on Linux!

FAILED: Macaulay2/packages/CMakeFiles/install-Msolve usr-dist/x86_64-Linux-Ubuntu-22.04/lib/Macaulay2/Msolve/.installed /tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Msolve /tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Linux-Ubuntu-22.04/lib/Macaulay2/Msolve/.installed cd /tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Linux-Ubuntu-22.04/bin/M2 -q --stop --silent --no-preload --no-threads -e errorDepth=1 -e debugLevel=0 -e "installPackage(\"Msolve\", Verbose => false, RerunExamples => false, CheckDocumentation => true, IgnoreExampleErrors => false, RemakeAllDocumentation => false, InstallPrefix => \"/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/\", UserMode => false, SeparateExec => true, DebuggingMode => true)" -e "\"info-\"|\"Msolve\" << #Msolve#\"test inputs\" << close" -e "exit 0" && gzip -nf9 /tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/common/share/info/Msolve.info -- warning: could not find msolve with version at least v0.7.0 -- making example results for "msolveEliminate" ulimit -c unlimited; ulimit -t 700; ulimit -m 850000; ulimit -s 8192; ulimit -n 512; cd /tmp/M2-127594-0/1-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Linux-Ubuntu-22.04/bin/M2-binary" -q --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Msolve",Reload=>true,FileName=>"/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/tmp/M2-127594-0/0_msolve__Eliminate.m2" >>"/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Eliminate.errors" 2>&1 /tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Eliminate.errors:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /tmp/M2-127594-0/0_msolve__Eliminate.m2:0:1: (input file) M2: *** Error 1 -- 1.33532s elapsed -- making example results for "msolveSaturate" ulimit -c unlimited; ulimit -t 700; ulimit -m 850000; ulimit -s 8192; ulimit -n 512; cd /tmp/M2-127594-0/2-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Linux-Ubuntu-22.04/bin/M2-binary" -q --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Msolve",Reload=>true,FileName=>"/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/tmp/M2-127594-0/0_msolve__Saturate.m2" >>"/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Saturate.errors" 2>&1 /tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Saturate.errors:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /tmp/M2-127594-0/0_msolve__Saturate.m2:0:1: (input file) M2: *** Error 1 -- 1.30135s elapsed -- making example results for "Msolve" ulimit -c unlimited; ulimit -t 700; ulimit -m 850000; ulimit -s 8192; ulimit -n 512; cd /tmp/M2-127594-0/3-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Linux-Ubuntu-22.04/bin/M2-binary" -q --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Msolve",Reload=>true,FileName=>"/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/tmp/M2-127594-0/0___Msolve.m2" >>"/tmp/macaulay2-20241004-16191-dhcdv9/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaula

Check warning on line 49 in Formula/macaulay2.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

`brew install --verbose --formula --build-bottle macaulay2/tap/macaulay2` failed on macOS Ventura (13)!

FAILED: Macaulay2/packages/CMakeFiles/install-Msolve usr-dist/x86_64-Darwin-macOS-13.7/lib/Macaulay2/Msolve/.installed /tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Msolve /tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Darwin-macOS-13.7/lib/Macaulay2/Msolve/.installed cd /tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Darwin-macOS-13.7/bin/M2 -q --stop --silent --no-preload --no-threads -e errorDepth=1 -e debugLevel=0 -e "installPackage(\"Msolve\", Verbose => false, RerunExamples => false, CheckDocumentation => true, IgnoreExampleErrors => false, RemakeAllDocumentation => false, InstallPrefix => \"/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/\", UserMode => false, SeparateExec => true, DebuggingMode => true)" -e "\"info-\"|\"Msolve\" << #Msolve#\"test inputs\" << close" -e "exit 0" && gzip -nf9 /tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/common/share/info/Msolve.info -- warning: could not find msolve with version at least v0.7.0 -- making example results for "msolveEliminate" ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-96621-0/1-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Darwin-macOS-13.7/bin/M2-binary" -q --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Msolve",Reload=>true,FileName=>"/private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/private/tmp/M2-96621-0/0_msolve__Eliminate.m2" >>"/private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Eliminate.errors" 2>&1 /private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Eliminate.errors:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-96621-0/0_msolve__Eliminate.m2:0:1: (input file) M2: *** Error 1 -- 2.22961s elapsed -- making example results for "msolveSaturate" ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-96621-0/2-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Darwin-macOS-13.7/bin/M2-binary" -q --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Msolve",Reload=>true,FileName=>"/private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/private/tmp/M2-96621-0/0_msolve__Saturate.m2" >>"/private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Saturate.errors" 2>&1 /private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Saturate.errors:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-96621-0/0_msolve__Saturate.m2:0:1: (input file) M2: *** Error 1 -- 2.05906s elapsed -- making example results for "Msolve" ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-96621-0/3-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Darwin-macOS-13.7/bin/M2-binary" -q --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Msolve",Reload=>true,FileName=>"/private/tmp/macaulay2-20241004-16209-uk5e0g/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/private/tmp/M2-96621-0/0___Msolve.m2" >>"/private/tmp/

Check warning on line 49 in Formula/macaulay2.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew install --verbose --formula --build-bottle macaulay2/tap/macaulay2` failed on macOS Sonoma (14) on Apple Silicon!

FAILED: Macaulay2/packages/CMakeFiles/install-Msolve usr-dist/arm64-Darwin-macOS-14.6.1/lib/Macaulay2/Msolve/.installed /tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Msolve /tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.6.1/lib/Macaulay2/Msolve/.installed cd /tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.6.1/bin/M2 -q --stop --silent --no-preload --no-threads -e errorDepth=1 -e debugLevel=0 -e "installPackage(\"Msolve\", Verbose => false, RerunExamples => false, CheckDocumentation => true, IgnoreExampleErrors => false, RemakeAllDocumentation => false, InstallPrefix => \"/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/\", UserMode => false, SeparateExec => true, DebuggingMode => true)" -e "\"info-\"|\"Msolve\" << #Msolve#\"test inputs\" << close" -e "exit 0" && gzip -nf9 /tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/common/share/info/Msolve.info -- warning: could not find msolve with version at least v0.7.0 -- making example results for "msolveEliminate" ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-84582-0/1-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.6.1/bin/M2-binary" -q --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Msolve",Reload=>true,FileName=>"/private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/private/tmp/M2-84582-0/0_msolve__Eliminate.m2" >>"/private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Eliminate.errors" 2>&1 /private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Eliminate.errors:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-84582-0/0_msolve__Eliminate.m2:0:1: (input file) M2: *** Error 1 -- .539743s elapsed -- making example results for "msolveSaturate" ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-84582-0/2-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.6.1/bin/M2-binary" -q --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Msolve",Reload=>true,FileName=>"/private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/private/tmp/M2-84582-0/0_msolve__Saturate.m2" >>"/private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Saturate.errors" 2>&1 /private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Saturate.errors:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-84582-0/0_msolve__Saturate.m2:0:1: (input file) M2: *** Error 1 -- .536979s elapsed -- making example results for "Msolve" ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-84582-0/3-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/BUILD/build-brew/usr-dist/arm64-Darwin-macOS-14.6.1/bin/M2-binary" -q --no-randomize --no-readline --silent --stop --print-width 77 -e 'needsPackage("Msolve",Reload=>true,FileName=>"/private/tmp/macaulay2-20241004-12843-2efksy/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/private/tmp/M2-84582-0/0___Msolve.m2" >>"/privat
# Don't print the shims prefix path
inreplace "M2/Macaulay2/packages/Macaulay2Doc/functions/findProgram-doc.m2", "Verbose => true", "Verbose => false"

Expand Down Expand Up @@ -98,7 +88,8 @@
test do
system "#{bin}/M2", "--version"
system "#{bin}/M2", "--check", "1", "-e", "exit 0"
# system "#{bin}/M2", "--check", "2", "-e", "exit 0"
system "#{bin}/M2", "--check", "2", "-e", "exit 0"
# system "#{bin}/M2", "--check", "3", "-e", "exit 0"
end
end

Expand Down
Loading