On Thu, 2005-Dec-01 13:30:03 +0200, Iasen Kostov wrote: >On Thu, 2005-12-01 at 07:35 +0200, Ruslan Ermilov wrote: >> If so, the chances are simply that your date/time is set wrong, >> or there are files in the source tree (check with find(1)) that >> have modification time pointing to the future. ... >I wander if there is a way to save somewhere in the tree the time of >last modification(commit) and then in the Makefile to check if it is not >in the future and if it is to fail with proper message maybe if it is >possible it will save some wall-head-hitting and time too :). This problem seems to come up fairly regularly. How about adding a check into make(1) so that if a dependency has a date in the future, make dies with more intuitive error? It would probably reduce the number of these questions if you got an error message like: "foo.c was created in the future. Check your system date/time." IMHO, that's a lot more obvious than: "/usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lc" or "... touch not found ..." -- Peter JeremyReceived on Thu Dec 01 2005 - 16:56:44 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC