Package Details: sunshine 2025.122.141614-7

Git Clone URL: https://aur.archlinux.org/sunshine.git (read-only, click to copy)
Package Base: sunshine
Description: A self-hosted GameStream host for Moonlight
Upstream URL: https://github.com/LizardByte/Sunshine
Keywords: gaming moonlight streaming
Licenses: GPL-3.0-only
Submitter: hadogenes
Maintainer: dr460nf1r3 (xiota)
Last Packager: xiota
Votes: 59
Popularity: 2.79
First Submitted: 2021-04-26 11:33 (UTC)
Last Updated: 2025-05-05 04:18 (UTC)

Pinned Comments

xiota commented on 2025-02-19 18:03 (UTC) (edited on 2025-05-02 04:06 (UTC) by xiota)

Rebuilding AUR packages for library updates and mismatches is inevitable. This package uses sodeps to reduce breaks caused by library updates. When ready to rebuild, use a clean chroot or force upgrades with pacman -Syudd.

xiota commented on 2024-07-17 01:54 (UTC) (edited on 2025-02-19 18:06 (UTC) by xiota)

Switched default to cuda disabled (no nvenc) because cuda is a heavy package and Nvidia users are minority on Linux.

Nvidia users, install cuda manually before building or run as _build_cuda=t makepkg (method to pass variables to AUR helpers may vary).

xiota commented on 2024-07-09 23:41 (UTC) (edited on 2025-02-19 18:07 (UTC) by xiota)

For those concerned about "losing" upstream support for AUR, such support had already officially been discontinued long ago. The relevant comment from 2023-02-21 is pinned.

Before reporting issues to upstream, confirm them with git checkout or upstream binaries.

Package-specific issues should be reported here.

<deleted-account> commented on 2023-02-21 02:33 (UTC)

In order to simplify maintenance of Sunshine, we have decided to drop support of this AUR package, since we are now publishing a pre-compiled pkg.tar.zst package as well as the PKGBUILD file to our GitHub releases. If someone would like to take over the AUR it would be ideal if there is communication with us in our Discord. Please reach out if you're interested. Thanks!

Latest Comments

1 2 3 4 5 6 .. 19 Next › Last »

xiota commented on 2025-05-12 09:09 (UTC) (edited on 2025-05-12 09:10 (UTC) by xiota)

@raevn That problem is caused by delayed updates of some distros. Consider switching to the testing repo.

raevn commented on 2025-05-12 08:31 (UTC)

I think PKGBUILD specifying the version of gcc is conflicting with the gcc version installed. Removing the specific version in PKGBUILD allows installation to complete

Installing repository dependencies for sunshine:
resolving dependencies...
looking for conflicting packages...

Packages (9) gcc14-libs-14.2.1+r753+g1cd744a6828f-1  libngtcp2-1.12.0-1  node-gyp-11.2.0-1  nodejs-23.9.0-1  nodejs-nopt-7.2.1-1  semver-7.7.1-1  ffnvcodec-headers-13.0.19.0-1  gcc14-14.2.1+r753+g1cd744a6828f-1  npm-11.3.0-1

Total Installed Size:  257.21 MiB

:: Proceed with installation? [Y/n] Y
(9/9) checking keys in keyring                                                                                                                                            [#########################################################################################################] 100%
(9/9) checking package integrity                                                                                                                                          [#########################################################################################################] 100%
(9/9) loading package files                                                                                                                                               [#########################################################################################################] 100%
(9/9) checking for file conflicts                                                                                                                                         [#########################################################################################################] 100%
error: failed to commit transaction (conflicting files)
gcc14: /usr/bin/x86_64-pc-linux-gnu-gcc-14.2.1 exists in filesystem (owned by gcc)
gcc14: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/cc1 exists in filesystem (owned by gcc)
gcc14: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/cc1plus exists in filesystem (owned by gcc)
gcc14: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/collect2 exists in filesystem (owned by gcc)
gcc14: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/crtbegin.o exists in filesystem (owned by gcc)
gcc14: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/crtbeginS.o exists in filesystem (owned by gcc)
gcc14: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/crtbeginT.o exists in filesystem (owned by gcc)
gcc14: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/crtend.o exists in filesystem (owned by gcc)
gcc14: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/crtendS.o exists in filesystem (owned by gcc)

FabioAreia commented on 2025-05-07 18:08 (UTC)

ucnv_getMaxCharSize_75

xiota commented on 2025-05-05 06:44 (UTC)

@ghostwolf pkgconf is installed with core/base-devel, which is a prerequisite to build packages.

ghostwolf commented on 2025-05-05 05:54 (UTC)

I had to install pkconf manually to fix this error. Shouldn't this package be a dependency in that case?

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
  Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)         
Call Stack (most recent call first):                                               
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPkgConfig.cmake:110 (find_package_handle_standard_args)
  cmake/macros/common.cmake:27 (_find_package)
  cmake/dependencies/common.cmake:20 (find_package)                                                                                                                   
  CMakeLists.txt:54 (include)   

xiota commented on 2025-05-05 04:20 (UTC)

@turbochamp The cuda warnings mean Nvidia doesn't support some older hardware anymore. The real problem was a change in boost. I've made some adjustments so it should build now.

turbochamp commented on 2025-05-05 02:33 (UTC)

I've tried gcc 13, 14 and 15 and previous commits but I cannot get it to build.

[64/158] Building CUDA object CMakeFiles/sunshine.dir/src/platform/linux/cuda.cu.o
nvcc warning : incompatible redefinition for option 'std', the last value of this option was used
nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: sunshine-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
sunshine - exit status 4

urbenlegend commented on 2025-05-02 05:16 (UTC)

I had already tried clearing cache. Deleted the entire PKGBUILD folder. Seemed like I needed a system restart instead to fix the build issue oddly enough.

xiota commented on 2025-05-02 04:04 (UTC)

@urbenlegend I had successful build before pushing changes. Have you tried clearing cache or clean chroot? (Pushed changes for very recent cuda update, but probably not related to your problem.)

urbenlegend commented on 2025-05-02 02:52 (UTC)

GCC14 is also breaking the build.

/home/user/.cache/paru/clone/sunshine/src/sunshine/third-party/tray/src/tray_linux.c: In function ‘tray_update_internal’:
/home/user/.cache/paru/clone/sunshine/src/sunshine/third-party/tray/src/tray_linux.c:103:87: error: passing argument 4 of ‘notify_notification_add_action’ from incompatible pointer type [-Wincompatible-pointer-types]

Version 2025.122.141614-4 with GCC13 successfully compiled. 2025.122.141614-5 does not.