Building with Arch's rust (1.99.1) fails on the first crate: rust_crate.cmake passes -Dwarnings and 1.99 deprecates Atomic::fetch_update ("renamed to try_update"), while rust-toolchain.toml pins 1.98.0, which only rustup honours. Upstream PR #12751 (toolchain bump to 1.99.1) shows the only rustc-level change is that rename; the rest are clippy fixes. Until it lands, this in prepare() makes the package build with the repo rust (verified, 20261101-2 builds and runs): sed -i 's/set(RUSTC_TARGET_FLAGS -Dwarnings /set(RUSTC_TARGET_FLAGS /' ladybird/Meta/CMake/rust_crate.cmake
Search Criteria
Package Details: ladybird 20261101-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/ladybird.git (read-only, click to copy) |
|---|---|
| Package Base: | ladybird |
| Description: | Truly independent web browser |
| Upstream URL: | https://github.com/LadybirdBrowser/ladybird |
| Licenses: | BSD-2-Clause |
| Submitter: | arojas |
| Maintainer: | CxByte |
| Last Packager: | CxByte |
| Votes: | 49 |
| Popularity: | 2.57 |
| First Submitted: | 2023-04-01 08:36 (UTC) |
| Last Updated: | 2026-11-08 20:58 (UTC) |
Dependencies (25)
- curl (curl-gitAUR, curl-c-aresAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-whisper-gitAUR, librempeg-gitAUR, ffmpeg-cuda-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, ffmpeg-whisperAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-gitAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-headlessAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utils-macbookAUR, mesa-clang-v3-binAUR, mesa-clang-v4-binAUR, libglvnd)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR, qt6-base-hifpsAUR, qt6-base-phoenixAUR)
- qt6-multimedia
- qt6-positioning
- ttf-liberation
- vulkan-icd-loader (vulkan-icd-loader-gitAUR)
- wayland (wayland-asan-gitAUR, wayland-gitAUR, wayland-chromiumAUR)
- xcb-util-wm
- autoconf-archive (autoconf-archive-gitAUR) (make)
- automake (automake-gitAUR) (make)
- cargo (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rust, rustup) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- libtool (libtool-gitAUR) (make)
- make (make-gitAUR, make-staticAUR) (make)
- nasm (nasm-gitAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-gitAUR) (make)
- patch (patch-gitAUR) (make)
- Show 5 more dependencies...
Required by (0)
Sources (5)
FoxKyong commented on 2026-11-10 22:29 (UTC)
CxByte commented on 2026-11-08 19:51 (UTC) (edited on 2026-11-08 20:59 (UTC) by CxByte)
hjalves: looks like upstream broke VCPKG_OVERLAY_TRIPLETS, fix in a bit pkgrel 2 should work for now until we unbreak it upstream.
hjalves commented on 2026-11-08 19:35 (UTC)
After building the package, there's a lot of missing shared library dependencies, I wonder if I'm doing something wrong:
$ ldd /usr/bin/Ladybird | grep "not found"
libtommath.so.1 => not found
libjpeg.so.62 => not found
libavcodec-ladybird.so.63 => not found
libavutil-ladybird.so.61 => not found
libswresample-ladybird.so.7 => not found
libcpptrace.so.1 => not found
libsimdutf.so.35 => not found
libzmij.so => not found
libmimalloc-secure.so.2 => not found
Baird commented on 2026-10-25 15:15 (UTC)
Thanks for the reply! It looks like it hasn't been merged upstream yet. https://github.com/LadybirdBrowser/ladybird/pull/12751
CxByte commented on 2026-10-25 14:44 (UTC)
Baird: that seems to be a rust 1.99 thing (where upstream wants 1.98), I'm not sure how we can avoid it; build() sets RUSTUP_TOOLCHAIN but it seems cargo gets resolved via rust which pulls 1.99 and ignores that env var.
Baird commented on 2026-10-25 14:35 (UTC)
It looks like the build also failed on the oscloud repo: https://abs-cd.oscloud.info/cd_manager/ladybird
kinker31 commented on 2026-10-16 06:06 (UTC) (edited on 2026-10-16 06:07 (UTC) by kinker31)
build() fails about halfway through the process, giving the following:
[1755/3823] Building Rust crate libweb_rust
FAILED: [code=1] cargo/build/x86_64-unknown-linux-gnu/release/liblibweb_rust.a /home/kinker31/.cache/paru/clone/ladybird/src/build/cargo/build/x86_64-unknown-linux-gnu/release/liblibweb_rust.a
cd /home/kinker31/.cache/paru/clone/ladybird/src/build/Libraries/LibWeb && /usr/sbin/cmake -DLOG=/home/kinker31/.cache/paru/clone/ladybird/src/build/cargo/build/x86_64-unknown-linux-gnu/release/cargo-libweb_rust.log -P /home/kinker31/.cache/paru/clone/ladybird/src/ladybird/Meta/CMake/run_quiet.cmake -- /usr/sbin/cmake -E env CC_x86_64_unknown_linux_gnu=/usr/sbin/cc CXX_x86_64_unknown_linux_gnu=/usr/sbin/c++ CARGO_BUILD_RUSTC=/usr/sbin/rustc FFI_OUTPUT_DIR=/home/kinker31/.cache/paru/clone/ladybird/src/build/Libraries/LibWeb CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/usr/sbin/cc AR_x86_64_unknown_linux_gnu=/usr/sbin/ar CARGO_TERM_PROGRESS_WHEN=never TERM=dumb /usr/sbin/cargo rustc --lib --features=style-recording --target=x86_64-unknown-linux-gnu --package libweb_rust --manifest-path /home/kinker31/.cache/paru/clone/ladybird/src/ladybird/Libraries/LibWeb/Rust/Cargo.toml --target-dir /home/kinker31/.cache/paru/clone/ladybird/src/build/cargo/build --release -- -Cdefault-linker-libraries=yes -D warnings --emit=dep-info && /usr/sbin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/kinker31/.cache/paru/clone/ladybird/src/ladybird /home/kinker31/.cache/paru/clone/ladybird/src/ladybird/Libraries/LibWeb /home/kinker31/.cache/paru/clone/ladybird/src/build /home/kinker31/.cache/paru/clone/ladybird/src/build/Libraries/LibWeb /home/kinker31/.cache/paru/clone/ladybird/src/build/cargo/build/x86_64-unknown-linux-gnu/release/liblibweb_rust.d /home/kinker31/.cache/paru/clone/ladybird/src/build/CMakeFiles/d/9df96fe0bb1ebaffbe01ccd0016ba47242b6ef6237cd483047918bace5e8a034.d
[...]
Compiling libweb_rust v0.1.0 (/home/kinker31/.cache/paru/clone/ladybird/src/ladybird/Libraries/LibWeb/Rust)
error: use of deprecated method `std::sync::atomic::Atomic::<u64>::fetch_update`: renamed to `try_update` for consistency
--> Libraries/LibWeb/Rust/src/css/declaration_block.rs:316:22
|
316 | .fetch_update(Ordering::Relaxed, Ordering::Relaxed, |value| value.checked_add(1))
| ^^^^^^^^^^^^
|
= note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]`
help: replace the use of the deprecated method
|
316 - .fetch_update(Ordering::Relaxed, Ordering::Relaxed, |value| value.checked_add(1))
316 + .try_update(Ordering::Relaxed, Ordering::Relaxed, |value| value.checked_add(1))
|
error: use of deprecated method `std::sync::atomic::Atomic::<u64>::fetch_update`: renamed to `try_update` for consistency
--> Libraries/LibWeb/Rust/src/css/rule.rs:773:10
|
773 | .fetch_update(Ordering::Relaxed, Ordering::Relaxed, |value| value.checked_add(count))
| ^^^^^^^^^^^^
|
[...]
Samueru commented on 2026-08-08 06:46 (UTC)
Are you sure ladybird needs qt6-wayland?
qt6-wayland package provides the server side libs, basically you will never need this unless somehow ladybird has a wayland compositor.
lazerbeak12345 commented on 2026-07-15 00:57 (UTC) (edited on 2026-07-15 00:57 (UTC) by lazerbeak12345)
In addition to the RUSTUP_TOOLCHAIN issue mentioned by others, I am also facing this issue:
==> Starting build()...
[755/3264] Linking CXX executable bin/js
FAILED: [code=1] bin/js
: && /usr/bin/c++ -O3 -DNDEBUG -fstack-protector-strong -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--no-undefined -Wl,--no-allow-shlib-undefined -Wl,--allow-multiple-definition -fPIE -pie -Wl,--dependency-file=Utilities/CMakeFiles/js.dir/link.d Utilities/CMakeFiles/js.dir/js.cpp.o -o bin/js -Wl,-rpath,/home/████/.cache/yay/ladybird/src/build/vcpkg_installed/x64-linux/lib: lib/liblagom-ak.a lib/liblagom-core.a lib/liblagom-crypto.a lib/liblagom-js.a lib/liblagom-main.a lib/liblagom-textcodec.a lib/liblagom-gc.a lib/liblagom-crypto.a vcpkg_installed/x64-linux/lib/libtommath.a vcpkg_installed/x64-linux/lib/libcrypto.a lib/liblagom-threading.a lib/liblagom-filesystem.a lib/liblagom-core.a lib/liblagom-sync.a lib/liblagom-url.a lib/liblagom-textcodec.a cargo/build/x86_64-unknown-linux-gnu/release/liblibtextcodec_rust.a cargo/build/x86_64-unknown-linux-gnu/release/libliburl_rust.a vcpkg_installed/x64-linux/lib/libpsl.a vcpkg_installed/x64-linux/lib/libidn2.a vcpkg_installed/x64-linux/lib/libunistring.a /usr/lib/libvulkan.so lib/liblagom-regex.a lib/liblagom-unicode.a vcpkg_installed/x64-linux/lib/libicui18n.a vcpkg_installed/x64-linux/lib/libicuuc.a vcpkg_installed/x64-linux/lib/libicudata.a cargo/build/x86_64-unknown-linux-gnu/release/liblibunicode_rust.a cargo/build/x86_64-unknown-linux-gnu/release/liblibregex_rust.a lib/liblagom-syntax.a vcpkg_installed/x64-linux/lib/libsimdjson.a cargo/build/x86_64-unknown-linux-gnu/release/liblibjs_rust.a lib/liblagom-ak.a vcpkg_installed/x64-linux/lib/libcpptrace.a vcpkg_installed/x64-linux/lib/libdwarf.a vcpkg_installed/x64-linux/lib/libz.a vcpkg_installed/x64-linux/lib/libzstd.a -ldl vcpkg_installed/x64-linux/lib/libfmt.a vcpkg_installed/x64-linux/lib/libsimdutf.a vcpkg_installed/x64-linux/lib/libmimalloc.a -lpthread -lrt -latomic vcpkg_installed/x64-linux/lib/libedit.a -lncurses && :
/usr/bin/ld: cargo/build/x86_64-unknown-linux-gnu/release/liblibunicode_rust.a(libunicode_rust-6c0b14a35d862263.libunicode_rust.2a8458da74d137b2-cgu.0.rcgu.o): in function `libunicode_rust::idna::idna_to_ascii':
libunicode_rust.2a8458da74d137b2-cgu.0:(.text._RNvNtCs3EjE81tPDNu_15libunicode_rust4idna13idna_to_ascii+0x42): undefined reference to `unicode_rust_idna_to_ascii'
/usr/bin/ld: cargo/build/x86_64-unknown-linux-gnu/release/liblibregex_rust.a(libunicode_rust-8d6467fa3cbc7422.libunicode_rust.8917b989da520f4e-cgu.0.rcgu.o): in function `libunicode_rust::idna::idna_to_ascii':
libunicode_rust.8917b989da520f4e-cgu.0:(.text._RNvNtCsbLJWKO9FoCM_15libunicode_rust4idna13idna_to_ascii+0x42): undefined reference to `unicode_rust_idna_to_ascii'
collect2: error: ld returned 1 exit status
[768/3264] Building CXX object Libraries/LibWasm/CMakeFiles/LibWasm.dir/AbstractMachine/BytecodeInterpreter.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: ladybird-exit status 4
-> Failed to install the following packages. Manual intervention is required:
ladybird - exit status 4
yobson commented on 2026-06-27 07:03 (UTC)
export RUSTUP_TOOLCHAIN=stable should be added to build so it selects the right toolchain automatically without needing to run that beforehard
Pinned Comments
timschumi commented on 2025-02-14 07:21 (UTC)
There is no new tagged (or otherwise differentiable) version to update to. Existing bumps to arbitrary revisions have been done whenever I get around to it to avoid the package falling into complete disrepair (which would cause it to be deleted and most likely recreated by some third party) and to make sure that people who don't pay attention don't get a version that is years out of date. The actual package has always been ladybird-git, and that will remain the case for the foreseeable future as well.