Skip to content

Conversation

@d-torrance
Copy link
Member

This should fix the current failing builds in the M2 repo, e.g., from https://github.com/Macaulay2/M2/actions/runs/19684168550/job/56385474365?pr=4040:

cd /Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/common/share/Macaulay2/Core && rm -f /Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/common/share/Macaulay2/Core/tvalues.m2 && /Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/arm64-Darwin-macOS-15.7.1/bin/M2-binary -q --silent --stop -e errorDepth=0 --no-preload -e "exit 0"
dyld[36977]: Library not loaded: /opt/homebrew/opt/flint/lib/libflint.21.0.dylib
  Referenced from: <3735493A-CDAD-3420-867F-B2F0647EA1CF> /opt/homebrew/Cellar/factory/4.4.1_2/lib/libfactory-4.4.1.dylib
  Reason: tried: '/opt/homebrew/opt/flint/lib/libflint.21.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/flint/lib/libflint.21.0.dylib' (no such file), '/opt/homebrew/opt/flint/lib/libflint.21.0.dylib' (no such file), '/opt/homebrew/Cellar/flint/3.4.0/lib/libflint.21.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/flint/3.4.0/lib/libflint.21.0.dylib' (no such file), '/opt/homebrew/Cellar/flint/3.4.0/lib/libflint.21.0.dylib' (no such file)
/bin/sh: line 1: 36977 Abort trap: 6           /Users/runner/work/M2/M2/M2/BUILD/build/usr-dist/arm64-Darwin-macOS-15.7.1/bin/M2-binary -q --silent --stop -e errorDepth=0 --no-preload -e "exit 0"
ninja: build stopped: subcommand failed.

sha256 "345ec8ab2481135d18244e2a2ff6bc16e812a39a9eb5ac5d578956d8e0526e6e"
license any_of: ["GPL-2.0-only", "GPL-3.0-only"]
revision 2
revision 4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you bump more than once?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had already bumped to a revision 3 to add tahoe packages a couple weeks ago, but you suggested that I revert those changes. But that bottle had already been uploaded, I guess, so the "pr-pull" step for this PR failed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I guess brew audit wants the revision to increment by exactly 1. I guess we should delete the old revision 3 bottle. It doesn't look like I have the right permissions. @mahrud - do you? Or is this something we need to bug Mike about?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be only possible using oras.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the docs there's a delete button for folks with the right permissions.

@mikestillman - do you have the option of deleting the 4.4.1_3 factory bottle on https://github.com/Macaulay2/homebrew-tap/pkgs/container/tap%2Ffactory/versions?filters%5Bversion_type%5D=tagged?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I came up with a dumb solution: I bumped the factory revision on the main branch to 3 so that we could bump it to 4 here without brew audit complaining.

@mikestillman - Don't worry about deleting that bottle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants