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

.homebrew-build-env is not (eventually) idempotent #38716

Open
2 tasks done
dimpase opened this issue Sep 26, 2024 · 0 comments
Open
2 tasks done

.homebrew-build-env is not (eventually) idempotent #38716

dimpase opened this issue Sep 26, 2024 · 0 comments

Comments

@dimpase
Copy link
Member

dimpase commented Sep 26, 2024

Steps To Reproduce

On macOS with Homebrew, repeatedly running
.homebrew-build-env leads to unlimited growth of the environment variables it's setting, such as LIBRARY_PATH, PATH, PKG_CONFIG_PATH, etc. In extreme cases this appears to lead to weird build bugs, as reported on sage-devel

Expected Behavior

repeated running of . .homebrew-build-env should not lead to such a growth, it should stop on the 1st or 2nd repetition.

Actual Behavior

the growth does not stop.

Additional Information

No response

Environment

  • OS: macOS + Homebrew
  • Sage Version: 10.4+

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant