Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2025 01:14:17 +0000
From:      void <void@f-m.fm>
To:        freebsd-current@freebsd.org
Cc:        freebsd-arm@freebsd.org
Subject:   WITHOUT_CLEAN confusion in -current
Message-ID:  <aRp26Y3MyMEJ0hXs@int21h>

next in thread | raw e-mail | index | archive | help

Hi,

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
and starting it again like so:
'make -j2 buildworld'

the build fails with

make: /etc/src.conf:7: Invalid line "WITHOUT_CLEAN"
         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

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aRp26Y3MyMEJ0hXs>