sonic-pi
sonic-pi copied to clipboard
Build scripts fails when it tries to use cmake with the too many threads as option Command failed: /usr/bin/cmake --build . --config Debug --target install -- -v -j25
Environment: Gentoo Podman Distrobox on x86_64 CPU with 24 Threads
I am trying to install Sonic Pi on my Gentoo Desktop for a while now. Because there is no Ebuild for it i tried installing it in a Distrobox with Podman as Container Engine. First I did it in an Arch Linux instance from the repo. The installation succeeded but I had no Sound. Than I tried to install the Aur Version on Artix Linux which failed in installation because needed packages where not able to be found. Now I was trying to install it from source on an Gentoo Distrobox so I might write my own Ebuild in the future. It looked promising until it tried to use the cmake command with 25 threads even though I only have 24 on my machine.
./linux-build-all.sh
Computing installation plan...
The following packages are already installed:
catch2:x64-linux -> 3.3.2
concurrentqueue:x64-linux -> 1.0.3#1
crossguid:x64-linux -> 2021-10-22#3
fmt:x64-linux -> 10.0.0
gl3w:x64-linux -> 2018-05-31#4
gsl-lite:x64-linux -> 0.41.0
kissfft:x64-linux -> 131.1.0
libsndfile[core,external-libs]:x64-linux -> 1.2.0#1
platform-folders:x64-linux -> 4.2.0#1
The following packages will be built and installed:
reproc:x64-linux -> 14.2.4#1
sdl2[base,core,ibus,wayland,x11]:x64-linux -> 2.26.5
Detecting compiler hash for triplet x64-linux...
Restored 0 package(s) from /home/.../.cache/vcpkg/archives in 9.76 us. Use --debug to see more details.
catch2:x64-linux is already installed
concurrentqueue:x64-linux is already installed
crossguid:x64-linux is already installed
fmt:x64-linux is already installed
gl3w:x64-linux is already installed
gsl-lite:x64-linux is already installed
kissfft:x64-linux is already installed
libsndfile:x64-linux is already installed
platform-folders:x64-linux is already installed
Installing 1/2 reproc:x64-linux...
Building reproc:x64-linux...
-- Using cached DaanDeMeyer-reproc-v14.2.4.tar.gz.
-- Cleaning sources at /home/.../Development/sonic-pi/app/vcpkg/buildtrees/reproc/src/v14.2.4-061178cb57.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/.../Development/sonic-pi/app/vcpkg/downloads/DaanDeMeyer-reproc-v14.2.4.tar.gz
-- Using source at /home/.../Development/sonic-pi/app/vcpkg/buildtrees/reproc/src/v14.2.4-061178cb57.clean
-- Found external ninja('1.11.1').
-- Configuring x64-linux
-- Building x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: /usr/bin/cmake --build . --config Debug --target install -- -v -j25
Working Directory: /home/.../Development/sonic-pi/app/vcpkg/buildtrees/reproc/x64-linux-dbg
See logs for more information:
/home/.../Development/sonic-pi/app/vcpkg/buildtrees/reproc/install-x64-linux-dbg-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/reproc/portfile.cmake:17 (vcpkg_cmake_install)
scripts/ports.cmake:147 (include)
error: building reproc:x64-linux failed with: BUILD_FAILED
Elapsed time to handle reproc:x64-linux: 455 ms
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+reproc
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[reproc]+Build+error&body=Copy+issue+body+from+%2Fhome%2Fmalik%2Fworkspace%2FGentoo%2FDevelopment%2Fsonic-pi%2Fapp%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md