JuliaPackaging / Homebrew.jl

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

upgrade woes #147

Open vtjnash opened 7 years ago

vtjnash commented 7 years ago

repeated calls to Pkg.build eventually succeed, each time getting a bit further, but failing each time on a different item (dependency of Cairo?):

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
Uninstalling hdf5... (180 files, 10.5M)
Warning: staticfloat/juliatranslated/szip-2.1 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/szip/2.1
==> Installing hdf5 from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles-science/hdf5-1.8.17.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring hdf5-1.8.17.el_capitan.bottle.1.tar.gz
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/hdf5/1.8.17: 180 files, 10.6M
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/hdf5/1.8.17
Error: No available formula with the name "staticfloat/juliatranslated/pango" 
==================================================================[ ERROR: Homebrew ]===================================================================

LoadError: failed process: Process(`/Users/jameson/.julia/v0.6/Homebrew/deps/usr/bin/brew rm staticfloat/juliatranslated/pango --force`, ProcessExited(1)) [1]
while loading /Users/jameson/.julia/v0.5/Homebrew/deps/build.jl, in expression starting on line 2

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

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

WARNING: Homebrew had build errors.

 - packages with build errors remain installed in /Users/jameson/.julia/v0.5
 - build the package(s) and all dependencies with `Pkg.build("Homebrew")`
 - build a single package by running its `deps/build.jl` script

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

but then every Pkg.build after that is still noisy

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
Uninstalling fontconfig... (468 files, 3M)
Warning: staticfloat/juliatranslated/libpng-1.6.25 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libpng/1.6.25
Warning: staticfloat/juliatranslated/freetype-2.7 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/freetype/2.7
==> Installing fontconfig from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.12.1.el_capitan.bottle.tar.gz
Already downloaded: /Users/jameson/Library/Caches/Homebrew.jl/fontconfig-2.12.1.el_capitan.bottle.tar.gz
==> Pouring fontconfig-2.12.1.el_capitan.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1/bin/fc-cache -frv
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1: 468 files, 3M
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1
staticfloat commented 7 years ago
vtjnash commented 7 years ago
julia> Pkg.status("Homebrew")
 - Homebrew                      0.4.0

julia> Homebrew.versioninfo()
Julia Version 0.6.0-dev.647
Commit f0e6dc1* (2016-09-15 21:05 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin15.6.0)
  CPU: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT NO_AFFINITY HASWELL)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)
Homebrew 0.9.9 (git revision e2261; last commit 2016-09-19)
Homebrew/homebrew-core (git revision cbd4c; last commit 2016-09-19)
32 total packages installed:
atk, cairo, fontconfig, freetype, gdk-pixbuf, gettext, glib, gmp, gobject-introspection,
 gsettings-desktop-schemas, gtk+3, harfbuzz, hicolor-icon-theme, icu4c, jpeg, libepoxy,
 libffi, libpgm, libpng, libtiff, mbedtls, nettle, pango, pcre, pixman, pkg-config, szip,
 xz, hdf5, nlopt, libgfortran, zeromq32

0 auto-translated packages installed:

julia> Pkg.checkout("Homebrew")
INFO: Checking out Homebrew master...
INFO: Pulling Homebrew latest master...
INFO: No packages to install, update or remove

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
Uninstalling fontconfig... (468 files, 3M)
Warning: staticfloat/juliatranslated/libpng-1.6.25 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libpng/1.6.25
Warning: staticfloat/juliatranslated/freetype-2.7 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/freetype/2.7
==> Installing fontconfig from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.12.1.el_capitan.bottle.tar.gz
Already downloaded: /Users/jameson/Library/Caches/Homebrew.jl/fontconfig-2.12.1.el_capitan.bottle.tar.gz
==> Pouring fontconfig-2.12.1.el_capitan.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1/bin/fc-cache -frv
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1: 468 files, 3M
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1

julia> 
staticfloat commented 7 years ago

The fontconfig problem should be fixed by https://github.com/staticfloat/homebrew-juliadeps/commit/c351e7b12115df6d9b3678c28fc4ae0a6587677e. Please Homebrew.update() and try again, but I'm more interested in the Cairo build errors. Can you Pkg.build("Cairo") for me?

vtjnash commented 7 years ago

it had to build from source, but it seemed to fix the issue:

Uninstalling fontconfig... (468 files, 3M)
Warning: staticfloat/juliatranslated/libpng-1.6.25 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libpng/1.6.25
Warning: staticfloat/juliatranslated/freetype-2.7 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/freetype/2.7
==> Installing fontconfig from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.12.1_4.el_capitan.bottle.tar.gz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "fontconfig"
Download failed: https://homebrew.bintray.com/bottles/fontconfig-2.12.1_4.el_capitan.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.12.1.tar.bz2
######################################################################## 100.0%
==> ./configure --disable-silent-rules --enable-static --with-add-fonts=/System/Library/Fonts,/Library/Fonts,~/Library/Fonts --prefix=
==> make install RUN_FC_CACHE_TEST=false
==> Regenerating font cache, this may take a while
==> /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1_4/bin/fc-cache -frv
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1_4: 468 files, 3M, built in 3 minutes 33 seconds

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.

