RE: WITHOUT_CLEAN confusion in -current

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
void <void_at_f-m.fm> wrote on
Date: Mon, 17 Nov 2025 01:14:17 UTC :

> The context this was tested in was armv7. Not tested in others.
> Sources are n281932 2025-11-16
> 
> When running 'make -j2 -DNOCLEAN buildworld' the warning
> 
> "make[2]: /usr/src/Makefile.inc1:482: warning: The src.conf WITHOUT_CLEAN option can now be used instead of NOCLEAN."
> 
> is emitted (but the build continues and the warning seems harmless)
> 
> After stopping the build and adding WITHOUT_CLEAN to /etc/src.conf

Since you do not show the actual addition, I'm having to just guess
that you omitted the "=" that defines the name in src.conf notation
(i.e., makefile notation):

WITHOUT_CLEAN=

not:

WITHOUT_CLEAN

(I see that "man src.conf" and man "make.conf" give no examples of
actual, complete (short) makefile notation to prompt the inclusion
of the "=". "The src.conf file uses the standard makefile syntax."
And: "The file make.conf uses the standard makefile syntax.")

> and starting it again like so:
> 'make -j2 buildworld'
> 
> the build fails with
> 
> make: /etc/src.conf:7: Invalid line "WITHOUT_CLEAN"

I used the lack of an "=" in that ". . ." as my
potential evidence for my guess.

> in /usr/src/share/mk/src.sys.mk:24
> in /usr/src/share/mk/local.sys.mk:58
> in /usr/src/share/mk/sys.mk:283
> make: Fatal errors encountered -- cannot continue

===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.