Closed tkelman closed 8 years ago
The GM has been available for about 2 weeks, official release is scheduled in 2 days.
I’ve not seen any issues with GM + Xcode 8 tools on Sierra over the last 7 or 8 days, with either brew or Homebrew. Before that Cairo was an issue. Below the output of Pkg.status() on my system. And occasionally I install SJulia as well.
Rob
On Sep 19, 2016, at 19:37, Tony Kelman notifications@github.com wrote:
Is it broadly available yet? Upstream homebrew now supports it and is building for it somehow.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/staticfloat/homebrew-juliadeps/issues/111, or mute the thread https://github.com/notifications/unsubscribe-auth/AADL6P7_4Pi73PITTn6di1PdTB78cjRTks5qr0btgaJpZM4KBKie.
julia> Pkg.status() 99 required packages:
Hi, I am a beginner for Julia. I just upgraded to MacOS Sierra and when I install Ipopt
, I have an error that is similar to https://github.com/staticfloat/homebrew-juliadeps/issues/79, which is also because of OS X upgrade.
Basically, it looks like this:
julia> Pkg.build("Ipopt") INFO: Building Homebrew Already up-to-date. INFO: Building Ipopt WARNING: The following packages do not have relocatable bottles, installation may fail! Please report these packages to https://github.com/JuliaLang/Homebrew.jl: staticfloat/juliadeps/ipopt Warning: You are using a pre-release version of Xcode. You may encounter build failures or other breakages. Please create pull-requests instead of filing issues. ==> Installing ipopt from staticfloat/juliadeps ==> Downloading http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.4.tgz Already downloaded: /Users/kagent/Library/Caches/Homebrew.jl/ipopt-3.12.4.tgz ==> cd ThirdParty/Blas; ./get.Blas ==> cd ThirdParty/Blas; ./configure --prefix=/Users/kagent/.julia/v0.4/Homebrew/ Last 15 lines from /Users/kagent/Library/Logs/Homebrew/ipopt/02.3.12.4_1: checking for g77... no checking for pgf90... no checking for pgf77... no checking for ifc... no checking for frt... no checking for af77... no configure: WARNING: Failed to find a Fortran compiler! configure: Fortran compiler options are:
checking how to get verbose linking output from unavailable... configure: WARNING: compilation failedchecking for Fortran libraries of unavailable... checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... configure: error: cannot compile a simple Fortran program See
config.log' for more details. make: *** No rule to make target
install'. Stop.READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/brew): https://github.com/staticfloat/homebrew-juliadeps/issues
================================[ ERROR: Ipopt ]================================
LoadError: failed process: Process(
/Users/kagent/.julia/v0.4/Homebrew/deps/usr/bin/brew install staticfloat/juliadeps/ipopt
, ProcessExited(1)) [1] while loading /Users/kagent/.julia/v0.4/Ipopt/deps/build.jl, in expression starting on line 81================================[ BUILD ERRORS ]================================
WARNING: Ipopt had build errors.
- packages with build errors remain installed in /Users/kagent/.julia/v0.4
- build the package(s) and all dependencies with
Pkg.build("Ipopt")
- build a single package by running its
deps/build.jl
script
I am pretty sure I have gcc
installed. I also tried the two solutions in the previous issue:
Export FC=gfortran
or brew install homebrew/science/ipopt
. They didn't work.
When I install it out of Julia, it failed to installasl
==> Installing homebrew/science/ipopt dependency: asl ==> Downloading https://github.com/ampl/mp/archive/3.1.0.tar.gz ==> Downloading from https://codeload.github.com/ampl/mp/tar.gz/3.1.0 ######################################################################## 100.0% ==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/asl/3.1.0 -DCMAKE_BUILD_TYP ==> make all Last 15 lines from /Users/kagent/Library/Logs/Homebrew/asl/02.make: No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2016b/maci64.html. make[2]: * [bin/spamfunc.mexmaci64] Error 255 make[1]: * [src/asl/CMakeFiles/spamfunc.dir/all] Error 2 make[2]: * [bin/amplfunc.mexmaci64] Error 255 make[1]: * Waiting for unfinished jobs.... make[1]: * [src/asl/CMakeFiles/amplfunc.dir/all] Error 2 [ 96%] Linking CXX shared library ../../bin/cp.dll cd /tmp/asl-20160921-34199-1i5c345/mp-3.1.0/src/cp && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script CMakeFiles/cp.dir/link.txt --verbose=1 /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -Wall -Wextra -pedantic -isysroot /Users/kagent/Downloads/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -dynamiclib -Wl,-headerpad_max_install_names -o ../../bin/cp.dll -install_name @rpath/cp.dll CMakeFiles/cp.dir/cp.cc.o ../../lib/libasl.a ../../bin/libmp.3.1.0.dylib -lm -ldl -Wl,-rpath,/tmp/asl-20160921-34199-1i5c345/mp-3.1.0/bin [ 96%] Built target cp [ 96%] Linking CXX executable ../bin/nl-reader-test cd /tmp/asl-20160921-34199-1i5c345/mp-3.1.0/test && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script CMakeFiles/nl-reader-test.dir/link.txt --verbose=1 /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -Wall -Wextra -pedantic -isysroot /Users/kagent/Downloads/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/nl-reader-test.dir/nl-reader-test.cc.o -o ../bin/nl-reader-test ../lib/libgtest-extra.a ../bin/libmp.3.1.0.dylib -Wl,-rpath,/tmp/asl-20160921-34199-1i5c345/mp-3.1.0/bin [ 96%] Built target nl-reader-test make: * [all] Error 2
I tried installing Ipopt
in another Mac machine with OS X 10.11, and it worked fine.
It is not urgent for me but probably worth mentioning. Thanks!
Oops, yes, I came across this issue as well.
Solved it by Tony’s suggestion: https://github.com/JuliaOpt/Ipopt.jl/issues/61#issuecomment-242293980 https://github.com/JuliaOpt/Ipopt.jl/issues/61#issuecomment-242293980
Rob
On Sep 21, 2016, at 21:11, zhikai-liu notifications@github.com wrote:
Hi, I am a beginner for Julia. I just upgraded to MacOS Sierra and when I install Ipopt, I have an error that is similar to https://github.com/staticfloat/homebrew-juliadeps/issues/79 x-msg://5/url, which is also because of OS X upgrade. Basically, it looks like this:
julia> Pkg.build("Ipopt") INFO: Building Homebrew Already up-to-date. INFO: Building Ipopt WARNING: The following packages do not have relocatable bottles, installation may fail! Please report these packages to https://github.com/JuliaLang/Homebrew.jl https://github.com/JuliaLang/Homebrew.jl: staticfloat/juliadeps/ipopt Warning: You are using a pre-release version of Xcode. You may encounter build failures or other breakages. Please create pull-requests instead of filing issues. ==> Installing ipopt from staticfloat/juliadeps ==> Downloading http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.4.tgz http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.4.tgz Already downloaded: /Users/kagent/Library/Caches/Homebrew.jl/ipopt-3.12.4.tgz ==> cd ThirdParty/Blas; ./get.Blas ==> cd ThirdParty/Blas; ./configure --prefix=/Users/kagent/.julia/v0.4/Homebrew/ Last 15 lines from /Users/kagent/Library/Logs/Homebrew/ipopt/02.3.12.4_1: checking for g77... no checking for pgf90... no checking for pgf77... no checking for ifc... no checking for frt... no checking for af77... no configure: WARNING: Failed to find a Fortran compiler! configure: Fortran compiler options are:
checking how to get verbose linking output from unavailable... configure: WARNING: compilation failed
checking for Fortran libraries of unavailable... checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... configure: error: cannot compile a simple Fortran program See config.log' for more details. make: *\ No rule to make targetinstall'. Stop.
READ THIS: https://git.io/brew-troubleshooting https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/brew): https://github.com/staticfloat/homebrew-juliadeps/issues https://github.com/staticfloat/homebrew-juliadeps/issues ================================[ ERROR: Ipopt ]================================
LoadError: failed process: Process(/Users/kagent/.julia/v0.4/Homebrew/deps/usr/bin/brew install staticfloat/juliadeps/ipopt, ProcessExited(1)) [1] while loading /Users/kagent/.julia/v0.4/Ipopt/deps/build.jl, in expression starting on line 81
================================[ BUILD ERRORS ]================================
WARNING: Ipopt had build errors.
packages with build errors remain installed in /Users/kagent/.julia/v0.4 build the package(s) and all dependencies with Pkg.build("Ipopt") build a single package by running its deps/build.jl script I am pretty sure I have gcc installed. I also tried the two solutions in the previous issue: Export FC=gfortran or brew install homebrew/science/ipopt. They didn't work. When I install it out of Julia, it failed to installasl
==> Installing homebrew/science/ipopt dependency: asl ==> Downloading https://github.com/ampl/mp/archive/3.1.0.tar.gz https://github.com/ampl/mp/archive/3.1.0.tar.gz ==> Downloading from https://codeload.github.com/ampl/mp/tar.gz/3.1.0 https://codeload.github.com/ampl/mp/tar.gz/3.1.0 ######################################################################## 100.0% ==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/asl/3.1.0 -DCMAKE_BUILD_TYP ==> make all Last 15 lines from /Users/kagent/Library/Logs/Homebrew/asl/02.make: No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2016b/maci64.html http://www.mathworks.com/support/compilers/R2016b/maci64.html. make[2]: * [bin/spamfunc.mexmaci64] Error 255 make[1]: * [src/asl/CMakeFiles/spamfunc.dir/all] Error 2 make[2]: * [bin/amplfunc.mexmaci64] Error 255 make[1]: * Waiting for unfinished jobs.... make[1]: * [src/asl/CMakeFiles/amplfunc.dir/all] Error 2 [ 96%] Linking CXX shared library ../../bin/cp.dll cd /tmp/asl-20160921-34199-1i5c345/mp-3.1.0/src/cp && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script CMakeFiles/cp.dir/link.txt --verbose=1 /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -Wall -Wextra -pedantic -isysroot /Users/kagent/Downloads/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -dynamiclib -Wl,-headerpad_max_install_names -o ../../bin/cp.dll -install_name @rpath/cp.dll CMakeFiles/cp.dir/cp.cc.o ../../lib/libasl.a ../../bin/libmp.3.1.0.dylib -lm -ldl -Wl,-rpath,/tmp/asl-20160921-34199-1i5c345/mp-3.1.0/bin [ 96%] Built target cp [ 96%] Linking CXX executable ../bin/nl-reader-test cd /tmp/asl-20160921-34199-1i5c345/mp-3.1.0/test && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script CMakeFiles/nl-reader-test.dir/link.txt --verbose=1 /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -Wall -Wextra -pedantic -isysroot /Users/kagent/Downloads/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/nl-reader-test.dir/nl-reader-test.cc.o -o ../bin/nl-reader-test ../lib/libgtest-extra.a ../bin/libmp.3.1.0.dylib -Wl,-rpath,/tmp/asl-20160921-34199-1i5c345/mp-3.1.0/bin [ 96%] Built target nl-reader-test make: * [all] Error 2
I tried installing Ipopt in another Mac machine with OS X 10.11, and it worked fine. It is not urgent for me but probably worth mentioning. Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/staticfloat/homebrew-juliadeps/issues/111#issuecomment-248806481, or mute the thread https://github.com/notifications/unsubscribe-auth/AADL6N7btNX2cAgS7ERe99am4rgBNbLsks5qsf_qgaJpZM4KBKie.
Still, strange you encountered that issue, tried just now, after Pkg.rm(“Ipopt”) and restarting the REPL:
_
() | A fresh approach to technical computing () | () () | Documentation: http://docs.julialang.org | | | Type "?help" for help. | | | | | | |/ ` | | | | || | | | (| | | Version 0.5.0 (2016-09-19 18:14 UTC) / |_'||_|'_| | Official http://julialang.org/ release |__/ | x86_64-apple-darwin13.4.0
julia> Pkg.test("Ipopt")
ERROR: Ipopt is not an installed package
in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at ./pkg/entry.jl:740
in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at ./
julia> Pkg.add("Ipopt") INFO: Installing Ipopt v0.2.4 INFO: Building Homebrew Checking out v1.0.1 in /Users/rob/.julia/v0.5/Homebrew/deps/usr... To checkout v1.0.1 in /Users/rob/.julia/v0.5/Homebrew/deps/usr run: 'cd /Users/rob/.julia/v0.5/Homebrew/deps/usr && git checkout v1.0.1 Already up-to-date. INFO: Building Ipopt INFO: Package database updated
julia> Pkg.test("Ipopt") INFO: Testing Ipopt
This program contains Ipopt, a library for large-scale nonlinear optimization. Ipopt is released as open source code under the Eclipse Public License (EPL). For more information visit http://projects.coin-or.org/Ipopt
This is Ipopt version 3.12.1, running with linear solver mumps. NOTE: Other linear solvers might be more efficient (see Ipopt documentation).
Number of nonzeros in equality constraint Jacobian...: 4 Number of nonzeros in inequality constraint Jacobian.: 4 Number of nonzeros in Lagrangian Hessian.............: 10
… (snipped)
(scaled) (unscaled)
Objective...............: 1.8095432878019967e+01 5.9714928497465891e+01 Dual infeasibility......: 1.7946182115358788e+01 5.9222400980683993e+01 Constraint violation....: 3.4824901449944008e+01 3.4824901449944008e+01 Complementarity.........: 3.9900000599999998e+00 1.3167000197999998e+01 Overall NLP error.......: 3.4824901449944008e+01 5.9222400980683993e+01
Number of objective function evaluations = 2 Number of objective gradient evaluations = 2 Number of equality constraint evaluations = 2 Number of inequality constraint evaluations = 2 Number of equality constraint Jacobian evaluations = 2 Number of inequality constraint Jacobian evaluations = 2 Number of Lagrangian Hessian evaluations = 1 Total CPU secs in IPOPT (w/o function evaluations) = 0.001 Total CPU secs in NLP function evaluations = 0.000
EXIT: Maximum Number of Iterations Exceeded. INFO: Ipopt tests passed
julia>
On Sep 22, 2016, at 06:45, Rob J. Goedman goedman@icloud.com wrote:
Oops, yes, I came across this issue as well.
Solved it by Tony’s suggestion: https://github.com/JuliaOpt/Ipopt.jl/issues/61#issuecomment-242293980 https://github.com/JuliaOpt/Ipopt.jl/issues/61#issuecomment-242293980
Rob
On Sep 21, 2016, at 21:11, zhikai-liu <notifications@github.com mailto:notifications@github.com> wrote:
Hi, I am a beginner for Julia. I just upgraded to MacOS Sierra and when I install Ipopt, I have an error that is similar to https://github.com/staticfloat/homebrew-juliadeps/issues/79 x-msg://5/url, which is also because of OS X upgrade. Basically, it looks like this:
julia> Pkg.build("Ipopt") INFO: Building Homebrew Already up-to-date. INFO: Building Ipopt WARNING: The following packages do not have relocatable bottles, installation may fail! Please report these packages to https://github.com/JuliaLang/Homebrew.jl https://github.com/JuliaLang/Homebrew.jl: staticfloat/juliadeps/ipopt Warning: You are using a pre-release version of Xcode. You may encounter build failures or other breakages. Please create pull-requests instead of filing issues. ==> Installing ipopt from staticfloat/juliadeps ==> Downloading http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.4.tgz http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.4.tgz Already downloaded: /Users/kagent/Library/Caches/Homebrew.jl/ipopt-3.12.4.tgz ==> cd ThirdParty/Blas; ./get.Blas ==> cd ThirdParty/Blas; ./configure --prefix=/Users/kagent/.julia/v0.4/Homebrew/ Last 15 lines from /Users/kagent/Library/Logs/Homebrew/ipopt/02.3.12.4_1: checking for g77... no checking for pgf90... no checking for pgf77... no checking for ifc... no checking for frt... no checking for af77... no configure: WARNING: Failed to find a Fortran compiler! configure: Fortran compiler options are:
checking how to get verbose linking output from unavailable... configure: WARNING: compilation failed
checking for Fortran libraries of unavailable... checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... configure: error: cannot compile a simple Fortran program See config.log' for more details. make: *\ No rule to make targetinstall'. Stop.
READ THIS: https://git.io/brew-troubleshooting https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/brew): https://github.com/staticfloat/homebrew-juliadeps/issues https://github.com/staticfloat/homebrew-juliadeps/issues ================================[ ERROR: Ipopt ]================================
LoadError: failed process: Process(/Users/kagent/.julia/v0.4/Homebrew/deps/usr/bin/brew install staticfloat/juliadeps/ipopt, ProcessExited(1)) [1] while loading /Users/kagent/.julia/v0.4/Ipopt/deps/build.jl, in expression starting on line 81
================================[ BUILD ERRORS ]================================
WARNING: Ipopt had build errors.
packages with build errors remain installed in /Users/kagent/.julia/v0.4 build the package(s) and all dependencies with Pkg.build("Ipopt") build a single package by running its deps/build.jl script I am pretty sure I have gcc installed. I also tried the two solutions in the previous issue: Export FC=gfortran or brew install homebrew/science/ipopt. They didn't work. When I install it out of Julia, it failed to installasl
==> Installing homebrew/science/ipopt dependency: asl ==> Downloading https://github.com/ampl/mp/archive/3.1.0.tar.gz https://github.com/ampl/mp/archive/3.1.0.tar.gz ==> Downloading from https://codeload.github.com/ampl/mp/tar.gz/3.1.0 https://codeload.github.com/ampl/mp/tar.gz/3.1.0 ######################################################################## 100.0% ==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/asl/3.1.0 -DCMAKE_BUILD_TYP ==> make all Last 15 lines from /Users/kagent/Library/Logs/Homebrew/asl/02.make: No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2016b/maci64.html http://www.mathworks.com/support/compilers/R2016b/maci64.html. make[2]: * [bin/spamfunc.mexmaci64] Error 255 make[1]: * [src/asl/CMakeFiles/spamfunc.dir/all] Error 2 make[2]: * [bin/amplfunc.mexmaci64] Error 255 make[1]: * Waiting for unfinished jobs.... make[1]: * [src/asl/CMakeFiles/amplfunc.dir/all] Error 2 [ 96%] Linking CXX shared library ../../bin/cp.dll cd /tmp/asl-20160921-34199-1i5c345/mp-3.1.0/src/cp && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script CMakeFiles/cp.dir/link.txt --verbose=1 /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -Wall -Wextra -pedantic -isysroot /Users/kagent/Downloads/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -dynamiclib -Wl,-headerpad_max_install_names -o ../../bin/cp.dll -install_name @rpath/cp.dll CMakeFiles/cp.dir/cp.cc.o ../../lib/libasl.a ../../bin/libmp.3.1.0.dylib -lm -ldl -Wl,-rpath,/tmp/asl-20160921-34199-1i5c345/mp-3.1.0/bin [ 96%] Built target cp [ 96%] Linking CXX executable ../bin/nl-reader-test cd /tmp/asl-20160921-34199-1i5c345/mp-3.1.0/test && /usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script CMakeFiles/nl-reader-test.dir/link.txt --verbose=1 /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -Wall -Wextra -pedantic -isysroot /Users/kagent/Downloads/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/nl-reader-test.dir/nl-reader-test.cc.o -o ../bin/nl-reader-test ../lib/libgtest-extra.a ../bin/libmp.3.1.0.dylib -Wl,-rpath,/tmp/asl-20160921-34199-1i5c345/mp-3.1.0/bin [ 96%] Built target nl-reader-test make: * [all] Error 2
I tried installing Ipopt in another Mac machine with OS X 10.11, and it worked fine. It is not urgent for me but probably worth mentioning. Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/staticfloat/homebrew-juliadeps/issues/111#issuecomment-248806481, or mute the thread https://github.com/notifications/unsubscribe-auth/AADL6N7btNX2cAgS7ERe99am4rgBNbLsks5qsf_qgaJpZM4KBKie.
@goedman Thank you so much! I got the exact same result, package installed yet problem not solved.
this issue is redundant with https://github.com/JuliaPackaging/Homebrew.jl/issues/154, closing
@zhikai-liu Not quite sure I understand your message. Let's continue offline if you still have an issue and if required we can switch to JuliaPackaging/Homebrew.jl#154 . Just email me at goedman@icloud.com.
Is it broadly available yet? Upstream homebrew now supports it and is building for it somehow.