amiaopensource / vrecord

Vrecord is open-source software for capturing a video signal and turning it into a digital file.
https://github.com/amiaopensource/vrecord
151 stars 45 forks source link

gtkdialog install issue OS13.0.1 #735

Open dcassidy17 opened 1 year ago

dcassidy17 commented 1 year ago

Hi,

I'm getting a similar gtkdialog install problem as per troubleshooting, but none of the solutions for linux or other threads are solving my issue.

have installed/reinstalled texinfo and gtkdialog as per below. texinfo seems to be ok, gtkdialog can't get past the message below. Any help would be really appreciated.

"brew install texinfo"... Warning: texinfo 7.0 is already installed and up-to-date. To reinstall 7.0, run: brew reinstall texinfo

"brew install gtkdialog"... ...results in this error.

Last 15 lines from /Users/xxxxxxxx/Library/Logs/Homebrew/gtkdialog/02.make: if makeinfo -I . \ -o gtkdialog.info gtkdialog.texi; \ then \ rc=0; \ CDPATH="${ZSH_VERSION+.}:" && cd .; \ else \ rc=$?; \ CDPATH="${ZSH_VERSION+.}:" && cd . && \ $restore $backupdir/ `echo "./gtkdialog.info" | sed 's|[^/]$||'`; \ fi; \ rm -rf $backupdir; exit $rc /bin/sh: makeinfo: command not found make[2]: [gtkdialog.info] Error 127 make[1]: [all-recursive] Error 1 make: *** [all] Error 2

stevestofiel commented 1 year ago

same error on

image

macOS 13.1

privatezero commented 1 year ago

Hi @dcassidy17 and @stevestofiel, thanks for reporting! I've been able to reproduce this problem on my end as well on a non-M1 mac running OS 13.1. We'll take a look at this to see if we can established what changed in OS 13 that is making this unhappy

retokromer commented 1 year ago

@privatezero Has macOS 13.1 already been released? I ask because when I checked over the weekend it was still in beta and the last version was macOS 13.0.1.

privatezero commented 1 year ago

@retokromer you are correct! I was misremembering what I had upgraded my work Mac to - it is in fact 13.0.1.

In looking at the failed build logs, it appears that the issue is that the path where Homebrew installs binaries (in my case /usr/local/bin/makeinfo although I believe that is different on M1 macs) is somehow not getting passed correctly when brew is attempting to install gtkdialog (see below for relevant part of log).

PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/cairo/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fribidi/bin:/usr/local/opt/gdk-pixbuf/bin:/usr/local/opt/gettext/bin:/usr/local/opt/glib/bin:/usr/local/opt/graphite2/bin:/usr/local/opt/harfbuzz/bin:/usr/local/opt/libpng/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/pango/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/pcre2/bin:/usr/local/opt/jpeg-turbo/bin:/usr/local/opt/lz4/bin:/usr/local/opt/xz/bin:/usr/local/opt/zstd/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/gtk+/bin:/usr/bin:/bin:/usr/sbin:/sbin

@retokromer - as someone who is a little more familiar with the intricacies of Brew than I am, is there a good way to modify the formula to ensure that the correct path makes it through? As a test I tried the non-solution of copying makeinfo to one of the locations listed on the PATH from the log and was able to install gtkdialog successfully, so it really does look like it comes down to some change in behavior combined with the make file trying to run textinfo from PATH.

retokromer commented 1 year ago

@privatezero I can look into that probably only on Friday, but there is also the possibility to use Rosetta 2 and install “on x86_64“ on an M1 machine as well:

arch -x86_64 /usr/local/bin/brew install <formula>

I use it for some formulae that still sucks on M1 under macOS 12.6 and/or 13.0.

privatezero commented 1 year ago

@retokromer great! I'm pretty limited in testing time on Mac as well. One note - I'm testing this on an older mac that is not M1 and am still running into problems, so it doesn't seem to me to be related to the difference in chips.

retokromer commented 1 year ago

@privatezero Indeed, I will check also if “something relevant” has been changed in the last months. There were many Brew releases and I didn’t had the time to read all the change logs.

dcassidy17 commented 1 year ago

Hi. For context, I'm attempting install on a 2017 iMac Pro. 3 GHz 10-Core Intel Xeon W. Ventura 13.0.1

@privatezero is there a workaround somewhere in your reply?

As a test I tried the non-solution of copying makeinfo to one of the locations listed on the PATH from the log and was able to install gtkdialog successfully

privatezero commented 1 year ago

There is a silly workaround to get an install (although it is not a real solution to the problem). When you run brew install gtkdialog and it fails, as part of the error message it should give you a line like:

Last 15 lines from /Users/my-user/Library/Logs/Homebrew/gtkdialog/02.make:

If you open that file (I used open /Users/my-user/Library/Logs/Homebrew/gtkdialog/02.make) then at the very bottom there should be a portion that looks like the PATH chunk I pasted into my above response.

If you find where your installed version of makeinfo is (this is probably /usr/local/bin/makeinfo, but you can confirm by running which makeinfo) and then copy it into one of those locations that showed up in the path chunk, you should be able to build successfully. When I was testing I picked the gtk+ location, so my command was cp /usr/local/bin/makeinfo /usr/local/opt/gtk+/bin

After this brew install gtkdialog was successfull for me (and I made sure to delete the copy of makeinfo I had stuck into the gtk+/bin folder).

As for why there is a change in behavior with how the install formula and/or Brew set the path in OS13 vs previous versions, still not sure.

privatezero commented 1 year ago

A quick update on this: I did a little more testing and found that running ln -sf "$(which makeinfo)" "$(brew --prefix)/Homebrew/Library/Homebrew/shims/mac/super" seems to fix this install issue on my end. @retokromer does this look like a reasonable enough fix that should be added to the Troubleshooting doc? (adapted from the solution to the libiec61883 issue already contained there).

retokromer commented 1 year ago

@privatezero : This could indeed be added to the troubleshooting documentation! Do you make a PR? (As you are English native ;-) I guess the current version is macOS 13.2.1, but on our end we have only two Apple machines left in production, one 12.6.3 and one 10.14.6.

privatezero commented 1 year ago

Hi @retokromer - will do! And then when I get a minute I will try to add notes and cross link with the vrecord install docs

lavidtech-1 commented 1 year ago

Hi All,

We have a Mac currently on 13.3.1 that we are trying to do a fresh install of Vrecord on and we are stuck on the gtkdialog issue.

I have tried all the above recommended steps, but I'm still failing to build Vrecord.

Any thoughts on what might be the issue?

Here is the line of dialog:

==> Installing gtkdialog from amiaopensource/amiaos ==> Patching ==> ./autogen.sh ==> make Last 15 lines from /Users/1545media/Library/Logs/Homebrew/gtkdialog/02.make: signals.c:1170:4: error: call to undeclared function 'widget_statusbar_refresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] widget_statusbar_refresh(var); ^ signals.c:1173:4: error: call to undeclared function 'widget_table_refresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] widget_table_refresh(var); ^ signals.c:1176:4: error: call to undeclared function 'widget_terminal_refresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] widget_terminal_refresh(var); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[3]: [signals.o] Error 1 make[2]: [all] Error 2 make[1]: [all-recursive] Error 1 make: [all] Error 2

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

libbyhopfauf commented 1 year ago

@lavidtech-1 we're having the same issue at MIPoPS with our MacBook Pro 2021 M1 chip (running macOS 13.2.1). None of the workarounds above resolved the error. We also tried disabling the security in recovery mode, but that didn't make a difference either.

Here is the full readout from the Terminal:

2023-04-19 20:15:18 +0000

make

