Skip to content

Commit 28dbffd

Browse files
committed
Attempt to fix macosx build setup
This has been failing as of 2018-10-23 while installing gcc with this message: ==> Installing numpy dependency: gcc ==> Downloading https://homebrew.bintray.com/bottles/gcc-8.2.0.high_sierra.bottl ######################################################################## 100.0% ==> Pouring gcc-8.2.0.high_sierra.bottle.1.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink include/c++ Target /usr/local/include/c++ already exists. You may want to remove it: rm '/usr/local/include/c++' To force the link and overwrite all conflicting files: brew link --overwrite gcc To list all files that would be deleted: brew link --overwrite --dry-run gcc Possible conflicting files are: /usr/local/include/c++ -> /usr/local/Caskroom/oclint/0.13.1,17.4.0/oclint-0.13.1/include/c++
1 parent 8bced74 commit 28dbffd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
env: TOXENV=py37
4848
before_install:
4949
- brew update
50+
# remove c++ include files because upgrading python as of 2018-10-23, also
51+
# attempts to upgrade gcc, and it fails because the include files already
52+
# exist. removing the include files is one of the solutions recommended by brew
53+
# this workaround might not be necessary in the future
54+
- rm '/usr/local/include/c++'
5055
- brew upgrade python
5156
- brew unlink python
5257
- brew link python

0 commit comments

Comments
 (0)