[Toybox] mac CI breakage
enh
enh at google.com
Wed Jun 1 22:47:40 PDT 2022
the mac build on github has been broken for a few days:
Run make
scripts/make.sh
readlink: illegal option -- f
usage: readlink [-n] [file ...]
readlink: illegal option -- f
usage: readlink [-n] [file ...]
$GENDIR=generated cannot include $***
make: *** [toybox] Error 1
Error: Process completed with exit code 2.
(from
https://github.com/landley/toybox/runs/6682393952?check_suite_focus=true)
funnily enough, it works fine for me locally because i'm on macOS 12, and
one of the few improvements i've actually noticed in it is that readlink
now has a -f option. i've attached a patch that switches the CI over to
just testing the current macOS release, but 10.15 is actually still getting
security updates (until the end of this year, if history is any guide).
note that it's possible to tell the compiler you're _targeting_ an older
macOS version, so we could do that if you don't care about _building_ on
old versions of macOS [without installing a custom readlink] but still want
to support _running_ on them...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20220601/ba01ce63/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Switch-the-github-macOS-CI-over-to-12.4-which-is-cur.patch
Type: application/octet-stream
Size: 1354 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20220601/ba01ce63/attachment-0002.obj>
More information about the Toybox
mailing list