Skip to content

Instantly share code, notes, and snippets.

@TheFanatr
Last active September 17, 2024 15:19
Show Gist options
  • Save TheFanatr/2a25617af710d8fd765c85b68295a414 to your computer and use it in GitHub Desktop.
Save TheFanatr/2a25617af710d8fd765c85b68295a414 to your computer and use it in GitHub Desktop.

Process

This document details how I ended up with the contents of the GTKWave formula I published here.

I tried installing the gtkwave homebrew cask, but the .app it installed would not run on my version of macOS (Sequoia; 18.1). I needed to use GTKWave to view a .fst because it didn't seem like there were other options I could use at the time.

Build

I then tried the formula at randomplum/homebrew-gtkwave, but this build failed.

Fail
==> Fetching dependencies for randomplum/gtkwave/gtkwave: desktop-file-utils, libpng, gobject-introspection, libxfixes, libxi, libxtst, at-spi2-core, gsettings-desktop-schemas, gtk+3, gtk-mac-integration and meson
==> Fetching desktop-file-utils
==> Downloading https://ghcr.io/v2/homebrew/core/desktop-file-utils/manifests/0.27
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/desktop-file-utils/blobs/sha256:30aff8118a07da7dc0074ec5198b3939724318fe4e9ba536b521c50c337c6553
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching libpng
==> Downloading https://ghcr.io/v2/homebrew/core/libpng/manifests/1.6.44
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libpng/blobs/sha256:97e7780fa459489f57043430f53660e81c4bab4c0bd30b3c021ff8e1d1ae27ea
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching gobject-introspection
==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/manifests/1.82.0
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/blobs/sha256:8d74abd27df2b62211a8e14c6d8900f258d5b3590956d801dae80ea4f6f1f4df
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching libxfixes
==> Downloading https://ghcr.io/v2/homebrew/core/libxfixes/manifests/6.0.1
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxfixes/blobs/sha256:d8cf5f8d0134815b458eeaf44dd0e18357322bfeba750b4a79c7619ce24568a8
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching libxi
==> Downloading https://ghcr.io/v2/homebrew/core/libxi/manifests/1.8.2
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxi/blobs/sha256:57806e4096680d7fdbfeceea4e2aa04c3d179846b0ba00c9db8daf0319e6f40d
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching libxtst
==> Downloading https://ghcr.io/v2/homebrew/core/libxtst/manifests/1.2.5
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxtst/blobs/sha256:28d4af1505473aed939328ace91056e111623d0c60b817d0b98dc3e00472dc4d
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching at-spi2-core
==> Downloading https://ghcr.io/v2/homebrew/core/at-spi2-core/manifests/2.52.0
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/at-spi2-core/blobs/sha256:b3183489d751effeb758cef341469cb2c83b58a4440f2c882d3a55fdceb685f8
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching gsettings-desktop-schemas
==> Downloading https://ghcr.io/v2/homebrew/core/gsettings-desktop-schemas/manifests/46.1
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gsettings-desktop-schemas/blobs/sha256:cf0a782345c209256d5dce536e3485ec3b6d65733d0b00ee351c9e1af3299a96
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching gtk+3
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx3/manifests/3.24.43
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx3/blobs/sha256:abbf588f64811f61c3e36cedabbc6d3cbe1187124e15c34362dd73b7fc9fb3ce
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching gtk-mac-integration
==> Downloading https://ghcr.io/v2/homebrew/core/gtk-mac-integration/manifests/3.0.1_1-1
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gtk-mac-integration/blobs/sha256:f59ce737b0f88f41843b30e34d87c58769e99e2f0d59d217d9ddefecc7b2d4db
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching meson
==> Downloading https://ghcr.io/v2/homebrew/core/meson/manifests/1.5.1
######################################################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/meson/blobs/sha256:c5e54edb7f3e2e88fd04af2c0b80ca63991334f25888035421e7da538e282123
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching randomplum/gtkwave/gtkwave
==> Cloning https://github.com/randomplum/gtkwave.git
Cloning into '/Users/me/Library/Caches/Homebrew/gtkwave--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Installing gtkwave from randomplum/gtkwave
==> Installing dependencies for randomplum/gtkwave/gtkwave: desktop-file-utils, libpng, gobject-introspection, libxfixes, libxi, libxtst, at-spi2-core, gsettings-desktop-schemas, gtk+3, gtk-mac-integration and meson
==> Installing randomplum/gtkwave/gtkwave dependency: desktop-file-utils
==> Downloading https://ghcr.io/v2/homebrew/core/desktop-file-utils/manifests/0.27
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/be75d585645af43575aac955c2224f5893dbfd2bbb2b9461a967817cfaa186b0--desktop-file-utils-0.27.bottle_manifest.json
==> Pouring desktop-file-utils--0.27.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/desktop-file-utils/0.27: 17 files, 496.4KB
==> Installing randomplum/gtkwave/gtkwave dependency: libpng
==> Downloading https://ghcr.io/v2/homebrew/core/libpng/manifests/1.6.44
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/0e089cec124a817e140dfc78aba6887ae650dd4fefe1d55d5b516a872f8007b5--libpng-1.6.44.bottle_manifest.json
==> Pouring libpng--1.6.44.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libpng/1.6.44: 28 files, 1.3MB
==> Installing randomplum/gtkwave/gtkwave dependency: gobject-introspection
==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/manifests/1.82.0
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/ea8ae4137bf255cf21155ecf054d4ac8498aeaa93ee229cbdbc4546eecd1f2f0--gobject-introspection-1.82.0.bottle_manifest.json
==> Pouring gobject-introspection--1.82.0.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/gobject-introspection/1.82.0: 831 files, 7.4MB
==> Installing randomplum/gtkwave/gtkwave dependency: libxfixes
==> Downloading https://ghcr.io/v2/homebrew/core/libxfixes/manifests/6.0.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/b78eeb464b4c153eb6e75a04ba240b4972cdc642e77e9c5085e186630c2c4862--libxfixes-6.0.1.bottle_manifest.json
==> Pouring libxfixes--6.0.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxfixes/6.0.1: 13 files, 147KB
==> Installing randomplum/gtkwave/gtkwave dependency: libxi
==> Downloading https://ghcr.io/v2/homebrew/core/libxi/manifests/1.8.2
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/089cbc546059463acb4a311e70491ca9665a8c04ab7683bc3c0803ee15b4d698--libxi-1.8.2.bottle_manifest.json
==> Pouring libxi--1.8.2.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxi/1.8.2: 86 files, 701KB
==> Installing randomplum/gtkwave/gtkwave dependency: libxtst
==> Downloading https://ghcr.io/v2/homebrew/core/libxtst/manifests/1.2.5
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/255b29f533b7064a6e692de37b3d9a41d73033506bec841e9900dbf2eb337a4c--libxtst-1.2.5.bottle_manifest.json
==> Pouring libxtst--1.2.5.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxtst/1.2.5: 23 files, 195.0KB
==> Installing randomplum/gtkwave/gtkwave dependency: at-spi2-core
==> Downloading https://ghcr.io/v2/homebrew/core/at-spi2-core/manifests/2.52.0
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/32108c66e5f0d77340b05ddf14af03f14415a6c4490ade88b0e5d27edc0de1eb--at-spi2-core-2.52.0.bottle_manifest.json
==> Pouring at-spi2-core--2.52.0.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/at-spi2-core/2.52.0: 200 files, 4.3MB
==> Installing randomplum/gtkwave/gtkwave dependency: gsettings-desktop-schemas
==> Downloading https://ghcr.io/v2/homebrew/core/gsettings-desktop-schemas/manifests/46.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/f622206d0245911e45507ae670cebc9d89456f3beca5bca7cbbe14dc25508234--gsettings-desktop-schemas-46.1.bottle_manifest.json
==> Pouring gsettings-desktop-schemas--46.1.arm64_sequoia.bottle.tar.gz
==> /opt/homebrew/opt/glib/bin/glib-compile-schemas /opt/homebrew/share/glib-2.0/schemas
🍺  /opt/homebrew/Cellar/gsettings-desktop-schemas/46.1: 105 files, 5.2MB
==> Installing randomplum/gtkwave/gtkwave dependency: gtk+3
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx3/manifests/3.24.43
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/806942818d9f4f12b0e989c0d352f37480c218075bc2f6e4246a41fb878527d9--gtk+3-3.24.43.bottle_manifest.json
==> Pouring gtk+3--3.24.43.arm64_sequoia.bottle.tar.gz
==> /opt/homebrew/opt/glib/bin/glib-compile-schemas /opt/homebrew/share/glib-2.0/schemas
==> /opt/homebrew/Cellar/gtk+3/3.24.43/bin/gtk3-update-icon-cache -f -t /opt/homebrew/share/icons/hicolor
==> /opt/homebrew/Cellar/gtk+3/3.24.43/bin/gtk-query-immodules-3.0 > /opt/homebrew/lib/gtk-3.0/3.0.0/immodules.cache
🍺  /opt/homebrew/Cellar/gtk+3/3.24.43: 749 files, 56.4MB
==> Installing randomplum/gtkwave/gtkwave dependency: gtk-mac-integration
==> Downloading https://ghcr.io/v2/homebrew/core/gtk-mac-integration/manifests/3.0.1_1-1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/48b2a7a5e9dde291c7113e117d82da2342ef31c2a875daf75e07feb8206b72fc--gtk-mac-integration-3.0.1_1-1.bottle_manifest.json
==> Pouring gtk-mac-integration--3.0.1_1.arm64_sequoia.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/gtk-mac-integration/3.0.1_1: 53 files, 335.8KB
==> Installing randomplum/gtkwave/gtkwave dependency: meson
==> Downloading https://ghcr.io/v2/homebrew/core/meson/manifests/1.5.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/ed719a948acded4d5e80c26419112e423dc2e70074f94104cf9c16ca7fe5203d--meson-1.5.1.bottle_manifest.json
==> Pouring meson--1.5.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/meson/1.5.1: 256 files, 3.6MB
==> Installing randomplum/gtkwave/gtkwave --HEAD
==> meson setup build -Dintrospection=false
==> meson compile -C build --verbose
Last 15 lines from /Users/me/Library/Logs/Homebrew/gtkwave/02.meson:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/hfs/hfs_format.h:809:20: error: use of undeclared identifier 'uuid_string_t'
  809 |         char            reserved[JIB_RESERVED_SIZE];
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/hfs/hfs_format.h:800:61: note: expanded from macro 'JIB_RESERVED_SIZE'
  800 | #define JIB_RESERVED_SIZE  ((32*sizeof(u_int32_t)) - sizeof(uuid_string_t) - 48)
      |                                                             ^
2 errors generated.
[185/257] clang -Isrc/gtkwave.p -Isrc -I../src -I. -I.. -I../src/cocoa -Ilib/libfst -I../lib/libfst -Ilib/libjrb -I../lib/libjrb -Ilib/libgtkwave/src -I../lib/libgtkwave/src -Ilib/libghw -I../lib/libghw -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/glib/2.82.0/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/glib/2.82.0/include/gio-unix-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/at-spi2-core/2.52.0/include/atk-1.0 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/cairo/1.18.2/include -I/opt/homebrew/Cellar/cairo/1.18.2/include/cairo -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/libepoxy/1.5.10/include -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0 -I/opt/homebrew/Cellar/xorgproto/2024.1/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi -I/opt/homebrew/Cellar/gtk-mac-integration/3.0.1_1/include/gtkmacintegration -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0/unix-print -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c99 -O3 -D_GNU_SOURCE -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -xobjective-c -DWAVE_COCOA_GTK -DMAC_INTEGRATION -Wcast-align -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=int-to-pointer-cast -Werror=main -Werror=misleading-indentation -Werror=missing-braces -Werror=missing-include-dirs -Werror=nonnull -Werror=overflow -Werror=pointer-arith -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=shadow -Werror=strict-prototypes -Werror=trigraphs -Werror=undef -Werror=write-strings -Wformat-nonliteral -Werror=format-security -Werror=format=2 -Wignored-qualifiers -Wimplicit-function-declaration -Wmissing-format-attribute -Wmissing-include-dirs -Wnested-externs -Wno-cast-function-type -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wswitch-default -Wundef -Wuninitialized -Wunused -MD -MQ src/gtkwave.p/vcd_saver.c.o -MF src/gtkwave.p/vcd_saver.c.o.d -o src/gtkwave.p/vcd_saver.c.o -c ../src/vcd_saver.c
[186/257] clang -Isrc/gtkwave.p -Isrc -I../src -I. -I.. -I../src/cocoa -Ilib/libfst -I../lib/libfst -Ilib/libjrb -I../lib/libjrb -Ilib/libgtkwave/src -I../lib/libgtkwave/src -Ilib/libghw -I../lib/libghw -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/glib/2.82.0/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/glib/2.82.0/include/gio-unix-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/at-spi2-core/2.52.0/include/atk-1.0 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/cairo/1.18.2/include -I/opt/homebrew/Cellar/cairo/1.18.2/include/cairo -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/libepoxy/1.5.10/include -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0 -I/opt/homebrew/Cellar/xorgproto/2024.1/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi -I/opt/homebrew/Cellar/gtk-mac-integration/3.0.1_1/include/gtkmacintegration -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0/unix-print -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c99 -O3 -D_GNU_SOURCE -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -xobjective-c -DWAVE_COCOA_GTK -DMAC_INTEGRATION -Wcast-align -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=int-to-pointer-cast -Werror=main -Werror=misleading-indentation -Werror=missing-braces -Werror=missing-include-dirs -Werror=nonnull -Werror=overflow -Werror=pointer-arith -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=shadow -Werror=strict-prototypes -Werror=trigraphs -Werror=undef -Werror=write-strings -Wformat-nonliteral -Werror=format-security -Werror=format=2 -Wignored-qualifiers -Wimplicit-function-declaration -Wmissing-format-attribute -Wmissing-include-dirs -Wnested-externs -Wno-cast-function-type -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wswitch-default -Wundef -Wuninitialized -Wunused -MD -MQ src/gtkwave.p/treesearch.c.o -MF src/gtkwave.p/treesearch.c.o.d -o src/gtkwave.p/treesearch.c.o -c ../src/treesearch.c
[187/257] clang -Isrc/gtkwave.p -Isrc -I../src -I. -I.. -I../src/cocoa -Ilib/libfst -I../lib/libfst -Ilib/libjrb -I../lib/libjrb -Ilib/libgtkwave/src -I../lib/libgtkwave/src -Ilib/libghw -I../lib/libghw -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/glib/2.82.0/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/glib/2.82.0/include/gio-unix-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/at-spi2-core/2.52.0/include/atk-1.0 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/cairo/1.18.2/include -I/opt/homebrew/Cellar/cairo/1.18.2/include/cairo -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/libepoxy/1.5.10/include -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0 -I/opt/homebrew/Cellar/xorgproto/2024.1/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi -I/opt/homebrew/Cellar/gtk-mac-integration/3.0.1_1/include/gtkmacintegration -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0/unix-print -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c99 -O3 -D_GNU_SOURCE -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -xobjective-c -DWAVE_COCOA_GTK -DMAC_INTEGRATION -Wcast-align -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=int-to-pointer-cast -Werror=main -Werror=misleading-indentation -Werror=missing-braces -Werror=missing-include-dirs -Werror=nonnull -Werror=overflow -Werror=pointer-arith -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=shadow -Werror=strict-prototypes -Werror=trigraphs -Werror=undef -Werror=write-strings -Wformat-nonliteral -Werror=format-security -Werror=format=2 -Wignored-qualifiers -Wimplicit-function-declaration -Wmissing-format-attribute -Wmissing-include-dirs -Wnested-externs -Wno-cast-function-type -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wswitch-default -Wundef -Wuninitialized -Wunused -MD -MQ src/gtkwave.p/zoombuttons.c.o -MF src/gtkwave.p/zoombuttons.c.o.d -o src/gtkwave.p/zoombuttons.c.o -c ../src/zoombuttons.c
[188/257] clang -Isrc/gtkwave.p -Isrc -I../src -I. -I.. -I../src/cocoa -Ilib/libfst -I../lib/libfst -Ilib/libjrb -I../lib/libjrb -Ilib/libgtkwave/src -I../lib/libgtkwave/src -Ilib/libghw -I../lib/libghw -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/glib/2.82.0/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/glib/2.82.0/include/gio-unix-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/at-spi2-core/2.52.0/include/atk-1.0 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/cairo/1.18.2/include -I/opt/homebrew/Cellar/cairo/1.18.2/include/cairo -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/libepoxy/1.5.10/include -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0 -I/opt/homebrew/Cellar/xorgproto/2024.1/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi -I/opt/homebrew/Cellar/gtk-mac-integration/3.0.1_1/include/gtkmacintegration -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0/unix-print -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c99 -O3 -D_GNU_SOURCE -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_64 -xobjective-c -DWAVE_COCOA_GTK -DMAC_INTEGRATION -Wcast-align -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=int-to-pointer-cast -Werror=main -Werror=misleading-indentation -Werror=missing-braces -Werror=missing-include-dirs -Werror=nonnull -Werror=overflow -Werror=pointer-arith -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=shadow -Werror=strict-prototypes -Werror=trigraphs -Werror=undef -Werror=write-strings -Wformat-nonliteral -Werror=format-security -Werror=format=2 -Wignored-qualifiers -Wimplicit-function-declaration -Wmissing-format-attribute -Wmissing-include-dirs -Wnested-externs -Wno-cast-function-type -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wswitch-default -Wundef -Wuninitialized -Wunused -MD -MQ src/gtkwave.p/wavewindow.c.o -MF src/gtkwave.p/wavewindow.c.o.d -o src/gtkwave.p/wavewindow.c.o -c ../src/wavewindow.c
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /opt/homebrew/Library/Homebrew/shims/mac/super/ninja -C /private/tmp/gtkwave-20240914-34219-n6qotf/build -v

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/randomplum/homebrew-gtkwave/issues

gtkwave's formula was built from an unstable upstream --HEAD.
This build failure is expected behaviour.
Do not create issues about this on Homebrew's GitHub repositories.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

Using instructions that I found here and here I built GTKWave successfully, but the Meson build system script installed aliases in /opt/homebrew/..., which is quite annoying.

Here is the start of the output from a successful Meson build, where it finds dependencies.

Meson
The Meson build system
Version: 1.5.1
Source dir: /Users/me/gtkwave
Build dir: /Users/me/gtkwave/build
Build type: native build
Project name: gtkwave
Project version: 3.4.0
C compiler for the host machine: cc (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.24.1)")
C linker for the host machine: cc ld64 1115.7.3
C++ compiler for the host machine: c++ (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.24.1)")
C++ linker for the host machine: c++ ld64 1115.7.3
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: YES (/opt/homebrew/bin/pkg-config) 0.29.2
Run-time dependency glib-2.0 found: YES 2.82.0
Run-time dependency gobject-2.0 found: YES 2.82.0
Run-time dependency gtk+-3.0 found: YES 3.24.43
Run-time dependency gtk4 found: YES 4.16.1
Run-time dependency gtk+-unix-print-3.0 found: YES 3.24.43
Run-time dependency gtk-mac-integration-gtk3 found: YES 3.0.1
Run-time dependency zlib found: YES 1.3.1
Library m found: YES
Has header "Judy.h" : NO 
Has header "regex.h" : YES 
Library regex found: NO
Run-time dependency threads found: YES
Found CMake: /opt/homebrew/bin/cmake (3.30.3)
Run-time dependency bzip2 found: YES 1.0.8
Program gperf found: YES (/usr/bin/gperf)
Program flex found: YES (/usr/bin/flex)
Has header "inttypes.h" : YES 
Has header "sys/stat.h" : YES 
Has header "alloca.h" : YES 
Has header "getopt.h" : YES 
Has header "fcntl.h" : YES 
Has header "unistd.h" : YES 
Checking for function "fseeko" : YES 
Checking for function "realpath" : YES 
Checking for function "setenv" : YES 
Checking for function "unsetenv" : YES 
Compiler for C supports arguments -Wcast-align: YES 
Compiler for C supports arguments -Werror=address: YES 
Compiler for C supports arguments -Werror=array-bounds: YES 
Compiler for C supports arguments -Werror=empty-body: YES 
Compiler for C supports arguments -Werror=implicit: YES 
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES 
Compiler for C supports arguments -Werror=init-self: YES 
Compiler for C supports arguments -Werror=int-conversion: YES 
Compiler for C supports arguments -Werror=int-to-pointer-cast: YES 
Compiler for C supports arguments -Werror=main: YES 
Compiler for C supports arguments -Werror=misleading-indentation: YES 
Compiler for C supports arguments -Werror=missing-braces: YES 
Compiler for C supports arguments -Werror=missing-include-dirs: YES 
Compiler for C supports arguments -Werror=nonnull: YES 
Compiler for C supports arguments -Werror=overflow: YES 
Compiler for C supports arguments -Werror=parenthesis: NO 
Compiler for C supports arguments -Werror=pointer-arith: YES 
Compiler for C supports arguments -Werror=pointer-to-int-cast: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=sequence-point: YES 
Compiler for C supports arguments -Werror=shadow: YES 
Compiler for C supports arguments -Werror=strict-prototypes: YES 
Compiler for C supports arguments -Werror=trigraphs: YES 
Compiler for C supports arguments -Werror=undef: YES 
Compiler for C supports arguments -Werror=write-strings: YES 
Compiler for C supports arguments -Wformat-nonliteral: YES 
Compiler for C supports arguments -Werror=format-security -Werror=format=2: YES 
Compiler for C supports arguments -Wignored-qualifiers: YES 
Compiler for C supports arguments -Wimplicit-function-declaration: YES 
Compiler for C supports arguments -Wlogical-op: NO 
Compiler for C supports arguments -Wmissing-format-attribute: YES 
Compiler for C supports arguments -Wmissing-include-dirs: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wno-cast-function-type: YES 
Compiler for C supports arguments -Wno-missing-field-initializers: YES 
Compiler for C supports arguments -Wno-sign-compare: YES 
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wswitch-default: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wuninitialized: YES 
Compiler for C supports arguments -Wunused: YES 
Configuring config.h using configuration
Dependency glib-2.0 found: YES 2.82.0 (cached)
Program /opt/homebrew/Cellar/glib/2.82.0/bin/glib-mkenums found: YES (/opt/homebrew/Cellar/glib/2.82.0/bin/glib-mkenums)
Dependency glib-2.0 found: YES 2.82.0 (cached)
Program /opt/homebrew/Cellar/glib/2.82.0/bin/glib-mkenums found: YES (/opt/homebrew/Cellar/glib/2.82.0/bin/glib-mkenums)
Run-time dependency gobject-introspection-1.0 found: YES 1.82.0
Dependency gobject-introspection-1.0 found: YES 1.82.0 (cached)
Program /opt/homebrew/Cellar/gobject-introspection/1.82.0/bin/g-ir-scanner found: YES (/opt/homebrew/Cellar/gobject-introspection/1.82.0/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.82.0 (cached)
Program /opt/homebrew/Cellar/gobject-introspection/1.82.0/bin/g-ir-compiler found: YES (/opt/homebrew/Cellar/gobject-introspection/1.82.0/bin/g-ir-compiler)
Program diff found: YES (/usr/bin/diff)
Build-time dependency gio-2.0 found: YES 2.82.0
Program /opt/homebrew/Cellar/glib/2.82.0/bin/glib-compile-resources found: YES (/opt/homebrew/Cellar/glib/2.82.0/bin/glib-compile-resources)
Program gtk4-update-icon-cache found: YES (/opt/homebrew/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/opt/homebrew/bin/update-desktop-database)
Program update-mime-database found: YES (/opt/homebrew/bin/update-mime-database)
Build targets in project: 73

On this I ran grep -E '^(Program|Dependency|Build-time dependency|Run-time dependency)' | sort to get the following.

Needs
Build-time dependency gio-2.0 found: YES 2.82.0
Dependency glib-2.0 found: YES 2.82.0 (cached)
Dependency glib-2.0 found: YES 2.82.0 (cached)
Dependency gobject-introspection-1.0 found: YES 1.82.0 (cached)
Dependency gobject-introspection-1.0 found: YES 1.82.0 (cached)
Program /opt/homebrew/Cellar/glib/2.82.0/bin/glib-compile-resources found: YES (/opt/homebrew/Cellar/glib/2.82.0/bin/glib-compile-resources)
Program /opt/homebrew/Cellar/glib/2.82.0/bin/glib-mkenums found: YES (/opt/homebrew/Cellar/glib/2.82.0/bin/glib-mkenums)
Program /opt/homebrew/Cellar/glib/2.82.0/bin/glib-mkenums found: YES (/opt/homebrew/Cellar/glib/2.82.0/bin/glib-mkenums)
Program /opt/homebrew/Cellar/gobject-introspection/1.82.0/bin/g-ir-compiler found: YES (/opt/homebrew/Cellar/gobject-introspection/1.82.0/bin/g-ir-compiler)
Program /opt/homebrew/Cellar/gobject-introspection/1.82.0/bin/g-ir-scanner found: YES (/opt/homebrew/Cellar/gobject-introspection/1.82.0/bin/g-ir-scanner)
Program diff found: YES (/usr/bin/diff)
Program flex found: YES (/usr/bin/flex)
Program gperf found: YES (/usr/bin/gperf)
Program gtk4-update-icon-cache found: YES (/opt/homebrew/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/opt/homebrew/bin/update-desktop-database)
Program update-mime-database found: YES (/opt/homebrew/bin/update-mime-database)
Run-time dependency bzip2 found: YES 1.0.8
Run-time dependency glib-2.0 found: YES 2.82.0
Run-time dependency gobject-2.0 found: YES 2.82.0
Run-time dependency gobject-introspection-1.0 found: YES 1.82.0
Run-time dependency gtk+-3.0 found: YES 3.24.43
Run-time dependency gtk+-unix-print-3.0 found: YES 3.24.43
Run-time dependency gtk-mac-integration-gtk3 found: YES 3.0.1
Run-time dependency gtk4 found: YES 4.16.1
Run-time dependency threads found: YES
Run-time dependency zlib found: YES 1.3.1

I then compiled a list of what the Meson build needs.

  • gio-2.0: build-time; from glib
% ls -l $(which gio)
lrwxr-xr-x  1 me  admin  29 11 Sep 04:07 /opt/homebrew/bin/gio -> ../Cellar/glib/2.82.0/bin/gio
  • glib-2.0: from glib
  • gobject-introspection-1.0: from gobject-introspection
  • glib-compile-resources: from glib
  • glib-mkenums: from glib
  • g-ir-compiler: from gobject-introspection
  • g-ir-scanner: from gobject-introspection
  • diff: from macOS
  • flex: from macOS
  • gperf: from macOS
  • gtk4-update-icon-cache: from gtk4
  • update-desktop-database: from desktop-file-utils
  • update-mime-database: from shared-mime-info
  • bzip2: run-time; from macOS
  • glib-2.0: run-time: from glib
  • gobject-2.0: run-time: from glib
  • gobject-introspection-1.0: run-time: from gobject-introspection
  • gtk+-3.0: run-time; from gtk+3
  • gtk+-unix-print-3.0: run-time; from gtk+3
  • gtk-mac-integration-gtk3: run-time; from gtk-mac-integration
  • gtk4: run-time
  • threads: run-time; no clue what this one is
  • zlib: run-time

So I came up with the following dependencies.

# diff, flex, gperf, and bzip2 from macOS
depends_on "desktop-file-utils" => :build # inferred as build-time because of what the used utilities do
depends_on "shared-mime-info" => :build # same as above
depends_on "gtk-mac-integration"
depends_on "meson" => :build
depends_on "glib"
depends_on "gobject-introspection"
depends_on "gtk+3"
depends_on "gtk4"
depends_on "zlib"

Then, given more build errors I added build-time dependencies ninja and cmake.

Errors

brew install --formula --HEAD ./gtkwave.rb

Ninja

==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Fetching dependencies for gtkwave: desktop-file-utils, libxfixes, libxi, libxtst, at-spi2-core, gsettings-desktop-schemas, hicolor-icon-theme, libepoxy, gtk+3, gtk-mac-integration, graphene, gtk4 and zlib
==> Fetching desktop-file-utils
==> Downloading https://ghcr.io/v2/homebrew/core/desktop-file-utils/manifests/0.27
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/be75d585645af43575aac955c2224f5893dbfd2bbb2b9461a967817cfaa186b0--desktop-file-utils-0.27.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/desktop-file-utils/blobs/sha256:30aff8118a07da7dc0074ec5198b3939724318fe4e9ba536b521c50c337c6553
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/14b8b15bfeb25fcb5d480c13cd6e3533d6687fee4bad7e48fd0ccf822621b9dc--desktop-file-utils--0.27.arm64_sequoia.bottle.tar.gz
==> Fetching libxfixes
==> Downloading https://ghcr.io/v2/homebrew/core/libxfixes/manifests/6.0.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/b78eeb464b4c153eb6e75a04ba240b4972cdc642e77e9c5085e186630c2c4862--libxfixes-6.0.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libxfixes/blobs/sha256:d8cf5f8d0134815b458eeaf44dd0e18357322bfeba750b4a79c7619ce24568a8
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/547dcb754883bea9d850752263768af531a9c885e7c7cb6a3bff7422474fbc2b--libxfixes--6.0.1.arm64_sequoia.bottle.tar.gz
==> Fetching libxi
==> Downloading https://ghcr.io/v2/homebrew/core/libxi/manifests/1.8.2
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/089cbc546059463acb4a311e70491ca9665a8c04ab7683bc3c0803ee15b4d698--libxi-1.8.2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libxi/blobs/sha256:57806e4096680d7fdbfeceea4e2aa04c3d179846b0ba00c9db8daf0319e6f40d
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/9322036dcb9acf3fe371568471ac1d45f3c7edc1515664b4b7bada30c7225ea5--libxi--1.8.2.arm64_sequoia.bottle.tar.gz
==> Fetching libxtst
==> Downloading https://ghcr.io/v2/homebrew/core/libxtst/manifests/1.2.5
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/255b29f533b7064a6e692de37b3d9a41d73033506bec841e9900dbf2eb337a4c--libxtst-1.2.5.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libxtst/blobs/sha256:28d4af1505473aed939328ace91056e111623d0c60b817d0b98dc3e00472dc4d
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/5b741f3e316443ec8e0822ad467c8b166ffd6b5d89bfd0d453afbcb2c64ff059--libxtst--1.2.5.arm64_sequoia.bottle.tar.gz
==> Fetching at-spi2-core
==> Downloading https://ghcr.io/v2/homebrew/core/at-spi2-core/manifests/2.54.0
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/ab109162476d806c71b37b1c5c46e96d5c620d4cd05715ba4c9872c9ce9b3013--at-spi2-core-2.54.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/at-spi2-core/blobs/sha256:e593b674b0e959eef42b4072451cf34a56082a4a00d58a27a187f5cb893118c0
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/0bdb07afc47a1ad1daad11fff19093d9e8b3741243b1dd4c894902dea6d58518--at-spi2-core--2.54.0.arm64_sequoia.bottle.tar.gz
==> Fetching gsettings-desktop-schemas
==> Downloading https://ghcr.io/v2/homebrew/core/gsettings-desktop-schemas/manifests/47.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/b9f3c8eeef1a3151b2cd6cb6dce3b01d95d82745f2ee8424be217a14d76461e1--gsettings-desktop-schemas-47.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gsettings-desktop-schemas/blobs/sha256:e42eec92d68e461084cf34eed8eb1a306213860d6ed4ebabecb9a34aa489fb5d
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/fa7cd5e460fc4579a50e8b8fa1f69b565e412e9331447b5aa23e030cedeb27c3--gsettings-desktop-schemas--47.1.arm64_sequoia.bottle.tar.gz
==> Fetching hicolor-icon-theme
==> Downloading https://ghcr.io/v2/homebrew/core/hicolor-icon-theme/manifests/0.18
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/70835c74d449476f69c535127dcf54e7bc83475b0e28f15db78ccf6c2dfe3e7a--hicolor-icon-theme-0.18.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/hicolor-icon-theme/blobs/sha256:76779247990b538d304e98b042fde85677491e428d0381a59383264ce8ef199f
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/5f5700247a44beb2795cae8c422b87eb8b9b04dd23d8d3365c36c40144afd63d--hicolor-icon-theme--0.18.all.bottle.tar.gz
==> Fetching libepoxy
==> Downloading https://ghcr.io/v2/homebrew/core/libepoxy/manifests/1.5.10
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/fd91321dc6032305294ad3c7c3851bc80f1505f18512e4753036c509ba4b4e2c--libepoxy-1.5.10.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libepoxy/blobs/sha256:8567ad4e5598374741b4762cbbff1a2aa57cf97947b4742304c49613b0abd419
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/e33183d801a2f73dc5d5658f275d736a34b670c680ae3b67f0b32ffc89995ec5--libepoxy--1.5.10.arm64_sequoia.bottle.tar.gz
==> Fetching gtk+3
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx3/manifests/3.24.43
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/806942818d9f4f12b0e989c0d352f37480c218075bc2f6e4246a41fb878527d9--gtk+3-3.24.43.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx3/blobs/sha256:abbf588f64811f61c3e36cedabbc6d3cbe1187124e15c34362dd73b7fc9fb3ce
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/b902b36e7f67cd4d714e4a2f0d6e9369cb52c775d7f33b676a8ca9e5247a070e--gtk+3--3.24.43.arm64_sequoia.bottle.tar.gz
==> Fetching gtk-mac-integration
==> Downloading https://ghcr.io/v2/homebrew/core/gtk-mac-integration/manifests/3.0.1_1-1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/48b2a7a5e9dde291c7113e117d82da2342ef31c2a875daf75e07feb8206b72fc--gtk-mac-integration-3.0.1_1-1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gtk-mac-integration/blobs/sha256:f59ce737b0f88f41843b30e34d87c58769e99e2f0d59d217d9ddefecc7b2d4db
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/b058a6aae549ef5f795495500a5b151bda43cfe97dccc2acb48114047dda09ee--gtk-mac-integration--3.0.1_1.arm64_sequoia.bottle.1.tar.gz
==> Fetching graphene
==> Downloading https://ghcr.io/v2/homebrew/core/graphene/manifests/1.10.8
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/95f4a8d4908c92f35e43a695c0bf8ef50b0f53030c942e4f226e8a79e3530ae6--graphene-1.10.8.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/graphene/blobs/sha256:11188e7d35c1a2c58483be14dc3ab2699d1829b8a1f4819abb00cdf566e6ce2f
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/00671601ec3a9f360c45d2b1536bb2d93c492d235e3805c5d8582c88b4531874--graphene--1.10.8.arm64_sequoia.bottle.tar.gz
==> Fetching gtk4
==> Downloading https://ghcr.io/v2/homebrew/core/gtk4/manifests/4.16.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/aea5f0a12032d2112574e0e130c32bf3897ddc4ae9e27f988311dfe36b8ad911--gtk4-4.16.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gtk4/blobs/sha256:bf1eb22f144c8602dd9257a42714ef21ab673b190e99b6e5ddbda73b3212ee72
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/9652441b712436539d3a38de55d7c3c5458fd1444b12faf461dbc32b03e862ab--gtk4--4.16.1.arm64_sequoia.bottle.tar.gz
==> Fetching zlib
==> Downloading https://ghcr.io/v2/homebrew/core/zlib/manifests/1.3.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/f68d0caf232d52f2aa586abefbbfd7e958e384d84f3967008fa83de94b5f10ae--zlib-1.3.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/zlib/blobs/sha256:a801a93f88dba4df7319e46cd9ea5939351e73f7aa62a5153a2f7a0b0d79404d
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/e9447ccbb4ebbb5283c26da53ead70a7aa642d3f4bffb9f6cffa4a7be3e4260b--zlib--1.3.1.arm64_sequoia.bottle.tar.gz
==> Fetching gtkwave
==> Cloning https://github.com/gtkwave/gtkwave.git
Updating /Users/me/Library/Caches/Homebrew/gtkwave--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 0a800de Fix Ubuntu 24.04/clang 14.0 warning on chk_len (#381)
==> Installing dependencies for gtkwave: desktop-file-utils, libxfixes, libxi, libxtst, at-spi2-core, gsettings-desktop-schemas, hicolor-icon-theme, libepoxy, gtk+3, gtk-mac-integration, graphene, gtk4 and zlib
==> Installing gtkwave dependency: desktop-file-utils
==> Downloading https://ghcr.io/v2/homebrew/core/desktop-file-utils/manifests/0.27
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/be75d585645af43575aac955c2224f5893dbfd2bbb2b9461a967817cfaa186b0--desktop-file-utils-0.27.bottle_manifest.json
==> Pouring desktop-file-utils--0.27.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/desktop-file-utils/0.27: 17 files, 496.4KB
==> Installing gtkwave dependency: libxfixes
==> Downloading https://ghcr.io/v2/homebrew/core/libxfixes/manifests/6.0.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/b78eeb464b4c153eb6e75a04ba240b4972cdc642e77e9c5085e186630c2c4862--libxfixes-6.0.1.bottle_manifest.json
==> Pouring libxfixes--6.0.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxfixes/6.0.1: 13 files, 147KB
==> Installing gtkwave dependency: libxi
==> Downloading https://ghcr.io/v2/homebrew/core/libxi/manifests/1.8.2
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/089cbc546059463acb4a311e70491ca9665a8c04ab7683bc3c0803ee15b4d698--libxi-1.8.2.bottle_manifest.json
==> Pouring libxi--1.8.2.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxi/1.8.2: 86 files, 701KB
==> Installing gtkwave dependency: libxtst
==> Downloading https://ghcr.io/v2/homebrew/core/libxtst/manifests/1.2.5
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/255b29f533b7064a6e692de37b3d9a41d73033506bec841e9900dbf2eb337a4c--libxtst-1.2.5.bottle_manifest.json
==> Pouring libxtst--1.2.5.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxtst/1.2.5: 23 files, 195.0KB
==> Installing gtkwave dependency: at-spi2-core
==> Downloading https://ghcr.io/v2/homebrew/core/at-spi2-core/manifests/2.54.0
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/ab109162476d806c71b37b1c5c46e96d5c620d4cd05715ba4c9872c9ce9b3013--at-spi2-core-2.54.0.bottle_manifest.json
==> Pouring at-spi2-core--2.54.0.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/at-spi2-core/2.54.0: 200 files, 4.3MB
==> Installing gtkwave dependency: gsettings-desktop-schemas
==> Downloading https://ghcr.io/v2/homebrew/core/gsettings-desktop-schemas/manifests/47.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/b9f3c8eeef1a3151b2cd6cb6dce3b01d95d82745f2ee8424be217a14d76461e1--gsettings-desktop-schemas-47.1.bottle_manifest.json
==> Pouring gsettings-desktop-schemas--47.1.arm64_sequoia.bottle.tar.gz
==> /opt/homebrew/opt/glib/bin/glib-compile-schemas /opt/homebrew/share/glib-2.0/schemas
🍺  /opt/homebrew/Cellar/gsettings-desktop-schemas/47.1: 106 files, 5.4MB
==> Installing gtkwave dependency: hicolor-icon-theme
==> Downloading https://ghcr.io/v2/homebrew/core/hicolor-icon-theme/manifests/0.18
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/70835c74d449476f69c535127dcf54e7bc83475b0e28f15db78ccf6c2dfe3e7a--hicolor-icon-theme-0.18.bottle_manifest.json
==> Pouring hicolor-icon-theme--0.18.all.bottle.tar.gz
🍺  /opt/homebrew/Cellar/hicolor-icon-theme/0.18: 8 files, 80.8KB
==> Installing gtkwave dependency: libepoxy
==> Downloading https://ghcr.io/v2/homebrew/core/libepoxy/manifests/1.5.10
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/fd91321dc6032305294ad3c7c3851bc80f1505f18512e4753036c509ba4b4e2c--libepoxy-1.5.10.bottle_manifest.json
==> Pouring libepoxy--1.5.10.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libepoxy/1.5.10: 11 files, 2.6MB
==> Installing gtkwave dependency: gtk+3
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx3/manifests/3.24.43
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/806942818d9f4f12b0e989c0d352f37480c218075bc2f6e4246a41fb878527d9--gtk+3-3.24.43.bottle_manifest.json
==> Pouring gtk+3--3.24.43.arm64_sequoia.bottle.tar.gz
==> /opt/homebrew/opt/glib/bin/glib-compile-schemas /opt/homebrew/share/glib-2.0/schemas
==> /opt/homebrew/Cellar/gtk+3/3.24.43/bin/gtk3-update-icon-cache -f -t /opt/homebrew/share/icons/hicolor
==> /opt/homebrew/Cellar/gtk+3/3.24.43/bin/gtk-query-immodules-3.0 > /opt/homebrew/lib/gtk-3.0/3.0.0/immodules.cache
🍺  /opt/homebrew/Cellar/gtk+3/3.24.43: 749 files, 56.4MB
==> Installing gtkwave dependency: gtk-mac-integration
==> Downloading https://ghcr.io/v2/homebrew/core/gtk-mac-integration/manifests/3.0.1_1-1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/48b2a7a5e9dde291c7113e117d82da2342ef31c2a875daf75e07feb8206b72fc--gtk-mac-integration-3.0.1_1-1.bottle_manifest.json
==> Pouring gtk-mac-integration--3.0.1_1.arm64_sequoia.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/gtk-mac-integration/3.0.1_1: 53 files, 335.8KB
==> Installing gtkwave dependency: graphene
==> Downloading https://ghcr.io/v2/homebrew/core/graphene/manifests/1.10.8
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/95f4a8d4908c92f35e43a695c0bf8ef50b0f53030c942e4f226e8a79e3530ae6--graphene-1.10.8.bottle_manifest.json
==> Pouring graphene--1.10.8.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/graphene/1.10.8: 37 files, 1MB
==> Installing gtkwave dependency: gtk4
==> Downloading https://ghcr.io/v2/homebrew/core/gtk4/manifests/4.16.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/aea5f0a12032d2112574e0e130c32bf3897ddc4ae9e27f988311dfe36b8ad911--gtk4-4.16.1.bottle_manifest.json
==> Pouring gtk4--4.16.1.arm64_sequoia.bottle.tar.gz
==> /opt/homebrew/opt/glib/bin/glib-compile-schemas /opt/homebrew/share/glib-2.0/schemas
==> /opt/homebrew/Cellar/gtk4/4.16.1/bin/gtk4-update-icon-cache -f -t /opt/homebrew/share/icons/hicolor
==> /opt/homebrew/opt/glib/bin/gio-querymodules /opt/homebrew/lib/gtk-4.0/4.0.0/printbackends
🍺  /opt/homebrew/Cellar/gtk4/4.16.1: 598 files, 57.8MB
==> Installing gtkwave dependency: zlib
==> Downloading https://ghcr.io/v2/homebrew/core/zlib/manifests/1.3.1
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/f68d0caf232d52f2aa586abefbbfd7e958e384d84f3967008fa83de94b5f10ae--zlib-1.3.1.bottle_manifest.json
==> Pouring zlib--1.3.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/zlib/1.3.1: 14 files, 403.9KB
==> Installing gtkwave --HEAD
==> meson setup build
Last 15 lines from /Users/me/Library/Logs/Homebrew/gtkwave/01.meson:
Program update-mime-database found: YES (/opt/homebrew/opt/shared-mime-info/bin/update-mime-database)
Build targets in project: 73

gtkwave 3.4.0

  User defined options
    buildtype: release
    libdir   : /opt/homebrew/Cellar/gtkwave/HEAD-0a800de_5/lib
    prefix   : /opt/homebrew/Cellar/gtkwave/HEAD-0a800de_5
    wrap_mode: nofallback


ERROR: Could not detect Ninja v1.8.2 or newer

A full log can be found at /private/tmp/gtkwave-20240916-56921-x960jk/build/meson-logs/meson-log.txt

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

gtkwave's formula was built from an unstable upstream --HEAD.
This build failure is expected behaviour.
Do not create issues about this on Homebrew's GitHub repositories.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

CMake

==> Fetching gtkwave
==> Cloning https://github.com/gtkwave/gtkwave.git
Updating /Users/me/Library/Caches/Homebrew/gtkwave--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 0a800de Fix Ubuntu 24.04/clang 14.0 warning on chk_len (#381)
==> meson setup build
==> meson compile -C build --verbose
Last 15 lines from /Users/me/Library/Logs/Homebrew/gtkwave/02.meson:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/hfs/hfs_format.h:809:20: error: use of undeclared identifier 'uuid_string_t'
  809 |         char            reserved[JIB_RESERVED_SIZE];
      |                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/hfs/hfs_format.h:800:61: note: expanded from macro 'JIB_RESERVED_SIZE'
  800 | #define JIB_RESERVED_SIZE  ((32*sizeof(u_int32_t)) - sizeof(uuid_string_t) - 48)
      |                                                             ^
2 errors generated.
[184/257] clang -Isrc/gtkwave.p -Isrc -I../src -I. -I.. -I../src/cocoa -Ilib/libfst -I../lib/libfst -Ilib/libjrb -I../lib/libjrb -Ilib/libgtkwave/src -I../lib/libgtkwave/src -Ilib/libghw -I../lib/libghw -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/glib/2.82.0/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/Cellar/glib/2.82.0/include/gio-unix-2.0 -I/opt/homebrew/Cellar/glib/2.82.0/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/at-spi2-core/2.54.0/include/atk-1.0 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fontconfig/2.15.0/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/cairo/1.18.2/include -I/opt/homebrew/Cellar/cairo/1.18.2/include/cairo -I/opt/homebrew/Cellar/jpeg-turbo/3.0.4/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/fribidi/1.0.15/include/fribidi -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/9.0.0/include/harfbuzz -I/opt/homebrew/Cellar/libepoxy/1.5.10/include -I/opt/homebrew/Cellar/pango/1.54.0/include/pango-1.0 -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0 -I/opt/homebrew/Cellar/xorgproto/2024.1/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi -I/opt/homebrew/Cellar/gtk-mac-integration/3.0.1_1/include/gtkmacintegration -I/opt/homebrew/Cellar/gtk+3/3.24.43/include/gtk-3.0/unix-print -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c99 -O3 -D_GNU_SOURCE -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_72 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_72 -xobjective-c -DWAVE_COCOA_GTK -DMAC_INTEGRATION -Wcast-align -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=int-to-pointer-cast -Werror=main -Werror=misleading-indentation -Werror=missing-braces -Werror=missing-include-dirs -Werror=nonnull -Werror=overflow -Werror=pointer-arith -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=shadow -Werror=strict-prototypes -Werror=trigraphs -Werror=undef -Werror=write-strings -Wformat-nonliteral -Werror=format-security -Werror=format=2 -Wignored-qualifiers -Wimplicit-function-declaration -Wmissing-format-attribute -Wmissing-include-dirs -Wnested-externs -Wno-cast-function-type -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wswitch-default -Wundef -Wuninitialized -Wunused -MD -MQ src/gtkwave.p/vcd_saver.c.o -MF src/gtkwave.p/vcd_saver.c.o.d -o src/gtkwave.p/vcd_saver.c.o -c ../src/vcd_saver.c
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /opt/homebrew/Library/Homebrew/shims/mac/super/ninja -C /private/tmp/gtkwave-20240916-22765-sgp7jw/build -v

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

gtkwave's formula was built from an unstable upstream --HEAD.
This build failure is expected behaviour.
Do not create issues about this on Homebrew's GitHub repositories.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
depends_on "ninja" => :build
depends_on "cmake" => :build

Another error asked for pango for gtk+3, and pango is specified as a run-time dependency for gtk+3, so I added it as a run-time dependency. The error also seemed to want pkg-config to do lookups, so I added it as a build-time dependency too.

The Error

brew install --formula --HEAD ./gtkwave.rb

==> Fetching gtkwave
==> Cloning https://github.com/gtkwave/gtkwave.git
Updating /Users/me/Library/Caches/Homebrew/gtkwave--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 0a800de Fix Ubuntu 24.04/clang 14.0 warning on chk_len (#381)
==> meson setup build
Last 15 lines from /Users/me/Library/Logs/Homebrew/gtkwave/01.meson:
Host machine cpu: aarch64
Found pkg-config: YES (/opt/homebrew/Library/Homebrew/shims/mac/super/pkg-config) 0.29.2
Run-time dependency glib-2.0 found: YES 2.82.0
Run-time dependency gobject-2.0 found: YES 2.82.0
Found CMake: /opt/homebrew/opt/cmake/bin/cmake (3.30.3)
Run-time dependency gtk+-3.0 found: NO (tried framework and cmake)

meson.build:40:10: ERROR: Dependency lookup for gtk+-3.0 with method 'pkgconfig' failed: Could not generate cflags for gtk+-3.0:
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pango', required by 'gdk-3.0', not found


A full log can be found at /private/tmp/gtkwave-20240916-13169-7i5qet/build/meson-logs/meson-log.txt

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

gtkwave's formula was built from an unstable upstream --HEAD.
This build failure is expected behaviour.
Do not create issues about this on Homebrew's GitHub repositories.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
me@Mac gtkwave % brew install --formula --HEAD ../Brew-GTKWave/gtkwave.rb
==> gtk+3: stable 3.24.43 (bottled)
Toolkit for creating graphical user interfaces
https://gtk.org/
Installed
/opt/homebrew/Cellar/gtk+3/3.24.43 (749 files, 56.4MB) *
  Poured from bottle using the formulae.brew.sh API on 2024-09-17 at 06:50:59
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/g/gtk+3.rb
License: LGPL-2.0-or-later
==> Dependencies
Build: docbook ✘, docbook-xsl ✘, gettext βœ”, gobject-introspection βœ”, meson βœ”, ninja βœ”, pkg-config βœ”
Required: at-spi2-core βœ”, cairo βœ”, fribidi βœ”, gdk-pixbuf βœ”, glib βœ”, gsettings-desktop-schemas βœ”, harfbuzz βœ”, hicolor-icon-theme βœ”, libepoxy βœ”, pango βœ”, gettext βœ”
==> Analytics
install: 17,859 (30 days), 63,346 (90 days), 234,731 (365 days)
install-on-request: 8,457 (30 days), 29,065 (90 days), 106,086 (365 days)
build-error: 0 (30 days)
depends_on "pango"
depends_on "pkg-config" => :build

Note

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment