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 2e38423
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 "9b89dc082276f5c4d1f38a68fe59d55d61b5c9d932c0c275e7801c4920fcc39d"
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(239, "Core") -- .0592083s elapsed -- capturing check(240, "Core") -- capture failed; retrying ... 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") -- .983285s elapsed -- capturing check(332, "Core") -- .0665848s elapsed -- running check(333, "Core") ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-89827-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-89827-0/252.m2" >>"/private/tmp/M2-89827-0/252.tmp" 2>&1 /private/tmp/M2-89827-0/252.tmp:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-89827-0/252.m2:0:1: (input file) M2: *** Error 1 -- .461125s elapsed -- capturing check(334, "Core") -- .040336s elapsed -- capturing check(335, "Core") -- capture failed; retrying ... -- running check(335, "Core") -- .49978s elapsed -- capturing check(336, "Core") -- .0431117s elapsed -- capturing check(337, "Core") -- capture failed; retrying ... -- running check(337, "Core") -- 1.08778s elapsed -- running check(338, "Core") -- 11.2161s elapsed -- capturing check(339, "Core") -- capture failed; retrying ... -- running check(339, "Core") -- 2.3031s elapsed -- capturing check(340, "Core") -- .0337986s elapsed -- capturing check(341, "Core") -- capture failed; retrying ... -- running check(341, "Core") -- .434657s elapsed -- capturing check(342, "Core") -- capture failed; retrying ... -- running check(342, "Core") -- .449957s elapsed -- running check(343, "Core") -- .410795s elapsed -- running check(344, "Core") -- .458646s elapsed -- capturing check(345, "Core") -- .0856959s elapsed -- running check(346, "Core") -- .390715s elapsed -- capturing check(347, "Core") -- .031111s elapsed -- capturing check(348, "Core") -- capture failed; retrying ... -- running check(348, "Core") -- .400898s elapsed -- running check(349, "Core") -- .420336s elapsed -- capturing check(350, "Core") -- capture failed; retrying ... -- running check(350, "Core") -- .492753s elapsed -- capturing check(351, "Core") -- .0310461s elapsed -- capturing check(352, "Core") -- .0300725s elapsed -- capturing check(353, "Core") -- .0353594s elapsed -- capturing check(354, "Core") -- .0337942s elapsed -- capturing check(355, "Core") -- .035415s elapsed -- capturing check(356, "Core") -- .0333123s elapsed -- running check(357, "Core") -- .375641s 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-92102-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-92102-0/0.m2, 3, 5, 3, 32, 3, 5) == (/private/tmp/M2-92102-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-89809-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-89809-0/0.m2" >>"/private/tmp/M2-89809-0/0.tmp" /private/tmp/M2-89809-0/0.tmp:0:1:(3):[4]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-89809-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/homebrew/C

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") -- .991447s elapsed -- capturing check(332, "Core") -- .0744079s elapsed -- running check(333, "Core") ulimit -c unlimited; ulimit -t 700; ulimit -s 8192; ulimit -n 512; cd /private/tmp/M2-93395-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-93395-0/252.m2" >>"/private/tmp/M2-93395-0/252.tmp" 2>&1 /private/tmp/M2-93395-0/252.tmp:0:1:(3):[12]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-93395-0/252.m2:0:1: (input file) M2: *** Error 1 -- .62848s elapsed -- capturing check(334, "Core") -- .0549554s elapsed -- capturing check(335, "Core") -- capture failed; retrying ... -- running check(335, "Core") -- .559928s elapsed -- capturing check(336, "Core") -- .0500559s elapsed -- capturing check(337, "Core") -- capture failed; retrying ... -- running check(337, "Core") -- 1.05634s elapsed -- running check(338, "Core") -- 11.394s elapsed -- capturing check(339, "Core") -- capture failed; retrying ... -- running check(339, "Core") -- 2.28343s elapsed -- capturing check(340, "Core") -- .040012s elapsed -- capturing check(341, "Core") -- capture failed; retrying ... -- running check(341, "Core") -- .506308s elapsed -- capturing check(342, "Core") -- capture failed; retrying ... -- running check(342, "Core") -- .535464s elapsed -- running check(343, "Core") -- .492136s elapsed -- running check(344, "Core") -- .538167s elapsed -- capturing check(345, "Core") -- .0872532s elapsed -- running check(346, "Core") -- .449026s elapsed -- capturing check(347, "Core") -- .0317487s elapsed -- capturing check(348, "Core") -- capture failed; retrying ... -- running check(348, "Core") -- .476571s elapsed -- running check(349, "Core") -- .522366s elapsed -- capturing check(350, "Core") -- capture failed; retrying ... -- running check(350, "Core") -- .563568s elapsed -- capturing check(351, "Core") -- .0311127s elapsed -- capturing check(352, "Core") -- .0302569s elapsed -- capturing check(353, "Core") -- .0519773s elapsed -- capturing check(354, "Core") -- .035263s elapsed -- capturing check(355, "Core") -- .0362076s elapsed -- capturing check(356, "Core") -- .035404s elapsed -- running check(357, "Core") -- .481031s 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-95662-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-95662-0/0.m2, 3, 5, 3, 32, 3, 5) == (/private/tmp/M2-95662-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-93377-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-93377-0/0.m2" >>"/private/tmp/M2-93377-0/0.tmp" /private/tmp/M2-93377-0/0.tmp:0:1:(3):[4]: (output file) error: Macaulay2 exited with status code 1 /private/tmp/M2-93377-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/homebrew/C
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 2e38423

Please sign in to comment.