From owner-freebsd-current@FreeBSD.ORG Sat Aug 5 18:09:29 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BD3816A4DE; Sat, 5 Aug 2006 18:09:29 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F95443D49; Sat, 5 Aug 2006 18:09:27 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.6) with ESMTP id k75I9Q2s011511; Sat, 5 Aug 2006 22:09:26 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sat, 5 Aug 2006 22:09:26 +0400 (MSD) From: Dmitry Morozovsky To: rse@freebsd.org In-Reply-To: <20060805155548.EBE837302F@freebsd-current.sentex.ca> Message-ID: <20060805220746.U9314@woozle.rinet.ru> References: <20060805155548.EBE837302F@freebsd-current.sentex.ca> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sat, 05 Aug 2006 22:09:26 +0400 (MSD) Cc: amd64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2006 18:09:29 -0000 On Sat, 5 Aug 2006, FreeBSD Tinderbox wrote: FT> mkdep -f .depend -a -DRDUMP -DRESCUE /src/sbin/dump/itime.c /src/sbin/dump/main.c /src/sbin/dump/optr.c /src/sbin/dump/dumprmt.c /src/sbin/dump/tape.c /src/sbin/dump/traverse.c /src/sbin/dump/unctime.c /src/sbin/dump/cache.c FT> echo dump: /obj/amd64/src/tmp/usr/lib/libc.a >> .depend FT> cc -O2 -pipe -DRDUMP -DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/sbin/dump/itime.c FT> cc -O2 -pipe -DRDUMP -DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/sbin/dump/main.c FT> cc -O2 -pipe -DRDUMP -DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/sbin/dump/optr.c FT> /src/sbin/dump/optr.c: In function `timeest': FT> /src/sbin/dump/optr.c:214: warning: field precision is not type int (arg 7) It seems at least on amd64 size_t (strlen() result) is not int. Maybe the following quick fix? Index: optr.c =================================================================== RCS file: /home/ncvs/src/sbin/dump/optr.c,v retrieving revision 1.33 diff -u -r1.33 optr.c --- optr.c 5 Aug 2006 12:50:38 -0000 1.33 +++ optr.c 5 Aug 2006 18:07:34 -0000 @@ -211,7 +211,7 @@ tdone_str = ctime(&tdone); setproctitle( "%s: pass %d: %3.2f%% done, finished in %d:%02d at %.*s", - disk, passno, percent, hours, mins, strlen(tdone_str) - 1, tdone_str); + disk, passno, percent, hours, mins, (int)(strlen(tdone_str) - 1), tdone_str); if (tnow >= tschedule) { tschedule = tnow + 300; if (blockswritten < 500) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------