Hi, I get system clock error when i try build image. All errors and logs is available here: https://github.com/prsolucoes/docker-yocto Thanks on any help to solve it.
Have you tried making sure the clock is set correctly in your docker image? What does running "date" before you start the build say? The bugzilla isn't really a way to ask for help, its for reporting problems in the codebase and I don't believe this is a problem in the codebase.
I make all changes trying solve it changing the clock. I put UTC as timezone, put the same of my machine (America/Sao_Paulo), but not solve. I use docker with a lot of other things, never get this problem. I have an issue trying get a solution to this problem on stackoverflow: https://stackoverflow.com/questions/47833647/yoctoproject-error-with-automake-and-system-clock/47834034?noredirect=1#comment82719945_47834034 The only way is make a patch removing the system clock check. Already have one patch to sanity.m4 (performance.patch) but not to other files.
Rather than hacking it to remove the test, I'd *strongly* recommend trying to understand why this test is breaking and figure out how to fix it properly. It does sound like there is something very wrong with your environment. What does the "date" command show the date/time as?
Hi, My date command now return: Tue Dec 19 16:42:56 UTC 2017 Thanks.
The date output looks right. It's possible that the timezone/time was wrong when the files were unpacked and although you've now set the correct time the old files are being used. Can you delete build/tmp/ and try again, to remove the possibility that old files (from the future) are being used?
We believe this is a user error with the system clock. If not please reopen and ping us.