-
Notifications
You must be signed in to change notification settings - Fork 444
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
Fix broken MacOS and Ubuntu18.04 runs. #4517
Conversation
0c19ee6
to
aa3f5b8
Compare
da61e65
to
756d453
Compare
756d453
to
6b677dc
Compare
tools/install_mac_deps.sh
Outdated
brew_install ${package} | ||
# FIXME: || true should not be needed but because boost@1.84 pulls in python@3.12, which fails | ||
# to install we need to ignore the error. | ||
brew_install ${package} || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we know which package has /usr/local/bin/2to3
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is the Python package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tried a couple things, including removing 2to3
but there are more files it conflicts with. Even when you install python@3.12 beforehand, the boost installation tries to pull it in again and fails. Maybe there is a convenient flag to deal with that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like known issue: actions/runner-images#4020 Some solutions are quite harsh: Gelmo/warfork-qfusion@79f3dd0
f88def1
to
97fbb47
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly we have to do this...
Hotfixes to make the CI tests pass again. If anyone has a better idea on how to deal with the recent MacOS failures, please let me know. Example:
https://github.com/p4lang/p4c/actions/runs/8238983424/job/22531194158?pr=4517#step:6:401