[Bug 260083] WITHOUT_BOOT build option appears to include stand, failing on libsa

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 28 Nov 2021 00:51:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260083

            Bug ID: 260083
           Summary: WITHOUT_BOOT build option appears to include stand,
                    failing on libsa
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: editor@callfortesting.org

The following buildworld errors...

--- all_subdir_stand ---
--- all_subdir_stand/libsa ---
/usr/src/stand/libsa/dosfs.c:41:10: fatal error: 'disk.h' file not found
#include "disk.h"
         ^~~~~~~~
--- all_subdir_stand ---
--- all_subdir_stand/libsa32 ---
/usr/src/stand/libsa/dosfs.c:41:10: fatal error: 'disk.h' file not found
#include "disk.h"
         ^~~~~~~~
--- all_subdir_stand/libsa ---
--- ufs.o ---
/usr/src/stand/libsa/ufs.c:84:10: fatal error: 'disk.h' file not found
#include "disk.h"
         ^~~~~~~~
--- all_subdir_stand ---
--- all_subdir_stand/libsa32 ---
--- ufs.o ---
/usr/src/stand/libsa/ufs.c:84:10: fatal error: 'disk.h' file not found
#include "disk.h"
         ^~~~~~~~

... are produced when building 14-CURRENT as of 2021-11-11 through 2021-11-25
when all WITHOUT_* build options are set in /etc/src.conf, with the exception
of WITHOUT_BOOT. It appears that WITHOUT_BOOT is including /usr/src/stand
despite WITHOUT_RESCUE being set in /etc/src.conf

/usr/src/Makefile.inc1 reads:

.if ${MK_BOOT} != "no"
SUBDIR+=stand
.endif

This syntax does not appear to have changed from 13.0-RELEASE and worked on
13.0-RELEASE, but now produces the error. I'm stumped but will keep trying to
determine what is causing these errors.

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