From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 09:23:19 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8752B1065686 for ; Fri, 7 Nov 2008 09:23:19 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from hosting.lissyara.su (hosting.lissyara.su [77.221.149.162]) by mx1.freebsd.org (Postfix) with ESMTP id 3ECFC8FC13 for ; Fri, 7 Nov 2008 09:23:18 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from [195.93.241.11] (port=12574 helo=lissyara.moskb.local) by hosting.lissyara.su with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KyNYj-000Ay9-0T; Fri, 07 Nov 2008 12:23:17 +0300 Message-ID: <49140904.6080002@lissyara.su> Date: Fri, 07 Nov 2008 12:23:16 +0300 From: Alex Keda User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.8.1.17) Gecko/20080929 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Giorgos Keramidas References: <49135844.7010500@lissyara.su> <491358CD.4090601@lissyara.su> <87bpwsseof.fsf@kobe.laptop> In-Reply-To: <87bpwsseof.fsf@kobe.laptop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: hosting.lissyara.su Cc: current@freebsd.org Subject: Re: Cannot buildworld in CURRENT 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: Fri, 07 Nov 2008 09:23:19 -0000 Giorgos Keramidas пишет: > On Thu, 06 Nov 2008 23:51:25 +0300, Alex Keda wrote: > >> Alex Keda пишет: >> >>> ===> usr.bin/du (all) >>> cc -O2 -pipe -fstack-protector -Wsystem-headers -Werror -Wall >>> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >>> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual >>> -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter >>> -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls >>> -Wno-pointer-sign -c /usr/src/usr.bin/du/du.c >>> cc1: warnings being treated as errors >>> /usr/src/usr.bin/du/du.c: In function 'main': >>> /usr/src/usr.bin/du/du.c:276: warning: format '%jd' expects type >>> intmax_t', but argument 2 has type 'long long int' >>> *** Error code 1 >>> >>> Stop in /usr/src/usr.bin/du. >>> *** Error code 1 >>> ============ >>> updated 2 hour ago >>> >> acer# uname -a >> FreeBSD acer.lissyara.int.otradno.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: >> Tue Nov 4 23:23:29 MSK 2008 >> root@acer.lissyara.int.otradno.ru:/usr/obj/usr/src/sys/color-console >> amd64 >> acer# >> > > Oops, this one slipped in because I only built in i386 and not amd64. > > Can you try this patch? > > %%% > diff -r aa58af068624 usr.bin/du/du.c > --- a/usr.bin/du/du.c Thu Nov 06 23:29:46 2008 +0200 > +++ b/usr.bin/du/du.c Thu Nov 06 23:51:48 2008 +0200 > @@ -273,7 +273,8 @@ > (void)printf("\t%s\n", p->fts_path); > } else { > (void)printf("%jd\t%s\n", > - howmany(p->fts_bignum * cblocksize, > + (intmax_t)howmany( > + p->fts_bignum * cblocksize, > blocksize), p->fts_path); > } > } > %%% > another machine. Build success. Updated 2 hour ago... You commit this patch? =) -------------------------------------------------------------- >>> World build completed on Fri Nov 7 11:55:51 MSK 2008 -------------------------------------------------------------- lissyara# uname -a FreeBSD lissyara.moskb.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Nov 5 15:44:33 MSK 2008 lissyara@lissyara.moskb.local:/usr/obj/mnt/jabber/DISTR/FreeBSD/src/CURRENT/sys/GENERIC amd64 lissyara#