Re: [head tinderbox] failure on amd64/amd64

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Tue, 22 Jul 2008 19:43:56 +0200
FreeBSD Tinderbox <tinderbox_at_freebsd.org> writes:
> TB --- 2008-07-22 17:10:00 - tinderbox 2.3 running on freebsd-current.sentex.ca
> TB --- 2008-07-22 17:10:00 - starting HEAD tinderbox run for amd64/amd64
> TB --- 2008-07-22 17:10:00 - cleaning the object tree
> TB --- 2008-07-22 17:10:48 - cvsupping the source tree
> TB --- 2008-07-22 17:10:48 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile
> TB --- 2008-07-22 17:10:54 - building world (CFLAGS=-O -pipe)
> TB --- 2008-07-22 17:10:54 - cd /src
> TB --- 2008-07-22 17:10:54 - /usr/bin/make -B buildworld
> TB --- 2008-07-22 17:10:54 - WARNING: /usr/bin/make returned exit code  1 
> TB --- 2008-07-22 17:10:54 - ERROR: failed to build world
> TB --- 2008-07-22 17:10:54 - tinderbox aborted
> TB --- 2.41 user 4.54 system 54.11 real

src/Makefile contains the following code:

STARTTIME!= LC_ALL=C date
CHECK_TIME!= find ${.CURDIR}/sys/sys/param.h -mtime -0
.if !empty(CHECK_TIME)
.error check your date/time: ${STARTTIME}
.endif

This causes the build to fail if 'make' is invoked within the same
second that sys/sys/param.h was updated, as happened here:

TB --- 2008-07-22 17:10:48 - cvsupping the source tree
TB --- 2008-07-22 17:10:48 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile
Connected to 127.0.0.1
Updating collection src-all/cvs
 Edit src/games/fortune/datfiles/fortunes
 Edit src/include/stdlib.h
 Edit src/lib/libc/gen/Makefile.inc
 Edit src/lib/libc/gen/Symbol.map
 Edit src/lib/libc/gen/arc4random.3
 Edit src/lib/libc/gen/arc4random.c
 Edit src/lib/libc/stdio/mktemp.c
 Edit src/share/misc/committers-src.dot
 Edit src/sys/arm/at91/at91_pmc.c
 Edit src/sys/dev/esp/esp_sbus.c
 Edit src/sys/dev/esp/ncr53c9x.c
 Edit src/sys/dev/esp/ncr53c9xvar.h
 Edit src/sys/libkern/arc4random.c
 Edit src/sys/security/audit/audit.c
 Edit src/sys/security/audit/audit.h
 Edit src/sys/security/audit/audit_arg.c
 Edit src/sys/security/audit/audit_bsm.c
 Edit src/sys/security/audit/audit_bsm_klib.c
 Edit src/sys/security/audit/audit_bsm_token.c
 Edit src/sys/security/audit/audit_private.h
 Edit src/sys/security/audit/audit_syscalls.c
 Edit src/sys/security/audit/audit_worker.c
 Edit src/sys/sys/param.h
Finished successfully
TB --- 2008-07-22 17:10:54 - building world (CFLAGS=-O -pipe)
TB --- 2008-07-22 17:10:54 - cd /src
TB --- 2008-07-22 17:10:54 - /usr/bin/make -B buildworld
"Makefile", line 177: check your date/time: Tue Jul 22 17:10:54 UTC 2008
TB --- 2008-07-22 17:10:54 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2008-07-22 17:10:54 - ERROR: failed to build world

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Tue Jul 22 2008 - 15:43:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC