build appliance location: http://autobuilder.yoctoproject.org/pub/nightly/20150202-1/build-appliance/ test step: 1.unzip build appliance zip file 2.Using vmplayer to test build appliance 3.In Hob page, build core-image-minimal(qemuppc arch) Every time I build this image, we encounter a build error. The weird thing is that it happens to different package every time. So far I've tested for 3 times. The build error happens in "bin-utils", "lib-tools", "bison-native" respectively. A piece of "bison-native" build error message: NOTE: Running /home/builder/poky/build/tmp/work/x86_64-linux/bison-native/2.7.1-r0/bison-2.7.1/configure --build=x86_64-linux --host=x86_64-linux --target=x86_64-linux --prefix=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr --exec_prefix=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr --bindir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr/bin --sbindir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr/sbin --libexecdir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr/lib/bison --datadir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr/share --sysconfdir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/etc --sharedstatedir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/com --localstatedir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/var --libdir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr/lib --includedir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr/include --oldincludedir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr/include --infodir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr/share/info --mandir=/home/builder/poky/build/tmp/sysroots/x86_64-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking M4=m4 --disable-nls configure: loading site script /home/builder/poky/meta/site/native checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... configure: error: newly created file is older than distributed files! Check your system clock Configure failed. The contents of all config.log files follows to aid debugging ERROR: oe_runconf failed WARNING: /home/builder/poky/build/tmp/work/x86_64-linux/bison-native/2.7.1-r0/temp/run.do_configure.19114:1 exit 1 from exit 1 ERROR: Function failed: do_configure (log file is located at /home/builder/poky/build/tmp/work/x86_64-linux/bison-native/2.7.1-r0/temp/log.do_configure.19114)
Investigation started.
Hi Ke, Can you please see the dates of files in question, that configure process complains about? Also, can you please see the exact date and time the Build Appliance see as the system clock? It might also help to let me know if the RTC of the machine that's hosting Build Appliance is set to UTC or to local time. Thanks for the info, Cristian
Hi Cristian Unfortunately , I was unable to reproduce this bug today. I tried to build all archs (qemuarm, qemuppc and qemumips), they all passed. This may be a little similar to an old bug https://bugzilla.yoctoproject.org/show_bug.cgi?id=6747 Anyway, there is a time gap between "date" on my host and "date" inside build appliance. My host: builder@pek-yocto-build2:~/temp$ date Fri Feb 6 17:51:55 CST 2015 Build Appliance: sh-4.3# date Fri Feb 6 09:52:34 UTC 2015 I cannot get "the dates of files in question, that configure process complains about" because I've cleanup the image and unzip it again to run new test. I'll try more times to see if I can reproduce this.
Hi Ke, When you performed the last test (which passed) did you had the difference between host and client clocks?
(In reply to comment #4) > Hi Ke, > When you performed the last test (which passed) did you had the difference > between host and client clocks? Hi Alex, Yes there has always been the difference between host and client clocks. It never occurs since I started performing Build Appliance test. Also, I cannot reproduce this issue now even with 20150202-1 build.
Ok, please mark it as worksforme and if it doesn't reproduce with the next full pass we'll mark it as verified.
Seems the same as bug 5087 https://bugzilla.yoctoproject.org/show_bug.cgi?id=5087
Same error actually: "checking whether build environment is sane... configure: error: newly created file is older than distributed files! Check your system clock Configure failed. The contents of all config.log files follows to aid debugging ERROR: oe_runconf failed" *** This bug has been marked as a duplicate of bug 5087 ***