Hi,

make installworld runs git again but if build as user and owning the
files as user and installing as root that gives the obvious warning:

make[1]: "/usr/obj/usr/src/amd64.amd64/toolchain-metadata.mk" line 1: Using 
cached toolchain metadata from build at lab-top on Mon Mar 10 22:35:33 UTC 2025
fatal: detected dubious ownership in repository at '/usr/src'
To add an exception for this directory, call:

        git config --global --add safe.directory /usr/src
make[1]: "/usr/src/Makefile.inc1" line 601: warning: Command "/usr/local/bin/git -C 
/usr/src show -s --format=%ct HEAD" exited with status 128
--------------------------------------------------------------
Install check world started on Mon Mar 10 23:00:45 UTC 2025
--------------------------------------------------------------
fatal: detected dubious ownership in repository at '/usr/src'
To add an exception for this directory, call:

        git config --global --add safe.directory /usr/src
make[2]: "/usr/src/Makefile.inc1" line 601: warning: Command "/usr/local/bin/git -C 
/usr/src show -s --format=%ct HEAD" exited with status 128
--------------------------------------------------------------
Making hierarchy
--------------------------------------------------------------
fatal: detected dubious ownership in repository at '/usr/src'
To add an exception for this directory, call:

        git config --global --add safe.directory /usr/src
make[3]: "/usr/src/Makefile.inc1" line 601: warning: Command "/usr/local/bin/git -C 
/usr/src show -s --format=%ct HEAD" exited with status 128


What do we need these timestamps for when doing an installworld?

I see they are for pkg base so can they be contraint to that?

Is there a reason not to create things during build time?

Install should not create any new information anymore.
People used to have /usr/src ro and and the obj directories once build is done 
too.  We've long lost that but given we are so much after reproducability maybe 
people should try this again...


/bz

--
Bjoern A. Zeeb                                                     r15:7

Reply via email to