Homebrew/pango build failure


#1

I’m trying to install Queryverse on my Mac but it failed in the build step for pango in Homebrew. Same problem exists in both v0.6.3 and the latest v0.7-rc2 nightly build. Any idea how I can fix this? Thanks

Build log:

β”‚ ==> Pouring pango-1.42.3.high_sierra.bottle.tar.gz
β”‚ 🍺  /Users/tomkwong/.julia/packages/Homebrew/Byw6Y/deps/usr/Cellar/pango/1.42.3: 106 files, 4.3MB
β”‚ Warning: Already linked: /Users/tomkwong/.julia/packages/Homebrew/Byw6Y/deps/usr/Cellar/pango/1.42.3
β”‚ β”Œ Warning: Deprecated syntax `assignment inside [ ]`.
β”‚ β”” @ none:0
β”‚ β”Œ Warning: `is_apple` is deprecated, use `Sys.isapple` instead.
β”‚ β”‚   caller = top-level scope at none:0
β”‚ β”” @ Core none:0
β”‚ β”Œ Warning: `search(s::AbstractString, t::AbstractString)` is deprecated, use `something(findfirst(t, s), 0:-1)` instead.
β”‚ β”‚   caller = update_env() at util.jl:17
β”‚ β”” @ Homebrew ~/.julia/packages/Homebrew/Byw6Y/src/util.jl:17
β”‚ β”Œ Warning: `is_linux` is deprecated, use `Sys.islinux` instead.
β”‚ β”‚   caller = xx(::String, ::Vararg{String,N} where N) at build.jl:109
β”‚ β”” @ Main ~/.julia/packages/Cairo/byAsC/deps/build.jl:109
β”‚ β”Œ Warning: `is_linux` is deprecated, use `Sys.islinux` instead.
β”‚ β”‚   caller = top-level scope at none:0
β”‚ β”” @ Core none:0
β”‚ β”Œ Warning: `is_apple` is deprecated, use `Sys.isapple` instead.
β”‚ β”‚   caller = top-level scope at none:0
β”‚ β”” @ Core none:0
β”‚ β”Œ Warning: `similar(a::AbstractDict)` is deprecated, use `empty(a)` instead.
β”‚ β”‚   caller = adjust_env(::Dict{AbstractString,AbstractString}) at BinDeps.jl:388
β”‚ β”” @ BinDeps ~/.julia/packages/BinDeps/2wxq/src/BinDeps.jl:388
β”‚ β”Œ Warning: `replace(s::AbstractString, pat, f)` is deprecated, use `replace(s, pat => f)` instead.
β”‚ β”‚   caller = top-level scope at none:0
β”‚ β”” @ Core none:0
β”‚ β”Œ Warning: `replace(s::AbstractString, pat, f)` is deprecated, use `replace(s, pat => f)` instead.
β”‚ β”‚   caller = top-level scope at none:0
β”‚ β”” @ Core none:0
β”‚ β”Œ Warning: `readstring(filename::AbstractString)` is deprecated, use `read(filename, String)` instead.
β”‚ β”‚   caller = read_formula at translation.jl:9 [inlined]
β”‚ β”” @ Core ~/.julia/packages/Homebrew/Byw6Y/src/translation.jl:9
β”‚ β”Œ Warning: `contains(haystack, needle)` is deprecated, use `occursin(needle, haystack)` instead.
β”‚ β”‚   caller = #translate_formula#69(::Bool, ::Function, ::String) at translation.jl:193
β”‚ β”” @ Homebrew ~/.julia/packages/Homebrew/Byw6Y/src/translation.jl:193
β”‚ ERROR: LoadError: Provider Homebrew.HB failed to satisfy dependency pangocairo
β”‚ Stacktrace:
β”‚  [1] error(::String) at ./error.jl:33
β”‚  [2] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at /Users/tomkwong/.julia/packages/BinDeps/2wxq/src/dependencies.jl:943
β”‚  [3] satisfy!(::BinDeps.LibraryGroup, ::Array{DataType,1}) at /Users/tomkwong/.julia/packages/BinDeps/2wxq/src/dependencies.jl:908
β”‚  [4] satisfy!(::BinDeps.LibraryGroup) at /Users/tomkwong/.julia/packages/BinDeps/2wxq/src/dependencies.jl:872
β”‚  [5] top-level scope at /Users/tomkwong/.julia/packages/BinDeps/2wxq/src/dependencies.jl:975
β”‚  [6] include at ./boot.jl:317 [inlined]
β”‚  [7] include_relative(::Module, ::String) at ./loading.jl:1038
β”‚  [8] include(::Module, ::String) at ./sysimg.jl:29
β”‚  [9] include(::String) at ./client.jl:398
β”‚  [10] top-level scope at none:0
β”‚ in expression starting at /Users/tomkwong/.julia/packages/Cairo/byAsC/deps/build.jl:161

#2

Try Nathan’s suggestion here.