[Bug 273215] nullfs: modification times incorrect, breaking make etc.
Date: Fri, 18 Aug 2023 21:17:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273215 Bug ID: 273215 Summary: nullfs: modification times incorrect, breaking make etc. Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: andrew@tao11.riddles.org.uk Created attachment 244204 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244204&action=edit file creation test script for modtimes bug On (recent) 13.2-STABLE, but apparently not on CURRENT, the modification times of created files on nullfs (at least when the lower filesystem is UFS, haven't tried other combinations yet) are ending up some arbitrary time later than they should be, as though the "marked for update" condition is not being processed when it should. For example, running the attached test on 13.2-stable, despite taking 2 seconds delay between creating files, file 2 ends up looking older than file 1, and files 1,3,4 end up with the same timestamp. This manifests in build failures for ports if the port workdir is on a nullfs mount, because for example the files created by autoreconf / libtoolize / etc. end up with timestamps that don't match their dependency order, resulting in erroneous attempts to rebuild them in build phase (an example of a port that fails reliably is graphics/graphviz). -- You are receiving this mail because: You are the assignee for the bug.