Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

MacOS homebrew install fails on make

Open nekitk opened this issue 9 months ago • 28 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Is your issue described in the documentation?

  • [x] I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

Running brew install sunshine or sunshine-beta fails on make step.

Expected Behavior

Should install without errors

Additional Context

Homebrew 4.4.21

Host Operating System

macOS

Operating System Version

15.3

Architecture

arm64/aarch64

Sunshine commit or version

Package

macOS - Homebrew

GPU Type

AMD

GPU Model

Apple M1 Pro

GPU Driver/Mesa Version

Capture Method

None

Config


Apps


Relevant log output

==> cmake -S . -B build -DBUILD_WERROR=ON -DHOMEBREW_ALLOW_FETCHCONTENT=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 -
==> make
Last 15 lines from /Users/chill/Library/Logs/Homebrew/sunshine-beta/02.make:
../../../../build/assets/web/assets/_plugin-vue_export-helper-e3be04f7.css  320.97 kB │ gzip:  53.82 kB
../../../../build/assets/web/assets/password-e7073e71.js                      0.59 kB │ gzip:   0.38 kB
../../../../build/assets/web/assets/welcome-c7ccff22.js                       0.62 kB │ gzip:   0.40 kB
../../../../build/assets/web/assets/pin-daae1379.js                           0.82 kB │ gzip:   0.41 kB
../../../../build/assets/web/assets/ResourceCard-27b0a959.js                  1.72 kB │ gzip:   0.66 kB
../../../../build/assets/web/assets/Checkbox-32ab7a74.js                      2.11 kB │ gzip:   1.04 kB
../../../../build/assets/web/assets/troubleshooting-2b5c95ad.js               2.20 kB │ gzip:   0.86 kB
../../../../build/assets/web/assets/index-f2823a0e.js                         2.91 kB │ gzip:   1.14 kB
../../../../build/assets/web/assets/apps-9628d30a.js                          3.89 kB │ gzip:   1.56 kB
../../../../build/assets/web/assets/Navbar-819f254a.js                        6.16 kB │ gzip:   2.32 kB
../../../../build/assets/web/assets/config-57459fc8.js                       57.33 kB │ gzip:  12.24 kB
../../../../build/assets/web/assets/_plugin-vue_export-helper-917c8565.js   339.54 kB │ gzip: 116.90 kB
✓ built in 1.10s
[ 14%] Built target web-ui
make: *** [all] Error 2

nekitk avatar Feb 22 '25 06:02 nekitk

If you provide only the last 15 lines of the logs, that's not enough to figure anything out.

ReenigneArcher avatar Feb 22 '25 13:02 ReenigneArcher

Here's the full output for beta:

