Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
[opensuse-buildservice] Build fails because of wrong timezone on OBS buildhost?
Hash: SHA1

I experienced this problem several times in the past and always assumed,
that my local clock is not perfectly in sync as usually, a rebuild
trigger solves it. However, since it just happened again, I checked my
local clock (perfectly in sync to the second due to NTP) and therefore
investigated the logs more closely:

At least some build hosts on OBS apparently have the wrong timezone.
Here are some log snippets:

The build was started around 14:59 *MESZ*, (not UTC!), but - according
to the build log - it started at 14:59 *UTC* which is clearly in the
past. Note: The uploaded tarball is auto-generated on my Jenkins-CI and
auto-committed to OBS following a successful local build. Therefore, the
timestamps in the tarball are quite current.

=== Start of build on build02
Using BUILD_ROOT=/var/cache/obs/worker/root_6/.mount
Using BUILD_ARCH=i586:i486:i386
Doing xen build in /var/cache/obs/worker/root_6/root

build02 started "build wsgate.spec" at Mon Jun 11 14:59:50 UTC 2012.

Building wsgate for project 'home:felfert' repository 'SLE_11_SP1' arch
'i586' srcmd5 '0aeba73255941d3fef6bcfde89bd42f9'

processing specfile
/var/cache/obs/worker/root_6/.build-srcdir/wsgate.spec ...
=== Later in that build:
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/wsgate-1.0.0.tar.gz
+ tar -xf -
tar: wsgate-1.0.0/webroot/js: time stamp 2012-06-11 14:58:28 is
316.234112878 s in the future
tar: wsgate-1.0.0/webroot/css: time stamp 2012-06-11 14:58:28 is
316.232706758 s in the future
=== Finally autoconf's sanity check fails:
checking whether build environment is sane... configure: error: newly
created file is older than distributed files!
Check your system clock
error: Bad exit status from /var/tmp/rpm-tmp.29510 (%build)

Is it possible to fix the TZ of the build hosts or otherwise improve
accuracy by using NTP?

Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla -

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups