[Bug 269251] Unable to build the kernel on linux as host

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 Jan 2023 16:29:23 UTC

            Bug ID: 269251
           Summary: Unable to build the kernel on linux as host
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mcsm224@gmail.com


I tried to build the kernel on a linux host (archlinux), i followed the
instructions in the wiki https://wiki.freebsd.org/BuildingOnNonFreeBSD.

I couldn't bootstrap bmake so i used the one in my system (gcc kept complaining
about strclpy). 

I was able to build world, but not kernel. It failed at "stage 1 : configuring
the kernel", with the error "sh: line 29: config: command not found".

my hierarchy: 

    -> freebsd      # freebsd src tree
    -> obj      # object directory

If it weren't for the wiki article i would think that it is normal to not be
able to build it on a non bsd host.


You are receiving this mail because:
You are the assignee for the bug.