Macaulay2 / homebrew-tap

The Macaulay2 tap for Homebrew
7 stars 6 forks source link

factory: revision bump #218

Closed d-torrance closed 8 months ago

d-torrance commented 8 months ago

Build against FLINT 3.1.0 (I think this is why the autotools-macos builds are failing in the main M2 repository...)

d-torrance commented 8 months ago

@mahrud - Am I correct that you would need to add the pr-pull label to this to publish the bottles that were built? (Assuming this whole idea was even correct -- I'm not really sure!)

mahrud commented 8 months ago

Yes, but this factory is already against the latest flint, so there is no need.

d-torrance commented 8 months ago

Ah, ok! Something's weird with the current bottle, which is causing the autotools-macos builds to fail. We're getting this during the "Install requirements for macOS" step:

==> Reinstalling 2 dependents with broken linkage from source: macaulay2/tap/factory, macaulay2/tap/normaliz

Which means that pkg-config doesn't find factory, so autotools builds it from some old tarball that doesn't have the new FLINT 3.1.0 patches.

It appears that running brew link factory fixes things, based on this GitHub action I put together. But is that something we would need to add to the M2 action, or is there a better fix?

mahrud commented 8 months ago

I think the problem is that, for whatever reason, an older version of flint is being downloaded:

==> Downloading https://ghcr.io/v2/homebrew/core/flint/manifests/3.0.1

I can't tell why ...