brew install sunshine-beta
==> Fetching lizardbyte/homebrew/sunshine-beta
==> Cloning https://github.com/LizardByte/Sunshine.git
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git'...
==> Checking out tag v2025.221.143652
HEAD is now at e3079da1 ci(flatpak): build aarch64 on arm architecture (#3680)
Submodule 'packaging/linux/flatpak/deps/flatpak-builder-tools' (https://github.com/flatpak/flatpak-builder-tools.git) registered for path 'packaging/linux/flatpak/deps/flatpak-builder-tools'
Submodule 'packaging/linux/flatpak/deps/shared-modules' (https://github.com/flathub/shared-modules.git) registered for path 'packaging/linux/flatpak/deps/shared-modules'
Submodule 'third-party/Simple-Web-Server' (https://gitlab.com/eidheim/Simple-Web-Server.git) registered for path 'third-party/Simple-Web-Server'
Submodule 'third-party/TPCircularBuffer' (https://github.com/michaeltyson/TPCircularBuffer.git) registered for path 'third-party/TPCircularBuffer'
Submodule 'third-party/ViGEmClient' (https://github.com/LizardByte/Virtual-Gamepad-Emulation-Client.git) registered for path 'third-party/ViGEmClient'
Submodule 'third-party/build-deps' (https://github.com/LizardByte/build-deps.git) registered for path 'third-party/build-deps'
Submodule 'third-party/doxyconfig' (https://github.com/LizardByte/doxyconfig.git) registered for path 'third-party/doxyconfig'
Submodule 'third-party/googletest' (https://github.com/google/googletest.git) registered for path 'third-party/googletest'
Submodule 'third-party/inputtino' (https://github.com/games-on-whales/inputtino.git) registered for path 'third-party/inputtino'
Submodule 'third-party/libdisplaydevice' (https://github.com/LizardByte/libdisplaydevice.git) registered for path 'third-party/libdisplaydevice'
Submodule 'third-party/moonlight-common-c' (https://github.com/moonlight-stream/moonlight-common-c.git) registered for path 'third-party/moonlight-common-c'
Submodule 'third-party/nanors' (https://github.com/sleepybishop/nanors.git) registered for path 'third-party/nanors'
Submodule 'third-party/nv-codec-headers' (https://github.com/FFmpeg/nv-codec-headers.git) registered for path 'third-party/nv-codec-headers'
Submodule 'third-party/nvapi-open-source-sdk' (https://github.com/LizardByte/nvapi-open-source-sdk.git) registered for path 'third-party/nvapi-open-source-sdk'
Submodule 'third-party/tray' (https://github.com/LizardByte/tray.git) registered for path 'third-party/tray'
Submodule 'third-party/wayland-protocols' (https://gitlab.freedesktop.org/wayland/wayland-protocols.git) registered for path 'third-party/wayland-protocols'
Submodule 'third-party/wlr-protocols' (https://gitlab.freedesktop.org/wlroots/wlr-protocols.git) registered for path 'third-party/wlr-protocols'
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/packaging/linux/flatpak/deps/flatpak-builder-tools'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/packaging/linux/flatpak/deps/shared-modules'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/Simple-Web-Server'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/TPCircularBuffer'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/ViGEmClient'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/build-deps'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/doxyconfig'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/googletest'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/inputtino'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/libdisplaydevice'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/moonlight-common-c'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/nanors'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/nv-codec-headers'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/nvapi-open-source-sdk'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/wayland-protocols'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/wlr-protocols'...
Submodule path 'packaging/linux/flatpak/deps/flatpak-builder-tools': checked out 'aac65cf44cd4e008594a9d9ac1db08e2025067a6'
Submodule path 'packaging/linux/flatpak/deps/shared-modules': checked out '85cf3273f89eeede7dcb301f77a7ced32fecaa3a'
Submodule path 'third-party/Simple-Web-Server': checked out '4abe3491582b56c0b18fc35278aad33b2db29cdc'
Submodule path 'third-party/TPCircularBuffer': checked out '8833b3a73fab6530cc51e2063a85cced01714cfb'
Submodule path 'third-party/ViGEmClient': checked out '8d71f6740ffff4671cdadbca255ce528e3cd3fef'
Submodule path 'third-party/build-deps': checked out '249a31384468c3b01e06a58a1a39b12a292f2f86'
Submodule path 'third-party/doxyconfig': checked out '4501c7b191170cd2adcc12336821b65449186d85'
Submodule 'doxygen-awesome-css' (https://github.com/jothepro/doxygen-awesome-css.git) registered for path 'third-party/doxyconfig/doxygen-awesome-css'
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/doxyconfig/doxygen-awesome-css'...
Submodule path 'third-party/doxyconfig/doxygen-awesome-css': checked out '98dd024a650e71d8afd1215c27134aa779bdbbd7'
Submodule path 'third-party/googletest': checked out '6910c9d9165801d8827d628cb72eb7ea9dd538c5'
Submodule path 'third-party/inputtino': checked out '00ea0c28e87298b983831262896ee780a426a29c'
Submodule path 'third-party/libdisplaydevice': checked out '591387c58465376540fc9f505e938860e08fd47e'
Submodule 'third-party/doxyconfig' (https://github.com/LizardByte/doxyconfig.git) registered for path 'third-party/libdisplaydevice/third-party/doxyconfig'
Submodule 'third-party/googletest' (https://github.com/google/googletest.git) registered for path 'third-party/libdisplaydevice/third-party/googletest'
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/libdisplaydevice/third-party/doxyconfig'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/libdisplaydevice/third-party/googletest'...
Submodule path 'third-party/libdisplaydevice/third-party/doxyconfig': checked out '4501c7b191170cd2adcc12336821b65449186d85'
Submodule 'doxygen-awesome-css' (https://github.com/jothepro/doxygen-awesome-css.git) registered for path 'third-party/libdisplaydevice/third-party/doxyconfig/doxygen-awesome-css'
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/libdisplaydevice/third-party/doxyconfig/doxygen-awesome-css'...
Submodule path 'third-party/libdisplaydevice/third-party/doxyconfig/doxygen-awesome-css': checked out '98dd024a650e71d8afd1215c27134aa779bdbbd7'
Submodule path 'third-party/libdisplaydevice/third-party/googletest': checked out 'f8d7d77c06936315286eb55f8de22cd23c188571'
Submodule path 'third-party/moonlight-common-c': checked out 'd3d3e6cf015cd032ce02718246b52aabd1e12294'
Submodule 'enet' (https://github.com/cgutman/enet.git) registered for path 'third-party/moonlight-common-c/enet'
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/moonlight-common-c/enet'...
Submodule path 'third-party/moonlight-common-c/enet': checked out '44c85e16279553d9c052e572bcbfcd745fb74abf'
Submodule path 'third-party/nanors': checked out '19f07b513e924e471cadd141943c1ec4adc8d0e0'
Submodule path 'third-party/nv-codec-headers': checked out '22441b505d9d9afc1e3002290820909846c24bdc'
Submodule path 'third-party/nvapi-open-source-sdk': checked out 'cce4e90b629f712ae6eebafac97739bd1196cdef'
Submodule path 'third-party/tray': checked out 'd45306e686c90a18f5792a1541783d7bc8555bc6'
Submodule 'third-party/doxyconfig' (https://github.com/LizardByte/doxyconfig.git) registered for path 'third-party/tray/third-party/doxyconfig'
Submodule 'third-party/googletest' (https://github.com/google/googletest.git) registered for path 'third-party/tray/third-party/googletest'
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray/third-party/doxyconfig'...
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray/third-party/googletest'...
Submodule path 'third-party/tray/third-party/doxyconfig': checked out '4501c7b191170cd2adcc12336821b65449186d85'
Submodule 'doxygen-awesome-css' (https://github.com/jothepro/doxygen-awesome-css.git) registered for path 'third-party/tray/third-party/doxyconfig/doxygen-awesome-css'
Cloning into '/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray/third-party/doxyconfig/doxygen-awesome-css'...
Submodule path 'third-party/tray/third-party/doxyconfig/doxygen-awesome-css': checked out '98dd024a650e71d8afd1215c27134aa779bdbbd7'
Submodule path 'third-party/tray/third-party/googletest': checked out 'f8d7d77c06936315286eb55f8de22cd23c188571'
Submodule path 'third-party/wayland-protocols': checked out 'c7b582cb71ec145026a547dcd8abb9dfeba40541'
Submodule path 'third-party/wlr-protocols': checked out 'ffb89ac790096f6e6272822c8d5df7d0cc6fcdfa'
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/packaging/linux/flatpak/deps/flatpak-builder-tools
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/packaging/linux/flatpak/deps/shared-modules
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/Simple-Web-Server
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/TPCircularBuffer
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/ViGEmClient
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/build-deps
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/doxyconfig
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/doxyconfig/doxygen-awesome-css
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/googletest
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/inputtino
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/libdisplaydevice
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/libdisplaydevice/third-party/doxyconfig
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/libdisplaydevice/third-party/doxyconfig/doxygen-awesome-css
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/libdisplaydevice/third-party/googletest
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/moonlight-common-c
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/moonlight-common-c/enet
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/nanors
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/nv-codec-headers
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/nvapi-open-source-sdk
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray/third-party/doxyconfig
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray/third-party/doxyconfig/doxygen-awesome-css
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray/third-party/googletest
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/wayland-protocols
/Users/chill/Library/Caches/Homebrew/sunshine-beta--git/third-party/wlr-protocols
==> Installing sunshine-beta from lizardbyte/homebrew
==> Building docs: disabled
==> Disabled statically linking Boost libraries
==> cmake -S . -B build -DBUILD_WERROR=ON -DHOMEBREW_ALLOW_FETCHCONTENT=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 -
==> make
Last 15 lines from /Users/chill/Library/Logs/Homebrew/sunshine-beta/02.make:
../../../../build/assets/web/assets/_plugin-vue_export-helper-e3be04f7.css  320.97 kB │ gzip:  53.82 kB
../../../../build/assets/web/assets/password-e7073e71.js                      0.59 kB │ gzip:   0.38 kB
../../../../build/assets/web/assets/welcome-c7ccff22.js                       0.62 kB │ gzip:   0.40 kB
../../../../build/assets/web/assets/pin-daae1379.js                           0.82 kB │ gzip:   0.41 kB
../../../../build/assets/web/assets/ResourceCard-27b0a959.js                  1.72 kB │ gzip:   0.66 kB
../../../../build/assets/web/assets/Checkbox-32ab7a74.js                      2.11 kB │ gzip:   1.04 kB
../../../../build/assets/web/assets/troubleshooting-2b5c95ad.js               2.20 kB │ gzip:   0.86 kB
../../../../build/assets/web/assets/index-f2823a0e.js                         2.91 kB │ gzip:   1.14 kB
../../../../build/assets/web/assets/apps-9628d30a.js                          3.89 kB │ gzip:   1.56 kB
../../../../build/assets/web/assets/Navbar-819f254a.js                        6.16 kB │ gzip:   2.32 kB
../../../../build/assets/web/assets/config-57459fc8.js                       57.33 kB │ gzip:  12.24 kB
../../../../build/assets/web/assets/_plugin-vue_export-helper-917c8565.js   339.54 kB │ gzip: 116.90 kB
✓ built in 1.10s
[ 14%] Built target web-ui
make: *** [all] Error 2

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

And here's full log file:

cat /Users/chill/Library/Logs/Homebrew/sunshine-beta/02.make
2025-02-22 06:01:47 +0000

make

/opt/homebrew/opt/cmake/bin/cmake -P /tmp/sunshine-beta-20250222-42064-c160mz/build/CMakeFiles/VerifyGlobs.cmake
/opt/homebrew/opt/cmake/bin/cmake -S/tmp/sunshine-beta-20250222-42064-c160mz -B/tmp/sunshine-beta-20250222-42064-c160mz/build --check-build-system CMakeFiles/Makefile.cmake 0
/opt/homebrew/opt/cmake/bin/cmake -E cmake_progress_start /tmp/sunshine-beta-20250222-42064-c160mz/build/CMakeFiles /tmp/sunshine-beta-20250222-42064-c160mz/build//CMakeFiles/progress.marks
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/Makefile2 all
/Library/Developer/CommandLineTools/usr/bin/make  -f third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/build.make third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/depend
/Library/Developer/CommandLineTools/usr/bin/make  -f third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/build.make third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/depend
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/web-ui.dir/build.make CMakeFiles/web-ui.dir/depend
/Library/Developer/CommandLineTools/usr/bin/make  -f tests/googletest/googletest/CMakeFiles/gtest.dir/build.make tests/googletest/googletest/CMakeFiles/gtest.dir/depend
cd /tmp/sunshine-beta-20250222-42064-c160mz/build && /opt/homebrew/opt/cmake/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/sunshine-beta-20250222-42064-c160mz /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet /tmp/sunshine-beta-20250222-42064-c160mz/build /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/DependInfo.cmake "--color="
cd /tmp/sunshine-beta-20250222-42064-c160mz/build && /opt/homebrew/opt/cmake/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/sunshine-beta-20250222-42064-c160mz /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common /tmp/sunshine-beta-20250222-42064-c160mz/build /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/libdisplaydevice/src/common /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/DependInfo.cmake "--color="
cd /tmp/sunshine-beta-20250222-42064-c160mz/build && /opt/homebrew/opt/cmake/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/sunshine-beta-20250222-42064-c160mz /tmp/sunshine-beta-20250222-42064-c160mz /tmp/sunshine-beta-20250222-42064-c160mz/build /tmp/sunshine-beta-20250222-42064-c160mz/build /tmp/sunshine-beta-20250222-42064-c160mz/build/CMakeFiles/web-ui.dir/DependInfo.cmake "--color="
cd /tmp/sunshine-beta-20250222-42064-c160mz/build && /opt/homebrew/opt/cmake/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/sunshine-beta-20250222-42064-c160mz /tmp/sunshine-beta-20250222-42064-c160mz/third-party/googletest/googletest /tmp/sunshine-beta-20250222-42064-c160mz/build /tmp/sunshine-beta-20250222-42064-c160mz/build/tests/googletest/googletest /tmp/sunshine-beta-20250222-42064-c160mz/build/tests/googletest/googletest/CMakeFiles/gtest.dir/DependInfo.cmake "--color="
/Library/Developer/CommandLineTools/usr/bin/make  -f tests/googletest/googletest/CMakeFiles/gtest.dir/build.make tests/googletest/googletest/CMakeFiles/gtest.dir/build
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/web-ui.dir/build.make CMakeFiles/web-ui.dir/build
/Library/Developer/CommandLineTools/usr/bin/make  -f third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/build.make third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/build
/Library/Developer/CommandLineTools/usr/bin/make  -f third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/build.make third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/build
[  4%] Building CXX object third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/json_serializer.cpp.o
[  2%] Installing NPM Dependencies and Building the Web UI
[  4%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/callbacks.c.o
[  4%] Building CXX object tests/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[  4%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/compress.c.o
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/libdisplaydevice/src/common && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++  -I/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include -I/tmp/sunshine-beta-20250222-42064-c160mz/build/_deps/json-src/include -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -MD -MT third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/json_serializer.cpp.o -MF CMakeFiles/libdisplaydevice_common.dir/json_serializer.cpp.o.d -o CMakeFiles/libdisplaydevice_common.dir/json_serializer.cpp.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/json_serializer.cpp
cd /tmp/sunshine-beta-20250222-42064-c160mz && /opt/homebrew/bin/npm install
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAS_FCNTL=1 -DHAS_GETADDRINFO=1 -DHAS_GETNAMEINFO=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_IOCTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -Wno-error -MD -MT third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/compress.c.o -MF CMakeFiles/enet.dir/compress.c.o.d -o CMakeFiles/enet.dir/compress.c.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/compress.c
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/tests/googletest/googletest && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DBOOST_LOG_DYN_LINK -DSUNSHINE_PLATFORM=\"macos\" -I/tmp/sunshine-beta-20250222-42064-c160mz -I/tmp/sunshine-beta-20250222-42064-c160mz/build -I/tmp/sunshine-beta-20250222-42064-c160mz/third-party/googletest/googletest/include -I/tmp/sunshine-beta-20250222-42064-c160mz/third-party/googletest/googletest -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/build-deps/dist/Darwin-arm64/include -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/nanors/deps/obl -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/nanors -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/nv-codec-headers/include -isystem /opt/homebrew/Cellar/miniupnpc/2.3.0/include -O3 -DNDEBUG -std=c++14 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk  -DGTEST_HAS_PTHREAD=1   -MD -MT tests/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -MF CMakeFiles/gtest.dir/src/gtest-all.cc.o.d -o CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/googletest/googletest/src/gtest-all.cc
[  5%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/host.c.o
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAS_FCNTL=1 -DHAS_GETADDRINFO=1 -DHAS_GETNAMEINFO=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_IOCTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -Wno-error -MD -MT third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/callbacks.c.o -MF CMakeFiles/enet.dir/callbacks.c.o.d -o CMakeFiles/enet.dir/callbacks.c.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/callbacks.c
[  6%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/list.c.o
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAS_FCNTL=1 -DHAS_GETADDRINFO=1 -DHAS_GETNAMEINFO=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_IOCTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -Wno-error -MD -MT third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/list.c.o -MF CMakeFiles/enet.dir/list.c.o.d -o CMakeFiles/enet.dir/list.c.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/list.c
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAS_FCNTL=1 -DHAS_GETADDRINFO=1 -DHAS_GETNAMEINFO=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_IOCTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -Wno-error -MD -MT third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/host.c.o -MF CMakeFiles/enet.dir/host.c.o.d -o CMakeFiles/enet.dir/host.c.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/host.c
[  7%] Building CXX object third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/logging.cpp.o
[  8%] Building CXX object third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/json.cpp.o
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/libdisplaydevice/src/common && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++  -I/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include -I/tmp/sunshine-beta-20250222-42064-c160mz/build/_deps/json-src/include -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -MD -MT third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/json.cpp.o -MF CMakeFiles/libdisplaydevice_common.dir/json.cpp.o.d -o CMakeFiles/libdisplaydevice_common.dir/json.cpp.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/json.cpp
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/libdisplaydevice/src/common && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++  -I/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include -I/tmp/sunshine-beta-20250222-42064-c160mz/build/_deps/json-src/include -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -MD -MT third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/logging.cpp.o -MF CMakeFiles/libdisplaydevice_common.dir/logging.cpp.o.d -o CMakeFiles/libdisplaydevice_common.dir/logging.cpp.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/logging.cpp
[  9%] Building CXX object third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/file_settings_persistence.cpp.o
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/libdisplaydevice/src/common && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++  -I/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include -I/tmp/sunshine-beta-20250222-42064-c160mz/build/_deps/json-src/include -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -MD -MT third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/file_settings_persistence.cpp.o -MF CMakeFiles/libdisplaydevice_common.dir/file_settings_persistence.cpp.o.d -o CMakeFiles/libdisplaydevice_common.dir/file_settings_persistence.cpp.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/file_settings_persistence.cpp
In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/json_serializer.cpp:8:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include/display_device/types.h:8:10: fatal error: 'cstdint' file not found
    8 | #include <cstdint>
      |          ^~~~~~~~~
In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/file_settings_persistence.cpp:6:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include/display_device/file_settings_persistence.h:8:10: fatal error: 'filesystem' file not found
    8 | #include <filesystem>
      |          ^~~~~~~~~~~~
1 error generated.
In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/logging.cpp:10:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include/display_device/logging.h:8:10: fatal error: 'functional' file not found
    8 | #include <functional>
      |          ^~~~~~~~~~~~
In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/json.cpp:6:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include/display_device/json.h:8:10: fatal error: 'set' file not found
    8 | #include <set>
      |          ^~~~~
In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/googletest/googletest/src/gtest-all.cc:38:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/googletest/googletest/include/gtest/gtest.h:52:10: fatal error: 'cstddef' file not found
   52 | #include <cstddef>
      |          ^~~~~~~~~
1 error generated.
make[2]: *** [third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/file_settings_persistence.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/logging.cpp.o] Error 1
[  9%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/peer.c.o
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAS_FCNTL=1 -DHAS_GETADDRINFO=1 -DHAS_GETNAMEINFO=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_IOCTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -Wno-error -MD -MT third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/peer.c.o -MF CMakeFiles/enet.dir/peer.c.o.d -o CMakeFiles/enet.dir/peer.c.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/peer.c
[ 10%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/packet.c.o
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAS_FCNTL=1 -DHAS_GETADDRINFO=1 -DHAS_GETNAMEINFO=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_IOCTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -Wno-error -MD -MT third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/packet.c.o -MF CMakeFiles/enet.dir/packet.c.o.d -o CMakeFiles/enet.dir/packet.c.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/packet.c
1 error generated.
1 error generated.
make[2]: *** [third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/json_serializer.cpp.o] Error 1
make[2]: *** [third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/json.cpp.o] Error 1
make[1]: *** [third-party/libdisplaydevice/src/common/CMakeFiles/libdisplaydevice_common.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 13%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/protocol.c.o
[ 13%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/win32.c.o
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAS_FCNTL=1 -DHAS_GETADDRINFO=1 -DHAS_GETNAMEINFO=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_IOCTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -Wno-error -MD -MT third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/protocol.c.o -MF CMakeFiles/enet.dir/protocol.c.o.d -o CMakeFiles/enet.dir/protocol.c.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/protocol.c
[ 13%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/unix.c.o
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAS_FCNTL=1 -DHAS_GETADDRINFO=1 -DHAS_GETNAMEINFO=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_IOCTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -Wno-error -MD -MT third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/win32.c.o -MF CMakeFiles/enet.dir/win32.c.o.d -o CMakeFiles/enet.dir/win32.c.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/win32.c
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAS_FCNTL=1 -DHAS_GETADDRINFO=1 -DHAS_GETNAMEINFO=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_IOCTL=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -isystem /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk   -Wno-error -MD -MT third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/unix.c.o -MF CMakeFiles/enet.dir/unix.c.o.d -o CMakeFiles/enet.dir/unix.c.o -c /tmp/sunshine-beta-20250222-42064-c160mz/third-party/moonlight-common-c/enet/unix.c
1 error generated.
make[2]: *** [tests/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] Error 1
make[1]: *** [tests/googletest/googletest/CMakeFiles/gtest.dir/all] Error 2
[ 14%] Linking C static library libenet.a
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/opt/cmake/bin/cmake -P CMakeFiles/enet.dir/cmake_clean_target.cmake
cd /tmp/sunshine-beta-20250222-42064-c160mz/build/third-party/moonlight-common-c/enet && /opt/homebrew/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/enet.dir/link.txt --verbose=1
/usr/bin/ar qc libenet.a CMakeFiles/enet.dir/callbacks.c.o CMakeFiles/enet.dir/compress.c.o CMakeFiles/enet.dir/host.c.o CMakeFiles/enet.dir/list.c.o CMakeFiles/enet.dir/packet.c.o CMakeFiles/enet.dir/peer.c.o CMakeFiles/enet.dir/protocol.c.o CMakeFiles/enet.dir/unix.c.o CMakeFiles/enet.dir/win32.c.o
/usr/bin/ranlib libenet.a
[ 14%] Built target enet

added 136 packages, and audited 137 packages in 16s

34 packages are looking for funding
  run `npm fund` for details

6 vulnerabilities (3 moderate, 3 high)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm notice
npm notice New major version of npm available! 10.9.2 -> 11.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.1.0
npm notice To update run: npm install -g [email protected]
npm notice
cd /tmp/sunshine-beta-20250222-42064-c160mz && /opt/homebrew/opt/cmake/bin/cmake -E env SUNSHINE_BUILD_HOMEBREW=true SUNSHINE_SOURCE_ASSETS_DIR= SUNSHINE_ASSETS_DIR= /opt/homebrew/bin/npm run build

> [email protected] build
> vite build --debug

Building for homebrew, using default paths
2025-02-22T06:02:04.304Z vite:config bundled config file loaded in 51.73ms
2025-02-22T06:02:04.335Z vite:config using resolved config: {
  resolve: {
    mainFields: [ 'module', 'jsnext:main', 'jsnext' ],
    browserField: true,
    conditions: [],
    extensions: [
      '.mjs',  '.js',
      '.mts',  '.ts',
      '.jsx',  '.tsx',
      '.json'
    ],
    dedupe: [ 'vue' ],
    preserveSymlinks: false,
    alias: [ [Object], [Object], [Object] ]
  },
  base: './',
  plugins: [
    'vite:build-metadata',
    'vite:watch-package-data',
    'vite:pre-alias',
    'alias',
    'vite:modulepreload-polyfill',
    'vite:resolve',
    'vite:html-inline-proxy',
    'vite:css',
    'vite:esbuild',
    'vite:json',
    'vite:wasm-helper',
    'vite:worker',
    'vite:asset',
    'vite:vue',
    'vite-plugin-ejs',
    'vite:wasm-fallback',
    'vite:define',
    'vite:css-post',
    'vite:build-html',
    'vite:worker-import-meta-url',
    'vite:asset-import-meta-url',
    'vite:force-systemjs-wrap-complete',
    'commonjs',
    'vite:data-uri',
    'vite:dynamic-import-vars',
    'vite:import-glob',
    'vite:build-import-analysis',
    'vite:esbuild-transpile',
    'vite:terser',
    'vite:reporter',
    'vite:load-fallback'
  ],
  root: '/private/tmp/sunshine-beta-20250222-42064-c160mz/src_assets/common/assets/web',
  build: {
    target: [ 'es2020', 'edge88', 'firefox78', 'chrome87', 'safari14' ],
    cssTarget: [ 'es2020', 'edge88', 'firefox78', 'chrome87', 'safari14' ],
    outDir: '/private/tmp/sunshine-beta-20250222-42064-c160mz/build/assets/web',
    assetsDir: 'assets',
    assetsInlineLimit: 4096,
    cssCodeSplit: true,
    sourcemap: false,
    rollupOptions: { input: [Object] },
    minify: 'esbuild',
    terserOptions: {},
    write: true,
    emptyOutDir: null,
    copyPublicDir: true,
    manifest: false,
    lib: false,
    ssr: false,
    ssrManifest: false,
    ssrEmitAssets: false,
    reportCompressedSize: true,
    chunkSizeWarningLimit: 500,
    watch: null,
    commonjsOptions: { include: [Array], extensions: [Array] },
    dynamicImportVarsOptions: { warnOnError: true, exclude: [Array] },
    modulePreload: { polyfill: true },
    cssMinify: true
  },
  optimizeDeps: {
    disabled: 'build',
    force: undefined,
    esbuildOptions: { preserveSymlinks: false }
  },
  define: {
    __VUE_OPTIONS_API__: true,
    __VUE_PROD_DEVTOOLS__: false,
    __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false
  },
  ssr: {
    format: 'esm',
    target: 'node',
    external: [],
    optimizeDeps: { disabled: true, esbuildOptions: [Object] }
  },
  configFile: '/private/tmp/sunshine-beta-20250222-42064-c160mz/vite.config.js',
  configFileDependencies: [ '/private/tmp/sunshine-beta-20250222-42064-c160mz/vite.config.js' ],
  inlineConfig: {
    root: undefined,
    base: undefined,
    mode: undefined,
    configFile: undefined,
    logLevel: undefined,
    clearScreen: undefined,
    optimizeDeps: { force: undefined },
    build: {}
  },
  rawBase: './',
  publicDir: '/private/tmp/sunshine-beta-20250222-42064-c160mz/src_assets/common/assets/web/public',
  cacheDir: '/private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/.vite',
  command: 'build',
  mode: 'production',
  isWorker: false,
  mainConfig: null,
  isProduction: true,
  css: undefined,
  esbuild: { jsxDev: false },
  server: {
    preTransformRequests: true,
    sourcemapIgnoreList: [Function: isInNodeModules],
    middlewareMode: false,
    fs: { strict: true, allow: [Array], deny: [Array] }
  },
  preview: {
    port: undefined,
    strictPort: undefined,
    host: undefined,
    allowedHosts: undefined,
    https: undefined,
    open: undefined,
    proxy: undefined,
    cors: undefined,
    headers: undefined
  },
  envDir: '/private/tmp/sunshine-beta-20250222-42064-c160mz/src_assets/common/assets/web',
  env: { BASE_URL: './', MODE: 'production', DEV: false, PROD: true },
  assetsInclude: [Function: assetsInclude],
  logger: {
    hasWarned: false,
    info: [Function: info],
    warn: [Function: warn],
    warnOnce: [Function: warnOnce],
    error: [Function: error],
    clearScreen: [Function: clearScreen],
    hasErrorLogged: [Function: hasErrorLogged]
  },
  packageCache: Map(5) {
    'fnpd_/private/tmp/sunshine-beta-20250222-42064-c160mz' => {
      dir: '/private/tmp/sunshine-beta-20250222-42064-c160mz',
      data: [Object],
      hasSideEffects: [Function: hasSideEffects],
      webResolvedImports: {},
      nodeResolvedImports: {},
      setResolvedCache: [Function: setResolvedCache],
      getResolvedCache: [Function: getResolvedCache]
    },
    'fnpd_/private/tmp/sunshine-beta-20250222-42064-c160mz/src_assets/common/assets/web' => {
      dir: '/private/tmp/sunshine-beta-20250222-42064-c160mz',
      data: [Object],
      hasSideEffects: [Function: hasSideEffects],
      webResolvedImports: {},
      nodeResolvedImports: {},
      setResolvedCache: [Function: setResolvedCache],
      getResolvedCache: [Function: getResolvedCache]
    },
    'fnpd_/private/tmp/sunshine-beta-20250222-42064-c160mz/src_assets/common/assets' => {
      dir: '/private/tmp/sunshine-beta-20250222-42064-c160mz',
      data: [Object],
      hasSideEffects: [Function: hasSideEffects],
      webResolvedImports: {},
      nodeResolvedImports: {},
      setResolvedCache: [Function: setResolvedCache],
      getResolvedCache: [Function: getResolvedCache]
    },
    'fnpd_/private/tmp/sunshine-beta-20250222-42064-c160mz/src_assets/common' => {
      dir: '/private/tmp/sunshine-beta-20250222-42064-c160mz',
      data: [Object],
      hasSideEffects: [Function: hasSideEffects],
      webResolvedImports: {},
      nodeResolvedImports: {},
      setResolvedCache: [Function: setResolvedCache],
      getResolvedCache: [Function: getResolvedCache]
    },
    'fnpd_/private/tmp/sunshine-beta-20250222-42064-c160mz/src_assets' => {
      dir: '/private/tmp/sunshine-beta-20250222-42064-c160mz',
      data: [Object],
      hasSideEffects: [Function: hasSideEffects],
      webResolvedImports: {},
      nodeResolvedImports: {},
      setResolvedCache: [Function: setResolvedCache],
      getResolvedCache: [Function: getResolvedCache]
    },
    set: [Function (anonymous)]
  },
  createResolver: [Function: createResolver],
  worker: {
    format: 'iife',
    plugins: [
      'vite:build-metadata',
      'vite:watch-package-data',
      'vite:pre-alias',
      'alias',
      'vite:modulepreload-polyfill',
      'vite:resolve',
      'vite:html-inline-proxy',
      'vite:css',
      'vite:esbuild',
      'vite:json',
      'vite:wasm-helper',
      'vite:worker',
      'vite:asset',
      'vite:wasm-fallback',
      'vite:define',
      'vite:css-post',
      'vite:build-html',
      'vite:worker-import-meta-url',
      'vite:asset-import-meta-url',
      'vite:force-systemjs-wrap-complete',
      'commonjs',
      'vite:data-uri',
      'vite:worker-post',
      'vite:dynamic-import-vars',
      'vite:import-glob',
      'vite:build-import-analysis',
      'vite:esbuild-transpile',
      'vite:terser',
      'vite:load-fallback'
    ],
    rollupOptions: {},
    getSortedPlugins: [Function: getSortedPlugins],
    getSortedPluginHooks: [Function: getSortedPluginHooks]
  },
  appType: 'spa',
  experimental: { importGlobRestoreExtension: false, hmrPartialAccept: false },
  webSocketToken: 'wGGyc2G9BkOU',
  additionalAllowedHosts: [],
  getSortedPlugins: [Function: getSortedPlugins],
  getSortedPluginHooks: [Function: getSortedPluginHooks]
}
vite v4.5.9 building for production...

./assets/css/sunshine.css doesn't exist at build time, it will remain unchanged to be resolved at runtime
transforming...
2025-02-22T06:02:04.451Z vite:esbuild 122.80ms tsconfck init /private/tmp/sunshine-beta-20250222-42064-c160mz
2025-02-22T06:02:04.937Z vite:resolve 41.96ms ../webfonts/fa-brands-400.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2
2025-02-22T06:02:04.937Z vite:resolve 42.01ms ../webfonts/fa-regular-400.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2
2025-02-22T06:02:04.937Z vite:resolve 42.04ms ../webfonts/fa-solid-900.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2
2025-02-22T06:02:04.937Z vite:resolve 42.05ms ../webfonts/fa-brands-400.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2
2025-02-22T06:02:04.937Z vite:resolve 42.15ms ../webfonts/fa-solid-900.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2
2025-02-22T06:02:04.937Z vite:resolve 42.16ms ../webfonts/fa-regular-400.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2
2025-02-22T06:02:04.937Z vite:resolve 42.21ms ../webfonts/fa-solid-900.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2
2025-02-22T06:02:04.937Z vite:resolve 42.24ms ../webfonts/fa-brands-400.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2
2025-02-22T06:02:04.937Z vite:resolve 42.26ms ../webfonts/fa-regular-400.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2
2025-02-22T06:02:04.937Z vite:resolve 42.27ms ../webfonts/fa-v4compatibility.woff2 -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.woff2
2025-02-22T06:02:04.940Z vite:resolve 0.20ms ../webfonts/fa-brands-400.ttf -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf
2025-02-22T06:02:04.941Z vite:resolve 0.07ms ../webfonts/fa-regular-400.ttf -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf
2025-02-22T06:02:04.941Z vite:resolve 0.06ms ../webfonts/fa-v4compatibility.ttf -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.ttf
2025-02-22T06:02:04.941Z vite:resolve 0.05ms ../webfonts/fa-solid-900.ttf -> /private/tmp/sunshine-beta-20250222-42064-c160mz/node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf
✓ 143 modules transformed.
rendering chunks...
computing gzip size...
../../../../build/assets/web/pin.html                                         1.66 kB │ gzip:   0.80 kB
../../../../build/assets/web/welcome.html                                     2.80 kB │ gzip:   1.02 kB
../../../../build/assets/web/config.html                                      3.29 kB │ gzip:   1.11 kB
../../../../build/assets/web/password.html                                    3.39 kB │ gzip:   1.05 kB
../../../../build/assets/web/index.html                                       3.60 kB │ gzip:   1.23 kB
../../../../build/assets/web/assets/fa-v4compatibility-2aca24b3.woff2         4.80 kB
../../../../build/assets/web/troubleshooting.html                             6.55 kB │ gzip:   1.79 kB
../../../../build/assets/web/assets/fa-v4compatibility-a6274a12.ttf          10.84 kB
../../../../build/assets/web/apps.html                                       15.43 kB │ gzip:   3.51 kB
../../../../build/assets/web/assets/fa-regular-400-c732f106.woff2            25.46 kB
../../../../build/assets/web/assets/fa-regular-400-64f9fb62.ttf              67.98 kB
../../../../build/assets/web/assets/fa-brands-400-c411f119.woff2            118.07 kB
../../../../build/assets/web/assets/fa-solid-900-1f0189e0.woff2             157.19 kB
../../../../build/assets/web/assets/fa-brands-400-bc844b5b.ttf              209.38 kB
../../../../build/assets/web/assets/fa-solid-900-31f099c1.ttf               423.68 kB
../../../../build/assets/web/assets/config-6530cc6e.css                       0.10 kB │ gzip:   0.12 kB
../../../../build/assets/web/assets/Navbar-13079613.css                       0.67 kB │ gzip:   0.38 kB
../../../../build/assets/web/assets/_plugin-vue_export-helper-e3be04f7.css  320.97 kB │ gzip:  53.82 kB
../../../../build/assets/web/assets/password-e7073e71.js                      0.59 kB │ gzip:   0.38 kB
../../../../build/assets/web/assets/welcome-c7ccff22.js                       0.62 kB │ gzip:   0.40 kB
../../../../build/assets/web/assets/pin-daae1379.js                           0.82 kB │ gzip:   0.41 kB
../../../../build/assets/web/assets/ResourceCard-27b0a959.js                  1.72 kB │ gzip:   0.66 kB
../../../../build/assets/web/assets/Checkbox-32ab7a74.js                      2.11 kB │ gzip:   1.04 kB
../../../../build/assets/web/assets/troubleshooting-2b5c95ad.js               2.20 kB │ gzip:   0.86 kB
../../../../build/assets/web/assets/index-f2823a0e.js                         2.91 kB │ gzip:   1.14 kB
../../../../build/assets/web/assets/apps-9628d30a.js                          3.89 kB │ gzip:   1.56 kB
../../../../build/assets/web/assets/Navbar-819f254a.js                        6.16 kB │ gzip:   2.32 kB
../../../../build/assets/web/assets/config-57459fc8.js                       57.33 kB │ gzip:  12.24 kB
../../../../build/assets/web/assets/_plugin-vue_export-helper-917c8565.js   339.54 kB │ gzip: 116.90 kB
✓ built in 1.10s
[ 14%] Built target web-ui
make: *** [all] Error 2

HOMEBREW_VERSION: 4.4.21
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2e57f8f794af60804dcc185d1807c6d6ca10418c
Last commit: 5 days ago
Branch: stable
Core tap JSON: 22 Feb 05:55 UTC
Core cask tap JSON: 22 Feb 05:55 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_NO_BOOTSNAP: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.3.7 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.7/bin/ruby
CPU: deca-core 64-bit arm_firestorm_icestorm
Clang: 16.0.0 build 1600
Git: 2.45.2 => /opt/homebrew/bin/git
Curl: 8.12.1 => /opt/homebrew/opt/curl/bin/curl
macOS: 15.3-arm64
CLT: 16.2.0.0.1.1733547573
Xcode: 16.2
Rosetta 2: false

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j10
CMAKE_PREFIX_PATH: /opt/homebrew/opt/curl:/opt/homebrew/opt/icu4c@76:/opt/homebrew
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /opt/homebrew/opt/graphviz/lib/pkgconfig:/opt/homebrew/opt/pkgconf/lib/pkgconfig:/opt/homebrew/opt/brotli/lib/pkgconfig:/opt/homebrew/opt/libnghttp2/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig:/opt/homebrew/opt/libssh2/lib/pkgconfig:/opt/homebrew/opt/rtmpdump/lib/pkgconfig:/opt/homebrew/opt/lz4/lib/pkgconfig:/opt/homebrew/opt/xz/lib/pkgconfig:/opt/homebrew/opt/zstd/lib/pkgconfig:/opt/homebrew/opt/curl/lib/pkgconfig:/opt/homebrew/opt/miniupnpc/lib/pkgconfig:/opt/homebrew/opt/opus/lib/pkgconfig:/opt/homebrew/opt/icu4c@76/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/15
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
ACLOCAL_PATH: /opt/homebrew/opt/curl/share/aclocal:/opt/homebrew/share/aclocal
PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/cmake/bin:/opt/homebrew/opt/doxygen/bin:/opt/homebrew/opt/graphviz/bin:/opt/homebrew/opt/node/bin:/opt/homebrew/opt/pkgconf/bin:/opt/homebrew/opt/brotli/bin:/opt/homebrew/opt/openssl@3/bin:/opt/homebrew/opt/rtmpdump/bin:/opt/homebrew/opt/lz4/bin:/opt/homebrew/opt/xz/bin:/opt/homebrew/opt/zstd/bin:/opt/homebrew/opt/curl/bin:/opt/homebrew/opt/miniupnpc/bin:/opt/homebrew/opt/icu4c@76/bin:/usr/bin:/bin:/usr/sbin:/sbin

nekitk avatar Feb 23 '25 04:02 nekitk

==> Installing lizardbyte/homebrew/sunshine ==> Building docs: disabled ==> Disabled statically linking Boost libraries ==> cmake -S . -B build -DBUILD_WERROR=ON -DHOMEBREW_ALLOW_FETCHCONTENT=ON -DOPE Last 15 lines from /Users/zyc/Library/Logs/Homebrew/sunshine/01.cmake:

-- nlohmann_json v3.11.x package not found in the system. Falling back to FetchContent. -- Using the multi-header code from /tmp/sunshine-20250225-57047-qul1y0/build/_deps/json-src/include/ CMake Warning at third-party/libdisplaydevice/src/CMakeLists.txt:10 (message): MacOS is not supported yet.

-- Found OpenSSL: /opt/homebrew/opt/openssl@3/lib/libcrypto.dylib (found version "3.4.1") -- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "2.3.0") -- Checking for module 'libcurl' -- Found libcurl, version 8.12.1 -- Checking for module 'miniupnpc' -- Found miniupnpc, version 2.3.1 -- Configuring incomplete, errors occurred!

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

Jumerry avatar Feb 25 '25 13:02 Jumerry

@nekitk your error is here:

In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/json_serializer.cpp:8:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include/display_device/types.h:8:10: fatal error: 'cstdint' file not found
    8 | #include <cstdint>
      |          ^~~~~~~~~
In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/file_settings_persistence.cpp:6:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include/display_device/file_settings_persistence.h:8:10: fatal error: 'filesystem' file not found
    8 | #include <filesystem>
      |          ^~~~~~~~~~~~
1 error generated.
In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/logging.cpp:10:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include/display_device/logging.h:8:10: fatal error: 'functional' file not found
    8 | #include <functional>
      |          ^~~~~~~~~~~~
In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/json.cpp:6:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/libdisplaydevice/src/common/include/display_device/json.h:8:10: fatal error: 'set' file not found
    8 | #include <set>
      |          ^~~~~
In file included from /tmp/sunshine-beta-20250222-42064-c160mz/third-party/googletest/googletest/src/gtest-all.cc:38:
/tmp/sunshine-beta-20250222-42064-c160mz/third-party/googletest/googletest/include/gtest/gtest.h:52:10: fatal error: 'cstddef' file not found
   52 | #include <cstddef>
      |          ^~~~~~~~~
1 error generated.

What's the fix though? I don't know at this point. As far as I know these are part of the standard library.

ReenigneArcher avatar Feb 25 '25 14:02 ReenigneArcher

Instaling the latest xcode fixed this for me. I don't really understand gcc setup on OSX, but both the default and the brew version threw up this error. After installing xcode from the app store it built succesfully.

benjaminwootton avatar Feb 28 '25 13:02 benjaminwootton

I somehow managed to fix it by using Claude here are the instructions I followed, I wont recommend it cause I'm slight tipsy. https://claude.ai/share/1831c295-f19b-466f-9724-af74fec78239

dkpoulsen avatar Feb 28 '25 19:02 dkpoulsen

After tried thoudans of method with chatgpt and deepseek, and checked with

I somehow managed to fix it by using Claude here are the instructions I followed, I wont recommend it cause I'm slight tipsy. https://claude.ai/share/1831c295-f19b-466f-9724-af74fec78239

Any kind of Force Sunshine’s Build to Use the Correct Libraries like

cmake -S . -B build \
  -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 \
  -DOPENSSL_SSL_LIBRARY=/opt/homebrew/opt/openssl@3/lib/libssl.dylib \
  -DOPENSSL_CRYPTO_LIBRARY=/opt/homebrew/opt/openssl@3/lib/libcrypto.dylib \
  ...
make
make install

doesn't work for me. And I found out they hard-code openssl for older Intel-based macOS builds!

So the ultimate solution is

brew edit sunshine-beta

look for lines referencing openssl and change every openssl into openssl@3!!!

and add

    # this chunk of code might be optional
    if Hardware::CPU.arm?
      ENV.append "LDFLAGS", "-L#{Formula["openssl@3"].opt_lib}"
      ENV.append "CPPFLAGS", "-I#{Formula["openssl@3"].opt_include}"
    end

before

args << "-DCUDA_FAIL_ON_MISSING=OFF" if OS.linux?

Last, brew reinstall --build-from-source sunshine-beta

XiongjieDai avatar Mar 14 '25 04:03 XiongjieDai

If the above step didn't work, maybe this step works.

Step 2: Force Sunshine’s Build to Use the Correct Libraries You want to ensure all references to OpenSSL point to /opt/homebrew/opt/openssl@3 instead of /usr/local/opt/openssl. There are two common approaches: (A) building manually from source, or (B) passing extra arguments via Homebrew.

(A) Building Manually from Source Clone the Sunshine repo (or your fork) and enter it:

git clone https://github.com/LizardByte/Sunshine.git
cd Sunshine
# If you need a specific tag or branch, checkout it out here, e.g.:
# git checkout v2025.312.131644

Run CMake with explicit OpenSSL paths:

cmake -S . -B build \
  -DCMAKE_BUILD_TYPE=Release \
  -DOPENSSL_ROOT_DIR="/opt/homebrew/opt/openssl@3" \
  -DOPENSSL_SSL_LIBRARY="/opt/homebrew/opt/openssl@3/lib/libssl.dylib" \
  -DOPENSSL_CRYPTO_LIBRARY="/opt/homebrew/opt/openssl@3/lib/libcrypto.dylib" \
  -DCMAKE_INSTALL_PREFIX="/opt/homebrew" \
  -DBUILD_TESTING=ON   # or OFF if you want to skip tests

Compile and install:

cmake --build build
cmake --install build

(B) Forcing Correct Libraries via Homebrew When installing from a Homebrew formula (e.g., sunshine-beta), you can pass additional CMake options after --. For example:

export OPENSSL_ROOT_DIR="/opt/homebrew/opt/openssl@3"
export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include"

brew reinstall --build-from-source sunshine-beta \
  -- \
  -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 \
  -DOPENSSL_SSL_LIBRARY=/opt/homebrew/opt/openssl@3/lib/libssl.dylib \
  -DOPENSSL_CRYPTO_LIBRARY=/opt/homebrew/opt/openssl@3/lib/libcrypto.dylib

Note: If the formula itself forces a /usr/local/opt/openssl path internally, these flags may be overridden. In that case, see Last Step (patch the formula).

XiongjieDai avatar Mar 14 '25 05:03 XiongjieDai

Unfortunately, none of these fixes worked for me so far. But seems like the right direction.

kayakyakr avatar Mar 19 '25 17:03 kayakyakr

That's the pre release

ReenigneArcher avatar Mar 23 '25 11:03 ReenigneArcher

I have attempted to do the build on a hackintosh (with an i7700 and a 6600) VM in Sequoia withe the attempted solutions with brew as above, but I still get similar errors. Kind of looks like we are on track with something, but I still cant solve it.

00.options.out.txt 01.cmake.cc.txt 01.cmake.txt 02.make.cc.txt 02.make.txt

alotofentropy avatar Apr 10 '25 06:04 alotofentropy

Same, None of these worked for me....

alhuges avatar Apr 14 '25 11:04 alhuges

I faced the same problem on mac mini m4. make: *** [all] Error 2

ZSMX avatar Apr 14 '25 15:04 ZSMX

I faced the same problem on mac mini m4. make: *** [all] Error 2

I'm using macOS 15.4 on an apple m4 The clang version from xcode 16.3 is 17.0.0 build 1700 I saw in my error log: /opt/homebrew/opt/icu4c@77/include/unicode/localpointer.h:561:26: error: 'auto' not allowed in template parameter until C++17 So I used brew edit sunshine-beta and added args << "-DCMAKE_CXX_STANDARD=17" Then run brew install sunshine-beta and it worked

kairlec avatar Apr 14 '25 16:04 kairlec

I faced the same problem on mac mini m4. make: *** [all] Error 2

I'm using macOS 15.4 on an apple m4 The clang version from xcode 16.3 is 17.0.0 build 1700 I saw in my error log: /opt/homebrew/opt/icu4c@77/include/unicode/localpointer.h:561:26: error: 'auto' not allowed in template parameter until C++17 So I used brew edit sunshine-beta and added args << "-DCMAKE_CXX_STANDARD=17" Then run brew install sunshine-beta and it worked

It worked! Thanks

alhuges avatar Apr 14 '25 17:04 alhuges

Thank you! Homebrew must be messing with the value on their own. I have put up a PR https://github.com/LizardByte/Sunshine/pull/3797, but I don't know if it will fix the original issue reported here.

ReenigneArcher avatar Apr 14 '25 17:04 ReenigneArcher

Tried both 20 and 17, no change for me, still 'filesystem'/'cstddef' file not found

clang -v

Apple clang version 17.0.0 (clang-1700.0.13.3)
Target: arm64-apple-darwin24.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

nekitk avatar Apr 16 '25 03:04 nekitk

Installing the sunshine-beta on an M1 with macOS 15.5 worked without requiring any changes 👍

melgu avatar May 19 '25 10:05 melgu

Can confirm. sunshine-beta worked on an M3 Max with macOS 15.4.2 as well. 👍

74k1 avatar May 20 '25 21:05 74k1

I'm not able to install on MacOS 15.5. I get the same error 1 and error 2 messages...

TylerStegall avatar May 30 '25 21:05 TylerStegall

New errors are probably this: https://github.com/LizardByte/Sunshine/issues/3180#issuecomment-2924016998

ReenigneArcher avatar May 31 '25 02:05 ReenigneArcher

Mac M2 Sequoia 15.0.1 has same error. When I launched Sunshine today, it reported an error about a library not being loaded. “Library not loaded: /opt/homebrew/opt/icu4c/lib/libicudata.74.dylib” Then I executed brew update and brew upgrade, but it didn't work. When I reinstalled it, a compilation error occurred.

bohemian-lh avatar May 31 '25 11:05 bohemian-lh

@bohemian-lh see https://github.com/LizardByte/Sunshine/blob/a857c8b7154491c0770b4c38c96463d4ce95419e/packaging/sunshine.rb#L237-L238

ReenigneArcher avatar May 31 '25 13:05 ReenigneArcher

New errors are probably this: #3180 (comment)

Just wanted to say that the fix provided in this thread fixed the install issue (error code 2). Thanks!

Xryphon avatar Jun 01 '25 03:06 Xryphon

@bohemian-lh see

Sunshine/packaging/sunshine.rb

Lines 237 to 238 in a857c8b

       icu4c must be installed to link against static Boost libraries, 
       either install icu4c or use brew install sunshine --with-static-boost instead

I had install iuc4c@77 correctly. And I spent some time reviewing the complete logs. The issues likely stem from MiniUPnPC header file errors and Boost::Process namespace errors. Perhaps I need to try creating a temporary patch and installing an older version of Boost.

bohemian-lh avatar Jun 01 '25 09:06 bohemian-lh

the same problem on macmini m4: grep -B 30 -A 10 "error:" /Users/jiang-m4/Library/Logs/Homebrew/sunshine/02.make gemini:好的,非常感谢你提供了这么详细的日志!这下问题就很清楚了。 你运行的 grep 命令找到了真正的错误,这比之前的 "make Error 2" 有用得多。 问题根源分析 从日志来看,你的编译失败是由两个不同的、核心的兼容性问题导致的,这与你正在使用的非常新的 macOS 15 (Sequoia) 和 Xcode 16 环境有直接关系。新系统带来了新版本的底层开发库(比如 Boost 和 miniupnpc),而 Sunshine 的代码暂时还没有跟上这些库的更新。 我们来分解一下这两个问题:

问题一:miniupnpc 库的头文件错误 /opt/homebrew/Cellar/miniupnpc/2.3.3/include/miniupnpc/upnpcommands.h:397:37: error: unknown type name 'size_t' • 错误原因:编译器在处理 upnpcommands.h 这个文件时,不认识 size_t 这个基本类型。size_t 通常在 C/C++ 的标准头文件(如 或 <stddef.h>)中定义。 • 为什么会发生:这通常意味着 upnpcommands.h 文件本身缺少了对必要标准库头文件的引用。在你的新版 macOS + Xcode 环境下,编译器对代码规范的要求可能更严格了,导致这个问题暴露出来。这其实是 miniupnpc 这个库本身的一个小缺陷,在最新环境下被触发了。

问题二:Boost.Process 库的版本不兼容 这是更严重的问题,出现了两种形式的错误: 1 找不到头文件:
fatal error: 'boost/process/v1.hpp' file not found 2 



Sunshine 的代码尝试引用一个名为 boost/process/v1.hpp 的文件,但在你系统上由 Homebrew 安装的新版 Boost 库中,这个文件已经不存在了。它可能被重命名为 boost/process.hpp。 3 找不到命名空间:
error no member named 'v1' in namespace 'boost::process' 4 



代码中使用了 boost::process::v1::... 这样的写法,期望访问 v1 这个版本号命名空间。然而,新版的 Boost 库已经移除了这个 v1 命名空间。 • 错误原因:Sunshine 的源代码是为一个旧版本的 Boost.Process 库编写的。而 Homebrew 为你的新 macOS 系统安装了最新版本的 Boost 库。新旧版本之间 API(应用程序编程接口)发生了变化,导致代码无法通过编译。 总结与解决方案 你遇到的已经不是最初那个简单的 C++17 标准问题了,而是 Sunshine 源代码与核心依赖库(Boost, miniupnpc)之间的深度不兼容。 这种级别的问题无法通过修改 Homebrew 安装脚本来解决,因为它需要直接修改 Sunshine 的 C++ 源代码。

jiangqing03 avatar Jun 11 '25 17:06 jiangqing03

/opt/homebrew/Cellar/miniupnpc/2.3.3/include/miniupnpc/upnpcommands.h:397:37: error: unknown type name 'size_t'

If you see this, use sunshine-beta, it's already been fixed.

ReenigneArcher avatar Jun 11 '25 17:06 ReenigneArcher

/opt/homebrew/Cellar/miniupnpc/2.3.3/include/miniupnpc/upnpcommands.h:397:37: error: unknown type name 'size_t'

If you see this, use sunshine-beta, it's already been fixed.

It's works! thanks

jiangqing03 avatar Jun 12 '25 08:06 jiangqing03

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Oct 15 '25 10:10 LizardByte-bot

This issue was closed because it has been stalled for 10 days with no activity.

LizardByte-bot avatar Oct 26 '25 10:10 LizardByte-bot