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

Boost bottle for macOS 11? #89

Closed
jonkeane opened this issue Dec 9, 2021 · 3 comments
Closed

Boost bottle for macOS 11? #89

jonkeane opened this issue Dec 9, 2021 · 3 comments

Comments

@jonkeane
Copy link
Contributor

jonkeane commented Dec 9, 2021

We noticed recently that when our GitHub runners made the upgrade from 10.15 to 11.6, we stopped being able to install Boost.

Last 10.15 build: https://github.com/ursa-labs/arrow-r-nightly/runs/4425100054?check_suite_focus=true#step:6:137
First 11.6 build: https://github.com/ursa-labs/arrow-r-nightly/runs/4438311803?check_suite_focus=true#step:6:189

Ultimately, what I think is happening is that 10.15 is compatible (enough?) with one of the bottles in the formula, so it installs that. But 11.6 isn't, so it attempts to build from source (by downloading it from https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2). Except that the source isn't available anymore since bintray shutdown.

It might be "as simple as" using the new artifactory URL for boost instead: https://boostorg.jfrog.io/artifactory/main/release/1.67.0/source/boost_1_67_0.tar.bz2

@jeroen
Copy link
Contributor

jeroen commented Dec 9, 2021

Hmm this repo contains the legacy builds, it's only meant to run on macos 10.11 and 10.13. Would it be possible to run your workflow that uses this particular script in macos: 10.15 for the time being (GHA will keep supporting that OS)

I don't think your suggestion to fix the src url will help much; we really want to test using the bottled dependencies, which are the ones we will eventually use for the CRAN package.

I'll also try to figure out why it thinks the bottle high-sierra incompatible with 11.x because it shouldn't. I suspect it has to do with the version of ruby on macos 11.x

@jeroen
Copy link
Contributor

jeroen commented Dec 9, 2021

I think it will be difficult to get this legacy version of homebrew to work on macos 11 and up due to the required changes in the macos versioning and also the different major version of Ruby.

However the underlying problem here may be that we need to update the script in apache arrow that uses this repo to build a version of apache-arrow. The current repo is mostly intended to build libarrow for macos 10.11 and 10.13. For newer versions of macos we use this tap to build arrow: https://github.com/autobrew/homebrew-cran

Also, the CRAN package now uses a much simpler script to fetch a suitable binary of libarrow, it no longer has to bootstrap a homebrew installation like we did early on.

@jonkeane
Copy link
Contributor Author

jonkeane commented Dec 9, 2021

Thanks for the details, we've been meaning to update, and it sounds like this forces our hand. We will try that and let you know if we run into any issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants