Package Details: proton-cachyos 1:9.0.20241206-2

Git Clone URL: https://aur.archlinux.org/proton-cachyos.git (read-only, click to copy)
Package Base: proton-cachyos
Description: Compatibility tool for Steam Play based on Wine and additional components, experimental branch with extra CachyOS flavour
Upstream URL: https://github.com/cachyos/proton-cachyos
Licenses: custom
Provides: proton
Submitter: loathingkernel
Maintainer: loathingkernel (ptr1337)
Last Packager: loathingkernel
Votes: 0
Popularity: 0.000000
First Submitted: 2024-11-01 10:46 (UTC)
Last Updated: 2024-12-09 09:17 (UTC)

Required by (4)

Sources (6)

Latest Comments

shayaknyc commented on 2024-12-22 17:32 (UTC) (edited on 2024-12-22 22:48 (UTC) by shayaknyc)

@loathingkernel i only use paru, that didn't help. I'll look into the clean chroot.

Edit: ok, the clean chroot didn't help. As per the upstream developer, I ended up using their docker-makepkg package (https://github.com/CachyOS/docker-makepkg) and ran the command directly inside the cloned aur repo: time docker run --name dockerbuilder -e EXPORT_PKG=1 -e SYNC_DATABASE=1 -v $PWD:/pkg cachyos/docker-makepkg && docker rm dockerbuilder

It took about 30 mins, but it compiled and was able to install the .zst package once it was done without any issue.

TommyV6 commented on 2024-12-22 17:30 (UTC)

On my system with AMD this package is building OK. On nvidia system I`m getting this error, but I really need nvidia support for proton :(

loathingkernel commented on 2024-12-22 15:29 (UTC)

Uninstall cuda from your system and rebuild, or build in a clean chroot, or use paru which can be configured to build packages in a clean chroot.

shayaknyc commented on 2024-12-18 22:09 (UTC)

I posted to the upstream github repo here: https://github.com/CachyOS/proton-cachyos/issues/6

The developer of CachyOS replied with:

Can you reproduce this issue in a chroot? e.g docker-makepkg or pkgctl builld ?

As someone who's not a developer and not as well versed in these things (tho general linux admin I'm pretty good at) I asked for more info on what this means. I suspect that during the compilation process it needs root in order to "see" the library in /opt/cuda/include/cub - my suspicion is based on the suggestion to use docker-makepkg which somehow "spoofs" root and "allows" the rest of the compilation process to complete, but this feels like an overwrought solution that I also do not know how to implement. Anyone else may have an idea on how to proceed here?

TommyV6 commented on 2024-12-18 22:01 (UTC) (edited on 2024-12-18 22:03 (UTC) by TommyV6)

Same problem here: This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python (found version "3.12.7") -- Running gen_cmake_skeleton.py /var/tmp/pamac-build-user/proton-cachyos/src/build/src-kaldi/cmake/gen_cmake_skeleton.py:235: SyntaxWarning: invalid escape sequence '\s' libs = re.findall("[^\s\\=]+", libs) -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found CUDAToolkit: /opt/cuda/targets/x86_64-linux/include (found version "12.6.85") CMake Warning (dev) at CMakeLists.txt:168 (find_package): Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake --help-policy CMP0146" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

-- Found CUDA: /opt/cuda (found version "12.6") -- Found NvToolExt: /opt/cuda/include CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find CUB (missing: CUB_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) cmake/FindCUB.cmake:17 (find_package_handle_standard_args) CMakeLists.txt:200 (find_package)

-- Configuring incomplete, errors occurred! make[1]: *** [../proton-cachyos/Makefile.in:652: /var/tmp/pamac-build-user/proton-cachyos/src/build/.kaldi-configure32] Błąd 1 make[1]: Opuszczenie katalogu '/var/tmp/pamac-build-user/proton-cachyos/src/build' make: *** [../proton-cachyos/Makefile.in:1544: dist] Błąd 2

shayaknyc commented on 2024-12-12 20:55 (UTC) (edited on 2024-12-12 21:12 (UTC) by shayaknyc)

Anyone else getting errors in trying to compile this? This happens every time I've tried to makepkg -si:

Re-run cmake no build system arguments
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/user/.cache/paru/clone/proton-cachyos/src/wrappers/i686-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/user/.cache/paru/clone/proton-cachyos/src/wrappers/i686-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:25 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python (found version "3.12.7")
-- Running gen_cmake_skeleton.py
/home/user/.cache/paru/clone/proton-cachyos/src/build/src-kaldi/cmake/gen_cmake_skeleton.py:235: SyntaxWarning: invalid escape sequence '\s'
  libs = re.findall("[^\s\\\\=]+", libs)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found CUDAToolkit: /opt/cuda/targets/x86_64-linux/include (found version "12.6.85")
CMake Warning (dev) at CMakeLists.txt:168 (find_package):
  Policy CMP0146 is not set: The FindCUDA module is removed.  Run "cmake
  --help-policy CMP0146" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found CUDA: /opt/cuda (found version "12.6")
-- Found NvToolExt: /opt/cuda/include
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find CUB (missing: CUB_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindCUB.cmake:17 (find_package_handle_standard_args)
  CMakeLists.txt:200 (find_package)


-- Configuring incomplete, errors occurred!
make[1]: *** [../proton-cachyos/Makefile.in:652: /home/user/.cache/paru/clone/proton-cachyos/src/build/.kaldi-configure32] Error 1
make[1]: Leaving directory '/home/user/.cache/paru/clone/proton-cachyos/src/build'
make: *** [../proton-cachyos/Makefile.in:1544: dist] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'proton-cachyos-1:9.0.20241206-2': 
error: packages failed to build: proton-cachyos-1:9.0.20241206-2

I also confirmed that the CUB library is present in /opt/cuda/include/cub. Anyone got any ideas?