Skip to content

Commit

Permalink
macaulay2: 1.24.11-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Oct 21, 2024
1 parent 0c151cf commit b0b4799
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions Formula/macaulay2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,10 @@ class Macaulay2 < Formula
@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 "1689f1fa43a71652c4e2a8f2807ef688e3c46cd10d3f8c44c6266c71ff075365"
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 All @@ -37,6 +27,7 @@ class Macaulay2 < Formula
depends_on "mpfi"
depends_on "mpfr"
depends_on "mpsolve"
depends_on "msolve"
depends_on "node"
depends_on "ntl"
depends_on "openblas" unless OS.mac?
Expand Down Expand Up @@ -98,7 +89,8 @@ def install
test do

Check warning on line 89 in Formula/macaulay2.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

`brew test --verbose macaulay2/tap/macaulay2` failed on macOS Ventura (13)!

-- capturing check(249, "Core") -- .0642894s elapsed -- capturing check(250, "Core") -- .0760062s elapsed Killing child processes... ::error::macaulay2/tap/macaulay2: failed An exception occurred within a child process: Timeout::Error: execution expired /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/timeout.rb:43:in `rescue in handle_timeout' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/timeout.rb:40:in `handle_timeout' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /usr/local/Homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check warning on line 89 in Formula/macaulay2.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew test --verbose macaulay2/tap/macaulay2` failed on macOS Sonoma (14) on Apple Silicon!

-- capturing check(331, "Core") -- capture failed; retrying ... -- running check(331, "Core") -- .945573s elapsed -- capturing check(332, "Core") -- .0652092s elapsed -- running check(333, "Core") ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-89383-0/253-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/opt/homebrew/Cellar/macaulay2/1.24.11-rc1/bin/M2-binary" --no-randomize --no-readline --silent --stop --print-width 77 <"/private/tmp/M2-89383-0/252.m2" >>"/private/tmp/M2-89383-0/252.tmp" 2>&1 /private/tmp/M2-89383-0/252.tmp:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-89383-0/252.m2:0:1: (input file) M2: *** Error 1 -- .426861s elapsed -- capturing check(334, "Core") -- .0353693s elapsed -- capturing check(335, "Core") -- capture failed; retrying ... -- running check(335, "Core") -- .439649s elapsed -- capturing check(336, "Core") -- .0474901s elapsed -- capturing check(337, "Core") -- capture failed; retrying ... -- running check(337, "Core") -- .999047s elapsed -- running check(338, "Core") -- 10.9286s elapsed -- capturing check(339, "Core") -- capture failed; retrying ... -- running check(339, "Core") -- 2.29051s elapsed -- capturing check(340, "Core") -- .0339999s elapsed -- capturing check(341, "Core") -- capture failed; retrying ... -- running check(341, "Core") -- .503836s elapsed -- capturing check(342, "Core") -- capture failed; retrying ... -- running check(342, "Core") -- .530648s elapsed -- running check(343, "Core") -- .430706s elapsed -- running check(344, "Core") -- .502257s elapsed -- capturing check(345, "Core") -- .0916288s elapsed -- running check(346, "Core") -- .404265s elapsed -- capturing check(347, "Core") -- .0308481s elapsed -- capturing check(348, "Core") -- capture failed; retrying ... -- running check(348, "Core") -- .427325s elapsed -- running check(349, "Core") -- .452105s elapsed -- capturing check(350, "Core") -- capture failed; retrying ... -- running check(350, "Core") -- .495535s elapsed -- capturing check(351, "Core") -- .0357532s elapsed -- capturing check(352, "Core") -- .0310007s elapsed -- capturing check(353, "Core") -- .0379213s elapsed -- capturing check(354, "Core") -- .0346407s elapsed -- capturing check(355, "Core") -- .036354s elapsed -- capturing check(356, "Core") -- .0327337s elapsed -- running check(357, "Core") -- .419686s elapsed /opt/homebrew/Cellar/macaulay2/1.24.11-rc1/share/doc/Macaulay2/Core/tests/testing.m2:1:1 error: -- i5 : pkgtest = tests(0, "TestPackage") -- -- o5 = TestInput[../../M2-91661-0/0.m2:3:5-3:32] -- -- o5 : TestInput -- -- i6 : assert instance(pkgtest, TestInput) -- -- i7 : assert Equation(toSequence locate pkgtest, (testpkg, 3, 5, 3, 32, 3, 5)) -- stdio:10:6:(3): error: assertion failed: -- (../../M2-91661-0/0.m2, 3, 5, 3, 32, 3, 5) == (/private/tmp/M2-91661-0/0.m2, 3, 5, 3, 32, 3, 5) is false -- stdio:1:5:(3): error: test(s) #333 of package Core failed. cd /private/tmp/M2-89365-0/1-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/opt/homebrew/Cellar/macaulay2/1.24.11-rc1/bin/M2-binary" --no-randomize --no-readline --silent --stop --print-width 77 <"/private/tmp/M2-89365-0/0.m2" >>"/private/tmp/M2-89365-0/0.tmp" /private/tmp/M2-89365-0/0.tmp:0:1:(3):[4]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-89365-0/0.m2:0:1: (input file) M2: *** Error 1 ::error::macaulay2/tap/macaulay2: failed An exception occurred within a child process: BuildError: Failed executing: /opt/homebr

