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

Brew install sunshine but "CMake Generate step failed." #2369

Closed
wangsq001 opened this issue Apr 5, 2024 · 23 comments
Closed

Brew install sunshine but "CMake Generate step failed." #2369

wangsq001 opened this issue Apr 5, 2024 · 23 comments
Labels
os:macOS OS is macOS

Comments

@wangsq001
Copy link

Describe the Bug

I am installing sunshine but an error occured :
==> Installing sunshine from lizardbyte/homebrew
==> cmake -S . -B build -DBUIld_WERROR=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 -DSUNSHINE_ASSETS_DIR=sunshine/assets -DSUNSHINE_BUILD_HOMEB
Last 15 lines from /Users/wangshuoqing/Library/Logs/Homebrew/sunshine/01.cmake:

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
Call Stack (most recent call first):
CMakeLists.txt:52 (include)

CMake Error at cmake/targets/common.cmake:4 (add_executable):
No SOURCES given to target: sunshine
Call Stack (most recent call first):
CMakeLists.txt:52 (include)

CMake Generate step failed. Build files cannot be regenerated correctly.

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

How to solve it?

Expected Behavior

No response

Additional Context

No response

@ReenigneArcher ReenigneArcher transferred this issue from LizardByte/homebrew-homebrew Apr 5, 2024
@ReenigneArcher
Copy link
Member

I need more information to help understand the issue.

  • OS and version
  • Logs -> /Users/wangshuoqing/Library/Logs/Homebrew/sunshine/01.cmake
  • etc.

@wangsq001
Copy link
Author

wangsq001 commented Apr 5, 2024 via email

@ReenigneArcher
Copy link
Member

For some reason it doesn't have the submodules. I'm not that familiar with Homebrew but I think it's something specific to your environment.

@ReenigneArcher ReenigneArcher added the os:macOS OS is macOS label Apr 5, 2024
@wangsq001
Copy link
Author

wangsq001 commented Apr 6, 2024 via email

@hongzhizhou
Copy link

I have the same problem and hope to solve it soon

@wangsq001
Copy link
Author

wangsq001 commented Apr 7, 2024 via email

@ReenigneArcher
Copy link
Member

What macOS version did you have previously?

@ReenigneArcher ReenigneArcher closed this as not planned Won't fix, can't repro, duplicate, stale Apr 7, 2024
@wangsq001
Copy link
Author

wangsq001 commented Apr 8, 2024 via email

@hongzhizhou
Copy link

I have compiled and installed it successfully on my mac pro, but I still have the same error on my m1 macbook. I am going to delete the git repository for sunshine and try again.

@r-glebov
Copy link

r-glebov commented Apr 9, 2024

I have the same issue with Mac M1 Sonoma. Previous 0.21.0 and 0.22.0 versions were successfully installed without any problems. Upgrade from 0.22.0 to 0.23.0 though fails. Not sure where tests/test_sunshine should be located, and why it wasn't created automatically. And I see the flag DTESTS_ENABLE_PYTHON_TESTS=OFF, which I guess should skip the tests.

==> Upgrading lizardbyte/homebrew/sunshine
  0.22.2 -> 0.23.0
==> cmake -S . -B build -DBUILD_WERROR=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 -DSUNSHINE_ASSETS_DIR=sunshine/assets -DSUNSHINE_BUILD_HOMEBREW=ON -DTESTS_ENABLE_PYTHON_TESTS=OFF
==> make -j
==> make install
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - tests/test_sunshine

cat /Users/r-glebov/Library/Logs/Homebrew/sunshine/01.cmake output:

2024-04-09 08:15:30 +0000

cmake
-S
.
-B
build
-DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/sunshine/0.23.0
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
-Wno-dev
-DBUILD_TESTING=OFF
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
-DBUILD_WERROR=ON
-DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/sunshine/0.23.0
-DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3
-DSUNSHINE_ASSETS_DIR=sunshine/assets
-DSUNSHINE_BUILD_HOMEBREW=ON
-DTESTS_ENABLE_PYTHON_TESTS=OFF

-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/homebrew/Library/Homebrew/shims/mac/super/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /opt/homebrew/bin/git (found version "2.44.0")
/tmp/sunshine-20240409-42189-j1d3wi
Sunshine Branch: master
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for ioctl
-- Looking for ioctl - found
-- Looking for poll
-- Looking for poll - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - not found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - not found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Performing Test HAS_MSGHDR_FLAGS
-- Performing Test HAS_MSGHDR_FLAGS - Success
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Check size of QOS_FLOWID
-- Check size of QOS_FLOWID - failed
-- Check size of PQOS_FLOWID
-- Check size of PQOS_FLOWID - failed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Boost: /opt/homebrew/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found suitable version "1.84.0", minimum required is "1.53.0") found components: system
-- Found OpenSSL: /opt/homebrew/opt/openssl/lib/libcrypto.dylib (found version "3.2.1")
-- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libcurl'
--   Found libcurl, version 8.7.1
-- Checking for module 'miniupnpc'
--   Found miniupnpc, version 2.2.6
-- Found Boost: /opt/homebrew/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found version "1.84.0") found components: locale log filesystem program_options
-- Configuring done (3.6s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    TESTS_ENABLE_PYTHON_TESTS


-- Build files have been written to: /tmp/sunshine-20240409-42189-j1d3wi/build

@ReenigneArcher
Copy link
Member

which I guess should skip the tests

No, it skips some tests.

Your cmake log looks fine.

@bommbo
Copy link

bommbo commented Apr 10, 2024

I have the same issue with Mac M1 Sonoma. Previous 0.21.0 and 0.22.0 versions were successfully installed without any problems. Upgrade from 0.22.0 to 0.23.0 though fails. Not sure where tests/test_sunshine should be located, and why it wasn't created automatically. And I see the flag DTESTS_ENABLE_PYTHON_TESTS=OFF, which I guess should skip the tests.

==> Upgrading lizardbyte/homebrew/sunshine
  0.22.2 -> 0.23.0
==> cmake -S . -B build -DBUILD_WERROR=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 -DSUNSHINE_ASSETS_DIR=sunshine/assets -DSUNSHINE_BUILD_HOMEBREW=ON -DTESTS_ENABLE_PYTHON_TESTS=OFF
==> make -j
==> make install
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - tests/test_sunshine

cat /Users/r-glebov/Library/Logs/Homebrew/sunshine/01.cmake output:

2024-04-09 08:15:30 +0000

cmake
-S
.
-B
build
-DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/sunshine/0.23.0
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
-Wno-dev
-DBUILD_TESTING=OFF
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
-DBUILD_WERROR=ON
-DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/sunshine/0.23.0
-DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3
-DSUNSHINE_ASSETS_DIR=sunshine/assets
-DSUNSHINE_BUILD_HOMEBREW=ON
-DTESTS_ENABLE_PYTHON_TESTS=OFF

-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/homebrew/Library/Homebrew/shims/mac/super/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /opt/homebrew/bin/git (found version "2.44.0")
/tmp/sunshine-20240409-42189-j1d3wi
Sunshine Branch: master
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for ioctl
-- Looking for ioctl - found
-- Looking for poll
-- Looking for poll - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - not found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - not found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Performing Test HAS_MSGHDR_FLAGS
-- Performing Test HAS_MSGHDR_FLAGS - Success
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Check size of QOS_FLOWID
-- Check size of QOS_FLOWID - failed
-- Check size of PQOS_FLOWID
-- Check size of PQOS_FLOWID - failed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Boost: /opt/homebrew/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found suitable version "1.84.0", minimum required is "1.53.0") found components: system
-- Found OpenSSL: /opt/homebrew/opt/openssl/lib/libcrypto.dylib (found version "3.2.1")
-- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libcurl'
--   Found libcurl, version 8.7.1
-- Checking for module 'miniupnpc'
--   Found miniupnpc, version 2.2.6
-- Found Boost: /opt/homebrew/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found version "1.84.0") found components: locale log filesystem program_options
-- Configuring done (3.6s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    TESTS_ENABLE_PYTHON_TESTS


-- Build files have been written to: /tmp/sunshine-20240409-42189-j1d3wi/build

same issue here.

@ReenigneArcher
Copy link
Member

Provide some info to replicate the issue if you want it re-opened.

@djensenius
Copy link

brew install lizardbyte/homebrew/sunshine causes the error for me on Apple Silicon computers.

@ReenigneArcher
Copy link
Member

Still not enough info, since we run our CI on an arm based mac

@r-glebov
Copy link

This is how installation with Homebrew look like on M1 Sonoma:

❯ brew install sunshine
==> Downloading https://formulae.brew.sh/api/formula.jws.json
##O=-#     #
==> Downloading https://formulae.brew.sh/api/cask.jws.json
##O=-#     #
==> Fetching lizardbyte/homebrew/sunshine
==> Cloning https://github.com/LizardByte/Sunshine.git
Updating /Users/rglyeb/Library/Caches/Homebrew/sunshine--git
==> Checking out tag master
Already on 'master'
HEAD is now at 00fbbc9 Merge pull request #2216 from LizardByte/nightly
Entering 'third-party/Simple-Web-Server'
Entering 'third-party/TPCircularBuffer'
Entering 'third-party/ViGEmClient'
Entering 'third-party/build-deps'
Entering 'third-party/moonlight-common-c'
Synchronizing submodule url for 'enet'
Entering 'third-party/moonlight-common-c/enet'
Entering 'third-party/nanors'
Entering 'third-party/nv-codec-headers'
Entering 'third-party/nvapi-open-source-sdk'
Entering 'third-party/tray'
Entering 'third-party/wayland-protocols'
Entering 'third-party/wlr-protocols'
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/Simple-Web-Server
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/TPCircularBuffer
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/ViGEmClient
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/build-deps
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/moonlight-common-c
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/moonlight-common-c/enet
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/nanors
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/nv-codec-headers
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/nvapi-open-source-sdk
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/tray
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/wayland-protocols
/Users/rglyeb/Library/Caches/Homebrew/sunshine--git/third-party/wlr-protocols
==> Installing sunshine from lizardbyte/homebrew
==> cmake -S . -B build -DBUILD_WERROR=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 -DSUNSHINE_ASSETS_DIR=sunshine/assets -DSUNSHINE_BUILD_HOMEBREW=ON -DTESTS_ENABLE_PYTHON_TESTS=OFF
==> make -j
==> make install
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - tests/test_sunshine

@r-glebov
Copy link

r-glebov commented Apr 23, 2024

I understand that you're unable to reproduce the issue, but the problem seems doesn't go away. @ReenigneArcher Can you provide info how to debug the issue, maybe some other log files? I don't know what context is needed to identify the problem. If it requires some tests/test_sunshine folder to exist, then where it should be? Maybe I create it manually and see where it fails next?

@ReenigneArcher
Copy link
Member

All I can tell is that it's failing on the bin.install step.

    cd "build" do
      system "make", "-j"
      system "make", "install"
      bin.install "tests/test_sunshine"
    end

tests/test_sunshine should be located within the build directory.

One thing suspicious that I see is:

Already on 'master'
HEAD is now at 00fbbc9 Merge pull request #2216 from LizardByte/nightly

This indicates it is not getting the latest version, and instead is using this older version. 00fbbc9

You probably need to clean homebrew somehow? I'm not a mac or homebrew user but the following came up in a google search. https://stackoverflow.com/a/45116705

@the-mush
Copy link

I was having the same issue. What fixed it for me was untapping the repo from brew, then deleting the folder sunshine--gitinside of ~/Library/Caches/Homebrew/. After that, reinstalling sunshine from scratch worked like a charm.

It took a bit longer after deleting those folders, so maybe there were some things being reused from previous versions no longer compatible with the main sunshine build?

@ReenigneArcher
Copy link
Member

In that case, I think you could run this before installing.

sudo rm -rf "$(brew --cache --build-from-source sunshine)"

Please double check any commands before running, I don't have a macOS system to verify this does what is expected.

https://docs.brew.sh/Tips-N'-Tricks#pre-download-a-file-for-a-formula

@Hazer
Copy link
Member

Hazer commented May 14, 2024

@ReenigneArcher it does.

@uncleyoung
Copy link

uncleyoung commented Aug 12, 2024

same issue. on an almost new m2 mac-mini (not install anything), firstly failed on "make" step, then try "sudo rm -rf "$(brew --cache --build-from-source sunshine)", "brew uninstall sunshine", "brew autoremove", and reinstall it. the output error log become exactly the same as above.

I tried @the-mush 's method, and issue become back to the make step at first, here is the final log:

/Users/uncle/Library/Caches/Homebrew/sunshine--git/third-party/nanors
/Users/uncle/Library/Caches/Homebrew/sunshine--git/third-party/nv-codec-headers
/Users/uncle/Library/Caches/Homebrew/sunshine--git/third-party/nvapi-open-source-sdk
/Users/uncle/Library/Caches/Homebrew/sunshine--git/third-party/tray
/Users/uncle/Library/Caches/Homebrew/sunshine--git/third-party/wayland-protocols
/Users/uncle/Library/Caches/Homebrew/sunshine--git/third-party/wlr-protocols
==> Installing sunshine from lizardbyte/homebrew
==> Downloading https://formulae.brew.sh/api/formula.jws.json
############################################################################################################ 100.0%
==> cmake -S . -B build -DBUILD_WERROR=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 -DSUNSHINE_ASSETS_DIR=suns
==> make -j
Last 15 lines from /Users/uncle/Library/Logs/Homebrew/sunshine/02.make:
make[2]: *** [CMakeFiles/web-ui] Error 1
make[1]: *** [CMakeFiles/web-ui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 50%] Linking CXX static library ../../../lib/libgtest.a
cd /tmp/sunshine-20240812-72335-2c6wfy/build/tests/googletest/googletest && /opt/homebrew/Cellar/cmake/3.30.2/bin/cmake -P CMakeFiles/gtest.dir/cmake_clean_target.cmake
cd /tmp/sunshine-20240812-72335-2c6wfy/build/tests/googletest/googletest && /opt/homebrew/Cellar/cmake/3.30.2/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1
/usr/bin/ar qc ../../../lib/libgtest.a "CMakeFiles/gtest.dir/src/gtest-all.cc.o"
/usr/bin/ranlib ../../../lib/libgtest.a
[ 50%] Built target gtest
[ 51%] Linking CXX executable sunshine
/opt/homebrew/Cellar/cmake/3.30.2/bin/cmake -E cmake_link_script CMakeFiles/sunshine.dir/link.txt --verbose=1
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __info_plist -Xlinker /tmp/sunshine-20240812-72335-2c6wfy/src_assets/macos/assets/Info.plist -Wl,-U,_CGPreflightScreenCaptureAccess -Wl,-U,_CGRequestScreenCaptureAccess "CMakeFiles/sunshine.dir/third-party/nanors/rs.c.o" "CMakeFiles/sunshine.dir/third-party/moonlight-common-c/src/RtspParser.c.o" CMakeFiles/sunshine.dir/src/upnp.cpp.o CMakeFiles/sunshine.dir/src/cbs.cpp.o CMakeFiles/sunshine.dir/src/config.cpp.o CMakeFiles/sunshine.dir/src/entry_handler.cpp.o CMakeFiles/sunshine.dir/src/file_handler.cpp.o CMakeFiles/sunshine.dir/src/globals.cpp.o CMakeFiles/sunshine.dir/src/logging.cpp.o CMakeFiles/sunshine.dir/src/main.cpp.o CMakeFiles/sunshine.dir/src/crypto.cpp.o CMakeFiles/sunshine.dir/src/nvhttp.cpp.o CMakeFiles/sunshine.dir/src/httpcommon.cpp.o CMakeFiles/sunshine.dir/src/confighttp.cpp.o CMakeFiles/sunshine.dir/src/rtsp.cpp.o CMakeFiles/sunshine.dir/src/stream.cpp.o CMakeFiles/sunshine.dir/src/video.cpp.o CMakeFiles/sunshine.dir/src/video_colorspace.cpp.o CMakeFiles/sunshine.dir/src/input.cpp.o CMakeFiles/sunshine.dir/src/audio.cpp.o CMakeFiles/sunshine.dir/src/process.cpp.o CMakeFiles/sunshine.dir/src/network.cpp.o CMakeFiles/sunshine.dir/src/system_tray.cpp.o CMakeFiles/sunshine.dir/src/stat_trackers.cpp.o CMakeFiles/sunshine.dir/src/platform/macos/av_audio.m.o CMakeFiles/sunshine.dir/src/platform/macos/av_video.m.o CMakeFiles/sunshine.dir/src/platform/macos/display.mm.o CMakeFiles/sunshine.dir/src/platform/macos/input.cpp.o CMakeFiles/sunshine.dir/src/platform/macos/microphone.mm.o CMakeFiles/sunshine.dir/src/platform/macos/misc.mm.o CMakeFiles/sunshine.dir/src/platform/macos/nv12_zero_device.cpp.o CMakeFiles/sunshine.dir/src/platform/macos/publish.cpp.o "CMakeFiles/sunshine.dir/third-party/TPCircularBuffer/TPCircularBuffer.c.o" "CMakeFiles/sunshine.dir/third-party/tray/tray_darwin.m.o" CMakeFiles/sunshine.dir/src/nvenc/nvenc_base.cpp.o CMakeFiles/sunshine.dir/src/nvenc/nvenc_d3d11.cpp.o CMakeFiles/sunshine.dir/src/nvenc/nvenc_utils.cpp.o -o sunshine-v0.23.1   -L/opt/local/lib  -L/usr/local/lib  -Wl,-rpath,/opt/local/lib -Wl,-rpath,/usr/local/lib -framework ApplicationServices -framework AVFoundation -framework CoreMedia -framework CoreVideo -framework VideoToolbox -framework Foundation -framework Cocoa -lminiupnpc third-party/moonlight-common-c/enet/libenet.a -lopus /tmp/sunshine-20240812-72335-2c6wfy/third-party/build-deps/ffmpeg/macos-aarch64/lib/libavcodec.a /tmp/sunshine-20240812-72335-2c6wfy/third-party/build-deps/ffmpeg/macos-aarch64/lib/libavutil.a /tmp/sunshine-20240812-72335-2c6wfy/third-party/build-deps/ffmpeg/macos-aarch64/lib/libcbs.a /tmp/sunshine-20240812-72335-2c6wfy/third-party/build-deps/ffmpeg/macos-aarch64/lib/libSvtAv1Enc.a /tmp/sunshine-20240812-72335-2c6wfy/third-party/build-deps/ffmpeg/macos-aarch64/lib/libswscale.a /tmp/sunshine-20240812-72335-2c6wfy/third-party/build-deps/ffmpeg/macos-aarch64/lib/libx264.a /tmp/sunshine-20240812-72335-2c6wfy/third-party/build-deps/ffmpeg/macos-aarch64/lib/libx265.a /opt/homebrew/lib/libboost_locale-mt.dylib /opt/homebrew/lib/libboost_log-mt.dylib /opt/homebrew/lib/libboost_filesystem-mt.dylib /opt/homebrew/lib/libboost_program_options-mt.dylib /opt/homebrew/opt/openssl/lib/libssl.dylib /opt/homebrew/opt/openssl/lib/libcrypto.dylib -lcurl /opt/homebrew/lib/libboost_atomic-mt.dylib /opt/homebrew/lib/libboost_chrono-mt.dylib /opt/homebrew/lib/libboost_thread-mt.dylib
/opt/homebrew/Cellar/cmake/3.30.2/bin/cmake -E cmake_symlink_executable sunshine-v0.23.1 sunshine
[ 51%] Built target sunshine
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

hope someone give a solution about it (install old version with dmg, or from macports?)

@Aacaja

This comment was marked as duplicate.

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

No branches or pull requests

10 participants