rmlint icon indicating copy to clipboard operation
rmlint copied to clipboard

Dependeny gio-2.0 can not be found in Homebrew Mac

Open i3d opened this issue 4 years ago • 3 comments

brew install rmlint Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 2 formulae.

Warning: Building json-glib from source as the bottle needs:

  • HOMEBREW_CELLAR: /usr/local/Cellar (yours is /Users/jimxu/homebrew/Cellar)
  • HOMEBREW_PREFIX: /usr/local (yours is /Users/jimxu/homebrew) ==> Downloading https://download.gnome.org/sources/json-glib/1.6/json-glib-1.6.2.tar.xz Already downloaded: /Users/jimxu/Library/Caches/Homebrew/downloads/7ca455aa55cba350891efd0ce41dffa4e31182ad6ff11609366220ec48ebb444--json-glib-1.6.2.tar.xz ==> Downloading https://ghcr.io/v2/homebrew/core/libelf/manifests/0.8.13_1 Already downloaded: /Users/jimxu/Library/Caches/Homebrew/downloads/d162b75f63c9fd0e1590b1d642b26eae7807ffcef6fc8a330bc220a9d25b6b04--libelf-0.8.13_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libelf/blobs/sha256:8b69f55ccec2aa1bfa85bef3fe071077fe281e2bc63dc33cc4344a1cc02e1e26 Already downloaded: /Users/jimxu/Library/Caches/Homebrew/downloads/9ffec9f56f942d68b2d30042c349d2cdd1421705814a602de4a8b3b2524b9363--libelf--0.8.13_1.big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/rmlint/manifests/2.10.1 Already downloaded: /Users/jimxu/Library/Caches/Homebrew/downloads/343160ca928919229fc751ca6443a65cf26b9158f41c1ad92baa1a09dc4f0619--rmlint-2.10.1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/rmlint/blobs/sha256:1f6f76bfe7c4f4c058b91a0808e6e19a0029f4a4017929615bc223666abddf5a Already downloaded: /Users/jimxu/Library/Caches/Homebrew/downloads/fd2383e79b24dc7cea05b7f1123778f4cb878069299d3b0debab70cefbd45f29--rmlint--2.10.1.big_sur.bottle.tar.gz ==> Installing dependencies for rmlint: json-glib and libelf ==> Installing rmlint dependency: json-glib ==> meson --prefix=/Users/jimxu/homebrew/Cellar/json-glib/1.6.2 --libdir=/Users/jimxu/homebrew/Cellar/json-glib/1.6.2/lib --buildtype=release --wrap-mode=nofallback -Dintrospection=enabled .. Last 15 lines from /Users/jimxu/Library/Logs/Homebrew/json-glib/01.meson: Project version: 1.6.2 C compiler for the host machine: clang (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.9)") C linker for the host machine: clang ld64 650.9 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /Users/jimxu/homebrew/Library/Homebrew/shims/mac/super/pkg-config (0.29.2) Did not find CMake 'cmake' Found CMake: NO Run-time dependency gio-2.0 found: NO (tried pkgconfig, framework and cmake) Not looking for a fallback subproject for the dependency gio-2.0 because: Use of fallback dependencies is disabled.

../meson.build:40:0: ERROR: Dependency 'gio-2.0' not found and fallback is disabled

A full log can be found at /private/tmp/json-glib-20210515-16215-13vj29o/json-glib-1.6.2/build/meson-logs/meson-log.txt

Do not report this issue to Homebrew/brew or Homebrew/core!

i3d avatar May 15 '21 17:05 i3d

hmmm, gio should be part of glib.

Does brew install json-glib work?

SeeSpotRun avatar May 15 '21 21:05 SeeSpotRun

Out of interest, what version of Mac? I managed to install ok with homebrew on catalina

SeeSpotRun avatar May 17 '21 01:05 SeeSpotRun

Did not find CMake 'cmake' Found CMake: NO

Please try again after $ brew install cmake

SeeSpotRun avatar May 18 '21 21:05 SeeSpotRun