On 3/10/25 13:30, John Baldwin wrote:
The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=db6f2bb93a9706963f66d270edb5ee62c37a9296

commit db6f2bb93a9706963f66d270edb5ee62c37a9296
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2025-03-10 17:30:26 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2025-03-10 17:30:26 +0000

     Makefile.inc1: Conditionalize some package related variables
In particular, don't invoke git to compute SOURCE_DATE_EPOCH for
     unrelated targets like check-old or delete-old.  If the git invocation
     fails (e.g. when using a git worktree mounted over NFS) it can
     generate a lot of irrelevant warning spam.
Reviewed by: emaste
     Fixes:          8a3537aaf7c1 ("Makefile.inc1: Make package timestamps 
reproducible by default")
     Differential Revision:  https://reviews.freebsd.org/D49278

This gets me back to only getting all the /usr/src is read-only spam from bmake 
in my
test VMs.  It would be nice to get that fixed someday:

# make check-old
make[1]: warning: /usr/src/: Read-only file system.
Checking for old files
make[2]: warning: /usr/src/: Read-only file system.
make[3]: warning: /usr/src/: Read-only file system.
Checking for old libraries
make[2]: warning: /usr/src/: Read-only file system.
make[3]: warning: /usr/src/: Read-only file system.
/usr/lib32/libdevinfo.so.6
/usr/lib/debug/usr/lib32/libdevinfo.so.6.debug
Checking for old directories
make[2]: warning: /usr/src/: Read-only file system.
make[3]: warning: /usr/src/: Read-only file system.
To remove old files and directories run 'make delete-old'.
To remove old libraries run 'make delete-old-libs'.

--
John Baldwin


Reply via email to