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

building error when brew install sunshine #3452

Closed
cybercall opened this issue Dec 15, 2024 · 1 comment
Closed

building error when brew install sunshine #3452

cybercall opened this issue Dec 15, 2024 · 1 comment

Comments

@cybercall
Copy link

cybercall commented Dec 15, 2024

Environment

  • Operating System: macOS M1 15.2 (24C101)
  • CPU Architecture: arm64
  • Homebrew Version:Homebrew 4.4.11
  • Sunshine Installation Command: brew install sunshine

Issue Description

I encountered compilation errors while trying to install sunshine via Homebrew on M1 macOS, leading to a failed installation process. Specifically, multiple compilation errors occurred when compiling the files nvenc_d3d11.cpp .

Error Log

Here is part of the error log:

[ 47%] Building CXX object CMakeFiles/sunshine.dir/src/process.cpp.o
[ 48%] Building CXX object CMakeFiles/sunshine.dir/src/platform/macos/input.cpp.o
[ 49%] Building CXX object CMakeFiles/sunshine.dir/src/nvenc/nvenc_d3d11.cpp.o
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -DSUNSHINE_ASSETS_DIR=\"/opt/homebrew/Cellar/sunshine/0.23.1/sunshine/assets\" -DSUNSHINE_PLATFORM=\"macos\" -DSUNSHINE_TRAY=0 -I/tmp/sunshine-20241215-20862-wn8ug8/build -I/tmp/sunshine-20241215-20862-wn8ug8 -F/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks -isystem /opt/homebrew/Cellar/miniupnpc/2.2.8/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nv-codec-headers/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/moonlight-common-c/enet/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors/deps/obl -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/build-deps/ffmpeg/macos-aarch64/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wall -Wno-sign-compare -Werror -MD -MT CMakeFiles/sunshine.dir/src/nvenc/nvenc_d3d11.cpp.o -MF CMakeFiles/sunshine.dir/src/nvenc/nvenc_d3d11.cpp.o.d -o CMakeFiles/sunshine.dir/src/nvenc/nvenc_d3d11.cpp.o -c /tmp/sunshine-20241215-20862-wn8ug8/src/nvenc/nvenc_d3d11.cpp
/opt/homebrew/Library/Homebrew/shims/mac/super/clang -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -DSUNSHINE_ASSETS_DIR=\"/opt/homebrew/Cellar/sunshine/0.23.1/sunshine/assets\" -DSUNSHINE_PLATFORM=\"macos\" -DSUNSHINE_TRAY=0 -I/tmp/sunshine-20241215-20862-wn8ug8/build -I/tmp/sunshine-20241215-20862-wn8ug8 -F/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks -isystem /opt/homebrew/Cellar/miniupnpc/2.2.8/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nv-codec-headers/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/moonlight-common-c/enet/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors/deps/obl -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/build-deps/ffmpeg/macos-aarch64/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -MD -MT CMakeFiles/sunshine.dir/src/platform/macos/av_video.m.o -MF CMakeFiles/sunshine.dir/src/platform/macos/av_video.m.o.d -o CMakeFiles/sunshine.dir/src/platform/macos/av_video.m.o -c /tmp/sunshine-20241215-20862-wn8ug8/src/platform/macos/av_video.m
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -DSUNSHINE_ASSETS_DIR=\"/opt/homebrew/Cellar/sunshine/0.23.1/sunshine/assets\" -DSUNSHINE_PLATFORM=\"macos\" -DSUNSHINE_TRAY=0 -I/tmp/sunshine-20241215-20862-wn8ug8/build -I/tmp/sunshine-20241215-20862-wn8ug8 -F/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks -isystem /opt/homebrew/Cellar/miniupnpc/2.2.8/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nv-codec-headers/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/moonlight-common-c/enet/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors/deps/obl -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/build-deps/ffmpeg/macos-aarch64/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wall -Wno-sign-compare -Werror -MD -MT CMakeFiles/sunshine.dir/src/platform/macos/input.cpp.o -MF CMakeFiles/sunshine.dir/src/platform/macos/input.cpp.o.d -o CMakeFiles/sunshine.dir/src/platform/macos/input.cpp.o -c /tmp/sunshine-20241215-20862-wn8ug8/src/platform/macos/input.cpp
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -DSUNSHINE_ASSETS_DIR=\"/opt/homebrew/Cellar/sunshine/0.23.1/sunshine/assets\" -DSUNSHINE_PLATFORM=\"macos\" -DSUNSHINE_TRAY=0 -I/tmp/sunshine-20241215-20862-wn8ug8/build -I/tmp/sunshine-20241215-20862-wn8ug8 -F/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks -isystem /opt/homebrew/Cellar/miniupnpc/2.2.8/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nv-codec-headers/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/moonlight-common-c/enet/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors/deps/obl -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/build-deps/ffmpeg/macos-aarch64/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wall -Wno-sign-compare -Werror -MD -MT CMakeFiles/sunshine.dir/src/process.cpp.o -MF CMakeFiles/sunshine.dir/src/process.cpp.o.d -o CMakeFiles/sunshine.dir/src/process.cpp.o -c /tmp/sunshine-20241215-20862-wn8ug8/src/process.cpp
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.cpp:7:
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.h:17:
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:47:13: error: reference to 'basic_environment' is ambiguous
   47 |     typedef basic_environment<char> environment;
      |             ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:46:11: note: candidate found by name lookup is 'boost::process::basic_environment'
   46 |     class basic_environment;
      |           ^
/opt/homebrew/include/boost/process/v1/environment.hpp:632:7: note: candidate found by name lookup is 'boost::process::v1::basic_environment'
  632 | class basic_environment : public basic_environment_impl<Char, detail::api::basic_environment_impl>
      |       ^
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.cpp:7:
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.h:17:
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:588:19: error: reference to 'child' is ambiguous
  588 |   boost::process::child
      |                   ^
/opt/homebrew/include/boost/process/v1/detail/execute_impl.hpp:45:7: note: candidate found by name lookup is 'boost::process::v1::child'
   45 | class child;
      |       ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:43:11: note: candidate found by name lookup is 'boost::process::child'
   43 |     class child;
      |           ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:589:132: error: reference to 'environment' is ambiguous
  589 |   run_command(bool elevated, bool interactive, const std::string &cmd, boost::filesystem::path &working_dir, const boost::process::environment &env, FILE *file, std::error_code &ec, boost::process::group *group);
      |                                                                                                                                    ^
/opt/homebrew/include/boost/process/v1/environment.hpp:650:37: note: candidate found by name lookup is 'boost::process::v1::environment'
  650 | typedef basic_environment<char>     environment;
      |                                     ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:47:37: note: candidate found by name lookup is 'boost::process::environment'
   47 |     typedef basic_environment<char> environment;
      |                                     ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:589:199: error: reference to 'group' is ambiguous
  589 |   run_command(bool elevated, bool interactive, const std::string &cmd, boost::filesystem::path &working_dir, const boost::process::environment &env, FILE *file, std::error_code &ec, boost::process::group *group);
      |                                                                                                                                                                                                       ^
/opt/homebrew/include/boost/process/v1/group.hpp:61:7: note: candidate found by name lookup is 'boost::process::v1::group'
   61 | class group
      |       ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:44:11: note: candidate found by name lookup is 'boost::process::group'
   44 |     class group;
      |           ^

### Expected Behavior

_No response_

### Additional Context

_No response_

### Host Operating System

Docker

### Operating System Version

15.2 (24C101)

### Architecture

amd64/x86_64

### Sunshine commit or version

none

### Package

Linux - AppImage

### GPU Type

AMD

### GPU Model

Apple M1

### GPU Driver/Mesa Version

Apple M1

### Capture Method

None

### Config

_No response_

### Apps

_No response_

### Relevant log output

