Skip to content

Instantly share code, notes, and snippets.

[📦 org.ladybird.Ladybird ~]$ ldd /app/libexec/WebContent
linux-vdso.so.1 (0x00007ffc4ffec000)
liblagom-webview.so.0 => /app/libexec/../lib/liblagom-webview.so.0 (0x0000776ca8660000)
liblagom-web.so.0 => /app/libexec/../lib/liblagom-web.so.0 (0x0000776ca6400000)
liblagom-js.so.0 => /app/libexec/../lib/liblagom-js.so.0 (0x0000776ca5e00000)
liblagom-requests.so.0 => /app/libexec/../lib/liblagom-requests.so.0 (0x0000776ca85ed000)
liblagom-imagedecoderclient.so.0 => /app/libexec/../lib/liblagom-imagedecoderclient.so.0 (0x0000776ca85d8000)
liblagom-gfx.so.0 => /app/libexec/../lib/liblagom-gfx.so.0 (0x0000776ca8514000)
liblagom-ipc.so.0 => /app/libexec/../lib/liblagom-ipc.so.0 (0x0000776ca84f9000)
liblagom-gc.so.0 => /app/libexec/../lib/liblagom-gc.so.0 (0x0000776ca84e5000)
VERIFICATION FAILED: icu_success(status) at /run/build/Ladybird/Libraries/LibUnicode/Segmenter.cpp:240
/app/libexec/../lib/liblagom-ak.so.0(dump_backtrace+0x48) [0x7b0bca733448]
/app/libexec/../lib/liblagom-ak.so.0(ak_trap+0xd) [0x7b0bca73383d]
/app/libexec/../lib/liblagom-ak.so.0(ak_verification_failed+0x6e) [0x7b0bca73373e]
/app/libexec/../lib/liblagom-unicode.so.0 Unicode::Segmenter::create(AK::StringView, Unicode::SegmenterGranularity) 0xf9) [0x7b0bca442b89]
/app/libexec/../lib/liblagom-unicode.so.0 Unicode::Segmenter::create(Unicode::SegmenterGranularity) 0x22) [0x7b0bca442a82]
/app/libexec/../lib/liblagom-web.so.0 Web::DOM::Document::grapheme_segmenter() const 0x34) [0x7b0bcbd59dd4]
/app/libexec/../lib/liblagom-web.so.0 Web::Layout::TextNode::grapheme_segmenter() const 0x39) [0x7b0bcc13d299]
/app/libexec/../lib/liblagom-web.so.0 Web::Layout::TextNode::ChunkIterator::ChunkIterator(Web::Layout::TextNode const&, bool, bool) 0xb9) [0x7b0bcc13d479]
/app/libexec/../lib/liblagom-web.so.0 Web::Layout::InlineLev
[128/3443] Linking CXX shared library lib64/liblagom-crypto.so.0.0.0
/run/build/Ladybird/Libraries/LibCrypto/BigInt/SignedBigInteger.h:17:7: warning: type ‘struct SignedBigInteger’ violates the C++ One Definition Rule [-Wodr]
17 | class SignedBigInteger {
| ^
/run/build/Ladybird/Libraries/LibCrypto/BigInt/SignedBigInteger.h:17:7: note: a different type is defined in another translation unit
17 | class SignedBigInteger {
| ^
/run/build/Ladybird/Libraries/LibCrypto/BigInt/SignedBigInteger.h:97:12: note: the first difference of corresponding definitions is field ‘m_mp’
97 | mp_int m_mp {};
| ^
@ADKaster
ADKaster / urtle.patch
Created July 1, 2025 15:38
Adds important ninja feature to siso
diff --git a/go/src/infra/build/siso/subcmd/ninja/ninja.go b/go/src/infra/build/siso/subcmd/ninja/ninja.go
index 08fd1ed730..3b801d97b8 100644
--- a/go/src/infra/build/siso/subcmd/ninja/ninja.go
+++ b/go/src/infra/build/siso/subcmd/ninja/ninja.go
@@ -26,6 +26,7 @@ import (
"strings"
"text/tabwriter"
"time"
+ "unicode"
[74/3023] Building Swift Module 'AK' with 1 source
FAILED: swift/AK.swiftmodule Lagom/AK/CMakeFiles/AK.dir/AK+Swift.swift.o
/home/andrew/.local/share/swiftly/toolchains/main-snapshot-2025-06-03/usr/bin/swiftc -j 32 -num-threads 32 -c -DAK_EXPORTS -DAK_USE_SWIFT -DENABLE_COMPILETIME_FORMAT_CHECK -parse-as-library -emit-module -emit-module-path swift/AK.swiftmodule -module-name AK -module-link-name lagom-ak -O -g -incremental -color-diagnostics -enable-experimental-feature Extern -Xcc -Wall -Xcc -Wextra -Xcc -fno-exceptions -Xcc -ffp-contract=off -Xcc -Wcast-qual -Xcc -Wformat=2 -Xcc -Wimplicit-fallthrough -Xcc -Wlogical-op -Xcc -Wmissing-declarations -Xcc -Wmissing-field-initializers -Xcc -Wsuggest-override -Xcc -Wno-invalid-offsetof -Xcc -Wno-unknown-warning-option -Xcc -Wno-unused-command-line-argument -Xcc -Werror -Xcc -fconstexpr-steps=16777216 -Xcc -Wmissing-prototypes -Xcc -Wno-implicit-const-int-float-conversion -Xcc -Wno-user-defined-literals -Xcc -Wno-unqualified-std-cast-call -Xcc -fno-semantic-inte
diff --git a/Libraries/LibCore/SystemWindows.cpp b/Libraries/LibCore/SystemWindows.cpp
index a791a5f213..991f1d3174 100644
--- a/Libraries/LibCore/SystemWindows.cpp
+++ b/Libraries/LibCore/SystemWindows.cpp
@@ -126,6 +126,17 @@ ErrorOr<ByteString> getcwd()
return string_cwd;
}
+ErrorOr<void> chdir(StringView path)
+{
diff --git a/Tests/LibCore/CMakeLists.txt b/Tests/LibCore/CMakeLists.txt
index 78853982d7d..ceb5745ae26 100644
--- a/Tests/LibCore/CMakeLists.txt
+++ b/Tests/LibCore/CMakeLists.txt
@@ -3,12 +3,10 @@ set(TEST_SOURCES
TestLibCoreDateTime.cpp
TestLibCoreDeferredInvoke.cpp
TestLibCoreFileWatcher.cpp
- # FIXME: Identify and address the commit that caused this to start failing at runtime
- #TestLibCoreMappedFile.cpp
This file has been truncated, but you can view the full file.
[214/240] Building Swift Module 'Web' with 3 sources
warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'SK_R32_SHIFT=16')
/home/andrew/ladybird-org/ladybird-browser/Libraries/LibJS/Runtime/Realm.h:51:27: warning: 'global_object' should be annotated with either SWIFT_RETURNS_RETAINED or SWIFT_RETURNS_UNRETAINED as it is returning a SWIFT_SHARED_REFERENCE
49 | static ThrowCompletionOr<NonnullOwnPtr<ExecutionContext>> initialize_host_defined_realm(VM&, Function<Object*(Realm&)> create_global_object, Function<Object*(Realm&)> create_global_this_value);
50 |
51 | [[nodiscard]] Object& global_object() const { return *m_global_object; }
| `- warning: 'global_object' should be annotated with either SWIFT_RETURNS_RETAINED or SWIFT_RETURNS_UNRETAINED as it is returning a SWIFT_SHARED_REFERENCE
52 | void set_global_object(GC::Ref<Object> global) { m_global_object = global; }
53 |
diff --git a/.devcontainer/fedora-ci/devcontainer.json b/.devcontainer/fedora-ci/devcontainer.json
index 6a2cef971a1..12ee845c445 100644
--- a/.devcontainer/fedora-ci/devcontainer.json
+++ b/.devcontainer/fedora-ci/devcontainer.json
@@ -6,7 +6,7 @@
"context": ".",
"dockerfile": "Dockerfile",
"args": {
- "VERSION": "${localEnv:VERSION:41}"
+ "VERSION": "${localEnv:VERSION:42}"
FAILED: Lagom/Tests/AK/CMakeFiles/TestAKBindings.dir/TestAKBindings.swift.o
/home/andrew/ladybird-org/swift-test-apps/swift-DEVELOPMENT-SNAPSHOT-2025-04-11-a-ubuntu2404/usr/bin/swiftc -j 32 -num-threads 32 -c -DENABLE_COMPILETIME_FORMAT_CHECK -module-name TestAKBindings -O -g -incremental -color-diagnostics -Xfrontend -sil-verify-none -enable-experimental-feature Extern -Xcc -Wall -Xcc -Wextra -Xcc -fno-exceptions -Xcc -ffp-contract=off -Xcc -Wcast-qual -Xcc -Wformat=2 -Xcc -Wimplicit-fallthrough -Xcc -Wlogical-op -Xcc -Wmissing-declarations -Xcc -Wmissing-field-initializers -Xcc -Wsuggest-override -Xcc -Wno-invalid-offsetof -Xcc -Wno-unknown-warning-option -Xcc -Wno-unused-command-line-argument -Xcc -Werror -Xcc -fconstexpr-steps=16777216 -Xcc -Wmissing-prototypes -Xcc -Wno-implicit-const-int-float-conversion -Xcc -Wno-user-defined-literals -Xcc -Wno-unqualified-std-cast-call -Xcc -fno-semantic-interposition -Xcc -fvisibility-inlines-hidden -Xcc -fstack-protector-strong -Xcc -fstrict-flex-arrays=2 -Xcc -Wno-