Mac OS Travis fails on master

Bug #1727021 reported by SirVer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
High
Unassigned
Tags: ftbfs macos

Related branches

SirVer (sirver)
Changed in widelands:
importance: Undecided → High
assignee: nobody → Hans Joachim Desserud (hjd)
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

/usr/local/Homebrew/Library/Homebrew/brew.rb:12:in `<main>': Homebrew must be run under Ruby 2.3! You're running 2.0.0. (RuntimeError)

Hm, indeed it does.

Looks like the same issue has hit multiple other projects (https://github.com/travis-ci/travis-ci/issues/8552, see in particular comment https://github.com/travis-ci/travis-ci/issues/8552#issuecomment-335430374 which explains the underlying issue). Apparently brew tries to autoupdate when installing packages and run into the error messages. The workaround for now is to update brew manually before installing packages, I'll soon push a branch where we can test this.

A proper fix might come with the new default osx images due soon https://blog.travis-ci.com/2017-10-16-a-new-default-os-x-image-is-coming so hopefully the workaround will be temporary...

Changed in widelands:
status: New → In Progress
tags: added: ftbfs macos
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

The new default image has been delayed a bit, and is now due November 28th, see https://blog.travis-ci.com/2017-10-16-a-new-default-os-x-image-is-coming for details. I'll experiment a bit with this image, because I believe we can drop the workaround with `brew update`. I'll keep the branch open untill the new image is default though, because I need to override the currently default image (7.3). Once the new image is default, it will no longer be neccessary to override it, so we can drop the osx_image line from the yml config.

GunChleoc (gunchleoc)
Changed in widelands:
status: In Progress → Fix Committed
assignee: Hans Joachim Desserud (hjd) → nobody
milestone: none → build20-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build20-rc1

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.