fails to build after update to gcc 16
Search Criteria
Package Details: sunshine 2026.516.143833-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/sunshine.git (read-only, click to copy) |
|---|---|
| Package Base: | sunshine |
| Description: | Self-hosted game stream host for Moonlight |
| Upstream URL: | https://app.lizardbyte.dev/Sunshine |
| Licenses: | GPL-3.0-only |
| Submitter: | hadogenes |
| Maintainer: | LizardByte |
| Last Packager: | LizardByte |
| Votes: | 80 |
| Popularity: | 3.45 |
| First Submitted: | 2021-04-26 11:33 (UTC) |
| Last Updated: | 2026-05-16 23:04 (UTC) |
Dependencies (38)
- avahi
- curl (curl-gitAUR, curl-c-aresAUR)
- libayatana-appindicator
- libcap
- libdrm (libdrm-gitAUR)
- libevdev (libevdev-gitAUR)
- libmfx (intel-media-stack-legacy-binAUR, libmfx-gitAUR, intel-media-stack-binAUR)
- libnotify (libnotify-gitAUR)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR, libpipewire-ldacAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libva (libva-gitAUR, intel-media-stack-legacy-binAUR, intel-media-stack-binAUR, libva-headlessAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxfixes
- libxrandr (libxrandr-gitAUR)
- libxtst
- miniupnpc (miniupnpc-gitAUR)
- numactl (numactl-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR, openssl-aegisAUR)
- opus (opus-gitAUR)
- Show 18 more dependencies...
Required by (2)
- fauxput (optional)
- fauxput-bin (optional)
Sources (1)
Neurofibromin commented on 2026-05-17 13:57 (UTC)
urbenlegend commented on 2025-09-21 06:48 (UTC) (edited on 2025-09-21 06:48 (UTC) by urbenlegend)
@Xarth
It does seem like this package puts udev rules already in /usr/lib/udev/rules.d/60-sunshine.rules, so you most likely don't have to add your own rules in /etc/udev/rules.d to get input working again.
I also ran into permissions issues today and all I had to do was add myself to the input group to get things working again.
Nocifer commented on 2025-09-20 19:21 (UTC) (edited on 2025-09-20 19:23 (UTC) by Nocifer)
So let me see if I get this correctly:
According to the previous logic, if the if [[ "${_use_cuda::1}" == "t" ]] block read as true (which would mean either that CUDA has been detected as installed on the system or that the user has manually set _use_cuda to true) then CUDA would be added both to the makedepends array and to the optdepends array, so the build would pull it in as a make dependency. This would work perfectly fine even on an AMD system, even if CUDA would obviously be a no go during runtime.
According to the new logic in the latest PKGBUILD, if the if [[ "${_use_cuda::1}" == "t" ]] block reads as true then CUDA is now only added to the optdepends array but not to the makedepends array. This means that if I set _use_cuda to true, the build will fail because CUDA is no longer getting pulled as a make dependency but SUNSHINE_ENABLE_CUDA and CUDA_FAIL_ON_MISSING are still set to ON - in other words, building with CUDA will only work if and only if I have CUDA preinstalled on my system.
Why was this change implemented in such a way that it breaks the previously working procedure?
I'm asking out of curiosity; I'm on an AMD system so this doesn't affect me in the slightest.
mdhen commented on 2025-09-19 21:12 (UTC) (edited on 2025-09-20 00:35 (UTC) by mdhen)
CUDA is now set as an optional dependency - issue on AMD systems fixed.
HatsuneCthulhu commented on 2025-09-19 02:58 (UTC) (edited on 2025-09-19 03:10 (UTC) by HatsuneCthulhu)
This is now broken on AMD systems since LizardByte took over as maintainer (as in rev 4 onwards), it's requiring cuda as a build dependency, which obviously AMD systems will not have.
LizardByte commented on 2025-09-13 14:53 (UTC)
@urbenlegend Thanks for the report. There is a workaround fix in process https://github.com/LizardByte/pacman-repo/pull/52 and https://github.com/LizardByte/Sunshine/pull/4254
urbenlegend commented on 2025-09-13 03:54 (UTC)
Automated tests are failing and causes package to fail to finish build:
----------] 3 tests from EncoderVariants/EncoderTest (0 ms total)
[----------] Global test environment tear-down
[==========] 222 tests from 26 test suites ran. (2164 ms total)
[ PASSED ] 211 tests.
[ SKIPPED ] 11 tests, listed below:
[ SKIPPED ] Configurations/AudioTest.TestEncode/HIGH_STEREO
[ SKIPPED ] Configurations/AudioTest.TestEncode/SURROUND51
[ SKIPPED ] Configurations/AudioTest.TestEncode/SURROUND71
[ SKIPPED ] Configurations/AudioTest.TestEncode/SURROUND51_CUSTOM
[ SKIPPED ] MouseInputs/MouseHIDTest.MoveInputTest/0
[ SKIPPED ] MouseInputs/MouseHIDTest.MoveInputTest/1
[ SKIPPED ] MouseInputs/MouseHIDTest.AbsMoveInputTest/0
[ SKIPPED ] MouseInputs/MouseHIDTest.AbsMoveInputTest/1
[ SKIPPED ] EncoderVariants/EncoderTest.ValidateEncoder/nvenc
[ SKIPPED ] EncoderVariants/EncoderTest.ValidateEncoder/vaapi
[ SKIPPED ] EncoderVariants/EncoderTest.ValidateEncoder/software
[ FAILED ] 0 tests, listed below:
0 FAILED TESTS
[ FAILED ] Configurations/AudioTest: SetUpTestSuite or TearDownTestSuite
[ FAILED ] MouseInputs/MouseHIDTest: SetUpTestSuite or TearDownTestSuite
[ FAILED ] EncoderVariants/EncoderTest: SetUpTestSuite or TearDownTestSuite
3 FAILED TEST SUITES
==> ERROR: A failure occurred in check().
Aborting...
error: failed to build 'sunshine-2025.628.4510-5':
error: packages failed to build: sunshine-2025.628.4510-5
Pinned Comments
LizardByte commented on 2025-09-09 01:59 (UTC)
This package is automatically synced from https://github.com/LizardByte/pacman-repo
GitHub provides the ability for anyone to contribute fixes/improvements instead of only one maintainer. Please submit fixes, issues, etc. on GitHub.
Temporary build fixes for stable version should be submitted to https://github.com/LizardByte/pacman-repo
Permanent fixes that should persist with future versions should also be submitted to https://github.com/LizardByte/Sunshine