JuliaPackaging / Homebrew.jl

OSX Binary dependency provider for Julia
Other
27 stars 32 forks source link

Rsvg and Cairo won't build - looks like homebrew problem #251

Open gtollefson opened 5 years ago

gtollefson commented 5 years ago

When updating homebrew my installations of Rsvg and Cairo were updated with build errors. I have tried Pkg.checkout and building again but receive the same errors:

julia> Pkg.build("Rsvg") INFO: Building Homebrew Already up-to-date. Uninstalling git... (1,488 files, 35.2MB) ==> Installing git from staticfloat/juliatranslated ==> Downloading https://homebrew.bintray.com/bottles/git-2.20.1.high_sierra.bott ######################################################################## 100.0% ==> Pouring git-2.20.1.high_sierra.bottle.1.tar.gz ==> Caveats Bash completion has been installed to: /Users/George/.julia/test/v0.6/Homebrew/deps/usr/etc/bash_completion.d

zsh completions and functions have been installed to: /Users/George/.julia/test/v0.6/Homebrew/deps/usr/share/zsh/site-functions

Emacs Lisp files have been installed to: /Users/George/.julia/test/v0.6/Homebrew/deps/usr/share/emacs/site-lisp/git ==> Summary 🍺 /Users/George/.julia/test/v0.6/Homebrew/deps/usr/Cellar/git/2.20.1: 1,526 files, 41.3MB Warning: Already linked: /Users/George/.julia/test/v0.6/Homebrew/deps/usr/Cellar/git/2.20.1 INFO: Building Cairo Error: Calling keg_only :provided_pre_mountain_lion is disabled! There is no replacement. ==============================================================[ ERROR: Cairo ]===============================================================

LoadError: ArgumentError: brew info failed for String["staticfloat/juliadeps/fontconfig"]! while loading /Users/George/.julia/test/v0.6/Cairo/deps/build.jl, in expression starting on line 165

============================================================================================================================================= INFO: Building Rsvg Error: Calling keg_only :provided_pre_mountain_lion is disabled! There is no replacement. ===============================================================[ ERROR: Rsvg ]===============================================================

LoadError: ArgumentError: brew info failed for String["staticfloat/juliadeps/fontconfig"]! while loading /Users/George/.julia/test/v0.6/Rsvg/deps/build.jl, in expression starting on line 33

=============================================================================================================================================

==============================================================[ BUILD ERRORS ]===============================================================

WARNING: Rsvg and Cairo had build errors.

=========================================================================================================

@staticfloat

staticfloat commented 5 years ago

What version of Julia and Homebrew are you using? And what version of macOS are you using?

gtollefson commented 5 years ago

@staticfloat thank you for the response, sorry for getting back to you late.

I'm using Julia Version 0.6.3 on MacOS High Sierra Version 10.13.2. My home brew info is as follows:

Homebrew 1.8.6-36-gf050e42 Homebrew/homebrew-core (git revision 4c889; last commit 2018-12-24) Homebrew/homebrew-cask (git revision ba6f2; last commit 2018-12-24)

gtollefson commented 5 years ago

Hi @staticfloat,

I haven't resolved this installation issue yet. I tried the fixes recommended in #189. I also tried following the fix recommended here: [https://github.com/JuliaGraphics/Cairo.jl/issues/232]

Do you have any suggestions?

krcolbert commented 5 years ago

Any new solutions to this? I receive the same errors.

arnavs commented 5 years ago

Getting the same error on Mojave, latest everything. Is there any guidance on this? (Is the package still being maintained?)