-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Should check for unlinked dependencies of all dependents, not just named formulae #544
Comments
Makes sense to me @scpeters! Could you open a PR? |
I'll work up the courage and give it a shot 😅 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
potential fix in #659 |
While investigating CI failures in Homebrew/homebrew-core#67615 (applying an upstream patch to boost), I noticed that
brew test pcl
failed for all architectures, even though it had passed very recently in Homebrew/homebrew-core#66792. The tests in Homebrew/homebrew-core#67615 failed to findeigen
when running cmake to configure some sample code that links againstpcl
. Searching earlier in the console log, I noticedbrew unlink eigen
just beforefreeling
was tested. Looking at the console logs from Homebrew/homebrew-core#66792, I noticed the same call tobrew unlink eigen
just beforefreeling
, but there was also a call tobrew link eigen
just beforepcl
was handled. The difference between those two pull requests is thatpcl
received a revision bump in the earlier one, and there is logic in setup_formulae_deps_instances() in lib/tests/formulae.rb that callsbrew link
on unlinked dependencies for any formulae to be built. I believe this logic should be added to link dependencies for any dependents that are installed, not just the explicitly named formulae to be tested.The text was updated successfully, but these errors were encountered: