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

Closed
wants to merge 1 commit into from
Closed
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
20 changes: 6 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-13)

`brew linkage --cached --test --strict macaulay2/tap/macaulay2` failed on macOS Ventura (13)!

python@3.13

Check warning on line 1 in Formula/macaulay2.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

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

python@3.13

Check warning on line 1 in Formula/macaulay2.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

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

python@3.13
@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 @@
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 All @@ -56,7 +47,7 @@

patch :DATA

def install

Check warning on line 50 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-20241021-15559-gsn6g4/M2-development/M2/BUILD/build-brew/Macaulay2/packages/CMakeFiles/install-Msolve /tmp/macaulay2-20241021-15559-gsn6g4/M2-development/M2/BUILD/build-brew/usr-dist/x86_64-Linux-Ubuntu-22.04/lib/Macaulay2/Msolve/.installed cd /tmp/macaulay2-20241021-15559-gsn6g4/M2-development/M2/BUILD/build-brew/Macaulay2/packages && /tmp/macaulay2-20241021-15559-gsn6g4/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-20241021-15559-gsn6g4/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-20241021-15559-gsn6g4/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-127281-0/1-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/tmp/macaulay2-20241021-15559-gsn6g4/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-20241021-15559-gsn6g4/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/tmp/M2-127281-0/0_msolve__Eliminate.m2" >>"/tmp/macaulay2-20241021-15559-gsn6g4/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Eliminate.errors" 2>&1 /tmp/macaulay2-20241021-15559-gsn6g4/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-127281-0/0_msolve__Eliminate.m2:0:1: (input file) M2: *** Error 1 -- 1.38195s elapsed -- making example results for "msolveSaturate" ulimit -c unlimited; ulimit -t 700; ulimit -m 850000; ulimit -s 8192; ulimit -n 512; cd /tmp/M2-127281-0/2-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/tmp/macaulay2-20241021-15559-gsn6g4/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-20241021-15559-gsn6g4/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/tmp/M2-127281-0/0_msolve__Saturate.m2" >>"/tmp/macaulay2-20241021-15559-gsn6g4/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay2/Msolve/example-output/_msolve__Saturate.errors" 2>&1 /tmp/macaulay2-20241021-15559-gsn6g4/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-127281-0/0_msolve__Saturate.m2:0:1: (input file) M2: *** Error 1 -- 1.7321s elapsed -- making example results for "Msolve" ulimit -c unlimited; ulimit -t 700; ulimit -m 850000; ulimit -s 8192; ulimit -n 512; cd /tmp/M2-127281-0/3-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/tmp/macaulay2-20241021-15559-gsn6g4/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-20241021-15559-gsn6g4/M2-development/M2/Macaulay2/packages/Msolve.m2")' <"/tmp/M2-127281-0/0___Msolve.m2" >>"/tmp/macaulay2-20241021-15559-gsn6g4/M2-development/M2/BUILD/build-brew/usr-dist/common/share/doc/Macaulay
# Don't print the shims prefix path
inreplace "M2/Macaulay2/packages/Macaulay2Doc/functions/findProgram-doc.m2", "Verbose => true", "Verbose => false"

Expand Down Expand Up @@ -95,10 +86,11 @@
system "cmake", "--install", build_path
end

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
Loading