Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
girlsperhour opened this issue Apr 3, 2024 · 1 comment
Open

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

girlsperhour opened this issue Apr 3, 2024 · 1 comment

Comments

@girlsperhour
Copy link

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.
@rmsa5
Copy link

rmsa5 commented Apr 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants