Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing env param when building on arm #2417

Open
1 task
drbobbb opened this issue Nov 18, 2024 · 1 comment
Open
1 task

Missing env param when building on arm #2417

drbobbb opened this issue Nov 18, 2024 · 1 comment

Comments

@drbobbb
Copy link

drbobbb commented Nov 18, 2024

Summary

When im building on arm (armbian) im facing the problem

CMake was unable to find a build program corresponding to "Ninja"
Described in

VCPKG log says
Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm, s390x, ppc64le and riscv platforms.

in this case simply an env param is missing

export VCPKG_FORCE_SYSTEM_BINARIES=1

Operating system

Linux

Steps to reproduce

  1. Try build ladybord on armbian or another linux arm system

Expected behavior

Run build

Actual behavior

Runs into message

  • CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

URL for a reduced test case

N/A

HTML/SVG/etc. source for a reduced test case

N/A

Log output and (if possible) backtrace

CMake Error at Build/vcpkg/scripts/buildsystems/vcpkg.cmake:904 (message):
  vcpkg install failed.  See logs for more information:
  /home/omdm/git/ladybird/Build/release/vcpkg-manifest-install.log
Call Stack (most recent call first):
  /usr/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake:124 (include)
  CMakeLists.txt:15 (project)


CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
ninja: Entering directory `/home/omdm/git/ladybird/Build/release'
ninja: error: loading 'build.ninja': No such file or directory
./Meta/ladybird.sh: line 217: /home/omdm/git/ladybird/Build/release/bin/Ladybird: No such file or directory






Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm, s390x, ppc64le and riscv platforms.

Screenshots or screen recordings

No response

Build flags or config settings

No response

Contribute a patch?

  • I’ll contribute a patch for this myself.
@turazashvili
Copy link

same issue for me onn WSL2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants