Package Details: apollo-git 0.4.8.r4.g08757dc-2

Git Clone URL: https://aur.archlinux.org/apollo-git.git (read-only, click to copy)
Package Base: apollo-git
Description: A self-hosted game stream server
Upstream URL: https://github.com/ClassicOldSong/Apollo
Licenses: GPL-3.0-only
Conflicts: apollo
Provides: apollo
Submitter: xiota
Maintainer: xiota
Last Packager: xiota
Votes: 2
Popularity: 0.95
First Submitted: 2025-09-09 22:19 (UTC)
Last Updated: 2025-10-22 17:06 (UTC)

Latest Comments

Pepin208 commented on 2025-10-22 11:09 (UTC) (edited on 2025-10-22 11:10 (UTC) by Pepin208)

@xiota: For Boost 1.89.0+ compatibility, please consider updating third-party/Simple-Web-Server/CMakeLists.txt (line ~44): Change:

find_package(Boost 1.53.0 COMPONENTS system REQUIRED) To: find_package(Boost 1.53.0 REQUIRED)

This resolves the missing boost_systemConfig.cmake error, as Boost::system is now header-only in newer versions (see boostorg/system#132). Thanks!

happyme531 commented on 2025-10-15 09:20 (UTC)

Hello,

The PKGBUILD fails to build with CUDA enabled due to a small syntax error when setting the compiler variables.

CMake Error at /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake:48 (message):
  Could not find compiler set in environment variable CC:

  gcc-_cuda_gcc_version.
Call Stack (most recent call first):
  CMakeLists.txt:7 (project)


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

The compiler is incorrectly set to the literal string gcc-_cuda_gcc_version.

Here is a patch to fix it:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -93,11 +93,11 @@
   export BUILD_VERSION="${pkgver%%.r*}"
   export COMMIT="$(git -C "$_pkgsrc" rev-parse HEAD)"

-  export CC="gcc${_cuda_gcc_version:+-_cuda_gcc_version}"
-  export CXX="g++${_cuda_gcc_version:+-_cuda_gcc_version}"
+  export CC="gcc${_cuda_gcc_version:+-${_cuda_gcc_version}}"
+  export CXX="g++${_cuda_gcc_version:+-${_cuda_gcc_version}}"

   export CUDA_PATH=/opt/cuda
-  export NVCC_CCBIN="/usr/bin/g++${_cuda_gcc_version:+-_cuda_gcc_version}"
+  export NVCC_CCBIN="/usr/bin/g++${_cuda_gcc_version:+-${_cuda_gcc_version}}"

   local _cmake_options=(
     -B build

Thanks for maintaining the package.