Homebrew.jl
Homebrew.jl copied to clipboard
"The following packages do not have relocatable bottles": glfw
(When opening an issue, please ping @staticfloat.)
I'm getting the following message when attempting to build glfw, so I'm duly reporting it.
I note that it also says it's an error that I'm running OS X 10.11. I can't tell if that's the reason it's not working or if it's just a "use this old OS at your own risk" type of warning. I'd really appreciate any insight into that, because I can upgrade my OS if I have to but would really rather not.
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 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
Just to note that someone at discourse suggested adding GLFW#master, which worked, in that I can now build GLFW and use Makie, which uses it. However, I have a bunch of similar issues for other packages, which I will post as a separate issue.