Errors when building some packages on OS X 10.11

I am getting errors along the lines of the following when trying to build some packages. The message says it’s an “error” that I’m running OS X 10.11, but I can’t tell if that’s the reason it’s not building, or if the real problem is to do with the “The following packages do not have relocatable bottles” line below it.

Can anyone shed any light on that? I can upgrade my OS if I have to but I want to avoid it if at all possible.

julia> Pkg.build("GLFW")
  Building Homebrew → `~/.julia/packages/Homebrew/s09IX/deps/build.log`
  Building CMake ───→ `~/.julia/packages/CMake/ZGawK/deps/build.log`
  Building GLFW ────→ `~/.julia/packages/GLFW/69NQ7/deps/build.log`
┌ Error: Error building `GLFW`: 
│ ==> Downloading https://github.com/glfw/glfw/archive/3.3.tar.gz
│ Already downloaded: /Users/ndv/Library/Caches/Homebrew.jl/downloads/8ae8a654fc3226eb16940046991529973a9e6d02dd5bd31d0b7dbf10417b85cc--glfw-3.3.tar.gz
│ ==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/Users/ndv/.julia/packages/Homebrew/s09IX/deps/usr/Cellar/glfw/3.3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DHAVE_CLOCK_GETTIME:INTERNAL=0 -DGLFW_USE_CHDIR=TRUE -DGLFW_USE_MENUBAR=TRUE -DBUILD_SHARED_LIBS=TRUE .
│ Last 15 lines from /Users/ndv/Library/Logs/Homebrew/glfw/01.cmake:
│ 
│ cmake
│ -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG
│ -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
│ -DCMAKE_INSTALL_PREFIX=/Users/ndv/.julia/packages/Homebrew/s09IX/deps/usr/Cellar/glfw/3.3
│ -DCMAKE_BUILD_TYPE=Release
│ -DCMAKE_FIND_FRAMEWORK=LAST
│ -DCMAKE_VERBOSE_MAKEFILE=ON
│ -Wno-dev
│ -DHAVE_CLOCK_GETTIME:INTERNAL=0
│ -DGLFW_USE_CHDIR=TRUE
│ -DGLFW_USE_MENUBAR=TRUE
│ -DBUILD_SHARED_LIBS=TRUE
│ .
│ 
│ 
│ Do not report this issue to Homebrew/brew or Homebrew/core!
│ 
│ Error: You are using macOS 10.11.
│ We (and Apple) do not provide support for this old version.
│ You will encounter build failures and other breakages.
│ Please create pull-requests instead of asking for help on Homebrew's
│ GitHub, Discourse, Twitter or IRC. As you are running this old version,
│ you are responsible for resolving any issues you experience.
│ 
│ Error: You have MacPorts or Fink installed:
│   /opt/local/bin/port
│ 
│ This can cause trouble. You don't have to uninstall them, but you may want to
│ temporarily move them out of the way, e.g.
│ 
│   sudo mv /opt/local ~/macports
│ Error: You are using macOS 10.11.
│ We (and Apple) do not provide support for this old version.
│ You will encounter build failures and other breakages.
│ Please create pull-requests instead of asking for help on Homebrew's
│ GitHub, Discourse, Twitter or IRC. As you are running this old version,
│ you are responsible for resolving any issues you experience.
│ 
│ 
│ ┌ Warning: The following packages do not have relocatable bottles, installation may fail!
│ │ Please report these packages to https://github.com/JuliaLang/Homebrew.jl:
│ │   glfw
│ └ @ Homebrew ~/.julia/packages/Homebrew/s09IX/src/API.jl:449
│ ERROR: LoadError: failed process: Process(`/Users/ndv/.julia/packages/Homebrew/s09IX/deps/usr/bin/brew install --ignore-dependencies glfw`, ProcessExited(1)) [1]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
│  [2] pipeline_error at ./process.jl:785 [inlined]
│  [3] #run#515(::Bool, ::Function, ::Cmd) at ./process.jl:726
│  [4] run at ./process.jl:724 [inlined]
│  [5] #brew#4(::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Function, ::Cmd) at /Users/ndv/.julia/packages/Homebrew/s09IX/src/API.jl:19
│  [6] #brew at ./none:0 [inlined]
│  [7] #install_and_link#38(::Bool, ::Function, ::String) at /Users/ndv/.julia/packages/Homebrew/s09IX/src/API.jl:492
│  [8] (::getfield(Homebrew, Symbol("#kw##install_and_link")))(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(Homebrew.install_and_link), ::String) at ./none:0
│  [9] #add#29(::Bool, ::Bool, ::Function, ::String) at /Users/ndv/.julia/packages/Homebrew/s09IX/src/API.jl:462
│  [10] add at /Users/ndv/.julia/packages/Homebrew/s09IX/src/API.jl:412 [inlined]
│  [11] install(::Array{String,1}) at /Users/ndv/.julia/packages/Homebrew/s09IX/src/bindeps_integration.jl:50
│  [12] (::getfield(Homebrew, Symbol("##80#81")))() at /Users/ndv/.julia/packages/Homebrew/s09IX/src/bindeps_integration.jl:45
│  [13] run(::getfield(Homebrew, Symbol("##80#81"))) at /Users/ndv/.julia/packages/BinDeps/ZEval/src/BinDeps.jl:478
│  [14] run(::BinDeps.SynchronousStepCollection) at /Users/ndv/.julia/packages/BinDeps/ZEval/src/BinDeps.jl:521
│  [15] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at /Users/ndv/.julia/packages/BinDeps/ZEval/src/dependencies.jl:944
│  [16] satisfy!(::BinDeps.LibraryDependency) at /Users/ndv/.julia/packages/BinDeps/ZEval/src/dependencies.jl:922
│  [17] top-level scope at /Users/ndv/.julia/packages/BinDeps/ZEval/src/dependencies.jl:977
│  [18] include at ./boot.jl:326 [inlined]
│  [19] include_relative(::Module, ::String) at ./loading.jl:1038
│  [20] include(::Module, ::String) at ./sysimg.jl:29
│  [21] include(::String) at ./client.jl:403
│  [22] top-level scope at none:0
│ in expression starting at /Users/ndv/.julia/packages/GLFW/69NQ7/deps/build.jl:46
└ @ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

