Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

macOS compilation failures (brew, macports, and cmake)

Open ReenigneArcher opened this issue 1 year ago • 71 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

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

  • #2369
  • #2482
  • #2629
  • #2655
  • #2780
  • #2837
  • #3005
  • #3025
  • #3052
  • #3098
  • #3139
  • #3169

Expected Behavior

No response

Additional Context

  1. For brew, this may be resolved by clearing brew's cache. See https://github.com/LizardByte/Sunshine/issues/2369#issuecomment-2110532333

    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

-

ReenigneArcher avatar Sep 13 '24 13:09 ReenigneArcher

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

Pheggas avatar Sep 13 '24 13:09 Pheggas

https://github.com/LizardByte/Sunshine/issues/3169#issuecomment-2349215196

It appears that /opt/local/include is taking precedence over the ffmpeg pre-compiled include directory.

https://github.com/LizardByte/Sunshine/blob/c8920264548fa12bf1425c50e8d0df5986871cad/cmake/compile_definitions/macos.cmake#L5-L14

https://github.com/LizardByte/Sunshine/blob/c8920264548fa12bf1425c50e8d0df5986871cad/cmake/compile_definitions/common.cmake#L134-L142

ReenigneArcher avatar Sep 13 '24 17:09 ReenigneArcher

Do you think jmou's fix would be applicable to brew build as well?

Pheggas avatar Sep 14 '24 08:09 Pheggas

Unlikely

ReenigneArcher avatar Sep 14 '24 13:09 ReenigneArcher

same error here

quejoo avatar Sep 15 '24 15:09 quejoo

I've been told that this issue is related only to latest version of Sunshine. Is there actual way to install older version?

Pheggas avatar Sep 15 '24 15:09 Pheggas

I am using homebrew on my m2 pro mac. For the first time I received "can't turn off malloc stack logging because it was not enabled". Then I shut down the terminal and try again and met following: ==> Installing sunshine from lizardbyte/homebrew ==> cmake -S . -B build -DBUILD_WERROR=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/o ==> make -j Last 15 lines from /Users/lucas/Library/Logs/Homebrew/sunshine/02.make: ../../../../build/assets/web/assets/Navbar-48ec9d0d.css 0.07 kB │ gzip: 0.09 kB ../../../../build/assets/web/assets/_plugin-vue_export-helper-cff45802.css 327.59 kB │ gzip: 54.06 kB ../../../../build/assets/web/assets/password-41ebda5b.js 0.63 kB │ gzip: 0.41 kB ../../../../build/assets/web/assets/welcome-6454da3a.js 0.66 kB │ gzip: 0.42 kB ../../../../build/assets/web/assets/pin-677ef343.js 0.81 kB │ gzip: 0.43 kB ../../../../build/assets/web/assets/troubleshooting-76080e6f.js 1.36 kB │ gzip: 0.59 kB ../../../../build/assets/web/assets/ResourceCard-ea4a7cba.js 1.67 kB │ gzip: 0.64 kB ../../../../build/assets/web/assets/index-1d511c0f.js 2.06 kB │ gzip: 0.90 kB ../../../../build/assets/web/assets/Navbar-dbaf0800.js 2.16 kB │ gzip: 0.94 kB ../../../../build/assets/web/assets/config-f4fb6dcb.js 4.97 kB │ gzip: 2.10 kB ../../../../build/assets/web/assets/apps-966a1e70.js 85.57 kB │ gzip: 25.93 kB ../../../../build/assets/web/assets/_plugin-vue_export-helper-fe085d29.js 327.84 kB │ gzip: 111.98 kB ✓ built in 867ms [ 96%] Built target web-ui make: *** [all] Error 2

