View previous topic :: View next topic |
Author |
Message |
stdcall n00b
Joined: 02 Oct 2008 Posts: 2 Location: Russia/Krasnoyarsk
|
Posted: Sat Oct 18, 2008 7:08 am Post subject: problem with files modification time |
|
|
Hi everyone! When i installed gentoo on my pc, system clock time was incorrect, so now some files on my computer got incorrect time stamps. When i try to rebuild some packages, i got make warnings about modification time of some files in the future and make cannot finish its work. Please help me with your solutions.
p.s. sorry for my english |
|
Back to top |
|
|
a.b. Apprentice
Joined: 23 Mar 2008 Posts: 218 Location: Anus Mundi, Germany
|
Posted: Sat Oct 18, 2008 8:35 am Post subject: |
|
|
I doubt wrong time stamps make compiling fail, especially since portage uses a new copy of the source everytime. However, this would give all files on your computer the current time as timestamp:
Code: | find / -exec touch {} \; |
Maybe this breaks things that rely on timestamps, I doubt it, though. |
|
Back to top |
|
|
button n00b
Joined: 24 Dec 2007 Posts: 65 Location: Croatia
|
Posted: Sat Oct 18, 2008 8:37 am Post subject: |
|
|
Anything that I might think of is touching files giving you trouble. In addition, you can search the filesystem with find to find all files with timestamp in the future, and pipe the output to 'touch' command.
http://wooledge.org:8000/UsingFind
EDIT: a.b. was faster |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Oct 18, 2008 1:01 pm Post subject: |
|
|
Moved from Gentoo Chat to Other Things Gentoo.
support question, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|