r/Gentoo • u/maxminfr • 3h ago
Support Sway errors on gentoo
First time installing gentoo and im having a bit of problems with sway and its really tedious. Im wondering if anyone has a fix for this? Thanks in advance.
(Update : im using i3 now :p )
r/Gentoo • u/unixbhaskar • 17h ago
Support Alright, fellas, I am sick of this daily drama about LLVM installing in new slot! Meh
And the damn thing has been failing to complete for the past 4 days, at various times and in various ways....Sigh..
Wait... wait...not so fast.....want the build log file??? Here it is for your perusal : https://paste.gentoo.zip/GyPZ6fTs <-- this is the starter and I am waiting again for some hours(because this is a fresh build) to get my failed log after some time.
This is a post for wild hope .... oh, you people need 'emerge --info' too, right?
Here it is : https://paste.gentoo.zip/rVWtAq0D
Oh, previous failures didn't take this long......But I am prepared to wait....just to see through
Currently merging 9 out of 20
* llvm-core/llvm-23.1.6
current merge time: 18 minutes and 46 seconds.
ETA: 5 hours, 36 minutes and 33 seconds.
I think it make no sense to anybody....let me know what am I missing the obvious? Please.
HERE IS THE BUILD FAILURE LOG of TAILED 200 lines : https://paste.gentoo.zip/b6aL2Vfc
HERE ARE THE FAILED LOG :
Total: 1 package (1 reinstall), Size of downloads: 1209 KiB
* emerge --keep-going: llvm-core/llvmgold-23 dropped because it requires
* llvm-core/llvm:23[binutils-plugin]
* emerge --keep-going: llvm-core/llvm-toolchain-symlinks-23 dropped because
* it requires llvm-core/llvm:23
* emerge --keep-going: dev-util/spirv-llvm-translator-23.1.3 dropped because
* it requires llvm-core/llvm:23=[abi_x86_64(-)]
* emerge --keep-going: llvm-core/clang-23.1.6-r1 dropped because it requires
* ~llvm-core/llvm-23.1.6[llvm_targets_XCore], ~llvm-
* core/llvm-23.1.6[llvm_targets_BPF], ~llvm-
* core/llvm-23.1.6[llvm_targets_Lanai], ~llvm-
* core/llvm-23.1.6[llvm_targets_SystemZ], ~llvm-
* core/llvm-23.1.6:23=[-debug,abi_x86_64(-)], llvm-core/clang-toolchain-
* symlinks:23, ~llvm-core/llvm-23.1.6[llvm_targets_WebAssembly], ~llvm-
* core/llvm-23.1.6[llvm_targets_AMDGPU], ~llvm-
* core/llvm-23.1.6[llvm_targets_Hexagon], ~llvm-
* core/llvm-23.1.6[llvm_targets_AArch64], ~llvm-
* core/llvm-23.1.6[llvm_targets_RISCV], ~llvm-
* core/llvm-23.1.6[llvm_targets_Sparc], ~llvm-
* core/llvm-23.1.6[llvm_targets_AVR], llvm-runtimes/clang-runtime:23, ~llvm-
* core/llvm-23.1.6[llvm_targets_MSP430], ~llvm-
* core/llvm-23.1.6[llvm_targets_LoongArch], ~llvm-
* core/llvm-23.1.6[llvm_targets_SPIRV], ~llvm-
* core/llvm-23.1.6[llvm_targets_X86], ~llvm-
* core/llvm-23.1.6[llvm_targets_PowerPC], ~llvm-
* core/llvm-23.1.6[llvm_targets_Mips], ~llvm-
* core/llvm-23.1.6[llvm_targets_NVPTX], ~llvm-
* core/llvm-23.1.6[llvm_targets_VE], ~llvm-core/llvm-23.1.6[llvm_targets_ARM]
* emerge --keep-going: llvm-runtimes/compiler-rt-sanitizers-23.1.6 dropped
* because it requires llvm-core/llvm:23, llvm-runtimes/compiler-rt:23, llvm-
* core/clang:23
* emerge --keep-going: llvm-runtimes/clang-runtime-23-r2 dropped because it
* requires >=llvm-runtimes/compiler-rt-23:23[abi_x86_32(+),abi_x86_64(+)],
* >=llvm-runtimes/compiler-rt-sanitizers-23:23[abi_x86_32(+),abi_x86_64(+)]
* emerge --keep-going: llvm-core/clang-toolchain-symlinks-23 dropped because
* it requires llvm-core/clang:23
* emerge --keep-going: llvm-runtimes/compiler-rt-23.1.6 dropped because it
* requires llvm-core/llvm:23, llvm-core/clang:23
* emerge --keep-going: llvm-core/lld-23.1.6 dropped because it requires
* ~llvm-core/llvm-23.1.6[llvm_targets_XCore], ~llvm-
* core/llvm-23.1.6[llvm_targets_BPF], ~llvm-
* core/llvm-23.1.6[llvm_targets_Lanai], ~llvm-
* core/llvm-23.1.6[llvm_targets_SystemZ], ~llvm-
* core/llvm-23.1.6[llvm_targets_WebAssembly], ~llvm-
* core/llvm-23.1.6[llvm_targets_AMDGPU], ~llvm-
* core/llvm-23.1.6[llvm_targets_Hexagon], ~llvm-
* core/llvm-23.1.6[-debug,zstd], ~llvm-
* core/llvm-23.1.6[llvm_targets_AArch64], ~llvm-
* core/llvm-23.1.6[llvm_targets_RISCV], >=llvm-core/lld-toolchain-
* symlinks-16-r2:23, llvm-core/llvm:23, ~llvm-
* core/llvm-23.1.6[llvm_targets_Sparc], ~llvm-
* core/llvm-23.1.6[llvm_targets_AVR], ~llvm-
* core/llvm-23.1.6[llvm_targets_MSP430], ~llvm-
* core/llvm-23.1.6[llvm_targets_LoongArch], ~llvm-
* core/llvm-23.1.6[llvm_targets_SPIRV], ~llvm-
* core/llvm-23.1.6[llvm_targets_X86], ~llvm-
* core/llvm-23.1.6[llvm_targets_PowerPC], ~llvm-
* core/llvm-23.1.6[llvm_targets_Mips], ~llvm-
* core/llvm-23.1.6[llvm_targets_NVPTX], ~llvm-
* core/llvm-23.1.6[llvm_targets_VE], ~llvm-core/llvm-23.1.6[llvm_targets_ARM]
* emerge --keep-going: llvm-core/lld-toolchain-symlinks-23 dropped because it
* requires llvm-core/lld:23
r/Gentoo • u/joe_mama696931 • 1d ago
Support My first gentoo installš
I know itās not that impressive, but I tried my best itās my first ever install, and I like it already. Any tips how to better optimize it?
r/Gentoo • u/maxminfr • 1d ago
Support First time using gentoo
I finally just installed gentoo but its already bloated even without a wm its using 730mb of ram. Whats the problem
r/Gentoo • u/OkAlbatross9889 • 18h ago
Support Switching to hardened profile from non-hardened one
Hello everyone!
I've been looking into the hardened profiles as of recently (without SElinux because it seems like a pita).
The wiki doesn't really mention any downside to the hardened profiles. In contrast reddit posts mention a performance impact.
- Considering the thread is a bit old, is the performance impact still relevant today (i'm running a r7 7700X)?
- Does switching form non-hardened to hardened (and back in case i change my mind) cause any issues? Are there particular things to keep in mind other than what is in the wiki article when doing so?
- Is there any perceivable difference in compilation time during updates?
Thanks in advance for any and all responses.
r/Gentoo • u/guhMoke • 23h ago
Screenshot Synced lyrics floating on my Gentoo desktop, a little app I made after a Minecraft joke
Hi r/Gentoo! Student here. I've been working on a small desktop app called Cadence and figured some of you might like it on your Gentoo setups.
Basically it puts the lyrics of whatever's playing in a little window on top of everything, synced line by line. Works with Spotify, YouTube Music, Apple Music, Tidal and Pear. There's nothing to log into and you don't need Premium or your own API keys; it just picks up what your machine is already playing.
How it started: some close friends and I were playing Minecraft together and someone said lyrics hovering over the game would be funny. I threw together a rough version for the group, and somehow it got 100 downloads within a day. People actually liked it, so I kept going and made it a real thing. Now it's around 1,500 users, which I still can't believe.
There's also karaoke mode, lyric colors pulled from the album art, a click-through mode so the window never steals your mouse, and room codes for listening along with friends across platforms.
Heads up, there's no ebuild for it, it's just a regular desktop app. I'm pushing updates constantly right now, so feedback means a lot, especially if something breaks with your WM or compositor. Bug reports welcome too.
Totally free, it's just a fun project: https://samahith.me/cadence
r/Gentoo • u/joe_mama696931 • 21h ago
Support I need to know about this
What are the main differences between installing pre-built packages on Gentoo and compiling them from source? I donāt quite understand what the distinction isādoes it affect program speed or improve stability? Or is compiling just an unnecessary waste of CPU resources and time? Iād really like to know.
Discussion Its Aliiive!!! well, it wouldn't have died if i hadn't momentarily killed it.
So whats everyones line between a re-install and a ressurrection? dumped laptop stuff onto desktop fixing what that broke. got caught with a reboot forcing a chroot... then, as it was coming together would up having to boot / from the backup efi shell. 1st is desktop original install date (RIP as it replaced my original early 00's install due to like 3 or 4 EAPI version hops needed) 2nd is the laptops install date. 3 is post stable system, but when moved from the SATA2? SSD onto an nvme and some boot cleanups as it had the setup from years ago (so long /dev/sda ... you were much better than /dev/hda and had a good run!)
r/Gentoo • u/Total-Hyena-6354 • 2d ago
Discussion Upate 2 Gentoo-Control-Center
Update on this project original post https://www.reddit.com/r/Gentoo/s/fix3gj6DZg. Everything working great still learning more and more from this project alone.
Discussion why is the wiki down so often
rest of the gentoo infra doesn't seem to have this kind of instability. borderline unsuable :( do i need to give money to gentoo
Support GDM froze the screen and don't want to start
hello it's been two days i do may daily update with emerge -avuDN @world and at the reboot gdm didn't want to display something. the system is booted, i can access a shell with ssh but the screen is frozen. i check btop and rc-service display manager status and gdm is running. I can change the tty with ctrl + alt + f1. I was wondering if someone known how to get rid of this issue ? I try with sddm who display a black screen before to crash. I can launch wmaker it work fine but i will like to use gnome. I try to re install gdm, recompile every package in case there was a bad linking of something. I try an older kernel, i try to downgrade gdm, to deactivate nouveau driver, deactivate my integrated graphic in the bios. I put my config downthere and thank in advance for the answers. and sorry for my english :
Portage 3.0.83 (python 3.14.10-final-0, default/linux/amd64/23.0/desktop/gnome, gcc-16, glibc-2.43-r4, 6.18.64-p1-gentoo-dist-hardened x86_64)
=================================================================
System uname: Linux-6.18.64-p1-gentoo-dist-hardened-x86_64-AMD_Ryzen_5_5600G_with_Radeon_Graphics-with-glibc2.43
KiB Mem: 15690660 total, 14696992 free
KiB Swap: 37748728 total, 37748728 free
sh: bash 5.3_p20-r1
coreutils: (GNU coreutils) 9.12
ld: GNU ld (Gentoo 2.47 p1) 2.47.0
app-misc/pax-utils: 1.3.11::gentoo
app-shells/bash: 5.3_p20-r1::gentoo
dev-build/autoconf: 2.73-r2::gentoo
dev-build/automake: 1.19::gentoo
dev-build/cmake: 4.3.4::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r102::gentoo
dev-build/meson: 1.12.1::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.44.0::gentoo
dev-lang/python: 3.14.10_p1::gentoo
dev-lang/rust-bin: 1.94.1::gentoo, 1.98.1::gentoo, 1.99.1::gentoo
llvm-core/clang: 22.1.8::gentoo, 23.1.6-r1::gentoo
llvm-core/lld: 22.1.8-r1::gentoo, 23.1.6::gentoo
llvm-core/llvm: 21.1.8::gentoo, 22.1.8::gentoo, 23.1.6::gentoo
sys-apps/baselayout: 2.18-r1::gentoo
sys-apps/openrc: 0.64.1-r1::gentoo
sys-apps/sandbox: 2.49::gentoo
sys-devel/binutils: 2.47::gentoo
sys-devel/binutils-config: 5.6::gentoo
sys-devel/gcc: 16.2.1_p20260926::gentoo
sys-devel/gcc-config: 2.12.2::gentoo
sys-kernel/linux-headers: 6.18::gentoo (virtual/os-headers)
sys-libs/glibc: 2.43-r4::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 3
timestamp: Wed, 25 Nov 2026 18:45:00 +0000
head commit: 9f0b8671074abca8afda5cddd7714e77d67e8224
steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/anyc/steam-overlay.git
masters: gentoo
volatile: False
head commit: c8a1c7f3f0a778766d4bdefac97c58ebe72202e1
Binary Repositories:
gentoo
location: /var/cache/binhost/gentoo
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
verify-signature: True
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe -flto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-march=znver3 -O2 -pipe -flto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_DIRS XDG_CONFIG_HOME XDG_DATA_DIRS XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=znver3 -O2 -pipe -flto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-index config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -pipe -flto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-z,now -Wl,-z,relro -Wl,-O2 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j11 -l12"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="bzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
RUSTFLAGS=" -C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 asm avif bash-completion bluetooth branding bzip2 cairo cet colord cracklib crypt cuda cxx dbus dist-kernel dri dts eds elogind encode evo exif flac fontconfig fuse gdbm gdk-pixbuf gif gimp gnome gnome-keyring gnome-shell gphoto2 gpm gstreamer gtk gui hardened iconv icu introspection ipv6 jpeg jpegxl keyring lcms libcaca libnotify libtirpc lm-sensors lto mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opencl opengl openmp pam pango pcre pdf pipewire png policykit ppds pulseaudio qml qt6 readline screencast sdl seccomp sound spell ssl startup-notification svg sysprof test-rust tiff tracker truetype udev udisks uefi unicode upower usb vaapi vorbis vulkan wayland webp wxwidgets x264 xattr xcb xft xml xv zlib" ABI_X86="64" ADA_TARGET="gcc_15" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 bmi1 bmi2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oncore skytraq superstar2 tsip tripmate tnt" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="wacom libinput" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-5" POSTGRES_TARGETS="postgres18" PYTHON_SINGLE_TARGET="python3_14" PYTHON_TARGETS="python3_14" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby33" VIDEO_CARDS="amdgpu nouveau radeonsi nvk zink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGSr/Gentoo • u/Life-Painter-8032 • 2d ago
Support Problemi con il kernel
Salve, da 2 giorni sto cercando di installarmi Gentoo. Ma per una cosa, o lāaltra, ho sempre problemi. Adesso non capisco il perchĆ©, quando installo il kernel binario non vuole installarlo dentro la cartella efi, ma me lo installa nella cartella boot. Io attivo i flags ādracutā āgrubā su sys-kernel/installkernel. Lāunica cosa che svario dalla guida ufficiale di Gentoo, ĆØ che uso genfstab per crearmi il file fstab. PerchĆ© non vuole installarmi Gentoo il kernel sulla cartella giusta e montata dalla partizione?
r/Gentoo • u/s0ulslack • 4d ago
Screenshot Is this how you update portage?
I still need to reset the state after compiling finishes but its mostly done!
r/Gentoo • u/omgmyusernameistaken • 3d ago
Meme Old SSD with USB connected, chrooted and update world running
It is updating, 769 packages, most of them binaries. Crazy how Gentoo can do this! I needed to read news about the Python update first.
For ~10 Months this SSD waited for an update. Chrooting and getting the fresh GPG signatures and portage up to date and world update is running nicely! I could have update it without GPG signatures (and build everything) but it's an old laptop so it would take time..
r/Gentoo • u/wukyysek • 2d ago
Development Claude Desktop install script for Gentoo
Heyy,
so i using Claude on web for a long time on my gentoo thinkpad, and i thought that an app could be handy. So, i made this with Claude; an simple and easy install script for Claude Destkop. In short term, it fetches the latest .deb from Anthropic, so the script can also update to the newest version and does everything by itself. Be aware, its vibe-coded but reviewed, but REVIEW BY YOURSELF BEFORE RUNNING ANY SCRIPT ANYWHERE! I hope it comes handy for anyone :)
Discussion [musl/llvm] my first (failed) impression with Ladybird
(previously posted on the forums).
After seeing Ladybird release its first beta yesterday, I wanted to try it out. As there weren't any musl builds available I figured I'd just grab the source tarball and do it myself. How hard could it be?
<...>
A suitable version of cmake was not found (required v4.4.4).
Trying to download cmake-4.4.4-linux-x86_64.tar.gz using asset cache https://vcpkg-cache.app.ladybird.org/ladybird/source-assets/721acd5bb1d33f124f30c466309018165261fefc26bc788df01e85bbfdc6c3dccf52b39e35767895dda2f56dd5eeb8e46fea0745eb771fb6e4be5ccda339c4fe
Download successful! Asset cache hit, did not try authoritative source https://github.com/Kitware/CMake/releases/download/v4.4.4/cmake-4.4.4-linux-x86_64.tar.gz
Extracting cmake...
error: /home/tch/build/ladybird-2026.47.7/Build/vcpkg-release/downloads/tools/cmake-4.4.4-linux/cmake-4.4.4-linux-x86_64/bin/cmake --version failed with exit code 127
sh: line 1: /home/tch/build/ladybird-2026.47.7/Build/vcpkg-release/downloads/tools/cmake-4.4.4-linux/cmake-4.4.4-linux-x86_64/bin/cmake: cannot execute: required file not found
<...>The stabilized cmake (4.3.4) was a bit too old then. I unmasked 4.4.5 and upgraded.
[75/75] vcpkg skia
FAILED: [code=1] /home/tch/build/ladybird-2026.47.7/Build/release/vcpkg-deps/skia/.stamp
<...>
-- Generating build (x64-linux-dynamic-rel)...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: /home/tch/build/ladybird-2026.47.7/Build/release/vcpkg-deps/skia/vcpkg_installed/x64-linux-dynamic/tools/gn/gn gen <...>
Working Directory: /home/tch/build/ladybird-2026.47.7/Build/release/vcpkg-deps/skia/buildtrees/skia/src/e2c0ee027a-00e631f3cc.clean
Error code: no such file or directory
<...>What was that gn? Turned out it was another build system, made by Google. I just built dev-build/gn and copied the binary over, after which I finally got to see some musl-related errors:
/home/tch/build/ladybird-2026.47.7/Libraries/LibSandbox/Seccomp.cpp:1293:5: error: missing field '__pad1' initializer [-Werror,-Wmissing-designated-field-initializers]
1293 | };
| ^
/home/tch/build/ladybird-2026.47.7/Libraries/LibSandbox/Seccomp.cpp:1332:5: error: missing field '__pad1' initializer [-Werror,-Wmissing-designated-field-initializers]
1332 | };
| ^
/home/tch/build/ladybird-2026.47.7/Libraries/LibSandbox/Seccomp.cpp:2770:48: error: use of undeclared identifier '_IOC_TYPEMASK'
2770 | append(BPF_STMT(BPF_ALU | BPF_AND | BPF_K, _IOC_TYPEMASK << _IOC_TYPESHIFT));
| ^~~~~~~~~~~~~
/home/tch/build/ladybird-2026.47.7/Libraries/LibSandbox/Seccomp.cpp:2770:65: error: use of undeclared identifier '_IOC_TYPESHIFT'
2770 | append(BPF_STMT(BPF_ALU | BPF_AND | BPF_K, _IOC_TYPEMASK << _IOC_TYPESHIFT));
| ^~~~~~~~~~~~~~
/home/tch/build/ladybird-2026.47.7/Libraries/LibSandbox/Seccomp.cpp:2772:78: error: use of undeclared identifier '_IOC_TYPESHIFT'
2772 | append(BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, static_cast<u32>(type) << _IOC_TYPESHIFT, 0, 1));
|Fixing them was pretty straight forward. I watched as the build get closer to completion when I saw:
FAILED: [code=1] lib64/liblagom-web.so.0.1.0
: && /usr/lib/llvm/22/bin/c++ <...> && :
ld.lld: error: undefined symbol: pkey_mprotect
>>> referenced by libjs_rust.d784cf837070bb8c-cgu.08
<...>
ld.lld: error: undefined symbol: pkey_set
>>> referenced by libjs_rust.d784cf837070bb8c-cgu.08
<...>
ld.lld: error: undefined symbol: pkey_alloc
>>> referenced by libjs_rust.d784cf837070bb8c-cgu.08
<...>Damn, some syscalls musl still doesn't yet expose to userspace. Can't blame people for using them. That's probably my first impression of Ladybird then. I'll try building it again in about a year, hopefully musl has those symbols by then.