Closed vgupta1 closed 9 years ago
I'm experiencing the same issue, with ZMQ
,
INFO: Upgrading ZMQ: v0.1.14 => v0.1.15
INFO: Building Homebrew
remote: Counting objects: 3269, done.
remote: Compressing objects: 100% (1053/1053), done.
remote: Total 3269 (delta 2514), reused 2950 (delta 2199)
Receiving objects: 100% (3269/3269), 946.33 KiB, done.
Resolving deltas: 100% (2514/2514), completed with 318 local objects.
From https://github.com/Homebrew/homebrew
28b09f1..e1dcec2 master -> origin/master
HEAD is now at e1dcec2 pyenv v20141106
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 1 (delta 0)
Unpacking objects: 100% (3/3), done.
From https://github.com/staticfloat/homebrew-juliadeps
927a91e..e642ab7 master -> origin/master
HEAD is now at e642ab7 Don't require `gcc` to build..... ugh
Uninstalling gcc...
Error: Not a directory - /Users/yeesian/.julia/v0.3/Homebrew/deps/usr/Cellar/gcc
==============================[ ERROR: Homebrew ]===============================
failed process: Process(`/Users/yeesian/.julia/v0.3/Homebrew/deps/usr/bin/brew rm --force gcc`, ProcessExited(1)) [1]
while loading /Users/yeesian/.julia/v0.3/Homebrew/deps/build.jl, in expression starting on line 2
================================================================================
and
julia> Pkg.build("ZMQ")
INFO: Building Homebrew
HEAD is now at e1dcec2 pyenv v20141106
HEAD is now at e642ab7 Don't require `gcc` to build..... ugh
WARNING: Brew is feeding us a weird version string for gcc:
WARNING: Please report this at https://github.com/JuliaLang/Homebrew.jl
WARNING: Brew is feeding us a weird version string for libgfortran:
WARNING: Please report this at https://github.com/JuliaLang/Homebrew.jl
Uninstalling gcc...
==> Installing dependencies for gcc: mpfr, libmpc, isl, cloog
==> Installing gcc dependency: mpfr
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mpfr-3.1.2-p10.yosemite.bottle
######################################################################## 100.0%
==> Pouring mpfr-3.1.2-p10.yosemite.bottle.1.tar.gz
🍺 /Users/yeesian/.julia/v0.3/Homebrew/deps/usr/Cellar/mpfr/3.1.2-p10: 24 files, 3.5M
==> Installing gcc dependency: libmpc
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libmpc-1.0.2.yosemite.bottle.2
######################################################################## 100.0%
==> Pouring libmpc-1.0.2.yosemite.bottle.2.tar.gz
🍺 /Users/yeesian/.julia/v0.3/Homebrew/deps/usr/Cellar/libmpc/1.0.2: 10 files, 384K
==> Installing gcc dependency: isl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/isl-0.12.2.yosemite.bottle.2.t
######################################################################## 100.0%
==> Pouring isl-0.12.2.yosemite.bottle.2.tar.gz
🍺 /Users/yeesian/.julia/v0.3/Homebrew/deps/usr/Cellar/isl/0.12.2: 55 files, 3.1M
==> Installing gcc dependency: cloog
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cloog-0.18.1.yosemite.bottle.2
######################################################################## 100.0%
==> Pouring cloog-0.18.1.yosemite.bottle.2.tar.gz
🍺 /Users/yeesian/.julia/v0.3/Homebrew/deps/usr/Cellar/cloog/0.18.1: 33 files, 560K
==> Installing gcc
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gcc-4.9.2.yosemite.bottle.tar.
######################################################################## 100.0%
==> Pouring gcc-4.9.2.yosemite.bottle.tar.gz
==> Caveats
GCC has been built with multilib support. Notably, OpenMP may not work:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670
If you need OpenMP support you may want to
brew reinstall gcc --without-multilib
==> Summary
🍺 /Users/yeesian/.julia/v0.3/Homebrew/deps/usr/Cellar/gcc/4.9.2: 1156 files, 203M
To relink: brew unlink gcc && brew link gcc
Uninstalling libgfortran...
Error: No such keg: /Users/yeesian/.julia/v0.3/Homebrew/deps/usr/Cellar/libgfortran
========================================[ ERROR: Homebrew ]========================================
failed process: Process(`/Users/yeesian/.julia/v0.3/Homebrew/deps/usr/bin/brew unlink --quiet libgfortran`, ProcessExited(1)) [1]
while loading /Users/yeesian/.julia/v0.3/Homebrew/deps/build.jl, in expression starting on line 2
===================================================================================================
INFO: Building ZMQ
=========================================[ BUILD ERRORS ]==========================================
WARNING: Homebrew had build errors.
- packages with build errors remain installed in /Users/yeesian/.julia/v0.3
- build a package and all its dependencies with `Pkg.build(pkg)`
- build a single package by running its `deps/build.jl` script
===================================================================================================
When this happened to me the other day, I was just able to close Julia and re-open and update again and it worked on the second or third try.
Totally lied, its actually totally busted for me to. Would wiping Homebrew.jl fix it?
For those of you having the no such keg libgfortran
errors, please look inside ~/.julia/v0.3/Homebrew/deps/usr/Cellar
and ~/.julia/v0.3/Homebrew/deps/usr/opt
for any libgfortran
folders and delete them. Also look for any gcc
folders and delete those as well. Then Pkg.update()
and try again.
We recently changed a bunch of stuff regarding gcc
and libgfortran
, so I'm going to close this now. If further issues arise, please open a new issue.
Hi All, I recently tried to run
Pkg.update
and got some errors in Ipopt (shown below). I then tried runningPkg.build("Ipopt")
as suggested, and got another set of errors from Homebrew about gcc versioning. In the error message, it explicitly asks I raise an issue here, so I'm following directions. Both sets of errors shown below. Any help appreciated.Errors from
Pkg.update()
INFO: Building Ipopt Unlinking /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/ipopt/3.11.8... 57 symlinks removed Warning: ipopt-3.11.8 already installed, it's just not linked Linking /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/ipopt/3.11.8... 57 symlinks created ===========================================[ ERROR: Ipopt ]===========================================Provider PackageManager failed to satisfy dependency libipopt while loading /Users/vishalgupta/.julia/v0.3/Ipopt/deps/build.jl, in expression starting on line 81
===========================================[ BUILD ERRORS ]===========================================
WARNING: Ipopt and Homebrew had build errors.
Pkg.build(pkg)
deps/build.jl
scriptErrors from
Pkg.build("Ipopt")
julia> Pkg.build("Ipopt") INFO: Building Homebrew HEAD is now at 136d7b1 ykpers: update 1.16.1 bottle. HEAD is now at e642ab7 Don't require
gcc
to build..... ugh WARNING: Brew is feeding us a weird version string for gcc: WARNING: Please report this at https://github.com/JuliaLang/Homebrew.jl WARNING: Brew is feeding us a weird version string for libgfortran: WARNING: Please report this at https://github.com/JuliaLang/Homebrew.jl Uninstalling gcc... ==> Installing dependencies for gcc: mpfr, libmpc, isl, cloog ==> Installing gcc dependency: mpfr ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mpfr-3.1.2-p10.mavericks.bottle.1100.0%
==> Pouring mpfr-3.1.2-p10.mavericks.bottle.1.tar.gz 🍺 /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/mpfr/3.1.2-p10: 24 files, 3.5M ==> Installing gcc dependency: libmpc ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libmpc-1.0.2.mavericks.bottle.2.t
100.0%
==> Pouring libmpc-1.0.2.mavericks.bottle.2.tar.gz 🍺 /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/libmpc/1.0.2: 10 files, 384K ==> Installing gcc dependency: isl ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/isl-0.12.2.mavericks.bottle.2.tar
100.0%
==> Pouring isl-0.12.2.mavericks.bottle.2.tar.gz 🍺 /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/isl/0.12.2: 55 files, 3.1M ==> Installing gcc dependency: cloog ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cloog-0.18.1.mavericks.bottle.2.t
100.0%
==> Pouring cloog-0.18.1.mavericks.bottle.2.tar.gz 🍺 /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/cloog/0.18.1: 33 files, 560K ==> Installing gcc ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gcc-4.9.2.mavericks.bottle.tar.gz
100.0%
==> Pouring gcc-4.9.2.mavericks.bottle.tar.gz ==> Caveats GCC has been built with multilib support. Notably, OpenMP may not work: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670 If you need OpenMP support you may want to brew reinstall gcc --without-multilib ==> Summary 🍺 /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/gcc/4.9.2: 1156 files, 203M To relink: brew unlink gcc && brew link gcc Uninstalling libgfortran... Error: No such keg: /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/libgfortran =========================================[ ERROR: Homebrew ]==========================================
failed process: Process(
/Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/bin/brew unlink --quiet libgfortran
, ProcessExited(1)) [1] while loading /Users/vishalgupta/.julia/v0.3/Homebrew/deps/build.jl, in expression starting on line 2INFO: Building Ipopt Unlinking /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/ipopt/3.11.8... 57 symlinks removed Warning: ipopt-3.11.8 already installed, it's just not linked Linking /Users/vishalgupta/.julia/v0.3/Homebrew/deps/usr/Cellar/ipopt/3.11.8... 57 symlinks created ===========================================[ ERROR: Ipopt ]===========================================
Provider PackageManager failed to satisfy dependency libipopt while loading /Users/vishalgupta/.julia/v0.3/Ipopt/deps/build.jl, in expression starting on line 81
===========================================[ BUILD ERRORS ]===========================================
WARNING: Ipopt and Homebrew had build errors.
Pkg.build(pkg)
deps/build.jl
script