Building on Fedora 41 on an x86_64 machine is currently running into a patchelf related build failure.
Reported upstream here at vcpkg: microsoft/vcpkg#41576
And here at nixos/patchelf: NixOS/patchelf#568
The issue can be worked around by the following steps:
rm -rf Toolchain/Tarballs/vcpkg
rm -rf Build/ladybird
(and any other Build/ladybird- directories)export VCPKG_FORCE_SYSTEM_BINARIES=1
to your .shellrc
file, and the current terminal session's environment./Meta/ladybird.sh run
Linux
Successful build
A build failure similar to the following:
CMake Error at /home/jmansfield/src/github/serenityos/ladybird/Build/ladybird/vcpkg_installed/x64-linux/share/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.cmake:31 (execute_process):
execute_process failed command indexes:
1: "Abnormal exit with child return code: Segmentation fault"
Call Stack (most recent call first):
buildtrees/versioning_/versions/skia/76a242d24e0e810ad8c78e3deaef69d4b634e8fc/skia-functions.cmake:92 (x_vcpkg_pkgconfig_get_modules)
buildtrees/versioning_/versions/skia/76a242d24e0e810ad8c78e3deaef69d4b634e8fc/skia-functions.cmake:73 (third_party_from_pkgconfig)
buildtrees/versioning_/versions/skia/76a242d24e0e810ad8c78e3deaef69d4b634e8fc/portfile.cmake:242 (get_externals)
scripts/ports.cmake:192 (include)
error: building skia:x64-linux failed with: BUILD_FAILED
N/A
N/A
N/A
No response
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too