Still failed;(

Lucascuibu avatar Sep 15 '24 15:09 Lucascuibu

@Pheggas brew install sunshine-beta seems to work

gibbyb avatar Sep 17 '24 06:09 gibbyb

mac mini m1

Last login: Tue Sep 17 19:16:50 on ttys000 lanan@lanandeMac-mini ~ % sudo rm -rf "$(brew --cache --build-from-source sunshine)" lanan@lanandeMac-mini ~ % brew uninstall sunshine Error: No such keg: /opt/homebrew/Cellar/sunshine lanan@lanandeMac-mini ~ % brew autoremove ==> Autoremoving 3 unneeded formulae: curl libssh2 rtmpdump Uninstalling /opt/homebrew/Cellar/curl/8.10.0... (530 files, 4MB) curl 8.9.1 is still installed. To remove all versions, run: brew uninstall --force curl Uninstalling /opt/homebrew/Cellar/rtmpdump/2.4-20151223_3... (21 files, 653.9KB) Uninstalling /opt/homebrew/Cellar/libssh2/1.11.0_1... (198 files, 1.2MB) lanan@lanandeMac-mini ~ % brew tap LizardByte/homebrew lanan@lanandeMac-mini ~ % brew install sunshine ==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api/formula.jws.json -=O=- # # # #
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api/cask.jws.json -#O=- # # #
==> Fetching dependencies for lizardbyte/homebrew/sunshine: libssh2, rtmpdump and curl ==> Fetching libssh2 ==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/libssh2-1.11.0_1.arm64_sequoia.bottle.tar.gz ######################################################################################################################################################################################################################################################### 100.0% ==> Fetching rtmpdump ==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/rtmpdump-2.4-20151223_3.arm64_sequoia.bottle.tar.gz ######################################################################################################################################################################################################################################################### 100.0% ==> Fetching curl ==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/curl-8.10.0.arm64_sequoia.bottle.1.tar.gz Already downloaded: /Users/lanan/Library/Caches/Homebrew/downloads/d897df48d59815a1a4313cd8b34f00c3b2e0dfee9886c07756bf8f7ce3d4bee6--curl-8.10.0.arm64_sequoia.bottle.1.tar.gz ==> Fetching lizardbyte/homebrew/sunshine ==> Cloning https://github.com/LizardByte/Sunshine.git Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git'... ==> Checking out tag v0.23.1 HEAD is now at 8b21db64 Merge pull request #2388 from LizardByte/nightly Submodule 'packaging/linux/flatpak/deps/org.flatpak.Builder.BaseApp' (https://github.com/flathub/org.flatpak.Builder.BaseApp) registered for path 'packaging/linux/flatpak/deps/org.flatpak.Builder.BaseApp' Submodule 'packaging/linux/flatpak/deps/shared-modules' (https://github.com/flathub/shared-modules) 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) 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/googletest' (https://github.com/google/googletest/) registered for path 'third-party/googletest' 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) registered for path 'third-party/nv-codec-headers' Submodule 'third-party/nvapi-open-source-sdk' (https://github.com/LizardByte/nvapi-open-source-sdk) registered for path 'third-party/nvapi-open-source-sdk' Submodule 'third-party/tray' (https://github.com/LizardByte/tray) registered for path 'third-party/tray' Submodule 'third-party/wayland-protocols' (https://gitlab.freedesktop.org/wayland/wayland-protocols) registered for path 'third-party/wayland-protocols' Submodule 'third-party/wlr-protocols' (https://gitlab.freedesktop.org/wlroots/wlr-protocols) registered for path 'third-party/wlr-protocols' Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/packaging/linux/flatpak/deps/org.flatpak.Builder.BaseApp'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/packaging/linux/flatpak/deps/shared-modules'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/Simple-Web-Server'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/TPCircularBuffer'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/ViGEmClient'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/build-deps'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/googletest'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/moonlight-common-c'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/nanors'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/nv-codec-headers'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/nvapi-open-source-sdk'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/tray'... Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/wayland-protocols'... warning: redirecting to https://gitlab.freedesktop.org/wayland/wayland-protocols.git/ Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/wlr-protocols'... warning: redirecting to https://gitlab.freedesktop.org/wlroots/wlr-protocols.git/ Submodule path 'packaging/linux/flatpak/deps/org.flatpak.Builder.BaseApp': checked out '5532d4354e05ccfc3421e670fcb4e7fa5512ab39' Submodule path 'packaging/linux/flatpak/deps/shared-modules': checked out 'ec91811777c655b6a3091d60f1eadd79e0fbc957' Submodule path 'third-party/Simple-Web-Server': checked out '27b41f5ee154cca0fce4fe2955dd886d04e3a4ed' Submodule path 'third-party/TPCircularBuffer': checked out '8833b3a73fab6530cc51e2063a85cced01714cfb' Submodule path 'third-party/ViGEmClient': checked out '8d71f6740ffff4671cdadbca255ce528e3cd3fef' Submodule path 'third-party/build-deps': checked out 'efd3a380113e8ae98ae68cc1d73fd7c4b54b03c6' Submodule path 'third-party/googletest': checked out 'f8d7d77c06936315286eb55f8de22cd23c188571' Submodule path 'third-party/moonlight-common-c': checked out 'cbd0ec1b25edfb8ee8645fffa49ff95b6e04c70e' Submodule 'enet' (https://github.com/cgutman/enet.git) registered for path 'third-party/moonlight-common-c/enet' Cloning into '/Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/moonlight-common-c/enet'... Submodule path 'third-party/moonlight-common-c/enet': checked out '04e27590670a87a7cd40f5a05cda97467e4e25a3' Submodule path 'third-party/nanors': checked out 'e9e242e98e27037830490b2a752895ca68f75f8b' Submodule path 'third-party/nv-codec-headers': checked out '22441b505d9d9afc1e3002290820909846c24bdc' Submodule path 'third-party/nvapi-open-source-sdk': checked out 'c0f5f7b64d2ef13b1155f078a2eec156611f2415' Submodule path 'third-party/tray': checked out '4d8b798cafdd11285af9409c16b5f792968e0045' Submodule path 'third-party/wayland-protocols': checked out '08d1c7276d41379acfea353b5c739b72d51827e2' Submodule path 'third-party/wlr-protocols': checked out '2b8d43325b7012cc3f9b55c08d26e50e42beac7d' /Users/lanan/Library/Caches/Homebrew/sunshine--git/packaging/linux/flatpak/deps/org.flatpak.Builder.BaseApp /Users/lanan/Library/Caches/Homebrew/sunshine--git/packaging/linux/flatpak/deps/shared-modules /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/Simple-Web-Server /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/TPCircularBuffer /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/ViGEmClient /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/build-deps /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/googletest /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/moonlight-common-c /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/moonlight-common-c/enet /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/nanors /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/nv-codec-headers /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/nvapi-open-source-sdk /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/tray /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/wayland-protocols /Users/lanan/Library/Caches/Homebrew/sunshine--git/third-party/wlr-protocols ==> Installing sunshine from lizardbyte/homebrew ==> Installing dependencies for lizardbyte/homebrew/sunshine: libssh2, rtmpdump and curl ==> Installing lizardbyte/homebrew/sunshine dependency: libssh2 ==> Pouring libssh2-1.11.0_1.arm64_sequoia.bottle.tar.gz 🍺 /opt/homebrew/Cellar/libssh2/1.11.0_1: 198 files, 1.2MB ==> Installing lizardbyte/homebrew/sunshine dependency: rtmpdump ==> Pouring rtmpdump-2.4-20151223_3.arm64_sequoia.bottle.tar.gz 🍺 /opt/homebrew/Cellar/rtmpdump/2.4-20151223_3: 21 files, 653.3KB ==> Installing lizardbyte/homebrew/sunshine dependency: curl ==> Pouring curl-8.10.0.arm64_sequoia.bottle.1.tar.gz 🍺 /opt/homebrew/Cellar/curl/8.10.0: 530 files, 4MB ==> Installing lizardbyte/homebrew/sunshine ==> 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 Last 15 lines from /Users/lanan/Library/Logs/Homebrew/sunshine/02.make: npm error network request to https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.23.tgz failed, reason: read ETIMEDOUT npm error network This is a problem related to network connectivity. npm error network In most cases you are behind a proxy or have bad network settings. npm error network npm error network If you are behind a proxy, please make sure that the npm error network 'proxy' config is set properly. See: 'npm help config' npm notice npm notice New patch version of npm available! 10.8.2 -> 10.8.3 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.3 npm notice To update run: npm install -g [email protected] npm notice npm error A complete log of this run can be found in: /private/tmp/sunshine-20240917-25700-gphg8x/.brew_home/.npm/_logs/2024-09-17T12_03_38_018Z-debug-0.log make[2]: *** [CMakeFiles/web-ui] Error 1 make[1]: *** [CMakeFiles/web-ui.dir/all] Error 2 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

lanan@lanandeMac-mini ~ %

lanyangyin avatar Sep 17 '24 12:09 lanyangyin

@lanyangyin firstly, see the message directly above yours. Secondly, you have a network issue when connecting to npm.

npm error network This is a problem related to network connectivity.
npm error network In most cases you are behind a proxy or have bad network settings.
npm error network
npm error network If you are behind a proxy, please make sure that the
npm error network 'proxy' config is set properly. See: 'npm help config'

ReenigneArcher avatar Sep 17 '24 12:09 ReenigneArcher

Thank you very much 🙏. I tried the following steps:

Uninstalled Macport:

sudo port -fp uninstall installed
sudo rm -rf /opt/local
sudo rm -rf /Applications/MacPorts

I am not sure if this will help.

Then I changed

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

to

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

Using

brew install sunshine-beta

I successfully installed it!

lanyangyin avatar Sep 17 '24 13:09 lanyangyin

@Pheggas brew install sunshine-beta seems to work

For whatever reason, this is still not working for me

haveamission avatar Sep 19 '24 23:09 haveamission

==> 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
Last 15 lines from /Users/user/Library/Logs/Homebrew/sunshine/01.cmake:
  CMakeLists.txt:53 (include)


-- Found OpenSSL: /opt/homebrew/opt/openssl@3/lib/libcrypto.dylib (found version "3.3.2")
-- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "0.29.2")
-- Found Threads: TRUE
-- Checking for module 'libcurl'
--   Found libcurl, version 8.10.1
-- Checking for module 'miniupnpc'
--   Found miniupnpc, version 2.2.8
-- Found Doxygen: /opt/homebrew/bin/doxygen (found suitable version "1.12.0", minimum required is "1.10") found components: doxygen dot
-- DOXYGEN_BUILD_DIR_CMAKE: /tmp/sunshine-20240921-51897-vwgd3d/build/docs/build
-- DOXYGEN_BUILD_DIR_RELATIVE: ../build/docs/build
-- Found Python3: /opt/homebrew/bin/python3.12 (found version "3.12.6") found components: Interpreter
-- Configuring incomplete, errors occurred!

Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!

brew install sunshine-beta

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

To install realqhc/homebrew/sunshine, run: brew install realqhc/homebrew/sunshine

iMonZ avatar Sep 21 '24 19:09 iMonZ

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)

RaafatAkkad avatar Sep 22 '24 12:09 RaafatAkkad

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

iMonZ avatar Sep 22 '24 13:09 iMonZ

I have the same problem, full log indicates issue in gtest.h file:

/tmp/sunshine-beta-20240925-79083-jfmynu/third-party/googletest/googletest/include/gtest/gtest.h:52:10: fatal error: 'cstddef' file not found
   52 | #include <cstddef>
      |          ^~~~~~~~~

Full log: 02.make.txt

sern19 avatar Sep 24 '24 22:09 sern19

Switched to tap and failed again 截屏2024-09-25 22 27 33

Lucascuibu avatar Sep 25 '24 14:09 Lucascuibu

For everyone with the include problem, you have to reinstall Xcode command line tool the hard way. You have to do: sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install And then make an update. The beta version will complete then. My Mac is a MacMini M1 with Sequoia.

marco3181 avatar Sep 29 '24 11:09 marco3181

FYI, for those still on macOS-12: https://github.com/LizardByte/Sunshine/pull/3236

ReenigneArcher avatar Sep 30 '24 01:09 ReenigneArcher

For everyone with the include problem, you have to reinstall Xcode command line tool the hard way. You have to do: sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install And then make an update. The beta version will complete then. My Mac is a MacMini M1 with Sequoia.

This fixed my issue

sern19 avatar Sep 30 '24 19:09 sern19

I am using homebrew on my m2 pro mac. For the first time I received "can't turn off malloc stack logging because it was not enabled". Then I shut down the terminal and try again and met following: ==> Installing sunshine from lizardbyte/homebrew ==> cmake -S . -B build -DBUILD_WERROR=ON -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/o ==> make -j Last 15 lines from /Users/lucas/Library/Logs/Homebrew/sunshine/02.make: ../../../../build/assets/web/assets/Navbar-48ec9d0d.css 0.07 kB │ gzip: 0.09 kB ../../../../build/assets/web/assets/_plugin-vue_export-helper-cff45802.css 327.59 kB │ gzip: 54.06 kB ../../../../build/assets/web/assets/password-41ebda5b.js 0.63 kB │ gzip: 0.41 kB ../../../../build/assets/web/assets/welcome-6454da3a.js 0.66 kB │ gzip: 0.42 kB ../../../../build/assets/web/assets/pin-677ef343.js 0.81 kB │ gzip: 0.43 kB ../../../../build/assets/web/assets/troubleshooting-76080e6f.js 1.36 kB │ gzip: 0.59 kB ../../../../build/assets/web/assets/ResourceCard-ea4a7cba.js 1.67 kB │ gzip: 0.64 kB ../../../../build/assets/web/assets/index-1d511c0f.js 2.06 kB │ gzip: 0.90 kB ../../../../build/assets/web/assets/Navbar-dbaf0800.js 2.16 kB │ gzip: 0.94 kB ../../../../build/assets/web/assets/config-f4fb6dcb.js 4.97 kB │ gzip: 2.10 kB ../../../../build/assets/web/assets/apps-966a1e70.js 85.57 kB │ gzip: 25.93 kB ../../../../build/assets/web/assets/_plugin-vue_export-helper-fe085d29.js 327.84 kB │ gzip: 111.98 kB ✓ built in 867ms [ 96%] Built target web-ui make: *** [all] Error 2

Still failed;(

My error is the same as yours, Stuck in "target web ui", and update xcode did not work for me, macbook m3 with Sequoia 15.0

XiaoDcs avatar Oct 02 '24 17:10 XiaoDcs

Is it possible to release formula Bottles for this Tool? Recompiling after every update is very resource hungry and takes time

iMonZ avatar Oct 08 '24 12:10 iMonZ

I think it's possible. I would need some guidance on how to publish them.

ReenigneArcher avatar Oct 08 '24 16:10 ReenigneArcher

Tried clearing cache and reinstalling xcode, still cannot install with brew install sunshine-beta. Mac Pro M1 with Seqoia

Seeing "Undefined symbols for architecture arm64" in the logs Full 02.make : 02.make.txt

0x346e3730 avatar Oct 12 '24 04:10 0x346e3730

I think that what makes the build failing is this part especially :

Undefined symbols for architecture arm64:
  "_ASN1_STRING_dup", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_ASN1_STRING_free", referenced from:
      util::uniq_ptr<asn1_string_st, util::Destroy<asn1_string_st*, void, &ASN1_STRING_free>>::reset(asn1_string_st*) in crypto.cpp.o
  "_BIO_ctrl", referenced from:
      crypto::pem(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>>&) in crypto.cpp.o
      crypto::pem(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>>&) in crypto.cpp.o
      boost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const in nvhttp.cpp.o
  "_BIO_ctrl_pending", referenced from:
      boost::asio::ssl::detail::engine::perform(int (boost::asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, boost::system::error_code&, unsigned long*) in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::perform(int (boost::asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, boost::system::error_code&, unsigned long*) in nvhttp.cpp.o
  "_BIO_f_base64", referenced from:
      SimpleWeb::Crypto::Base64::decode(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in confighttp.cpp.o
  "_BIO_free", referenced from:
      boost::asio::ssl::detail::engine::~engine() in nvhttp.cpp.o
  "_BIO_free_all", referenced from:
      util::uniq_ptr<bio_st, util::Destroy<bio_st*, void, &BIO_free_all>>::reset(bio_st*) in crypto.cpp.o
      SimpleWeb::Crypto::Base64::decode(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in confighttp.cpp.o
  "_BIO_new", referenced from:
      crypto::x509(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
      crypto::pkey(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
      crypto::pem(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>>&) in crypto.cpp.o
      crypto::pem(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>>&) in crypto.cpp.o
      SimpleWeb::Crypto::Base64::decode(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in confighttp.cpp.o
  "_BIO_new_bio_pair", referenced from:
      boost::asio::ssl::detail::engine::engine(ssl_ctx_st*) in nvhttp.cpp.o
  "_BIO_new_mem_buf", referenced from:
      SimpleWeb::Crypto::Base64::decode(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in confighttp.cpp.o
  "_BIO_push", referenced from:
      SimpleWeb::Crypto::Base64::decode(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in confighttp.cpp.o
  "_BIO_read", referenced from:
      unsigned long boost::asio::ssl::detail::io<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::shutdown_op>(boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>&, boost::asio::ssl::detail::stream_core&, boost::asio::ssl::detail::shutdown_op const&, boost::system::error_code&) in nvhttp.cpp.o
      unsigned long boost::asio::ssl::detail::io<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::shutdown_op>(boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>&, boost::asio::ssl::detail::stream_core&, boost::asio::ssl::detail::shutdown_op const&, boost::system::error_code&) in nvhttp.cpp.o
      boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::handshake_op, nvhttp::SunshineHTTPSServer::accept()::'lambda'(boost::system::error_code const&)::operator()(boost::system::error_code const&) const::'lambda'(boost::system::error_code const&)>::operator()(boost::system::error_code, unsigned long, int) in nvhttp.cpp.o
      boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::write_op<boost::asio::const_buffers_1>, boost::asio::detail::write_op<nvhttp::SunshineHTTPS, boost::asio::const_buffers_1, boost::asio::const_buffer const*, boost::asio::detail::transfer_all_t, SimpleWeb::ServerBase<nvhttp::SunshineHTTPS>::Response::send_on_delete(std::__1::function<void (boost::system::error_code const&)> const&)::'lambda'()::operator()() const::'lambda'(boost::system::error_code const&, unsigned long)>>::operator()(boost::system::error_code, unsigned long, int) in nvhttp.cpp.o
      boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::asio::detail::read_until_delim_string_op_v1<nvhttp::SunshineHTTPS, boost::asio::basic_streambuf_ref<std::__1::allocator<char>>, SimpleWeb::ServerBase<nvhttp::SunshineHTTPS>::read(std::__1::shared_ptr<SimpleWeb::ServerBase<nvhttp::SunshineHTTPS>::Session> const&)::'lambda'(boost::system::error_code const&, unsigned long)>>::operator()(boost::system::error_code, unsigned long, int) in nvhttp.cpp.o
      boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::asio::detail::read_dynbuf_v1_op<nvhttp::SunshineHTTPS, boost::asio::basic_streambuf_ref<std::__1::allocator<char>>, boost::asio::detail::transfer_exactly_t, SimpleWeb::ServerBase<nvhttp::SunshineHTTPS>::read(std::__1::shared_ptr<SimpleWeb::ServerBase<nvhttp::SunshineHTTPS>::Session> const&)::'lambda'(boost::system::error_code const&, unsigned long)::operator()(boost::system::error_code const&, unsigned long) const::'lambda'(boost::system::error_code const&, unsigned long)>>::operator()(boost::system::error_code, unsigned long, int) in nvhttp.cpp.o
      boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::asio::detail::read_until_delim_string_op_v1<nvhttp::SunshineHTTPS, boost::asio::basic_streambuf_ref<std::__1::allocator<char>>, SimpleWeb::ServerBase<nvhttp::SunshineHTTPS>::read_chunked_transfer_encoded(std::__1::shared_ptr<SimpleWeb::ServerBase<nvhttp::SunshineHTTPS>::Session> const&, std::__1::shared_ptr<boost::asio::basic_streambuf<std::__1::allocator<char>>> const&)::'lambda'(boost::system::error_code const&, unsigned long)>>::operator()(boost::system::error_code, unsigned long, int) in nvhttp.cpp.o
      ...
  "_BIO_s_mem", referenced from:
      crypto::x509(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
      crypto::pkey(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
      crypto::pem(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>>&) in crypto.cpp.o
      crypto::pem(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>>&) in crypto.cpp.o
  "_BIO_set_flags", referenced from:
      SimpleWeb::Crypto::Base64::decode(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in confighttp.cpp.o
  "_BIO_write", referenced from:
      crypto::x509(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
      crypto::pkey(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
      unsigned long boost::asio::ssl::detail::io<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::shutdown_op>(boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>&, boost::asio::ssl::detail::stream_core&, boost::asio::ssl::detail::shutdown_op const&, boost::system::error_code&) in nvhttp.cpp.o
      boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::handshake_op, nvhttp::SunshineHTTPSServer::accept()::'lambda'(boost::system::error_code const&)::operator()(boost::system::error_code const&) const::'lambda'(boost::system::error_code const&)>::operator()(boost::system::error_code, unsigned long, int) in nvhttp.cpp.o
      boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::handshake_op, nvhttp::SunshineHTTPSServer::accept()::'lambda'(boost::system::error_code const&)::operator()(boost::system::error_code const&) const::'lambda'(boost::system::error_code const&)>::operator()(boost::system::error_code, unsigned long, int) in nvhttp.cpp.o
      boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::write_op<boost::asio::const_buffers_1>, boost::asio::detail::write_op<nvhttp::SunshineHTTPS, boost::asio::const_buffers_1, boost::asio::const_buffer const*, boost::asio::detail::transfer_all_t, SimpleWeb::ServerBase<nvhttp::SunshineHTTPS>::Response::send_on_delete(std::__1::function<void (boost::system::error_code const&)> const&)::'lambda'()::operator()() const::'lambda'(boost::system::error_code const&, unsigned long)>>::operator()(boost::system::error_code, unsigned long, int) in nvhttp.cpp.o
      boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::write_op<boost::asio::const_buffers_1>, boost::asio::detail::write_op<nvhttp::SunshineHTTPS, boost::asio::const_buffers_1, boost::asio::const_buffer const*, boost::asio::detail::transfer_all_t, SimpleWeb::ServerBase<nvhttp::SunshineHTTPS>::Response::send_on_delete(std::__1::function<void (boost::system::error_code const&)> const&)::'lambda'()::operator()() const::'lambda'(boost::system::error_code const&, unsigned long)>>::operator()(boost::system::error_code, unsigned long, int) in nvhttp.cpp.o
      ...
  "_BN_free", referenced from:
      util::uniq_ptr<bignum_st, util::Destroy<bignum_st*, void, &BN_free>>::reset(bignum_st*) in crypto.cpp.o
  "_BN_new", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_BN_rand", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_BN_set_negative", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_BN_to_ASN1_INTEGER", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_ERR_clear_error", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::use_certificate_chain_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, boost::system::error_code&) in nvhttp.cpp.o
      boost::asio::ssl::context::use_private_key_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, boost::asio::ssl::context_base::file_format, boost::system::error_code&) in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::perform(int (boost::asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, boost::system::error_code&, unsigned long*) in nvhttp.cpp.o
      boost::asio::ssl::context::load_verify_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, boost::system::error_code&) in confighttp.cpp.o
  "_ERR_get_error", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::use_certificate_chain_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, boost::system::error_code&) in nvhttp.cpp.o
      boost::asio::ssl::context::use_private_key_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, boost::asio::ssl::context_base::file_format, boost::system::error_code&) in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::engine(ssl_ctx_st*) in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::perform(int (boost::asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, boost::system::error_code&, unsigned long*) in nvhttp.cpp.o
      boost::asio::ssl::context::load_verify_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, boost::system::error_code&) in confighttp.cpp.o
  "_ERR_lib_error_string", referenced from:
      boost::asio::error::detail::ssl_category::message(int) const in nvhttp.cpp.o
  "_ERR_reason_error_string", referenced from:
      boost::asio::error::detail::ssl_category::message(int) const in nvhttp.cpp.o
  "_EVP_CIPHER_CTX_ctrl", referenced from:
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
  "_EVP_CIPHER_CTX_free", referenced from:
      util::uniq_ptr<evp_cipher_ctx_st, util::Destroy<evp_cipher_ctx_st*, void, &EVP_CIPHER_CTX_free>>::reset(evp_cipher_ctx_st*) in crypto.cpp.o
  "_EVP_CIPHER_CTX_new", referenced from:
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::cbc_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::ecb_t::ecb_t(std::__1::vector<unsigned char, std::__1::allocator<unsigned char>> const&, bool) in crypto.cpp.o
      crypto::cipher::ecb_t::ecb_t(std::__1::vector<unsigned char, std::__1::allocator<unsigned char>> const&, bool) in crypto.cpp.o
  "_EVP_CIPHER_CTX_reset", referenced from:
      util::FailGuard<crypto::cipher::ecb_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&)::$_0>::~FailGuard() in crypto.cpp.o
      util::FailGuard<crypto::cipher::ecb_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&)::$_0>::~FailGuard() in crypto.cpp.o
  "_EVP_CIPHER_CTX_set_padding", referenced from:
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::ecb_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
      crypto::cipher::ecb_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
      crypto::cipher::cbc_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
  "_EVP_DecryptFinal_ex", referenced from:
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::ecb_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
  "_EVP_DecryptInit_ex", referenced from:
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::ecb_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
  "_EVP_DecryptUpdate", referenced from:
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::ecb_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
  "_EVP_Digest", referenced from:
      crypto::hash(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
  "_EVP_DigestFinal_ex", referenced from:
      proc::calculate_sha256(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in process.cpp.o
  "_EVP_DigestInit_ex", referenced from:
      proc::calculate_sha256(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in process.cpp.o
  "_EVP_DigestSignFinal", referenced from:
      crypto::sign(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
      crypto::sign(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
  "_EVP_DigestSignInit", referenced from:
      crypto::sign(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
  "_EVP_DigestSignUpdate", referenced from:
      crypto::sign(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
  "_EVP_DigestUpdate", referenced from:
      proc::calculate_sha256(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in process.cpp.o
  "_EVP_DigestVerifyFinal", referenced from:
      crypto::verify(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
  "_EVP_DigestVerifyInit", referenced from:
      crypto::verify(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
  "_EVP_DigestVerifyUpdate", referenced from:
      crypto::verify(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
  "_EVP_EncryptFinal_ex", referenced from:
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::ecb_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
      crypto::cipher::cbc_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
  "_EVP_EncryptInit_ex", referenced from:
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::ecb_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
      crypto::cipher::cbc_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::cbc_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
  "_EVP_EncryptUpdate", referenced from:
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::ecb_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
      crypto::cipher::cbc_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
  "_EVP_MD_CTX_free", referenced from:
      crypto::md_ctx_destroy(evp_md_ctx_st*) in crypto.cpp.o
      util::uniq_ptr<evp_md_ctx_st, util::Destroy<evp_md_ctx_st*, void, &crypto::md_ctx_destroy(evp_md_ctx_st*)>>::reset(evp_md_ctx_st*) in crypto.cpp.o
  "_EVP_MD_CTX_new", referenced from:
      crypto::sign(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
      crypto::verify(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
      proc::calculate_sha256(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in process.cpp.o
  "_EVP_PKEY_CTX_free", referenced from:
      util::uniq_ptr<evp_pkey_ctx_st, util::Destroy<evp_pkey_ctx_st*, void, &EVP_PKEY_CTX_free>>::reset(evp_pkey_ctx_st*) in crypto.cpp.o
  "_EVP_PKEY_CTX_new_id", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_EVP_PKEY_CTX_set_rsa_keygen_bits", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_EVP_PKEY_free", referenced from:
      util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>>::reset(evp_pkey_st*) in crypto.cpp.o
  "_EVP_PKEY_keygen", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_EVP_PKEY_keygen_init", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_EVP_aes_128_cbc", referenced from:
      crypto::cipher::cbc_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
  "_EVP_aes_128_ecb", referenced from:
      crypto::cipher::ecb_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
      crypto::cipher::ecb_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&) in crypto.cpp.o
  "_EVP_aes_128_gcm", referenced from:
      crypto::cipher::gcm_t::decrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
      crypto::cipher::gcm_t::encrypt(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned char*, unsigned char*, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>*) in crypto.cpp.o
  "_EVP_sha256", referenced from:
      crypto::hash(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
      crypto::sign256(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
      crypto::verify256(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
      proc::calculate_sha256(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in process.cpp.o
  "_PEM_read_bio_PrivateKey", referenced from:
      crypto::pkey(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
  "_PEM_read_bio_X509", referenced from:
      crypto::x509(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in crypto.cpp.o
  "_PEM_write_bio_PrivateKey", referenced from:
      crypto::pem(util::uniq_ptr<evp_pkey_st, util::Destroy<evp_pkey_st*, void, &EVP_PKEY_free>>&) in crypto.cpp.o
  "_PEM_write_bio_X509", referenced from:
      crypto::pem(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>>&) in crypto.cpp.o
  "_RAND_bytes", referenced from:
      crypto::rand(unsigned long) in crypto.cpp.o
      nvhttp::make_launch_session(bool, std::__1::unordered_multimap<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, SimpleWeb::CaseInsensitiveHash, SimpleWeb::CaseInsensitiveEqual, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>> const&) in nvhttp.cpp.o
      nvhttp::make_launch_session(bool, std::__1::unordered_multimap<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, SimpleWeb::CaseInsensitiveHash, SimpleWeb::CaseInsensitiveEqual, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>> const&) in nvhttp.cpp.o
  "_SSL_CTX_ctrl", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      ...
  "_SSL_CTX_free", referenced from:
      boost::asio::ssl::context::~context() in nvhttp.cpp.o
  "_SSL_CTX_get_default_passwd_cb_userdata", referenced from:
      boost::asio::ssl::context::~context() in nvhttp.cpp.o
  "_SSL_CTX_get_ex_data", referenced from:
      boost::asio::ssl::context::~context() in nvhttp.cpp.o
      boost::asio::ssl::context::~context() in nvhttp.cpp.o
      boost::system::error_code boost::asio::ssl::context::set_verify_callback<nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&)>(nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&), boost::system::error_code&) in nvhttp.cpp.o
      boost::system::error_code boost::asio::ssl::context::set_verify_callback<nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&)>(nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&), boost::system::error_code&) in nvhttp.cpp.o
      boost::asio::ssl::context::verify_callback_function(int, x509_store_ctx_st*) in nvhttp.cpp.o
      boost::asio::ssl::context::verify_callback_function(int, x509_store_ctx_st*) in nvhttp.cpp.o
  "_SSL_CTX_get_verify_callback", referenced from:
      boost::asio::ssl::context::set_verify_mode(int) in nvhttp.cpp.o
  "_SSL_CTX_get_verify_mode", referenced from:
      boost::system::error_code boost::asio::ssl::context::set_verify_callback<nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&)>(nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&), boost::system::error_code&) in nvhttp.cpp.o
  "_SSL_CTX_load_verify_locations", referenced from:
      boost::asio::ssl::context::load_verify_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, boost::system::error_code&) in confighttp.cpp.o
  "_SSL_CTX_new", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      ...
  "_SSL_CTX_set_default_passwd_cb_userdata", referenced from:
      boost::asio::ssl::context::~context() in nvhttp.cpp.o
  "_SSL_CTX_set_ex_data", referenced from:
      boost::asio::ssl::context::~context() in nvhttp.cpp.o
      boost::system::error_code boost::asio::ssl::context::set_verify_callback<nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&)>(nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&), boost::system::error_code&) in nvhttp.cpp.o
  "_SSL_CTX_set_options", referenced from:
      boost::asio::ssl::context::set_options(unsigned long long) in nvhttp.cpp.o
  "_SSL_CTX_set_session_id_context", referenced from:
      SimpleWeb::Server<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>>>::after_bind() in confighttp.cpp.o
  "_SSL_CTX_set_verify", referenced from:
      boost::asio::ssl::context::set_verify_mode(int) in nvhttp.cpp.o
      boost::system::error_code boost::asio::ssl::context::set_verify_callback<nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&)>(nvhttp::SunshineHTTPSServer::after_bind()::'lambda'(int, boost::asio::ssl::verify_context&), boost::system::error_code&) in nvhttp.cpp.o
  "_SSL_CTX_use_PrivateKey_file", referenced from:
      boost::asio::ssl::context::use_private_key_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, boost::asio::ssl::context_base::file_format, boost::system::error_code&) in nvhttp.cpp.o
  "_SSL_CTX_use_certificate_chain_file", referenced from:
      boost::asio::ssl::context::use_certificate_chain_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, boost::system::error_code&) in nvhttp.cpp.o
  "_SSL_accept", referenced from:
      boost::asio::ssl::detail::engine::do_accept(void*, unsigned long) in nvhttp.cpp.o
  "_SSL_connect", referenced from:
      boost::asio::ssl::detail::engine::do_connect(void*, unsigned long) in nvhttp.cpp.o
  "_SSL_ctrl", referenced from:
      boost::asio::ssl::detail::engine::engine(ssl_ctx_st*) in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::engine(ssl_ctx_st*) in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::engine(ssl_ctx_st*) in nvhttp.cpp.o
  "_SSL_free", referenced from:
      boost::asio::ssl::detail::engine::~engine() in nvhttp.cpp.o
  "_SSL_get1_peer_certificate", referenced from:
      std::__1::__function::__func<nvhttp::start()::$_0, std::__1::allocator<nvhttp::start()::$_0>, int (ssl_st*)>::operator()(ssl_st*&&) in nvhttp.cpp.o
  "_SSL_get_SSL_CTX", referenced from:
      boost::asio::ssl::context::verify_callback_function(int, x509_store_ctx_st*) in nvhttp.cpp.o
  "_SSL_get_error", referenced from:
      boost::asio::ssl::detail::engine::perform(int (boost::asio::ssl::detail::engine::*)(void*, unsigned long), void*, unsigned long, boost::system::error_code&, unsigned long*) in nvhttp.cpp.o
  "_SSL_get_ex_data", referenced from:
      boost::asio::ssl::detail::engine::~engine() in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::~engine() in nvhttp.cpp.o
  "_SSL_get_ex_data_X509_STORE_CTX_idx", referenced from:
      boost::asio::ssl::context::verify_callback_function(int, x509_store_ctx_st*) in nvhttp.cpp.o
  "_SSL_get_shutdown", referenced from:
      boost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const in nvhttp.cpp.o
  "_SSL_new", referenced from:
      boost::asio::ssl::detail::engine::engine(ssl_ctx_st*) in nvhttp.cpp.o
  "_SSL_read", referenced from:
      boost::asio::ssl::detail::engine::do_read(void*, unsigned long) in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::do_read(void*, unsigned long) in nvhttp.cpp.o
  "_SSL_set_bio", referenced from:
      boost::asio::ssl::detail::engine::engine(ssl_ctx_st*) in nvhttp.cpp.o
  "_SSL_set_ex_data", referenced from:
      boost::asio::ssl::detail::engine::~engine() in nvhttp.cpp.o
  "_SSL_shutdown", referenced from:
      boost::asio::ssl::detail::engine::do_shutdown(void*, unsigned long) in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::do_shutdown(void*, unsigned long) in nvhttp.cpp.o
  "_SSL_write", referenced from:
      boost::asio::ssl::detail::engine::do_write(void*, unsigned long) in nvhttp.cpp.o
      boost::asio::ssl::detail::engine::do_write(void*, unsigned long) in nvhttp.cpp.o
  "_TLS_client_method", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      ...
  "_TLS_method", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      ...
  "_TLS_server_method", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in nvhttp.cpp.o
      ...
  "_X509_NAME_add_entry_by_txt", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_NAME_oneline", referenced from:
      std::__1::__function::__func<nvhttp::start()::$_0, std::__1::allocator<nvhttp::start()::$_0>, int (ssl_st*)>::operator()(ssl_st*&&) in nvhttp.cpp.o
      util::FailGuard<nvhttp::start()::$_0::operator()(ssl_st*) const::'lambda'()>::~FailGuard() in nvhttp.cpp.o
  "_X509_STORE_CTX_cleanup", referenced from:
      util::FailGuard<crypto::cert_chain_t::verify(x509_st*)::$_0>::~FailGuard() in crypto.cpp.o
  "_X509_STORE_CTX_free", referenced from:
      util::uniq_ptr<x509_store_ctx_st, util::Destroy<x509_store_ctx_st*, void, &X509_STORE_CTX_free>>::reset(x509_store_ctx_st*) in nvhttp.cpp.o
  "_X509_STORE_CTX_get_error", referenced from:
      crypto::cert_chain_t::verify(x509_st*) in crypto.cpp.o
      crypto::openssl_verify_cb(int, x509_store_ctx_st*) in crypto.cpp.o
  "_X509_STORE_CTX_get_ex_data", referenced from:
      boost::asio::ssl::context::verify_callback_function(int, x509_store_ctx_st*) in nvhttp.cpp.o
  "_X509_STORE_CTX_init", referenced from:
      crypto::cert_chain_t::verify(x509_st*) in crypto.cpp.o
  "_X509_STORE_CTX_new", referenced from:
      crypto::cert_chain_t::cert_chain_t() in crypto.cpp.o
  "_X509_STORE_CTX_set_flags", referenced from:
      crypto::cert_chain_t::verify(x509_st*) in crypto.cpp.o
  "_X509_STORE_CTX_set_verify_cb", referenced from:
      crypto::cert_chain_t::verify(x509_st*) in crypto.cpp.o
  "_X509_STORE_add_cert", referenced from:
      crypto::cert_chain_t::add(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>>&&) in crypto.cpp.o
  "_X509_STORE_free", referenced from:
      util::uniq_ptr<x509_store_st, util::Destroy<x509_store_st*, void, &X509_STORE_free>>::reset(x509_store_st*) in crypto.cpp.o
  "_X509_STORE_new", referenced from:
      crypto::cert_chain_t::add(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>>&&) in crypto.cpp.o
  "_X509_free", referenced from:
      util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>>::reset(x509_st*) in crypto.cpp.o
  "_X509_get0_notAfter", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_get0_notBefore", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_get0_pubkey", referenced from:
      crypto::verify(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, evp_md_st const*) in crypto.cpp.o
  "_X509_get0_signature", referenced from:
      crypto::signature(util::uniq_ptr<x509_st, util::Destroy<x509_st*, void, &X509_free>> const&) in crypto.cpp.o
  "_X509_get_serialNumber", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_get_subject_name", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
      std::__1::__function::__func<nvhttp::start()::$_0, std::__1::allocator<nvhttp::start()::$_0>, int (ssl_st*)>::operator()(ssl_st*&&) in nvhttp.cpp.o
      util::FailGuard<nvhttp::start()::$_0::operator()(ssl_st*) const::'lambda'()>::~FailGuard() in nvhttp.cpp.o
  "_X509_gmtime_adj", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_new", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_set1_notAfter", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_set1_notBefore", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_set_issuer_name", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_set_pubkey", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_set_version", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_sign", referenced from:
      crypto::gen_creds(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, unsigned int) in crypto.cpp.o
  "_X509_verify_cert", referenced from:
      crypto::cert_chain_t::verify(x509_st*) in crypto.cpp.o
  "_X509_verify_cert_error_string", referenced from:
      crypto::cert_chain_t::verify(x509_st*) in crypto.cpp.o
      crypto::cert_chain_t::verify(x509_st*) in crypto.cpp.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [tests/test_sunshine] Error 1
make[1]: *** [tests/CMakeFiles/test_sunshine.dir/all] Error 2

0x346e3730 avatar Oct 12 '24 05:10 0x346e3730

@0x346e3730 Do you have boost installed? Try to uninstall it while you install Sunshine.

ReenigneArcher avatar Oct 12 '24 13:10 ReenigneArcher

@0x346e3730 Do you have boost installed? Try to uninstall it while you install Sunshine.

What is it you call Boost exactly ? Not ringing any bell but I need to look it up because I've done so much stuff to my mac

0x346e3730 avatar Oct 12 '24 13:10 0x346e3730

https://formulae.brew.sh/formula/boost

ReenigneArcher avatar Oct 12 '24 14:10 ReenigneArcher

Same thing

02.make.txt

0x346e3730 avatar Oct 14 '24 03:10 0x346e3730

Uninstalling ffmpeg doesn't help

le0-VV avatar Oct 15 '24 18:10 le0-VV