/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
Making all in src
/Library/Developer/CommandLineTools/usr/bin/make  all-am
clang -DHAVE_CONFIG_H -I. -I..    -I/opt/homebrew/Cellar/atk/2.38.0/include/atk-1.0 -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.10/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz -I/opt/homebrew/Cellar/libffi/3.4.4/include -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0 -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/jpeg-turbo/2.1.5.1/include -I/opt/homebrew/Cellar/gtk+/2.24.33_1/include/gtk-2.0 -I/opt/homebrew/Cellar/gtk+/2.24.33_1/lib/gtk-2.0/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -DHAVE_GTK=2 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include  -DHAVE_GLADE_LIB=0  -DHAVE_VTE=0 -g -O2 -MT gtkdialog.o -MD -MP -MF .deps/gtkdialog.Tpo -c -o gtkdialog.o gtkdialog.c
clang -DHAVE_CONFIG_H -I. -I..    -I/opt/homebrew/Cellar/atk/2.38.0/include/atk-1.0 -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.10/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz -I/opt/homebrew/Cellar/libffi/3.4.4/include -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0 -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/jpeg-turbo/2.1.5.1/include -I/opt/homebrew/Cellar/gtk+/2.24.33_1/include/gtk-2.0 -I/opt/homebrew/Cellar/gtk+/2.24.33_1/lib/gtk-2.0/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -DHAVE_GTK=2 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include  -DHAVE_GLADE_LIB=0  -DHAVE_VTE=0 -g -O2 -MT printing.o -MD -MP -MF .deps/printing.Tpo -c -o printing.o printing.c
clang -DHAVE_CONFIG_H -I. -I..    -I/opt/homebrew/Cellar/atk/2.38.0/include/atk-1.0 -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.10/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz -I/opt/homebrew/Cellar/libffi/3.4.4/include -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0 -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/jpeg-turbo/2.1.5.1/include -I/opt/homebrew/Cellar/gtk+/2.24.33_1/include/gtk-2.0 -I/opt/homebrew/Cellar/gtk+/2.24.33_1/lib/gtk-2.0/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -DHAVE_GTK=2 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include  -DHAVE_GLADE_LIB=0  -DHAVE_VTE=0 -g -O2 -MT variables.o -MD -MP -MF .deps/variables.Tpo -c -o variables.o variables.c
clang -DHAVE_CONFIG_H -I. -I..    -I/opt/homebrew/Cellar/atk/2.38.0/include/atk-1.0 -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.10/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz -I/opt/homebrew/Cellar/libffi/3.4.4/include -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0 -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/jpeg-turbo/2.1.5.1/include -I/opt/homebrew/Cellar/gtk+/2.24.33_1/include/gtk-2.0 -I/opt/homebrew/Cellar/gtk+/2.24.33_1/lib/gtk-2.0/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -DHAVE_GTK=2 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include  -DHAVE_GLADE_LIB=0  -DHAVE_VTE=0 -g -O2 -MT gtkdialog_parser.o -MD -MP -MF .deps/gtkdialog_parser.Tpo -c -o gtkdialog_parser.o gtkdialog_parser.c
clang -DHAVE_CONFIG_H -I. -I..    -I/opt/homebrew/Cellar/atk/2.38.0/include/atk-1.0 -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.10/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz -I/opt/homebrew/Cellar/libffi/3.4.4/include -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0 -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/jpeg-turbo/2.1.5.1/include -I/opt/homebrew/Cellar/gtk+/2.24.33_1/include/gtk-2.0 -I/opt/homebrew/Cellar/gtk+/2.24.33_1/lib/gtk-2.0/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -DHAVE_GTK=2 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include  -DHAVE_GLADE_LIB=0  -DHAVE_VTE=0 -g -O2 -MT gtkdialog_lexer.o -MD -MP -MF .deps/gtkdialog_lexer.Tpo -c -o gtkdialog_lexer.o gtkdialog_lexer.c
clang -DHAVE_CONFIG_H -I. -I..    -I/opt/homebrew/Cellar/atk/2.38.0/include/atk-1.0 -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.10/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz -I/opt/homebrew/Cellar/libffi/3.4.4/include -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0 -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/jpeg-turbo/2.1.5.1/include -I/opt/homebrew/Cellar/gtk+/2.24.33_1/include/gtk-2.0 -I/opt/homebrew/Cellar/gtk+/2.24.33_1/lib/gtk-2.0/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -DHAVE_GTK=2 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include  -DHAVE_GLADE_LIB=0  -DHAVE_VTE=0 -g -O2 -MT stack.o -MD -MP -MF .deps/stack.Tpo -c -o stack.o stack.c
clang -DHAVE_CONFIG_H -I. -I..    -I/opt/homebrew/Cellar/atk/2.38.0/include/atk-1.0 -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.10/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz -I/opt/homebrew/Cellar/libffi/3.4.4/include -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0 -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/jpeg-turbo/2.1.5.1/include -I/opt/homebrew/Cellar/gtk+/2.24.33_1/include/gtk-2.0 -I/opt/homebrew/Cellar/gtk+/2.24.33_1/lib/gtk-2.0/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -DHAVE_GTK=2 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include  -DHAVE_GLADE_LIB=0  -DHAVE_VTE=0 -g -O2 -MT automaton.o -MD -MP -MF .deps/automaton.Tpo -c -o automaton.o automaton.c
clang -DHAVE_CONFIG_H -I. -I..    -I/opt/homebrew/Cellar/atk/2.38.0/include/atk-1.0 -I/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo -I/opt/homebrew/Cellar/fontconfig/2.14.2/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/Cellar/fribidi/1.0.12/include/fribidi -I/opt/homebrew/Cellar/gdk-pixbuf/2.42.10/include/gdk-pixbuf-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/Cellar/harfbuzz/7.1.0/include/harfbuzz -I/opt/homebrew/Cellar/libffi/3.4.4/include -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libx11/1.8.4/include -I/opt/homebrew/Cellar/libxau/1.0.11/include -I/opt/homebrew/Cellar/libxcb/1.15_1/include -I/opt/homebrew/Cellar/libxdmcp/1.1.4/include -I/opt/homebrew/Cellar/libxext/1.3.5/include -I/opt/homebrew/Cellar/libxrender/0.9.11/include -I/opt/homebrew/Cellar/pango/1.50.14/include/pango-1.0 -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/pcre2/10.42/include -I/opt/homebrew/Cellar/jpeg-turbo/2.1.5.1/include -I/opt/homebrew/Cellar/gtk+/2.24.33_1/include/gtk-2.0 -I/opt/homebrew/Cellar/gtk+/2.24.33_1/lib/gtk-2.0/include -I/opt/homebrew/Cellar/xorgproto/2022.2/include -DHAVE_GTK=2 -I/opt/homebrew/Cellar/glib/2.76.1/include -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include  -DHAVE_GLADE_LIB=0  -DHAVE_VTE=0 -g -O2 -MT attributes.o -MD -MP -MF .deps/attributes.Tpo -c -o attributes.o attributes.c
printing.c:53:2: error: call to undeclared function 'g_vprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        g_vprintf(format, args);
        ^
gtkdialog_parser.y:68:3: error: call to undeclared function 'run_program'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                run_program();
                ^
printing.c:69:2: error: call to undeclared function 'g_vprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        g_vprintf(format, args);
        ^
2 errors generated.
automaton.c:334:3: error: gtkdialog_parser.ycall to undeclared function 'g_printf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
:71:3: error: call to undeclared function 'print_program'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                g_printf("%5d  ", pc);                print_program();
                ^

                ^
automaton.c:334:3: note: did you mean 'g_print'?
/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0/glib/gmessages.h:519:17: note: 'g_print' declared here
void            g_print                 (const gchar    *format,
                ^
make[3]: *** [printing.o] Error 1
make[3]: *** Waiting for unfinished jobs....
variables.c:472:4: error: call to undeclared function 'yywarning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        yywarning("Set-value not implemented for this widget.");
                        ^
variables.c:599:4: error: call to undeclared function 'yywarning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        yywarning("Save not implemented for this widget.");
                        ^
variables.c:747:5: error: call to undeclared function 'yywarning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                                yywarning("Refresh not implemented for this widget.");
                                ^
variables.c:1340:4: error: call to undeclared function 'yywarning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        yywarning("Socket ID is NULL\n");
                        ^
variables.c:1814:4: error: call to undeclared function 'yywarning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        yywarning("Clear not implemented for this widget.");
                        ^
variables.c:1961:4: error: call to undeclared function 'yywarning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        yywarning("Delete not implemented for this widget.");
                        ^
6 errors generated.
make[3]: *** [variables.o] Error 1
gtkdialog_parser.c:2869:16: error: call to undeclared function 'gtkdialog_lex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      yychar = YYLEX;
               ^
gtkdialog_parser.c:2224:16: note: expanded from macro 'YYLEX'
# define YYLEX yylex ()
               ^
gtkdialog_parser.c:67:25: note: expanded from macro 'yylex'
#define yylex           gtkdialog_lex
                        ^
gtkdialog_parser.c:2869:16: note: did you mean 'gtk_dialog_new'?
gtkdialog_parser.c:2224:16: note: expanded from macro 'YYLEX'
# define YYLEX yylex ()
               ^
gtkdialog_parser.c:67:25: note: expanded from macro 'yylex'
#define yylex           gtkdialog_lex
                        ^
/opt/homebrew/Cellar/gtk+/2.24.33_1/include/gtk-2.0/gtk/gtkdialog.h:128:12: note: 'gtk_dialog_new' declared here
GtkWidget* gtk_dialog_new      (void);
           ^
automaton.c:358:3: error: call to undeclared function 'instruction_execute'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                instruction_execute(program[pc]);
                ^
automaton.c:358:3: note: did you mean 'instruction_execute_push'?
automaton.c:102:1: note: 'instruction_execute_push' declared here
instruction_execute_push(token Token, 
^
gtkdialog_parser.y:306:19: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                  yyerror("</entry> expected instead of <entry>.");}
                  ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
automaton.c:1056:4: error: call to undeclared function 'push_widget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
#define yyerror         gtkdialog_error
                        ^
                        push_widget(Widget, Widget_Type);
                        ^
gtkdialog_parser.y:306:19: note: did you mean 'gtkdialog_parse'?
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.c:2696:1: note: 'gtkdialog_parse' declared here
yyparse (void)
^
gtkdialog_parser.c:66:25: note: expanded from macro 'yyparse'
#define yyparse         gtkdialog_parse
                        ^
gtkdialog_parser.y:317:7: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                yyerror("</edit> expected instead of <edit>.");
                ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.y:329:6: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                yyerror("</tree> expected instead of <tree>.");
                ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.y:341:3: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                yyerror("</chooser> expected instead of <chooser>.");
                ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.y:352:6: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    {yyerror("</text> expected instead of <text>.");}
     ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.y:376:3: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                yyerror("</checkbox> expected instead of <checkbox>.");
                ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.y:388:3: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                yyerror("</radiobutton> expected instead of <radiobutton>.");
                ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
gtkdialog_lexer.l:626:2: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
#define yyerror         gtkdialog_error
        gtkdialog_error("Unknown end tag.");  
        ^
                        ^
gtkdialog_parser.y:400gtkdialog_lexer.l:631:2: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
:3: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        gtkdialog_error("Unknown tag.");      
                yyerror("</progressbar> expected instead of <progressbar>.");
                ^
        ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.y:412:7: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                yyerror("</list> expected instead of <list>.");
                ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.y:424:7: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                yyerror("</table> expected instead of <table>.");
                ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.y:457:3: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                yyerror("The menubar widget requires at least one menu widget.");
                ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.y:483:3: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                yyerror("The menu widget requires at least one menuitem widget.");
                ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.c:4315:7: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3      yyerror (YY_("syntax error"));
      ^
 errors generated.
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
gtkdialog_parser.c:4458:3: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  yyerror (YY_("memory exhausted"));
  ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
mv -f .deps/attributes.Tpo .deps/attributes.Po
gtkdialog_lexer.c:3010:3: error: call to undeclared function 'getnextchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
17 errors generated.
                YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
                ^
gtkdialog_lexer.l:34:13: note: expanded from macro 'YY_INPUT'
    int c = getnextchar(); \
            ^
make[3]: *** [automaton.o] Error 1
make[3]: *** [gtkdialog_parser.o] Error 1
3 errors generated.
gtkdialog.c:639:2: error: call to undeclared function 'gtkdialog_parse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        gtkdialog_parse();
        ^
make[3]: *** [gtkdialog_lexer.o] Error 1
1 error generated.
make[3]: *** [gtkdialog.o] Error 1
mv -f .deps/stack.Tpo .deps/stack.Po
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

HOMEBREW_VERSION: 4.0.14
ORIGIN: https://github.com/Homebrew/brew
HEAD: ac0663ae5d2d4c76bb62363592d77dbad49ac30c
Last commit: 3 days ago
Core tap JSON: 19 Apr 20:13 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_BOOTSNAP: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.86.0 => /usr/bin/curl
macOS: 13.2.1-arm64
CLT: 14.3.0.0.1.1679647830
Xcode: N/A
Rosetta 2: false

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /opt/homebrew/opt/libffi:/opt/homebrew/opt/icu4c:/opt/homebrew
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /opt/homebrew/opt/atk/lib/pkgconfig:/opt/homebrew/opt/cairo/lib/pkgconfig:/opt/homebrew/opt/fontconfig/lib/pkgconfig:/opt/homebrew/opt/freetype/lib/pkgconfig:/opt/homebrew/opt/fribidi/lib/pkgconfig:/opt/homebrew/opt/gdk-pixbuf/lib/pkgconfig:/opt/homebrew/opt/glib/lib/pkgconfig:/opt/homebrew/opt/graphite2/lib/pkgconfig:/opt/homebrew/opt/harfbuzz/lib/pkgconfig:/opt/homebrew/opt/libepoxy/lib/pkgconfig:/opt/homebrew/opt/libffi/lib/pkgconfig:/opt/homebrew/opt/libpng/lib/pkgconfig:/opt/homebrew/opt/libpthread-stubs/lib/pkgconfig:/opt/homebrew/opt/libtiff/lib/pkgconfig:/opt/homebrew/opt/libx11/lib/pkgconfig:/opt/homebrew/opt/libxau/lib/pkgconfig:/opt/homebrew/opt/libxcb/lib/pkgconfig:/opt/homebrew/opt/libxdmcp/lib/pkgconfig:/opt/homebrew/opt/libxext/lib/pkgconfig:/opt/homebrew/opt/libxrender/lib/pkgconfig:/opt/homebrew/opt/pango/lib/pkgconfig:/opt/homebrew/opt/pixman/lib/pkgconfig:/opt/homebrew/opt/pcre2/lib/pkgconfig:/opt/homebrew/opt/jpeg-turbo/lib/pkgconfig:/opt/homebrew/opt/lz4/lib/pkgconfig:/opt/homebrew/opt/xz/lib/pkgconfig:/opt/homebrew/opt/zstd/lib/pkgconfig:/opt/homebrew/opt/lzo/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/gtk+/lib/pkgconfig:/opt/homebrew/opt/xorgproto/share/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/13
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
ACLOCAL_PATH: /opt/homebrew/share/aclocal
PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/autoconf/bin:/opt/homebrew/opt/automake/bin:/opt/homebrew/opt/cairo/bin:/opt/homebrew/opt/fontconfig/bin:/opt/homebrew/opt/freetype/bin:/opt/homebrew/opt/fribidi/bin:/opt/homebrew/opt/gdk-pixbuf/bin:/opt/homebrew/opt/gettext/bin:/opt/homebrew/opt/glib/bin:/opt/homebrew/opt/graphite2/bin:/opt/homebrew/opt/harfbuzz/bin:/opt/homebrew/opt/libpng/bin:/opt/homebrew/opt/libtiff/bin:/opt/homebrew/opt/pango/bin:/opt/homebrew/opt/pkg-config/bin:/opt/homebrew/opt/pcre2/bin:/opt/homebrew/opt/jpeg-turbo/bin:/opt/homebrew/opt/lz4/bin:/opt/homebrew/opt/xz/bin:/opt/homebrew/opt/zstd/bin:/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/gtk+/bin:/usr/bin:/bin:/usr/sbin:/sbin
libbyhopfauf commented 1 year ago

We also got this on a previous attempt:


Last login: Wed Apr 19 13:43:37 on ttys000
mipops-macbook@mipops-macbooks-MacBook-Pro ~ % brew install gtkdialog
==> Fetching dependencies for amiaopensource/amiaos/gtkdialog: autoconf, automake, libffi, libpthread-stubs and gtk+
==> Fetching autoconf
==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/manifests/2.71
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/blobs/sha256:a3d366c98
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Fetching automake
==> Downloading https://ghcr.io/v2/homebrew/core/automake/manifests/1.16.5
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/automake/blobs/sha256:f68481d06
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Fetching libffi
==> Downloading https://ghcr.io/v2/homebrew/core/libffi/manifests/3.4.4
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libffi/blobs/sha256:66d9dcb2182
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Fetching libpthread-stubs
==> Downloading https://ghcr.io/v2/homebrew/core/libpthread-stubs/manifests/0.4
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libpthread-stubs/blobs/sha256:0
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Fetching gtk+
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx/manifests/2.24.33_1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gtkx/blobs/sha256:09d870f697846
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh
######################################################################## 100.0%
==> Fetching amiaopensource/amiaos/gtkdialog
==> Downloading https://github.com/puppylinux-woof-CE/gtkdialog/archive/0.8.4d.t
==> Downloading from https://codeload.github.com/puppylinux-woof-CE/gtkdialog/ta
#=#=#                                                                         
==> Installing gtkdialog from amiaopensource/amiaos
==> Installing dependencies for amiaopensource/amiaos/gtkdialog: autoconf, automake, libffi, libpthread-stubs and gtk+
==> Installing amiaopensource/amiaos/gtkdialog dependency: autoconf
==> Pouring autoconf--2.71.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/autoconf/2.71: 71 files, 3.2MB
==> Installing amiaopensource/amiaos/gtkdialog dependency: automake
==> Pouring automake--1.16.5.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/automake/1.16.5: 131 files, 3.5MB
==> Installing amiaopensource/amiaos/gtkdialog dependency: libffi
==> Pouring libffi--3.4.4.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libffi/3.4.4: 17 files, 724.8KB
==> Installing amiaopensource/amiaos/gtkdialog dependency: libpthread-stubs
==> Pouring libpthread-stubs--0.4.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libpthread-stubs/0.4: 5 files, 6.9KB
==> Installing amiaopensource/amiaos/gtkdialog dependency: gtk+
==> Pouring gtk+--2.24.33_1.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/gtk+/2.24.33_1: 1,195 files, 59.6MB
==> Installing amiaopensource/amiaos/gtkdialog
==> Patching
==> ./autogen.sh
==> make
Last 15 lines from /Users/mipops-macbook/Library/Logs/Homebrew/gtkdialog/02.make:
                        ^
gtkdialog_parser.c:4458:3: error: call to undeclared function 'gtkdialog_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  yyerror (YY_("memory exhausted"));
  ^
gtkdialog_parser.c:68:25: note: expanded from macro 'yyerror'
#define yyerror         gtkdialog_error
                        ^
3 errors generated.
17 errors generated.
make[3]: *** [automaton.o] Error 1
make[3]: *** [gtkdialog_parser.o] Error 1
mv -f .deps/attributes.Tpo .deps/attributes.Po
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

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

/opt/homebrew/Library/Homebrew/utils/github/api.rb:301:in `raise_error': GitHub API Error: Bad credentials (GitHub::API::AuthenticationFailedError)
HOMEBREW_GITHUB_API_TOKEN may be invalid or expired; check:
  https://github.com/settings/tokens
    from /opt/homebrew/Library/Homebrew/utils/github/api.rb:241:in `open_rest'
    from /opt/homebrew/Library/Homebrew/utils/github.rb:180:in `search'
    from /opt/homebrew/Library/Homebrew/utils/github.rb:184:in `search_results_items'
    from /opt/homebrew/Library/Homebrew/utils/github.rb:38:in `search_issues'
    from /opt/homebrew/Library/Homebrew/utils/github.rb:64:in `issues_for_formula'
    from /opt/homebrew/Library/Homebrew/exceptions.rb:498:in `fetch_issues'
    from /opt/homebrew/Library/Homebrew/exceptions.rb:493:in `issues'
    from /opt/homebrew/Library/Homebrew/exceptions.rb:549:in `dump'
    from /opt/homebrew/Library/Homebrew/brew.rb:151:in `rescue in <main>'
    from /opt/homebrew/Library/Homebrew/brew.rb:139:in `<main>'
/opt/homebrew/Library/Homebrew/formula.rb:2551:in `block in system': Failed executing: make (BuildError)
    from /opt/homebrew/Library/Homebrew/formula.rb:2487:in `open'
    from /opt/homebrew/Library/Homebrew/formula.rb:2487:in `system'
    from /opt/homebrew/Library/Taps/amiaopensource/homebrew-amiaos/gtkdialog.rb:44:in `install'
    from /opt/homebrew/Library/Homebrew/build.rb:177:in `block (3 levels) in install'
    from /opt/homebrew/Library/Homebrew/extend/kernel.rb:500:in `with_env'
    from /opt/homebrew/Library/Homebrew/build.rb:139:in `block (2 levels) in install'
    from /opt/homebrew/Library/Homebrew/formula.rb:1327:in `block in brew'
    from /opt/homebrew/Library/Homebrew/formula.rb:2718:in `block (2 levels) in stage'
    from /opt/homebrew/Library/Homebrew/extend/kernel.rb:500:in `with_env'
    from /opt/homebrew/Library/Homebrew/formula.rb:2717:in `block in stage'
    from /opt/homebrew/Library/Homebrew/resource.rb:159:in `block (2 levels) in unpack'
    from /opt/homebrew/Library/Homebrew/download_strategy.rb:116:in `chdir'
    from /opt/homebrew/Library/Homebrew/download_strategy.rb:116:in `chdir'
    from /opt/homebrew/Library/Homebrew/download_strategy.rb:103:in `stage'
    from /opt/homebrew/Library/Homebrew/resource.rb:155:in `block in unpack'
    from /opt/homebrew/Library/Homebrew/mktemp.rb:77:in `block in run'
    from /opt/homebrew/Library/Homebrew/mktemp.rb:77:in `chdir'
    from /opt/homebrew/Library/Homebrew/mktemp.rb:77:in `run'
    from /opt/homebrew/Library/Homebrew/resource.rb:267:in `stage_resource'
    from /opt/homebrew/Library/Homebrew/resource.rb:154:in `unpack'
    from /opt/homebrew/Library/Homebrew/resource.rb:128:in `stage'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:in `stage'
    from /opt/homebrew/Library/Homebrew/formula.rb:2697:in `stage'
    from /opt/homebrew/Library/Homebrew/formula.rb:1320:in `brew'
    from /opt/homebrew/Library/Homebrew/build.rb:133:in `block in install'
    from /opt/homebrew/Library/Homebrew/extend/kernel.rb:500:in `with_env'
    from /opt/homebrew/Library/Homebrew/build.rb:128:in `install'
    from /opt/homebrew/Library/Homebrew/build.rb:229:in `<main>'
mipops-macbook@mipops-macbooks-MacBook-Pro ~ % 
retokromer commented 1 year ago

Does the workaround resolve this issue?

privatezero commented 1 year ago

@retokromer @dericed I see that there is a newer release of GTKDialog than what we are using in the install formula - could this possibly play better with the newer macs?

(I don't have a newer mac I can test on and have yet to reproduce the problem on my end)

libbyhopfauf commented 1 year ago

Does the workaround resolve this issue?

It did not. The error we are receiving is slightly different (it wasn't related to makeinfo):


3 errors generated.
17 errors generated.
make[3]: *** [automaton.o] Error 1
make[3]: *** [gtkdialog_parser.o] Error 1
mv -f .deps/attributes.Tpo .deps/attributes.Po
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
libbyhopfauf commented 1 year ago

@retokromer @privatezero I just saw in the saved terminal output that this issue was supposed to be reported to amiaopensource/homebrew-amiaos. It is effecting other tools besides vrecord that use gtkdialog (like ltopers), so should I post this issue there instead?

lavidtech-1 commented 1 year ago

Does the workaround resolve this issue?

Hi Retokromer,

Unfortunately it did not. The read out I have in my post is after using that workaround.

Thanks.

retokromer commented 1 year ago

@lavidtech-1 @libbyhopfauf I opened a PR which works on my end. Could you possibly test it as well?

libbyhopfauf commented 1 year ago

@retokromer Will do! I'm not at the office today with the M1 laptop, but I can test tomorrow!

arnicholson commented 1 year ago

@retokromer -- @libbyhopfauf and I were able to try the most recent PR today, with no luck unfortunately:

mipops-macbook@mipops-macbooks-MacBook-Pro ~ % brew install /Users/mipops-macbook/Downloads/gtkdialog.rb
Error: Failed to load cask: /Users/mipops-macbook/Downloads/gtkdialog.rb
Cask 'gtkdialog' is unreadable: wrong constant name #<Class:0x00000001309ec740>
Warning: Treating /Users/mipops-macbook/Downloads/gtkdialog.rb as a formula.
==> Fetching gtkdialog
==> Downloading https://github.com/puppylinux-woof-CE/gtkdialog/archive/refs/tag
Already downloaded: /Users/mipops-macbook/Library/Caches/Homebrew/downloads/b7ad2927ddcad4e75b3ce57f101c7bf1b2e690ae68955d442baee8865655c723--gtkdialog-0.8.5.tar.gz
==> Patching
==> ./autogen.sh
==> make
Last 15 lines from /Users/mipops-macbook/Library/Logs/Homebrew/gtkdialog/02.make:
^
mv -f .deps/stack.Tpo .deps/stack.Po
automaton.c:996:4: error: call to undeclared function 'push_widget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        push_widget(Widget, Widget_Type);
                        ^
3 errors generated.
make[3]: *** [automaton.o] Error 1
signals.c:1258:4: error: void function 'on_any_widget_auto_refresh_event' should not return a value [-Wreturn-type]
                        return FALSE;
                        ^      ~~~~~
1 error generated.
make[3]: *** [signals.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!
retokromer commented 1 year ago

@arnicholson Thank you for reporting! Did you try also using Rosetta 2 (see https://github.com/amiaopensource/vrecord/issues/735#issuecomment-1331072972)?

Otherwise, possibly something like

brew install --cc=gcc-7 amiaopensource/amiaos/gtkdialog

before installing vrecord could work (untested).

arnicholson commented 1 year ago

@retokromer I had not tried using Rosetta 2. I went to try it today, but before I did so, I decided to run updates and then try again to install gtkdialog normally. This time it worked! I was able to install vrecord as well after that. I am not sure what was updated since I last tried, but at any rate it is working for me now. Thank you for all the help.

Maybe @lavidtech-1, you can give it a try again as well?

retokromer commented 1 year ago

@arnicholson : It was the fix by @dericed which did the trick.

lavidtech-1 commented 1 year ago

Hi All,

I'd like to confirm that using Retokromer's suggestion allowed us to install Vrecord on the latest version of Mac OS on 2 different Mac Mini's.

Thanks all!