You should try this again with the newest GLFW: https://github.com/JuliaGL/GLFW.jl/releases
You may need to add GLFW#master, since this release doesn’t seem to be in the registry yet!

my TSML package build for Julia 1.0 on OS X fails but works in Linux. It also works in Linux and OS X with Julia 1.1. Do you have idea what this error is:

signal (11): Segmentation fault: 11

in expression starting at /Users/travis/build/IBM/TSML.jl/test/test_statifier.jl:91

_platform_strcmp at /usr/lib/system/libsystem_platform.dylib (unknown line)

Allocations: 262329662 (Pool: 262282922; Big: 46740); GC: 584

ERROR: Package TSML errored during testing

Stacktrace:

[1] pkgerror(::String, ::Vararg{String,N} where N) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120

[2] #test#65(::Bool, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1357

[3] #test at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:0 [inlined]

[4] #test#44(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:278

[5] #test#43 at ./none:0 [inlined]

[6] #test at ./none:0 [inlined]

[7] #test#40 at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:257 [inlined]

[8] (::getfield(Pkg.API, Symbol("#kw##test")))(::NamedTuple{(:coverage,),Tuple{Bool}}, ::typeof(Pkg.API.test)) at ./none:0

[9] top-level scope at none:1

The command “julia --check-bounds=yes --color=yes -e “if VERSION < v"0.7.0-DEV.5183”; Pkg.test(”${JL_PKG}", coverage=true); else using Pkg; Pkg.test(coverage=true); end"" failed and exited with 1 during .

Your build has been stopped.

https://travis-ci.org/IBM/TSML.jl/jobs/538351910

@sdanisch, thanks! Adding GLFW#master did seem to work and I have glfw installed now.

@ppalmes that seems like a different issue - you would be better off posting it in a new thread.