Check warning on line 89 in Formula/macaulay2.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

`brew test --verbose macaulay2/tap/macaulay2` failed on macOS Sequoia (15) on Apple Silicon!

-- capturing check(331, "Core") -- capture failed; retrying ... -- running check(331, "Core") -- 1.04129s elapsed -- capturing check(332, "Core") -- .0705672s elapsed -- running check(333, "Core") ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-92392-0/253-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/opt/homebrew/Cellar/macaulay2/1.24.11-rc1/bin/M2-binary" --no-randomize --no-readline --silent --stop --print-width 77 <"/private/tmp/M2-92392-0/252.m2" >>"/private/tmp/M2-92392-0/252.tmp" 2>&1 /private/tmp/M2-92392-0/252.tmp:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-92392-0/252.m2:0:1: (input file) M2: *** Error 1 -- .500285s elapsed -- capturing check(334, "Core") -- .0378439s elapsed -- capturing check(335, "Core") -- capture failed; retrying ... -- running check(335, "Core") -- .511055s elapsed -- capturing check(336, "Core") -- .0472418s elapsed -- capturing check(337, "Core") -- capture failed; retrying ... -- running check(337, "Core") -- 1.11078s elapsed -- running check(338, "Core") -- 12.4551s elapsed -- capturing check(339, "Core") -- capture failed; retrying ... -- running check(339, "Core") -- 2.32847s elapsed -- capturing check(340, "Core") -- .0386357s elapsed -- capturing check(341, "Core") -- capture failed; retrying ... -- running check(341, "Core") -- .575381s elapsed -- capturing check(342, "Core") -- capture failed; retrying ... -- running check(342, "Core") -- .596541s elapsed -- running check(343, "Core") -- .500835s elapsed -- running check(344, "Core") -- .599344s elapsed -- capturing check(345, "Core") -- .100925s elapsed -- running check(346, "Core") -- .554025s elapsed -- capturing check(347, "Core") -- .039212s elapsed -- capturing check(348, "Core") -- capture failed; retrying ... -- running check(348, "Core") -- .548855s elapsed -- running check(349, "Core") -- .546245s elapsed -- capturing check(350, "Core") -- capture failed; retrying ... -- running check(350, "Core") -- .595894s elapsed -- capturing check(351, "Core") -- .0389845s elapsed -- capturing check(352, "Core") -- .0370351s elapsed -- capturing check(353, "Core") -- .0406335s elapsed -- capturing check(354, "Core") -- .0390744s elapsed -- capturing check(355, "Core") -- .0400726s elapsed -- capturing check(356, "Core") -- .0349593s elapsed -- running check(357, "Core") -- .504641s elapsed /opt/homebrew/Cellar/macaulay2/1.24.11-rc1/share/doc/Macaulay2/Core/tests/testing.m2:1:1 error: -- i5 : pkgtest = tests(0, "TestPackage") -- -- o5 = TestInput[../../M2-94666-0/0.m2:3:5-3:32] -- -- o5 : TestInput -- -- i6 : assert instance(pkgtest, TestInput) -- -- i7 : assert Equation(toSequence locate pkgtest, (testpkg, 3, 5, 3, 32, 3, 5)) -- stdio:10:6:(3): error: assertion failed: -- (../../M2-94666-0/0.m2, 3, 5, 3, 32, 3, 5) == (/private/tmp/M2-94666-0/0.m2, 3, 5, 3, 32, 3, 5) is false -- stdio:1:5:(3): error: test(s) #333 of package Core failed. cd /private/tmp/M2-92374-0/1-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/opt/homebrew/Cellar/macaulay2/1.24.11-rc1/bin/M2-binary" --no-randomize --no-readline --silent --stop --print-width 77 <"/private/tmp/M2-92374-0/0.m2" >>"/private/tmp/M2-92374-0/0.tmp" /private/tmp/M2-92374-0/0.tmp:0:1:(3):[4]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-92374-0/0.m2:0:1: (input file) M2: *** Error 1 ::error::macaulay2/tap/macaulay2: failed An exception occurred within a child process: BuildError: Failed executing: /opt/homebre
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

0 comments on commit b0b4799

Please sign in to comment.