Skip to content

[sfml] sfml dep doesn't build on aarch64 linux under wayland #909

@aaylward

Description

@aaylward

missing X11 deps

CMake Error at /home/andy/.bazelout/external/rules_foreign_cc++tools+cmake-3.31.8-linux-aarch64/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB Xrandr
  Xcursor Xi)
Call Stack (most recent call first):
  /home/andy/.bazelout/external/rules_foreign_cc++tools+cmake-3.31.8-linux-aarch64/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /home/andy/.bazelout/external/rules_foreign_cc++tools+cmake-3.31.8-linux-aarch64/share/cmake-3.31/Modules/FindX11.cmake:676 (find_package_handle_standard_args)
  src/SFML/Window/CMakeLists.txt:279 (find_package)


-- Configuring incomplete, errors occurred!
_____ END BUILD LOGS _____
rules_foreign_cc: Build wrapper script location: bazel-out/aarch64-opt/bin/external/+sfml+sfml/sfml_cmake_foreign_cc/wrapper_build_script.sh
rules_foreign_cc: Build script location: bazel-out/aarch64-opt/bin/external/+sfml+sfml/sfml_cmake_foreign_cc/build_script.sh
rules_foreign_cc: Build log location: bazel-out/aarch64-opt/bin/external/+sfml+sfml/sfml_cmake_foreign_cc/CMake.log
rules_foreign_cc: Keeping these below directories for debug, but note that the directories inside a sandbox
rules_foreign_cc: are still cleaned unless you specify the '--sandbox_debug' Bazel command line flag.
rules_foreign_cc: Build Dir: /home/andy/.bazelout/sandbox/linux-sandbox/1060/execroot/_main/bazel-out/aarch64-opt/bin/external/+sfml+sfml/sfml_cmake.build_tmpdir
rules_foreign_cc: Deps Dir: /home/andy/.bazelout/sandbox/linux-sandbox/1060/execroot/_main/bazel-out/aarch64-opt/bin/external/+sfml+sfml/sfml_cmake.ext_build_deps

ERROR: /home/andy/src/MoonBase/cpp/sfml_example/BUILD.bazel:3:10 Linking cpp/sfml_example/sfml_example failed: (Exit 1): bash failed: error executing CcCmakeMakeRule command (from target @@+sfml+sfml//:sfml_cmake) /bin/bash -c bazel-out/aarch64-opt/bin/external/+sfml+sfml/sfml_cmake_foreign_cc/wrapper_build_script.sh

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 58.455s, Critical Path: 9.68s
INFO: 1232 processes: 2647 action cache hit, 185 internal, 1046 linux-sandbox, 1 local.
ERROR: Build did NOT complete successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions