cirruslabs / macos-image-templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rebuild catalina images

real-or-random opened this issue · comments

I know the catalina images are deprecated but could you nevertheless trigger a rebuild?

The brew in these images is 12 months old and uses an old upstream URL that makes installing packages fallback to building from source, which takes forever (and fails if the source is on gnu.org, which is down currently -- but that's a different issue):
https://cirrus-ci.com/task/4557392686874624?logs=brew#L1

Just checking if you have seen this.

Seems I missed it. Thanks for pinging!

Is it so necessary for you to support Catalina? It's pretty painful for us to rebuild old images and distribute them. monterey-base won't work for you?

At the moment we're sticking to Catalina because it's the most recent version supported by Valgrind (or actually this fork https://github.com/LouisBrunner/valgrind-macos -- upstream Valgrind's support for macOS is hopelessly outdated).

If it's a non-trivial amount of work to update, then no need to do it. We can just run brew update.

@real-or-random from experience on another CI, try to uninstall brew completely and reinstall it back e.g.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Thanks. Are you saying this is better than brew update? Can you explain why?

Not exactly related but we often see this error here (typically at least one once in a build):
https://github.com/ElementsProject/secp256k1-zkp/runs/5006963149

So it seems this an error returned by the GitHub server. But of course it could be related to us using a too old Git locally... If anyone has a clue, please tell me.

I don't now, I may try your suggestion @andreineculau, maybe it works around this problem as well...

I don't think so. The problem is on the server ("remote") but I can't turn off gc on the server.