randomplum / homebrew-gtkwave

GTKWave Homebrew Tap
MIT License
8 stars 10 forks source link

Failure to install missing pkg-config cache file #4

Closed ben-h-a closed 11 months ago

ben-h-a commented 11 months ago

I'm following your issue thread here: https://github.com/gtkwave/gtkwave/issues/250 I've run the following as suggested:

brew update 
brew outdated
brew upgrade
brew cleanup
brew uninstall gtkwave
brew untap randomplum/gtkwave
brew install -v --HEAD randomplum/gtkwave/gtkwave
Already up-to-date.
Error: Cask 'gtkwave' is not installed.
Untapping randomplum/gtkwave...
Untapped 1 formula (16 files, 14.3KB).
==> Tapping randomplum/gtkwave
git clone https://github.com/randomplum/homebrew-gtkwave /opt/homebrew/Library/Taps/randomplum/homebrew-gtkwave --origin=origin --template= --config core.fsmonitor=false
Cloning into '/opt/homebrew/Library/Taps/randomplum/homebrew-gtkwave'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 26 (delta 14), reused 17 (delta 8), pack-reused 0
Receiving objects: 100% (26/26), 6.12 KiB | 6.12 MiB/s, done.
Resolving deltas: 100% (14/14), done.
Tapped 1 formula (15 files, 13KB).
==> Fetching dependencies for randomplum/gtkwave/gtkwave: gobject-introspection, gtk+3, gtk-mac-integration and meson
==> Fetching gobject-introspection
==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/manifests/1.78.1-1
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/f6daa2936809f8f0f524f563231e536ec1acb5caaead8b2fd5a52ddf718a7f2c--gobject-introspection-1.78.1-1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/blobs/sha256:025018b9b268379c594d7a079ea585962a82610632f5fa7682347d7cdb031755
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/b2eb72577fd14d94864c18d5d3d9f5d1f0103f326b17cadb96c6d5db566fa3b8--gobject-introspection--1.78.1.arm64_sonoma.bottle.1.tar.gz
==> Verifying checksum for 'b2eb72577fd14d94864c18d5d3d9f5d1f0103f326b17cadb96c6d5db566fa3b8--gobject-introspection--1.78.1.arm64_sonoma.bottle.1.tar.gz'
==> Fetching gtk+3
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx3/manifests/3.24.38
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/2a69bfc9e70cb980bd6efa824340ecf2fa6ff0b0a456f663120d2960394e9dc8--gtk+3-3.24.38.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx3/blobs/sha256:b079594552eccc9b13b01d55022811bf9acc981e62d0c107ad9d393a05dc4ef6
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/970e5c8a83159f8cdcce2e187868798be2a106662dd8504b1a8c20005fb6d2ac--gtk+3--3.24.38.arm64_sonoma.bottle.tar.gz
==> Verifying checksum for '970e5c8a83159f8cdcce2e187868798be2a106662dd8504b1a8c20005fb6d2ac--gtk+3--3.24.38.arm64_sonoma.bottle.tar.gz'
==> Fetching gtk-mac-integration
==> Downloading https://ghcr.io/v2/homebrew/core/gtk-mac-integration/manifests/3.0.1-1
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/155b39295685fbe887cbd1c4575b4be8bc7a4056ef70ae44d11fb5ef84036063--gtk-mac-integration-3.0.1-1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gtk-mac-integration/blobs/sha256:85cd5c0a85e3e5dd6eb25fc472ff8bca8904dfe6e2d5c008cf94707979780b50
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/566068186077479e09993e6c98928c06555dd1478be01aeadc9053c74ae18148--gtk-mac-integration--3.0.1.arm64_sonoma.bottle.1.tar.gz
==> Verifying checksum for '566068186077479e09993e6c98928c06555dd1478be01aeadc9053c74ae18148--gtk-mac-integration--3.0.1.arm64_sonoma.bottle.1.tar.gz'
==> Fetching meson
==> Downloading https://ghcr.io/v2/homebrew/core/meson/manifests/1.2.3
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/ab5881810d8bcc8cbe3c3efcb7a180225aebb57333919ebabac22cd0888dcd76--meson-1.2.3.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/meson/blobs/sha256:f2609629267212ee0479482c3fb7d7c4a26b53e4a7059a18e08f494904ba93fa
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/b10f6e5f348dba175573f1064225421cb59fddcc4d350f1b204a1e02256cb3e2--meson--1.2.3.all.bottle.tar.gz
==> Verifying checksum for 'b10f6e5f348dba175573f1064225421cb59fddcc4d350f1b204a1e02256cb3e2--meson--1.2.3.all.bottle.tar.gz'
==> Fetching randomplum/gtkwave/gtkwave
==> Cloning https://github.com/randomplum/gtkwave.git
Updating /Users/benallen/Library/Caches/Homebrew/gtkwave--git
/usr/bin/env git config remote.origin.url https://github.com/randomplum/gtkwave.git
/usr/bin/env git config remote.origin.fetch \+refs/heads/master:refs/remotes/origin/master
/usr/bin/env git config remote.origin.tagOpt --no-tags
/usr/bin/env git config advice.detachedHead false
/usr/bin/env git config core.fsmonitor false
/usr/bin/env git fetch origin
==> Checking out branch master
/usr/bin/env git checkout -f master --
Already on 'master'
Your branch is up to date with 'origin/master'.
/usr/bin/env git reset --hard origin/master --
HEAD is now at d793aa1 Update io.github.gtkwave.GTKWave.metainfo.xml
==> Installing gtkwave from randomplum/gtkwave
==> Installing dependencies for randomplum/gtkwave/gtkwave: gobject-introspection, gtk+3, gtk-mac-integration and meson
==> Installing randomplum/gtkwave/gtkwave dependency: gobject-introspection
==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/manifests/1.78.1-1
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/f6daa2936809f8f0f524f563231e536ec1acb5caaead8b2fd5a52ddf718a7f2c--gobject-introspection-1.78.1-1.bottle_manifest.json
==> Installing dependencies for gobject-introspection: pkg-config
rm /opt/homebrew/bin/pkg-config
rm /opt/homebrew/share/aclocal/pkg.m4
rm /opt/homebrew/share/doc/pkg-config
rm /opt/homebrew/share/man/man1/pkg-config.1
==> Installing gobject-introspection dependency: pkg-config
==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/manifests/0.29.2_3
Already downloaded: /Users/benallen/Library/Caches/Homebrew/downloads/ac691fc7ab8ecffba32a837e7197101d271474a3a84cfddcc30c9fd6763ab3c6--pkg-config-0.29.2_3.bottle_manifest.json
==> Pouring pkg-config--0.29.2_3.arm64_sonoma.bottle.tar.gz
ln -s ../Cellar/pkg-config/0.29.2_3/bin/pkg-config pkg-config
ln -s ../../Cellar/pkg-config/0.29.2_3/share/aclocal/pkg.m4 pkg.m4
ln -s ../../Cellar/pkg-config/0.29.2_3/share/doc/pkg-config pkg-config
ln -s ../../../Cellar/pkg-config/0.29.2_3/share/man/man1/pkg-config.1 pkg-config.1
Error: No such file or directory @ rb_sysopen - /Users/benallen/Library/Caches/Homebrew/downloads/84ce7ed13999bc49b583c1b0bfd220d1bb0682ca2316d985b0f5f9e9c0a9084d--pkg-config--0.29.2_3.arm64_sonoma.bottle.tar.gz

looks like a dependency on a version of pkg-config, here is the version available on my machine:

pkg-config --version
0.29.2

System versions:

ProductName:        macOS
ProductVersion:     14.1
BuildVersion:       23B74
randomplum commented 11 months ago

Hi, can you run it again: brew update brew upgrade brew doctor brew cleanup brew uninstall gtkwave brew untap randomplum/gtkwave brew install -v --HEAD randomplum/gtkwave/gtkwave

If you can share output of the brew doctor , that may help. 0.29.2 looks to be the correct version.

if it still fails, what’s the output when you try brew uninstall gtkwave brew untap randomplum/gtkwave brew install gobject-introspection brew install -v --HEAD randomplum/gtkwave/gtkwave ?

ben-h-a commented 11 months ago

Hi @randomplum that was a quick reply!

Thanks for the suggestion, that's now working. could be that I was running brew outdated while your new command is brew upgrade.

Thanks for the help, i think this is resolved.