Re: FYI: Why META_MODE rebuilds so much for building again after installworld (no source changes) [code level bug evidence]

2023-02-23 Thread Simon J. Gerraty
Mark Millard wrote: > So with -ddM why do I see lots of "cached_realpath:" > notices for the same path? For example: how many separate bmake instances are in that log? > > # grep "tmp/legacy/usr/sbin/ln\>" > /usr/obj/BUILDs/main-amd64-nodbg-clang/sys-typescripts/typescript-make-amd64-nodbg-cla

Re: FYI: Why META_MODE rebuilds so much for building again after installworld (no source changes) [code level bug evidence]

2023-02-23 Thread Mark Millard
On Feb 23, 2023, at 11:53, Mark Millard wrote: > cached_realpath only reports its "cached_realpath:" notice > (not the purging one) when it does not find the value via > HashTable_FindValue and so does a HashTable_Set : > > const char * > cached_realpath(const char *pathname, char *resolved) > {

Re: FYI: Why META_MODE rebuilds so much for building again after installworld (no source changes) [code level bug evidence]

2023-02-23 Thread Mark Millard
cached_realpath only reports its "cached_realpath:" notice (not the purging one) when it does not find the value via HashTable_FindValue and so does a HashTable_Set : const char * cached_realpath(const char *pathname, char *resolved) { const char *rp; if (pathname == NULL || pathn