Package Details: ladybird 20240711-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
Submitter: arojas
Maintainer: timschumi
Last Packager: timschumi
Votes: 13
Popularity: 6.20
First Submitted: 2023-04-01 08:36 (UTC)
Last Updated: 2024-07-10 23:15 (UTC)

Pinned Comments

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.

Latest Comments

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.

MortimerHoughton commented on 2024-06-03 22:09 (UTC)

New repository for Ladybird:

https://github.com/LadybirdWebBrowser/ladybird

jdrdan commented on 2023-11-13 20:50 (UTC) (edited on 2023-11-13 20:51 (UTC) by jdrdan)

Changed my PKGBUILD to add some options to cmake to fix detection of thread support on aarch64.

  cmake \
    -B build \
    -S 'serenity/Ladybird' \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX='/usr' \
    -DCMAKE_THREAD_LIBS_INIT="pthread" \
    -DCMAKE_HAVE_THREADS_LIBRARY=1 \
    -DCMAKE_USE_WIN32_THREADS_INIT=0 \
    -DCMAKE_USE_PTHREADS_INIT=1 \
    -DTHREADS_PREFER_PTHREAD_FLAG=ON \
    -GNinja \
    -Wno-dev