Package Details: ladybird 20250312-1

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: timschumi
Votes: 31
Popularity: 3.64
First Submitted: 2023-04-01 08:36 (UTC)
Last Updated: 2025-03-12 12:05 (UTC)

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.

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

bionade24 commented on 2024-07-20 10:15 (UTC)

I agree with @timschumi. "Doesn't build in my dirty build environment" because you don't use extra-x86_64-build, makechrootpkg or an AUR helper that supports building in a clean build environment is not the responsibility of the maintainer to fix. The issue with building in a clean chroot provided by paru should be reproducable, though and I personally would fix such issues, even if it's not an officially supported way (Idk if it's already fixed). FWIW, ladybird builds fine in my CI/CD (build log) and if you don't want to have an effort building it yourself, you can download the built pkg from my user repo https://wiki.archlinux.org/title/Unofficial_user_repositories#oscloud

@timschumi The latest version contains paths that I guess aren't belonging into the pkg:

pacman -Fyl ladybird 
<omitted>
ladybird usr/usr/
ladybird usr/usr/Tests/
ladybird usr/usr/Tests/LibMedia/
ladybird usr/usr/Tests/LibMedia/avc_in_matroska.mkv
ladybird usr/usr/Tests/LibMedia/master_elements_containing_crc32.mkv
ladybird usr/usr/Tests/LibMedia/vp9_4k.webm
ladybird usr/usr/Tests/LibMedia/vp9_clamp_reference_mvs.webm
ladybird usr/usr/Tests/LibMedia/vp9_in_webm.webm
ladybird usr/usr/Tests/LibMedia/vp9_oob_blocks.webm

In case you don't already do so, please always check the built pkgs with namcap for packaging errors before uploading the updated PKGBUILD.

timschumi commented on 2024-07-19 19:10 (UTC)

It is not helpful that this "works fine" for you in a Docker container

Neither is "this doesn't work on my machine". What am I supposed to do, magically fix an issue that I can't reproduce?

As far as I am aware, my Docker setup [1] represents the minimal set of packages that AUR packages should assume, and it still works fine. If you can find a way to reproduce the issue within a modified version of that, then I'll be happy to take a look.

as installing this package with an AUR helper does not build this in a Docker container for anyone else.

Maybe they should.

PS: On the topic of AUR wrappers, the Arch Wiki clearly states:

AUR helpers are not supported by Arch Linux. You should become familiar with the manual build process in order to be prepared to troubleshoot problems.

[1] https://github.com/timschumi/archlinux-package-container

jahway603 commented on 2024-07-19 18:23 (UTC)

@timschumi this AUR package still does not build with 20240716-1. It is not helpful that this "works fine" for you in a Docker container as installing this package with an AUR helper does not build this in a Docker container for anyone else.

timschumi commented on 2024-07-16 08:41 (UTC)

Building works fine here in a clean Docker container.

jahway603 commented on 2024-07-15 23:18 (UTC) (edited on 2024-07-15 23:26 (UTC) by jahway603)

Unable to get ladybird 20240711-1 to build, but had no issue building ladybird 20240702-1.

Got the following error:

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.

And ninja is installed:

$ which ninja
/sbin/ninja
$ ninja --version
1.12.1

RubenKelevra commented on 2024-07-13 00:14 (UTC)

I have a hard time building ladybird in a chroot of paru. It seems to have trouble finding Ninja, despite being a build dependency.

Maybe you could take a look at it:

==> Making package: ladybird 20240711-1 (Sat Jul 13 02:11:41 2024)
==> Retrieving sources...
  -> Found ladybird.desktop
==> Validating source files with b2sums...
    ladybird ... Skipped
    vcpkg ... Skipped
    ladybird.desktop ... Skipped
==> Making package: ladybird 20240711-1 (Sat Jul 13 02:11:44 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Preset CMake variables:

  SERENITY_CACHE_DIR="/build/ladybird/src/ladybird/Build/caches"
  VCPKG_INSTALL_OPTIONS="--no-print-usage"
  VCPKG_OVERLAY_TRIPLETS="/build/ladybird/src/ladybird/Meta/CMake/vcpkg/release-triplets"

Preset environment variables:

  LADYBIRD_SOURCE_DIR="/build/ladybird/src/ladybird"
  VCPKG_BINARY_SOURCES="clear;files,/build/ladybird/src/ladybird/Toolchain/Build/vcpkg-binary-cache,readwrite"
  VCPKG_ROOT="/build/ladybird/src/ladybird/Toolchain/Tarballs/vcpkg"

-- Bootstrapping vcpkg before install
-- Bootstrapping vcpkg before install - failed
CMake Error at /build/ladybird/src/vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
  vcpkg install failed.  See logs for more information:
  /build/ladybird/src/build/vcpkg-bootstrap.log
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineSystem.cmake:146 (include)
  CMakeLists.txt:10 (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.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().

yobert commented on 2024-07-03 04:10 (UTC)

@chovy I got that error to go away with this change:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,6 +20,7 @@ b2sums=('SKIP'
 build() {
   cd "${srcdir}"

+  export CXXFLAGS="-Wno-error=template-id-cdtor"
   cmake \
     -B build \
     -S 'serenity/Ladybird' \

chovy commented on 2024-06-21 11:58 (UTC)

ninja: Entering directory `build'
[0/2] Re-checking globbed directories...
[242/2545] Building CXX object Lagom/Userland/Libraries/LibCrypto/CMakeFiles/LibCrypto.dir/Cipher/AES.cpp.o
FAILED: Lagom/Userland/Libraries/LibCrypto/CMakeFiles/LibCrypto.dir/Cipher/AES.cpp.o 
/usr/bin/c++ -DENABLE_COMPILETIME_FORMAT_CHECK -DLibCrypto_EXPORTS -I/home/ettinger/.cache/yay/ladybird/src/serenity -I/home/ettinger/.cache/yay/ladybird/src/serenity/Userland/Services -I/home/ettinger/.cache/yay/ladybird/src/serenity/Userland/Libraries -I/home/ettinger/.cache/yay/ladybird/src/build/Lagom -I/home/ettinger/.cache/yay/ladybird/src/build/Lagom/Userland/Services -I/home/ettinger/.cache/yay/ladybird/src/build/Lagom/Userland/Libraries -I/home/ettinger/.cache/yay/ladybird/src/serenity/Meta/Lagom/../.. -I/home/ettinger/.cache/yay/ladybird/src/serenity/Meta/Lagom/../../Userland -I/home/ettinger/.cache/yay/ladybird/src/serenity/Meta/Lagom/../../Userland/Libraries -I/home/ettinger/.cache/yay/ladybird/src/serenity/Meta/Lagom/../../Userland/Services -I/home/ettinger/.cache/yay/ladybird/src/build -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -O3 -DNDEBUG -std=c++20 -fPIC -fdiagnostics-color=always -Wall -Wextra -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -fno-exceptions -ffp-contract=off -Werror -Wno-expansion-to-defined -Wno-literal-suffix -Wno-dangling-reference -fno-semantic-interposition -fvisibility-inlines-hidden -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -D_FILE_OFFSET_BITS=64 -O2 -g1 -Wvla -MD -MT Lagom/Userland/Libraries/LibCrypto/CMakeFiles/LibCrypto.dir/Cipher/AES.cpp.o -MF Lagom/Userland/Libraries/LibCrypto/CMakeFiles/LibCrypto.dir/Cipher/AES.cpp.o.d -o Lagom/Userland/Libraries/LibCrypto/CMakeFiles/LibCrypto.dir/Cipher/AES.cpp.o -c /home/ettinger/.cache/yay/ladybird/src/serenity/Userland/Libraries/LibCrypto/Cipher/AES.cpp
In file included from /home/ettinger/.cache/yay/ladybird/src/serenity/Userland/Libraries/LibCrypto/Cipher/AES.h:12,
                 from /home/ettinger/.cache/yay/ladybird/src/serenity/Userland/Libraries/LibCrypto/Cipher/AES.cpp:8:
/home/ettinger/.cache/yay/ladybird/src/serenity/Userland/Libraries/LibCrypto/Cipher/Mode/CBC.h:26:31: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
   26 |     explicit constexpr CBC<T>(Args... args)
      |                               ^~~~
/home/ettinger/.cache/yay/ladybird/src/serenity/Userland/Libraries/LibCrypto/Cipher/Mode/CBC.h:26:31: note: remove the ‘< >’
cc1plus: note: unrecognized command-line option ‘-Wno-shorten-64-to-32’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-unused-command-line-argument’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
[263/2545] Building CXX object Lagom/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/Deflate.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
[ettinger@archlinux]:➜  fastest-web gi

timschumi commented on 2024-06-04 16:26 (UTC)

Let's wait until the new build process has stabilized, last I heard was that there might still be some moving-around of certain parts.