gbcc icon indicating copy to clipboard operation
gbcc copied to clipboard

gbcc's formula was built from an unstable upstream --HEAD.

Open girlsperhour opened this issue 1 year ago • 1 comments

Trying to install this on macOS Sonoma with homebrew and it's throwing up the following:

1 error generated.
[22/39] Compiling C object libgbcc.a.p/src_input.c.o
[23/39] Compiling C object libgbcc.a.p/src_time_diff.c.o
[24/39] Compiling C object libgbcc.a.p/src_printer.c.o
[25/39] Compiling C object libgbcc.a.p/src_camera.c.o
[26/39] Compiling C object libgbcc.a.p/src_wav.c.o
[27/39] Compiling C object libgbcc.a.p/src_ops.c.o
[28/39] Compiling C object libgbcc.a.p/src_save.c.o
[29/39] Compiling C object libgbcc.a.p/src_screenshot.c.o
[30/39] Compiling C object libgbcc.a.p/src_ppu.c.o
ninja: build stopped: subcommand failed.

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

gbcc'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.

girlsperhour avatar Apr 03 '24 23:04 girlsperhour

yup: building on MacOS Sonoma on Apple Silicon (M3 MAX):

==> Installing philj56/gbcc/gbcc --HEAD
==> meson build
==> ninja -C build install
Last 15 lines from /Users/Me/Library/Logs/Homebrew/gbcc/02.ninja:
[29/39] Compiling C object libgbcc.a.p/src_screenshot.c.o
[30/39] Compiling C object libgbcc.a.p/src_ppu.c.o
[31/39] Compiling C object libgbcc.a.p/src_vram_window.c.o
[32/39] Compiling C object libgbcc.a.p/src_window.c.o
[33/39] Compiling C object gbcc.p/src_sdl_vram_window.c.o
[34/39] Compiling C object gbcc.p/src_sdl_main.c.o
FAILED: gbcc.p/src_sdl_main.c.o
clang -Igbcc.p -I. -I.. -I/opt/homebrew/include -I/opt/homebrew/include/SDL2 -flto -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c11 -O3 -pedantic -Wshadow -Wno-unused-parameter -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE '-DTILESET_PATH="/opt/homebrew/Cellar/gbcc/HEAD-dd42b9b/share/gbcc/tileset.png"' '-DPRINTER_SOUND_PATH="/opt/homebrew/Cellar/gbcc/HEAD-dd42b9b/share/gbcc/print.wav"' '-DGTK_UI_PATH="/opt/homebrew/Cellar/gbcc/HEAD-dd42b9b/share/gbcc/gbcc.ui"' '-DCAMERA_PATH="/opt/homebrew/Cellar/gbcc/HEAD-dd42b9b/share/gbcc/camera.png"' '-DSHADER_PATH="/opt/homebrew/Cellar/gbcc/HEAD-dd42b9b/share/gbcc/shaders/"' '-DICON_PATH="/opt/homebrew/Cellar/gbcc/HEAD-dd42b9b/share/gbcc/icons/"' -fPIE -D_THREAD_SAFE -MD -MQ gbcc.p/src_sdl_main.c.o -MF gbcc.p/src_sdl_main.c.o.d -o gbcc.p/src_sdl_main.c.o -c ../src/sdl/main.c
../src/sdl/main.c:74:2: error: call to undeclared function 'pthread_setname_np'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        pthread_setname_np(emu_thread, "EmulationThread");
        ^
1 error generated.
[35/39] Compiling C object gbcc.p/src_sdl_sdl.c.o
[36/39] Generating gbcc.6 with a custom command
ninja: build stopped: subcommand failed.

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

gbcc'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.

rmsa5 avatar Apr 20 '24 12:04 rmsa5