I tried getting SerenityOS to run on my Gentoo system. Unfortunately I get this output:
$ ./Meta/serenity.sh run
[0/5] Performing build step for 'lagom'
ninja: no work to do.
[1/5] Performing install step for 'lagom'
[0/1] Install the project...
-- Install configuration: ""
[2/5] Performing build step for 'serenity'
[0/2] Re-checking globbed directories...
[3/3] Linking CXX executable Kernel/Prekernel/kernel_x86-64
[3/5] Performing install step for 'serenity'
[0/2] Re-checking globbed directories...
[3/4] Install the project...
-- Install configuration: ""
[5/5] Completed 'serenity'
ninja: Entering directory `/home/user/software/sys-os/serenity/Build/x86_64'
[0/2] Re-checking globbed directories...
[3/4] Install the project...
-- Install configuration: ""
ninja: Entering directory `/home/user/software/sys-os/serenity/Build/x86_64'
[0/2] Re-checking globbed directories...
[0/1] cd /home/user/software/sys-os/serenity/Build/x86_64 && /usr/bin/cmake -E env SERENITY_...OLCHAIN=GNU LLVM_VERSION=13.2.0 /home/user/software/sys-os/serenity/Meta/build-image-qemu.s
doas (user@weerwolf) password:
find: ‘/Base’: No such file or directory
du: cannot access '/Base': No such file or directory
checking existing image
e2fsck 1.47.1 (20-May-2024)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
_disk_image: 11/99072 files (0.0% non-contiguous), 3672/368500 blocks
done
mounting filesystem... done
die: SERENITY_SOURCE_DIR is not set
unmounting filesystem... done
FAILED: CMakeFiles/qemu-image _disk_image /home/user/software/sys-os/serenity/Build/x86_64/CMakeFiles/qemu-image /home/user/software/sys-os/serenity/Build/x86_64/_disk_image
cd /home/user/software/sys-os/serenity/Build/x86_64 && /usr/bin/cmake -E env SERENITY_SOURCE_DIR=/home/user/software/sys-os/serenity SERENITY_ARCH=x86_64 SERENITY_TOOLCHAIN=GNU LLVM_VERSION=13.2.0 /home/user/software/sys-os/serenity/Meta/build-image-qemu.sh
ninja: build stopped: subcommand failed.
I'm using GCC 14.2.1
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too