I can't reproduce the Pkg.build("Cairo") error anymore since after each invocation it would get a bit further until it eventually stopped throwing an error at all.

vtjnash commented 7 years ago

not sure if this is the same or a different computer, but the same issue happened again:

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
Uninstalling gdk-pixbuf... (220 files, 4.2M)
Warning: staticfloat/juliatranslated/gettext-0.19.8.1 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gettext/0.19.8.1
Warning: staticfloat/juliatranslated/libpng-1.6.25 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libpng/1.6.25
Warning: staticfloat/juliatranslated/freetype-2.7 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/freetype/2.7
Warning: staticfloat/juliatranslated/pixman-0.34.0 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/pixman/0.34.0
Warning: staticfloat/juliatranslated/libffi-3.0.13 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libffi/3.0.13
Warning: staticfloat/juliatranslated/pcre-8.39 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/pcre/8.39
==> Installing glib from staticfloat/juliatranslated
Error: glib-2.48.2 already installed
To install this version, first `brew unlink glib`
===============================================================================[ ERROR: Homebrew ]===============================================================================

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

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

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

WARNING: Homebrew had build errors.

 - packages with build errors remain installed in /Users/jameson/.julia/v0.5
 - build the package(s) and all dependencies with `Pkg.build("Homebrew")`
 - build a single package by running its `deps/build.jl` script

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

julia> 
~/julia/base$ /Volumes/Julia-0.5.0-rc4/Julia-0.5.app/Contents/Resources/julia/bin/julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.0-rc4+0 (2016-09-09 01:43 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-apple-darwin13.4.0

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
Uninstalling glib... (425 files, 16.9M)
Error: No available formula with the name "staticfloat/juliatranslated/gettext" 
===============================================================================[ ERROR: Homebrew ]===============================================================================

LoadError: ArgumentError: `brew info` failed for String["staticfloat/juliatranslated/gettext","staticfloat/juliatranslated/libffi","staticfloat/juliatranslated/pcre"]!
while loading /Users/jameson/.julia/v0.5/Homebrew/deps/build.jl, in expression starting on line 2

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

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

WARNING: Homebrew had build errors.

 - packages with build errors remain installed in /Users/jameson/.julia/v0.5
 - build the package(s) and all dependencies with `Pkg.build("Homebrew")`
 - build a single package by running its `deps/build.jl` script

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

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
Uninstalling gobject-introspection... (369 files, 19.2M)
Warning: staticfloat/juliatranslated/gettext-0.19.8.1 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gettext/0.19.8.1
Warning: staticfloat/juliatranslated/libpng-1.6.25 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libpng/1.6.25
Warning: staticfloat/juliatranslated/freetype-2.7 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/freetype/2.7
Warning: staticfloat/juliatranslated/pixman-0.34.0 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/pixman/0.34.0
Warning: staticfloat/juliatranslated/libffi-3.0.13 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libffi/3.0.13
Warning: staticfloat/juliatranslated/pcre-8.39 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/pcre/8.39
==> Installing glib from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/glib-2.50.0.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring glib-2.50.0.el_capitan.bottle.tar.gz
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/glib/2.50.0: 426 files, 22.3M
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/glib/2.50.0
==> Installing gobject-introspection from staticfloat/juliatranslated
==> Installing dependencies for staticfloat/juliatranslated/gobject-introspection: staticfloat/juliatranslated/fontconfig
==> Installing staticfloat/juliatranslated/gobject-introspection dependency: staticfloat/juliatranslated/fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.12.1_2.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring fontconfig-2.12.1_2.el_capitan.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1_2/bin/fc-cache -frv
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/fontconfig/2.12.1_2: 468 files, 3M
==> Installing staticfloat/juliatranslated/gobject-introspection
==> Downloading https://homebrew.bintray.com/bottles/gobject-introspection-1.50.0.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gobject-introspection-1.50.0.el_capitan.bottle.tar.gz
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gobject-introspection/1.50.0: 172 files, 9.6M
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gobject-introspection/1.50.0
Uninstalling gsettings-desktop-schemas... (89 files, 3.5M)
Warning: staticfloat/juliatranslated/gettext-0.19.8.1 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gettext/0.19.8.1
Warning: staticfloat/juliatranslated/libffi-3.0.13 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libffi/3.0.13
Warning: staticfloat/juliatranslated/pcre-8.39 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/pcre/8.39
Warning: staticfloat/juliatranslated/glib-2.50.0 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/glib/2.50.0
==> Installing gsettings-desktop-schemas from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/gsettings-desktop-schemas-3.22.0.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gsettings-desktop-schemas-3.22.0.el_capitan.bottle.tar.gz
==> /Users/jameson/.julia/v0.5/Homebrew/deps/usr/opt/glib/bin/glib-compile-schemas /Users/jameson/.julia/v0.5/Homebrew/deps/usr/share/glib-2.0/schemas
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gsettings-desktop-schemas/3.22.0: 91 files, 3.6M
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gsettings-desktop-schemas/3.22.0
Uninstalling gtk+3... (1,365 files, 68.4M)
Warning: staticfloat/juliatranslated/hicolor-icon-theme-0.15 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/hicolor-icon-theme/0.15
Warning: staticfloat/juliatranslated/gettext-0.19.8.1 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gettext/0.19.8.1
Warning: staticfloat/juliatranslated/libpng-1.6.25 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libpng/1.6.25
Warning: staticfloat/juliatranslated/freetype-2.7 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/freetype/2.7
Warning: staticfloat/juliatranslated/pixman-0.34.0 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/pixman/0.34.0
Warning: staticfloat/juliatranslated/icu4c-57.1 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/icu4c/57.1
Warning: staticfloat/juliatranslated/libepoxy-1.3.1 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libepoxy/1.3.1
Warning: staticfloat/juliatranslated/libffi-3.0.13 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/libffi/3.0.13
Warning: staticfloat/juliatranslated/pcre-8.39 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/pcre/8.39
Warning: staticfloat/juliatranslated/glib-2.50.0 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/glib/2.50.0
Warning: staticfloat/juliatranslated/gobject-introspection-1.50.0 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gobject-introspection/1.50.0
==> Installing harfbuzz from staticfloat/juliatranslated
Error: harfbuzz-1.3.0 already installed
To install this version, first `brew unlink harfbuzz`
===============================================================================[ ERROR: Homebrew ]===============================================================================

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

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

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

WARNING: Homebrew had build errors.

 - packages with build errors remain installed in /Users/jameson/.julia/v0.5
 - build the package(s) and all dependencies with `Pkg.build("Homebrew")`
 - build a single package by running its `deps/build.jl` script

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

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
Uninstalling harfbuzz... (123 files, 4.6M)
Error: No available formula with the name "staticfloat/juliatranslated/glib" 
===============================================================================[ ERROR: Homebrew ]===============================================================================

LoadError: ArgumentError: `brew info` failed for String["staticfloat/juliatranslated/glib","staticfloat/juliatranslated/freetype","staticfloat/juliatranslated/gobject-introspection","staticfloat/juliatranslated/icu4c"]!
while loading /Users/jameson/.julia/v0.5/Homebrew/deps/build.jl, in expression starting on line 2

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

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

WARNING: Homebrew had build errors.

 - packages with build errors remain installed in /Users/jameson/.julia/v0.5
 - build the package(s) and all dependencies with `Pkg.build("Homebrew")`
 - build a single package by running its `deps/build.jl` script

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

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
Uninstalling nettle... (79 files, 1.9M)
Warning: staticfloat/juliatranslated/gmp-6.1.1 already installed
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/gmp/6.1.1
==> Installing nettle from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/nettle-3.3.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring nettle-3.3.el_capitan.bottle.tar.gz
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/nettle/3.3: 81 files, 2.0M
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/nettle/3.3

julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
vtjnash commented 7 years ago

Maybe related that the tests also fail?

julia> Pkg.test("Homebrew")
INFO: Testing Homebrew
INFO: Using Homebrew.jl installed to /Users/jameson/.julia/v0.6/Homebrew/deps/usr
INFO: Removing pkg-config for our testing...
Uninstalling pkg-config... (10 files, 627.6K)
==> Installing pkg-config from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.29.1_2.el_capitan.bottle.tar.gz
Already downloaded: /Users/jameson/Library/Caches/Homebrew.jl/pkg-config-0.29.1_2.el_capitan.bottle.tar.gz
==> Pouring pkg-config-0.29.1_2.el_capitan.bottle.tar.gz
🍺  /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/pkg-config/0.29.1_2: 10 files, 627.5K
Warning: Already linked: /Users/jameson/.julia/v0.5/Homebrew/deps/usr/Cellar/pkg-config/0.29.1_2
Julia Version 0.6.0-dev.914
Commit 33067fc* (2016-10-04 21:18 UTC)
DEBUG build
Platform Info:
  OS: macOS (x86_64-apple-darwin15.6.0)
  CPU: Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT NO_AFFINITY HASWELL)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.3 (Unknown, x86-64)
Homebrew 1.0.6-21-ga7a2aef
Homebrew/homebrew-core (git revision bd4a5; last commit 2016-10-04)
28 total packages installed:
cairo, fontconfig, freetype, gettext, glib, gmp, gobject-introspection, gsettings-desktop-schemas, hicolor-icon-theme, icu4c, jpeg, libepoxy, libffi, libpgm, libpng, libtiff, mbedtls, nettle, pango, pcre, pixman, pkg-config, szip, xz, hdf5, nlopt, libgfortran, zeromq32

0 auto-translated packages installed:

INFO: pkg-config: 0.29.1_2 installed to: /Users/jameson/.julia/v0.6/Homebrew/deps/usr/Cellar/pkg-config/0.29.1_2
Test Failed
  Expression: Homebrew.linked("pkg-config") == true
   Evaluated: false == true
ERROR: LoadError: There was an error during testing
 in record(::Base.Test.FallbackTestSet, ::Base.Test.Fail) at test.jl:398
 in do_test(::Base.Test.Returned, ::Expr) at test.jl:281
 in include_from_node1(::String) at ./loading.jl:532
 in include_from_node1(::String) at /Users/jameson/julia/usr/lib/julia/sys-debug.dylib:?
 in include(::String) at ./sysimg.jl:14
 in include(::String) at /Users/jameson/julia/usr/lib/julia/sys-debug.dylib:?
 in process_options(::Base.JLOptions) at ./client.jl:272
 in _start() at ./client.jl:336
 in _start() at /Users/jameson/julia/usr/lib/julia/sys-debug.dylib:?
while loading /Users/jameson/.julia/v0.5/Homebrew/test/runtests.jl, in expression starting on line 42
====================================================================================[ ERROR: Homebrew ]=====================================================================================

failed process: Process(`/Users/jameson/julia/usr/bin/julia-debug -Cnative -J/Users/jameson/julia/usr/lib/julia/sys-debug.dylib --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /Users/jameson/.julia/v0.5/Homebrew/test/runtests.jl`, ProcessExited(1)) [1]

============================================================================================================================================================================================
ERROR: Homebrew had test errors
 in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at pkg/entry.jl:749
 in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at <missing>:0
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at pkg/dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at file.jl:69
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at pkg/dir.jl:31
 in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at <missing>:0
 in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at pkg/pkg.jl:258
 in test(::String, ::Vararg{String,N}) at pkg/pkg.jl:258
 in eval(::Module, ::Any) at ./boot.jl:238
 in eval(::Module, ::Any) at /Users/jameson/julia/usr/lib/julia/sys-debug.dylib:?
 in eval_user_input(::Any, ::Base.REPL.REPLBackend) at REPL.jl:66
 in macro expansion; at REPL.jl:97 [inlined]
 in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at event.jl:68

julia> 
aviks commented 7 years ago

I hit this today as well.

staticfloat commented 7 years ago

@aviks could you give me a little more detail? I haven't been able to reproduce any of these issues on my machines.

hpoit commented 7 years ago

I have the same issue.

hpoit commented 7 years ago
julia> Pkg.build("Homebrew")
INFO: Building Homebrew
Already up-to-date.
Error: glfw3 was renamed to glfw and needs to be migrated.
Please run `brew migrate glfw3`
=============================================================================[ ERROR: Homebrew ]=============================================================================

LoadError: failed process: Process(`/Users/Corvus/.julia/v0.5/Homebrew/deps/usr/bin/brew outdated --json=v1`, ProcessExited(1)) [1]
while loading /Users/Corvus/.julia/v0.5/Homebrew/deps/build.jl, in expression starting on line 2

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

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

WARNING: Homebrew had build errors.

 - packages with build errors remain installed in /Users/Corvus/.julia/v0.5
 - build the package(s) and all dependencies with `Pkg.build("Homebrew")`
 - build a single package by running its `deps/build.jl` script

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

shell> brew migrate glfw3
Error: No available formula with the name "glfw3" 

julia> 

Sorry, different load error, but still generating noise for other packages that need it.

staticfloat commented 7 years ago

Try running using Homebrew before giving commands to brew. You've probably got a system Homebrew installed, and so the paths aren't setup properly without explicitly running using Homebrew for your shell> commands to reach Homebrew.jl.

hpoit commented 7 years ago
shell> brew migrate glfw3
Error: No available formula with the name "glfw3" 

julia> using Homebrew

shell> brew migrate glfw3
==> Migrating glfw3 to glfw
==> Unlinking glfw3
Moving to: /Users/Corvus/.julia/v0.5/Homebrew/deps/usr/Cellar/glfw
==> Linking glfw

julia> 

Awesome, thanks.