Thread (5 messages) 5 messages, 4 authors, 2019-06-27

Re: Travis not looking so good

From: brian m. carlson <hidden>
Date: 2019-06-01 00:41:51

On 2019-05-30 at 19:32:41, Johannes Schindelin wrote:
Hi Gábor,

do you have any idea why Travis is failing like this in the macOS/gcc
job?
quoted
+case "$jobname" in
+brew link gcc@8
Error: No such keg: /usr/local/Cellar/gcc@8
The command "ci/install-dependencies.sh" failed and exited with 1 during .
I usually only look at the Azure Pipelines (which gives me plenty enough
to do, what with pu's individual branches being tested individually), but
couldn't fail to notice that *all* four branches (maint, master, next and
pu) fail in Travis' macOS/gcc job (and only there, the Azure Pipelines are
all green):

https://github.com/git/git/branches/all

What's going on?
I'm certainly not an expert on macOS, so I could be getting things wrong
here, but it looks like we don't ever explicitly install the gcc@8
package from Homebrew. It may have happened to be installed
automatically by Travis in the past, but they may have upgraded now that
GCC 9 has been released.

I suspect if we want to use GCC 8, we need to explicitly install it by
using "brew install gcc@8", or we can just pick the latest released GCC
by using "brew install gcc" if we like that better. We will still need
to do "brew link gcc" (or "gcc@8"), since I suspect Homebrew won't
auto-link it since macOS provides a gcc binary.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help