Hello, I was trying to install GPUpad via the AUR on CachyOS but I get a build error.
I was installing via Shelly.
$ shelly aur install gpupad-git
[...]
The following packages will be built and installed:
* egl-registry:x64-linux-release@2025-05-27
* opengl-registry:x64-linux-release@2026-01-26
* vcpkg-cmake:x64-linux@2024-04-23
* vcpkg-cmake-config:x64-linux@2024-05-23
vulkan-memory-allocator:x64-linux-release@3.4.0
* zstd:x64-linux-release@1.5.7
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-linux-release...
Compiler found: /usr/bin/c++
Detecting compiler hash for triplet x64-linux...
Compiler found: /usr/bin/c++
[...]
Downloading https://github.com/KhronosGroup/KTX-Software/archive/v4.4.2.tar.gz -> KhronosGroup-KTX-Software-v4.4.2.tar.gz
Successfully downloaded KhronosGroup-KTX-Software-v4.4.2.tar.gz
-- Extracting source /home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/downloads/KhronosGroup-KTX-Software-v4.4.2.tar.gz
-- Applying patch 0001-Use-vcpkg-zstd.patch
-- Applying patch 0003-mkversion.patch
-- Applying patch 0004-quirks.patch
-- Applying patch 0005-no-vendored-libs.patch
-- Applying patch 0006-fix-ios-install.patch
-- Applying patch ktxread-libtool.diff
-- Using source at /home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean
-- Configuring x64-linux-release-rel
-- Building x64-linux-release-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: /usr/bin/cmake --build . --config Release --target install -- -v -j25
Working Directory: /home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/x64-linux-release-rel
See logs for more information:
/home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/install-x64-linux-release-rel-out.log
Call Stack (most recent call first):
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/ktx/portfile.cmake:57 (vcpkg_cmake_install)
scripts/ports.cmake:206 (include)
error: building ktx:x64-linux-release failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle ktx:x64-linux-release: 1 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+ktx
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Bktx%5D%20build%20error%20on%20x64-linux-release&body=Copy%20issue%20body%20from%20%2Fhome%2Ftoxe%2F.cache%2FShelly%2Fgpupad-git%2Fsrc%2Fgpupad%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
You can also submit an issue by running (GitHub CLI must be installed):
==> ERROR: A failure occurred in build().
Aborting...
:: (1/1) building gpupad-git - Building package with makepkg
:: (1/1) failed gpupad-git - Failed to build package with makepkg
:: Transaction complete.
Installation complete.
This from the build log file:
FAILED: [code=1] CMakeFiles/ktx.dir/external/basisu/encoder/basisu_kernels_sse.cpp.o
/usr/bin/c++ -DBASISD_SUPPORT_FXT1=0 -DBASISD_SUPPORT_KTX2=1 -DBASISD_SUPPORT_KTX2_ZSTD=0 -DBASISU_SUPPORT_OPENCL=0 -DBASISU_SUPPORT_SSE=1 -DKHRONOS_STATIC -DKTX_FEATURE_KTX1 -DKTX_FEATURE_KTX2 -DKTX_FEATURE_WRITE -DLIBKTX -DSUPPORT_SOFTWARE_ETC_UNPACK=1 -I/home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/include -I/home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/external/basisu/transcoder -I/home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/external -I/home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/utils -I/home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/external/dfdutils -I/home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/external/basisu -I/home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/external/astc-encoder/Source -isystem /home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/other_include -isystem /home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/installed/x64-linux-release/include -march=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -fPIC -O3 -DNDEBUG -Wall -Wextra -O3 -ffp-contract=off -Wno-cast-function-type -Wno-pedantic -msse4.1 -fno-strict-aliasing -Wno-sign-compare -Wno-unused-variable -Wno-class-memaccess -Wno-misleading-indentation -Wno-extra -Wno-deprecated-copy -Wno-parentheses -MD -MT CMakeFiles/ktx.dir/external/basisu/encoder/basisu_kernels_sse.cpp.o -MF CMakeFiles/ktx.dir/external/basisu/encoder/basisu_kernels_sse.cpp.o.d -o CMakeFiles/ktx.dir/external/basisu/encoder/basisu_kernels_sse.cpp.o -c /home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/external/basisu/encoder/basisu_kernels_sse.cpp
/home/toxe/.cache/Shelly/gpupad-git/src/gpupad/vcpkg/buildtrees/ktx/src/v4.4.2-16f9ed2e07.clean/external/basisu/encoder/basisu_kernels_sse.cpp:27:18: error: #error Please check your compiler options
27 | #error Please check your compiler options
| ^~~~~
Hello, I was trying to install GPUpad via the AUR on CachyOS but I get a build error.
I was installing via Shelly.
This from the build log file: