homebrew cask changed system compatibility, no longer supports ubuntu < 24.04
What version of Codex is running?
n/a
What subscription do you have?
n/a
Which model were you using?
_No response_
What platform is your computer?
linux
What issue are you seeing?
Last week, the homebrew install switched from a formula (source code build) to a cask (prebuilt binary). This had a potentially unintended effect: the linux prebuilt glibc binaries require glibc 2.39 (available starting from ubuntu 24.04) whereas the formula would have built for the platform it was being installed on (thus supporting ubuntu 22.04 or 20.04).
This means anyone using codex from homebrew on older-but-still-supported distros like 22.04 must switch to using the github releases (to use the musl binaries instead) or build from source code. This felt like an oversight, so I'm noting it here!
My suggestion might be to either make the cask use the musl binaries instead of glibc, or perhaps document that the homebrew install only supports ubuntu 24.04 now?
What steps can reproduce the bug?
brew install --cask codex on ubuntu 22.04.
What is the expected behavior?
_No response_
Additional information
_No response_
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Thanks for reporting. I got the same issue, as now I can not use
brewto install codex in my ubuntu 22.04 PC.Thanks for reporting and we will investigate the issue.
@shijie-oai @FrankFeng2022 @novas0x2a I opened this Homebrew PR to switch to the musl build which will be more broadly compatible: https://github.com/Homebrew/homebrew-cask/pull/234309
@shijie-oai This is updated in Homebrew, I think this issue is good to close now.
Thanks for the update.