Homebrew.jl icon indicating copy to clipboard operation
Homebrew.jl copied to clipboard

Error for building fontconfig

Open xiaoweiz opened this issue 6 years ago • 10 comments

@staticfloat

OSX Sierra + Julia 0.6.2 (fresh install)

When building Homebrew, it failed with the following error message

==> Installing fontconfig from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.12.6.el_capita
Already downloaded: /Users/xiaoweiz/Library/Caches/Homebrew.jl/fontconfig-2.12.6.el_capitan.bottle.tar.gz
==> Pouring fontconfig-2.12.6.el_capitan.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /Users/xiaoweiz/.julia/v0.6/Homebrew/deps/usr/Cellar/fontconfig/2.12.6/bin/f
Last 15 lines from /Users/xiaoweiz/Library/Logs/Homebrew/fontconfig/post_install.01.fc-cache:
-frv

/usr/share/fonts: skipping, no such directory
/System/Library/Fonts: caching, new cache contents: 281 fonts, 0 dirs
/Library/Fonts: /Library/Fonts: failed to write cache
caching, new cache contents: 419 fonts, 1 dirs
/Library/Fonts/Microsoft: caching, new cache contents: 207 fonts, 0 dirs
/Users/xiaoweiz/Library/Fonts: /Users/xiaoweiz/Library/Fonts: failed to write cache
caching, new cache contents: 2579 fonts, 0 dirs
/Users/xiaoweiz/.local/share/fonts: skipping, no such directory
/Users/xiaoweiz/.fonts: skipping, no such directory
/usr/local/var/cache/fontconfig: not cleaning unwritable cache directory
/Users/xiaoweiz/.cache/fontconfig: not cleaning unwritable cache directory
/Users/xiaoweiz/.fontconfig: not cleaning non-existent cache directory
/Users/xiaoweiz/.julia/v0.6/Homebrew/deps/usr/Cellar/fontconfig/2.12.6/bin/fc-cache: failed
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall staticfloat/juliatranslated/fontconfig`
==> Summary
🍺  /Users/xiaoweiz/.julia/v0.6/Homebrew/deps/usr/Cellar/fontconfig/2.12.6: 493 files, 3.2MB
===================================[ ERROR: Homebrew ]====================================

LoadError: failed process: Process(`/Users/xiaoweiz/.julia/v0.6/Homebrew/deps/usr/bin/brew install --ignore-dependencies staticfloat/juliatranslated/fontconfig`, ProcessExited(1)) [1]
while loading /Users/xiaoweiz/.julia/v0.6/Homebrew/deps/build.jl, in expression starting on line 2

xiaoweiz avatar May 05 '18 11:05 xiaoweiz