```shell
[ 48%] Building CXX object CMakeFiles/sunshine.dir/src/platform/macos/input.cpp.o
[ 49%] Building CXX object CMakeFiles/sunshine.dir/src/nvenc/nvenc_d3d11.cpp.o
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -DSUNSHINE_ASSETS_DIR=\"/opt/homebrew/Cellar/sunshine/0.23.1/sunshine/assets\" -DSUNSHINE_PLATFORM=\"macos\" -DSUNSHINE_TRAY=0 -I/tmp/sunshine-20241215-20862-wn8ug8/build -I/tmp/sunshine-20241215-20862-wn8ug8 -F/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks -isystem /opt/homebrew/Cellar/miniupnpc/2.2.8/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nv-codec-headers/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/moonlight-common-c/enet/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors/deps/obl -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/build-deps/ffmpeg/macos-aarch64/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wall -Wno-sign-compare -Werror -MD -MT CMakeFiles/sunshine.dir/src/nvenc/nvenc_d3d11.cpp.o -MF CMakeFiles/sunshine.dir/src/nvenc/nvenc_d3d11.cpp.o.d -o CMakeFiles/sunshine.dir/src/nvenc/nvenc_d3d11.cpp.o -c /tmp/sunshine-20241215-20862-wn8ug8/src/nvenc/nvenc_d3d11.cpp
/opt/homebrew/Library/Homebrew/shims/mac/super/clang -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -DSUNSHINE_ASSETS_DIR=\"/opt/homebrew/Cellar/sunshine/0.23.1/sunshine/assets\" -DSUNSHINE_PLATFORM=\"macos\" -DSUNSHINE_TRAY=0 -I/tmp/sunshine-20241215-20862-wn8ug8/build -I/tmp/sunshine-20241215-20862-wn8ug8 -F/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks -isystem /opt/homebrew/Cellar/miniupnpc/2.2.8/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nv-codec-headers/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/moonlight-common-c/enet/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors/deps/obl -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/build-deps/ffmpeg/macos-aarch64/include -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -MD -MT CMakeFiles/sunshine.dir/src/platform/macos/av_video.m.o -MF CMakeFiles/sunshine.dir/src/platform/macos/av_video.m.o.d -o CMakeFiles/sunshine.dir/src/platform/macos/av_video.m.o -c /tmp/sunshine-20241215-20862-wn8ug8/src/platform/macos/av_video.m
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -DSUNSHINE_ASSETS_DIR=\"/opt/homebrew/Cellar/sunshine/0.23.1/sunshine/assets\" -DSUNSHINE_PLATFORM=\"macos\" -DSUNSHINE_TRAY=0 -I/tmp/sunshine-20241215-20862-wn8ug8/build -I/tmp/sunshine-20241215-20862-wn8ug8 -F/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks -isystem /opt/homebrew/Cellar/miniupnpc/2.2.8/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nv-codec-headers/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/moonlight-common-c/enet/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors/deps/obl -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/build-deps/ffmpeg/macos-aarch64/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wall -Wno-sign-compare -Werror -MD -MT CMakeFiles/sunshine.dir/src/platform/macos/input.cpp.o -MF CMakeFiles/sunshine.dir/src/platform/macos/input.cpp.o.d -o CMakeFiles/sunshine.dir/src/platform/macos/input.cpp.o -c /tmp/sunshine-20241215-20862-wn8ug8/src/platform/macos/input.cpp
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DNDEBUG -DSUNSHINE_ASSETS_DIR=\"/opt/homebrew/Cellar/sunshine/0.23.1/sunshine/assets\" -DSUNSHINE_PLATFORM=\"macos\" -DSUNSHINE_TRAY=0 -I/tmp/sunshine-20241215-20862-wn8ug8/build -I/tmp/sunshine-20241215-20862-wn8ug8 -F/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks -isystem /opt/homebrew/Cellar/miniupnpc/2.2.8/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nv-codec-headers/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/moonlight-common-c/enet/include -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/nanors/deps/obl -isystem /tmp/sunshine-20241215-20862-wn8ug8/third-party/build-deps/ffmpeg/macos-aarch64/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wall -Wno-sign-compare -Werror -MD -MT CMakeFiles/sunshine.dir/src/process.cpp.o -MF CMakeFiles/sunshine.dir/src/process.cpp.o.d -o CMakeFiles/sunshine.dir/src/process.cpp.o -c /tmp/sunshine-20241215-20862-wn8ug8/src/process.cpp
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.cpp:7:
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.h:17:
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:47:13: error: reference to 'basic_environment' is ambiguous
   47 |     typedef basic_environment<char> environment;
      |             ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:46:11: note: candidate found by name lookup is 'boost::process::basic_environment'
   46 |     class basic_environment;
      |           ^
/opt/homebrew/include/boost/process/v1/environment.hpp:632:7: note: candidate found by name lookup is 'boost::process::v1::basic_environment'
  632 | class basic_environment : public basic_environment_impl<Char, detail::api::basic_environment_impl>
      |       ^
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.cpp:7:
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.h:17:
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:588:19: error: reference to 'child' is ambiguous
  588 |   boost::process::child
      |                   ^
/opt/homebrew/include/boost/process/v1/detail/execute_impl.hpp:45:7: note: candidate found by name lookup is 'boost::process::v1::child'
   45 | class child;
      |       ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:43:11: note: candidate found by name lookup is 'boost::process::child'
   43 |     class child;
      |           ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:589:132: error: reference to 'environment' is ambiguous
  589 |   run_command(bool elevated, bool interactive, const std::string &cmd, boost::filesystem::path &working_dir, const boost::process::environment &env, FILE *file, std::error_code &ec, boost::process::group *group);
      |                                                                                                                                    ^
/opt/homebrew/include/boost/process/v1/environment.hpp:650:37: note: candidate found by name lookup is 'boost::process::v1::environment'
  650 | typedef basic_environment<char>     environment;
      |                                     ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:47:37: note: candidate found by name lookup is 'boost::process::environment'
   47 |     typedef basic_environment<char> environment;
      |                                     ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:589:199: error: reference to 'group' is ambiguous
  589 |   run_command(bool elevated, bool interactive, const std::string &cmd, boost::filesystem::path &working_dir, const boost::process::environment &env, FILE *file, std::error_code &ec, boost::process::group *group);
      |                                                                                                                                                                                                       ^
/opt/homebrew/include/boost/process/v1/group.hpp:61:7: note: candidate found by name lookup is 'boost::process::v1::group'
   61 | class group
      |       ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:44:11: note: candidate found by name lookup is 'boost::process::group'
   44 |     class group;
      |           ^
In file included from /tmp/sunshine-20241214-20862-wn8ug8/src/process.cpp:7:
/tmp/sunshine-20241215-20862-wn8ug8/src/process.h:71:23: error: reference to 'environment' is ambiguous
   71 |       boost::process::environment &&env,
      |                       ^
/opt/homebrew/include/boost/process/v1/environment.hpp:650:37: note: candidate found by name lookup is 'boost::process::v1::environment'
  650 | typedef basic_environment<char>     environment;
      |                                     ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:47:37: note: candidate found by name lookup is 'boost::process::environment'
   47 |     typedef basic_environment<char> environment;
      |                                     ^
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.cpp:7:
/tmp/sunshine-20241215-20862-wn8ug8/src/process.h:102:21: error: reference to 'environment' is ambiguous
  102 |     boost::process::environment _env;
      |                     ^
/opt/homebrew/include/boost/process/v1/environment.hpp:650:37: note: candidate found by name lookup is 'boost::process::v1::environment'
  650 | typedef basic_environment<char>     environment;
      |                                     ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:47:37: note: candidate found by name lookup is 'boost::process::environment'
   47 |     typedef basic_environment<char> environment;
      |                                     ^
In file included from /tmp/sunshine-20241215-20862-wn8ug8/src/process.cpp:7:
/tmp/sunshine-20241215-20862-wn8ug8/src/process.h:110:21: error: reference to 'child' is ambiguous
  110 |     boost::process::child _process;
      |                     ^
/opt/homebrew/include/boost/process/v1/detail/execute_impl.hpp:45:7: note: candidate found by name lookup is 'boost::process::v1::child'
   45 | class child;
      |       ^
/tmp/sunshine-20241215-20862-wn8ug8/src/platform/common.h:43:11: note: candidate found by name lookup is 'boost::process::child'
   43 |     class child;
@cybercall
Copy link
Author

fix with brew install sunshine-beta

@ReenigneArcher ReenigneArcher closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants