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

macOS compilation failures (brew, macports, and cmake) #3180

Open
2 tasks done
ReenigneArcher opened this issue Sep 13, 2024 · 15 comments
Open
2 tasks done

macOS compilation failures (brew, macports, and cmake) #3180

ReenigneArcher opened this issue Sep 13, 2024 · 15 comments
Labels
help wanted Extra attention is needed os:macOS OS is macOS

Comments

@ReenigneArcher
Copy link
Member

ReenigneArcher commented Sep 13, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • 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

Several reports of macOS build failures. Consolidating into one issue.

Expected Behavior

No response

Additional Context

  1. For brew, this may be resolved by clearing brew's cache. See Brew install sunshine but "CMake Generate step failed." #2369 (comment)

    stable

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

    beta

    sudo rm -rf "$(brew --cache --build-from-source sunshine)"
  2. Then install the beta version (v0.23.1 is unlikely to compile at this point without patches)

    brew install sunshine-beta

Host Operating System

macOS

Operating System Version

12+

Architecture

arm

Sunshine commit or version

v0.23.1+

Package

n/a

GPU Type

Apple Silicon

GPU Model

GPU Driver/Mesa Version

Capture Method

AVCaptureScreen (macOS)

Config

-

Apps

No response

Relevant log output

-
@Pheggas
Copy link

Pheggas commented Sep 13, 2024

Mac M3 Air - sadly, clearing brew's cache didn't help. It did alter the log a bit though.

@ReenigneArcher

This comment was marked as resolved.

@ReenigneArcher ReenigneArcher added the help wanted Extra attention is needed label Sep 13, 2024
@Pheggas

This comment was marked as off-topic.

@ReenigneArcher

This comment was marked as off-topic.

@quejoo

This comment was marked as duplicate.

@Pheggas

This comment was marked as off-topic.

@Lucascuibu

This comment was marked as resolved.

@gibbyb
Copy link

gibbyb commented Sep 17, 2024

@Pheggas brew install sunshine-beta seems to work

@lanyangyin

This comment was marked as outdated.

@ReenigneArcher

This comment was marked as outdated.

@lanyangyin

This comment was marked as resolved.

@haveamission
Copy link

@Pheggas brew install sunshine-beta seems to work

For whatever reason, this is still not working for me

@iMonZ

This comment was marked as resolved.

@RaafatAkkad

This comment was marked as resolved.

@iMonZ
Copy link

iMonZ commented Sep 22, 2024

Warning: No available formula with the name "sunshine-beta". Did you mean sunshine? ==> Searching for similarly named formulae and casks... ==> Formulae realqhc/homebrew/sunshine

@iMonZ There is now an official homebrew tap, You can replace the realqhc/homebrew tap with https://github.com/LizardByte/homebrew-homebrew

sunshine-beta installed & worked for me on macOS 15.0 (24A335)

Thanks!
I switched now the tap and get this:

brew install sunshine-beta
==> Downloading https://formulae.brew.sh/api/formula.jws.json
#################################################################################################################################################################################################################### 100.0%
Warning: Failed to set filetime 1727010808 on
Warning: '/Users/user/Library/Caches/Homebrew/api/formula.jws.json': No such
Warning: file or directory
==> Downloading https://formulae.brew.sh/api/formula.jws.json
#################################################################################################################################################################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
#################################################################################################################################################################################################################### 100.0%
==> Fetching lizardbyte/homebrew/sunshine-beta
==> Cloning https://github.com/LizardByte/Sunshine.git
Updating /Users/user/Library/Caches/Homebrew/sunshine-beta--git
==> Checking out tag v2024.922.10353
HEAD is now at 68eb8d2f ci(l10n): fix pr title for babel updates (#3216)
HEAD is now at 68eb8d2f ci(l10n): fix pr title for babel updates (#3216)
Entering 'packaging/linux/flatpak/deps/shared-modules'
Entering 'third-party/Simple-Web-Server'
Entering 'third-party/TPCircularBuffer'
Entering 'third-party/ViGEmClient'
Entering 'third-party/build-deps'
Entering 'third-party/doxyconfig'
Synchronizing submodule url for 'doxygen-awesome-css'
Entering 'third-party/doxyconfig/doxygen-awesome-css'
Entering 'third-party/googletest'
Entering 'third-party/inputtino'
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'
Synchronizing submodule url for 'third-party/doxyconfig'
Synchronizing submodule url for 'third-party/googletest'
Entering 'third-party/tray/third-party/doxyconfig'
Synchronizing submodule url for 'doxygen-awesome-css'
Entering 'third-party/tray/third-party/doxyconfig/doxygen-awesome-css'
Entering 'third-party/tray/third-party/googletest'
Entering 'third-party/wayland-protocols'
Entering 'third-party/wlr-protocols'
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/packaging/linux/flatpak/deps/shared-modules
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/Simple-Web-Server
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/TPCircularBuffer
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/ViGEmClient
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/build-deps
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/doxyconfig
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/doxyconfig/doxygen-awesome-css
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/googletest
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/inputtino
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/moonlight-common-c
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/moonlight-common-c/enet
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/nanors
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/nv-codec-headers
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/nvapi-open-source-sdk
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray/third-party/doxyconfig
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray/third-party/doxyconfig/doxygen-awesome-css
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/tray/third-party/googletest
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/wayland-protocols
/Users/user/Library/Caches/Homebrew/sunshine-beta--git/third-party/wlr-protocols
==> Installing sunshine-beta from lizardbyte/homebrew
==> Building docs: enabled
==> Statically linking Boost libraries
==> Linking against ICU libraries at: /opt/homebrew/opt/icu4c/lib
==> cmake -S . -B build -DBUILD_WERROR=ON -DHOMEBREW_ALLOW_FETCHCONTENT=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 -DSUNSHINE_ASSETS_DIR=sunshine/assets -DSUNSHINE_BUILD_HOMEBREW=ON -DSUNSHINE_ENABLE_TRAY=OFF -DS
==> make
Last 15 lines from /Users/user/Library/Logs/Homebrew/sunshine-beta/02.make:
Patching output file 1047/1056
Patching output file 1048/1056
Patching output file 1049/1056
Patching output file 1050/1056
Patching output file 1051/1056
Patching output file 1052/1056
Patching output file 1053/1056
Patching output file 1054/1056
Patching output file 1055/1056
Patching output file 1056/1056
type lookup cache used 6356/65536 hits=15127 misses=7868
symbol lookup cache used 4964/65536 hits=28115 misses=4964
finished...
[100%] Built target docs
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

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

No branches or pull requests

9 participants