Closed Kamillaova closed 1 month ago
Oops, that's 7e57cc7b090455e93261c847064f12a61d686ff3, I'll try to build it from the latest commit now.
New build log (from b10016d9145b93106951b95d4abae462c2cb42f1):
ladybird> [37/195] Building CXX object Lagom/AK/CMakeFiles/AK.dir/Utf16View.cpp.o
ladybird> [38/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/DirectoryEntry.cpp.o
ladybird> [39/195] Linking CXX shared library lib/liblagom-ak.so.0.0.0
ladybird> [40/195] Creating library symlink lib/liblagom-ak.so.0 lib/liblagom-ak.so
ladybird> [41/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/DirIterator.cpp.o
ladybird> [42/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/Environment.cpp.o
ladybird> [43/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/Directory.cpp.o
ladybird> [44/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/File.cpp.o
ladybird> [45/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/Version.cpp.o
ladybird> [46/195] Building CXX object Lagom/Userland/Libraries/LibMain/CMakeFiles/LibMain.dir/Main.cpp.o
ladybird> [47/195] Linking CXX static library lib/liblagom-main.a
ladybird> [48/195] Building CXX object Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o
ladybird> FAILED: Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o
ladybird> /nix/store/j4ficcv5bf7cc2pw4d1wwf7j506jav6q-gcc-wrapper-13.3.0/bin/g++ -DUSE_FONTCONFIG=1 -D_FILE_OFFSET_BITS=64 -I/build/source -I/build/source/Userland/Services -I/build/source/Userland/Libraries -I/build/source/build/Lagom -I/build/source/build/Lagom/Userland/Services -I/build/source/build/Lagom/Userland/Libraries -I/build/source/Userland -I/build/source/build/Ladybird/WebContent/.. -O3 -DNDEBUG -std=c++23 -fdiagnostics-color=always -Wall -Wextra -fno-exceptions -ffp-contract=off -Wcast-qual -Wformat=2 -Wimplicit-fallthrough -Wmissing-declarations -Wsuggest-override -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -Werror -Wno-expansion-to-defined -Wno-literal-suffix -Wno-dangling-reference -fno-semantic-interposition -fvisibility-inlines-hidden -fstack-protector-strong -fstrict-flex-arrays=2 -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -O2 -g1 -Wno-user-defined-literals -MD -MT Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o -MF Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o.d -o Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp.o -c /build/source/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp
ladybird> In file included from /build/source/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.h:12,
ladybird> from /build/source/Userland/Services/WebContent/ConsoleGlobalEnvironmentExtensions.cpp:8:
ladybird> /build/source/Userland/Libraries/LibWeb/HTML/Window.h:16:10: fatal error: LibWeb/Bindings/WindowGlobalMixin.h: No such file or directory
ladybird> 16 | #include <LibWeb/Bindings/WindowGlobalMixin.h>
ladybird> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ladybird> compilation terminated.
ladybird> [49/195] Building CXX object Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o
ladybird> FAILED: Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o
ladybird> /nix/store/j4ficcv5bf7cc2pw4d1wwf7j506jav6q-gcc-wrapper-13.3.0/bin/g++ -DUSE_FONTCONFIG=1 -D_FILE_OFFSET_BITS=64 -I/build/source -I/build/source/Userland/Services -I/build/source/Userland/Libraries -I/build/source/build/Lagom -I/build/source/build/Lagom/Userland/Services -I/build/source/build/Lagom/Userland/Libraries -I/build/source/Userland -I/build/source/build/Ladybird/WebContent/.. -O3 -DNDEBUG -std=c++23 -fdiagnostics-color=always -Wall -Wextra -fno-exceptions -ffp-contract=off -Wcast-qual -Wformat=2 -Wimplicit-fallthrough -Wmissing-declarations -Wsuggest-override -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -Werror -Wno-expansion-to-defined -Wno-literal-suffix -Wno-dangling-reference -fno-semantic-interposition -fvisibility-inlines-hidden -fstack-protector-strong -fstrict-flex-arrays=2 -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -O2 -g1 -Wno-user-defined-literals -MD -MT Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o -MF Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o.d -o Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/ConnectionFromClient.cpp.o -c /build/source/Userland/Services/WebContent/ConnectionFromClient.cpp
ladybird> In file included from /build/source/Userland/Libraries/LibWeb/Animations/KeyframeEffect.h:11,
ladybird> from /build/source/Userland/Libraries/LibWeb/Animations/Animatable.h:10,
ladybird> from /build/source/Userland/Libraries/LibWeb/DOM/Element.h:10,
ladybird> from /build/source/Userland/Libraries/LibWeb/Bindings/MainThreadVM.h:13,
ladybird> from /build/source/Userland/Services/WebContent/ConnectionFromClient.cpp:22:
ladybird> /build/source/Userland/Libraries/LibWeb/Animations/AnimationEffect.h:12:10: fatal error: LibWeb/Bindings/AnimationEffectPrototype.h: No such file or directory
ladybird> 12 | #include <LibWeb/Bindings/AnimationEffectPrototype.h>
ladybird> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ladybird> compilation terminated.
ladybird> [50/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/StandardPaths.cpp.o
ladybird> [51/195] Building CXX object Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o
ladybird> FAILED: Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o
ladybird> /nix/store/j4ficcv5bf7cc2pw4d1wwf7j506jav6q-gcc-wrapper-13.3.0/bin/g++ -DUSE_FONTCONFIG=1 -D_FILE_OFFSET_BITS=64 -I/build/source -I/build/source/Userland/Services -I/build/source/Userland/Libraries -I/build/source/build/Lagom -I/build/source/build/Lagom/Userland/Services -I/build/source/build/Lagom/Userland/Libraries -I/build/source/Userland -I/build/source/build/Ladybird/WebContent/.. -O3 -DNDEBUG -std=c++23 -fdiagnostics-color=always -Wall -Wextra -fno-exceptions -ffp-contract=off -Wcast-qual -Wformat=2 -Wimplicit-fallthrough -Wmissing-declarations -Wsuggest-override -Wno-invalid-offsetof -Wno-unknown-warning-option -Wno-unused-command-line-argument -Werror -Wno-expansion-to-defined -Wno-literal-suffix -Wno-dangling-reference -fno-semantic-interposition -fvisibility-inlines-hidden -fstack-protector-strong -fstrict-flex-arrays=2 -Wno-maybe-uninitialized -Wno-shorten-64-to-32 -fsigned-char -ggnu-pubnames -fPIC -O2 -g1 -Wno-user-defined-literals -MD -MT Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o -MF Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o.d -o Ladybird/WebContent/CMakeFiles/webcontent.dir/__/__/Userland/Services/WebContent/BackingStoreManager.cpp.o -c /build/source/Userland/Services/WebContent/BackingStoreManager.cpp
ladybird> In file included from /build/source/Userland/Libraries/LibWeb/HTML/TraversableNavigable.h:10,
ladybird> from /build/source/Userland/Services/WebContent/BackingStoreManager.cpp:8:
ladybird> /build/source/Userland/Libraries/LibWeb/HTML/Navigable.h:13:10: fatal error: LibWeb/Bindings/NavigationPrototype.h: No such file or directory
ladybird> 13 | #include <LibWeb/Bindings/NavigationPrototype.h>
ladybird> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ladybird> compilation terminated.
ladybird> [52/195] Building CXX object Lagom/Userland/Libraries/LibFileSystem/CMakeFiles/LibFileSystem.dir/TempFile.cpp.o
ladybird> [53/195] Building CXX object Lagom/Userland/Libraries/LibFileSystem/CMakeFiles/LibFileSystem.dir/FileSystem.cpp.o
ladybird> [54/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/ArgsParser.cpp.o
ladybird> [55/195] Building CXX object Lagom/Userland/Libraries/LibCore/CMakeFiles/LibCoreMinimal.dir/System.cpp.o
ladybird> ninja: build stopped: subcommand failed.
Fixed by adding -S Meta/Lagom
to cmake flags.
Building ladybird with
-Dpackage=LagomTools -DLAGOM_TOOLS_ONLY=ON
fails due toLibWeb
headers not found. Without these arguments, the build proceeds correctly.Build log: