amiaopensource / homebrew-amiaos

Homebrew tap for AMIA Open Source
MIT License
29 stars 14 forks source link

Fatal error when installing ltopers #351

Closed iamdamosuzuki closed 1 year ago

iamdamosuzuki commented 1 year ago

Homebrew is unable to install amiaopensource/ami.

I'm running:

Apple M2 Pro macOS 13.3.1 (22E261)

==> Installing amiaopensource/amiaos/ltopers dependency: amiaopensource/ami
==> Patching
==> ./autogen.sh
==> make
Last 15 lines from /Users/mmorel/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
retokromer commented 1 year ago

Thank you, @iamdamosuzuki, for reporting!

Have you tried using Homebrew for x86_64 on AArch64 (ARM)?

# install brew for x86_64
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

# install on x86_64
arch -x86_64 /usr/local/bin/brew install amiaopensource/amiaos/ltopers
retokromer commented 1 year ago

@iamdamosuzuki : Regarding gtkdialog, there is also this PR which possibly resolves your issue.

retokromer commented 1 year ago

@iamdamosuzuki : Does the fatal error still persist or can this issue be closed?

retokromer commented 1 year ago

Closing, because quite a lot has been modified in LTOpers recently and a new release should be made soonish.