Open cmey opened 5 years ago
same for me
Getting the same issue with Homebrew.jl#master
julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
+1 pinging @staticfloat
I ended up here after following through https://github.com/JuliaGraphics/Cairo.jl/issues/271 and https://github.com/JuliaGraphics/Cairo.jl/issues/287.
switching to the default versions of homebrew packages instead of those in the staticfloat/juliatranslated package set and installing them from the command line seemed to be enough to work towards a successful Cairo build
first error
julia> Pkg.build("Cairo")
Building LibCURL ─→ `~/.julia/packages/LibCURL/lWJxD/deps/build.log`
Building WinRPM ──→ `~/.julia/packages/WinRPM/Y9QdZ/deps/build.log`
Building Homebrew → `~/.julia/packages/Homebrew/SvXTp/deps/build.log`
Building Cairo ───→ `~/.julia/dev/Cairo/deps/build.log`
Resolving package versions...
┌ Error: Error building `Cairo`:
│ WARNING: redefining constant DEBIAN_VERSION_REGEX
│ WARNING: redefining constant have_sonames
│ WARNING: redefining constant sonames
│ WARNING: redefining constant EXTENSIONS
│ Error: Operation already in progress for libpng.formula
│ Another active Homebrew process is already using libpng.formula.
│ Please wait for it to finish or terminate it to continue.
│ ==> Installing harfbuzz from staticfloat/juliatranslated
│ ERROR: LoadError: failed process: Process(`/Users/Cameron/.julia/packages/Homebrew/SvXTp/deps/usr/bin/brew install staticfloat/juliatranslated/harfbuzz`, ProcessExited(1)) [1]
[...]
first fix
shell> /Users/Cameron/.julia/packages/Homebrew/SvXTp/deps/usr/bin/brew install harfbuzz
second error
julia> Pkg.build("Cairo")
Building LibCURL ─→ `~/.julia/packages/LibCURL/lWJxD/deps/build.log`
Building WinRPM ──→ `~/.julia/packages/WinRPM/Y9QdZ/deps/build.log`
Building Homebrew → `~/.julia/packages/Homebrew/SvXTp/deps/build.log`
Building Cairo ───→ `~/.julia/dev/Cairo/deps/build.log`
Resolving package versions...
┌ Error: Error building `Cairo`:
│ WARNING: redefining constant DEBIAN_VERSION_REGEX
│ WARNING: redefining constant have_sonames
│ WARNING: redefining constant sonames
│ WARNING: redefining constant EXTENSIONS
│ Error: Operation already in progress for libpng.formula
│ Another active Homebrew process is already using libpng.formula.
│ Please wait for it to finish or terminate it to continue.
│ ==> Installing pango from staticfloat/juliatranslated
│ ERROR: LoadError: failed process: Process(`/Users/Cameron/.julia/packages/Homebrew/SvXTp/deps/usr/bin/brew install staticfloat/juliatranslated/pango`, ProcessExited(1)) [1]
[...]
second fix
shell> /Users/Cameron/.julia/packages/Homebrew/SvXTp/deps/usr/bin/brew install pango
successful build
julia> Pkg.build("Cairo")
Building LibCURL ─→ `~/.julia/packages/LibCURL/lWJxD/deps/build.log`
Building WinRPM ──→ `~/.julia/packages/WinRPM/Y9QdZ/deps/build.log`
Building Homebrew → `~/.julia/packages/Homebrew/SvXTp/deps/build.log`
Building Cairo ───→ `~/.julia/dev/Cairo/deps/build.log`
Resolving package versions...
false
julia> using Cairo
julia>
This doesn't address the issue of why the package versions that are installing by default don't work, but hopefully others can work through this solution until a general solution is developed
Problem persists, had to manually install (using @cjprybol 's trick)
fontoconfig pango harfbuzz cairo glib
What can we do to help solving the "Another active Homebrew process..." thing, @staticfloat ?
Hi
@staticfloat
On Homebrew#master, there seems to be a problem building your version of glib:
Even clearing my locks did not help (same error after repeating the first command):