Closed elgithubo closed 11 months ago
Any idea?
Are you building that on FreeBSD or on ravynOS? Building on FreeBSD or with FreeBSD ports/packages will NOT work.
Good morning @mszoek
Thank you for your reply.
I assume I had all required build time dependencies installed on FreeBSD since 'make buildkernel' and 'make installkernel' worked like a charm, also after reboot. Therefore I am trying to build world in a hybrid (ravynOS kernel / FreeBSD userland) bhyve VM. I will try building HEAD again on an AWS VM to see if the behavior has improved.
Kind regards, Engel
Hi!
I assume I had all required build time dependencies installed on FreeBSD since 'make buildkernel' and 'make installkernel' worked like a charm, also after reboot. Therefore I am trying to build world in a hybrid (ravynOS kernel / FreeBSD userland) bhyve VM. I will try building HEAD again on an AWS VM to see if the behavior has improved.
You'll need the ravynOS userland to build everything. There are 3 phases to the build:
The kernel has minimal dependencies. Userland needs some additional packages like cmake to build libobjc2 and also needs libmach, migcom, and other pieces from the ravynOS system to be installed. It should build our toolchain (a modified clang) as part of world. The frameworks also need the full ravynOS runtime and toolchain installed in order to build - regular FreeBSD clang doesn't understand the concept of bundles or the "-framework" option. Building the frameworks and apps also needs a bunch of additional libraries like libpng, ghostscript, libjpeg, wayland-protocols, etc. You'll also need /usr/share/mk/rvn.*.mk, make.conf from the source tree, and some other config bits.
Ok I guess the following should work:
What do you think?
FYI, it doesn't necessarily map perfectly 1:1, but the bootstrapping arm64 page is mostly arch-agnostic and might be a good reference to try to figure out how to fresh bootstrap from FreeBSD.
Thank you for the very helpful link. Unfortunately I will have to wait for AWS to sort out their SSH and pwd logon problem to FreeBSD cloud images before I can continue. My Azure VMs work but I ignore them as long as they have Tux as logo for FreeBSD in the Azure app.
My Azure VMs work but I ignore them as long as they have Tux as logo for FreeBSD in the Azure app.
Oh that's just wrong
When trying to build in a bhyve vm, building and installing the kernel works fine. buildworkd fails with the following error:
cmake is installed