From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 20:44:22 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11A341065677 for ; Thu, 1 Mar 2012 20:44:22 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 71D478FC18 for ; Thu, 1 Mar 2012 20:44:21 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so890171wgb.31 for ; Thu, 01 Mar 2012 12:44:20 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.180.80.8 as permitted sender) client-ip=10.180.80.8; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.180.80.8 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.180.80.8]) by 10.180.80.8 with SMTP id n8mr14352625wix.14.1330634660479 (num_hops = 1); Thu, 01 Mar 2012 12:44:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=KMOcnAAiI1JpDRd1hIraBXpwfpwxPmtz4jjYDsLgRX4=; b=BuV1IAp5yz+7av4sVdjIRUAAFJOzWxfbjEoB8GhuaXwiTod5yGYmu4F+EWbBgaY4Qp C+uTYsFB1vwVBMVLlgBKpvDXoa1mCTWpdG8aWGIdP6I1nX+moF2M530JH5WZ+vX78Tuw /XMfcYxTs/4Bt1jnhnDNhyvxjmElVVQR7WrHCOBrhE+EEGbNy+29ALNlfIJZK7MKAFZM PmGCpbcFsim0XcoUQ8Aaqts2cfkXkZJnArev0aL9+LcC+9x6X873n7evCuuAS8nQasqp xKiJt8y9doDlRKEd5XmgqOGKTJv+VNiR0EN6zC3Dnh9XrccF5cnyBf0H0iKaMk5Uauj+ ZrHQ== Received: by 10.180.80.8 with SMTP id n8mr11507438wix.14.1330634660347; Thu, 01 Mar 2012 12:44:20 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id gf3sm44196598wib.6.2012.03.01.12.44.17 (version=SSLv3 cipher=OTHER); Thu, 01 Mar 2012 12:44:19 -0800 (PST) Message-ID: <20120301.204422.210.2@DOMY-PC> From: rank1seeker@gmail.com To: "Garrett Cooper" , "Chris Rees" , hackers@freebsd.org Date: Thu, 01 Mar 2012 21:44:22 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20120301.155632.137.2@DOMY-PC> <20120301.184635.924.3@DOMY-PC> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 20:44:22 -0000 ----- Original Message -----=0D=0AFrom: Garrett Cooper = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: "Chris Rees" = , hackers@freebsd.org=0D=0ADate: Thu, 1 Mar 2012 = 12:30:57 -0800=0D=0ASubject: Re: src builds and STDERR=0D=0A=0D=0A> On = Mar 1, 2012, at 10:46 AM, rank1seeker@gmail.com wrote:=0D=0A> =0D=0A> > = ----- Original Message -----=0D=0A> > From: Garrett Cooper = =0D=0A> > To: Chris Rees =0D=0A> > = Cc: hackers@freebsd.org, rank1seeker@gmail.com=0D=0A> > Date: Thu, 1 Mar = 2012 09:38:06 -0800=0D=0A> > Subject: Re: src builds and STDERR=0D=0A> > = =0D=0A> >> On Thu, Mar 1, 2012 at 9:01 AM, Chris Rees = wrote:=0D=0A> >>> =0D=0A> >>> On 1 Mar 2012 16:31, "Garrett Cooper" = wrote:=0D=0A> >>>> =0D=0A> >>>> 2012/3/1 = :=0D=0A> >>>>> When building world and kernel, I = was pissed off with endless amount of=0D=0A> >>>>> output, as it also = makes my eyes into rolling, thus decided to care only for=0D=0A> >>>>> = errors.=0D=0A> >>>>> So I've redirected STDOUT to /dev/null.=0D=0A> >>>>> = Upon error, there is JUST 1 single line of output. Something like:=0D=0A> = >>>>> ----=0D=0A> >>>>> * 1 error=0D=0A> >>>>> ----=0D=0A> >>>>> And that = is. Nothing else. No way to figure out, what went wrong!.=0D=0A> >>>>> = =0D=0A> >>>>> Why this hasn't been properly implemented?=0D=0A> >>>> = =0D=0A> >>>> See:=0D=0A> >>>> = http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.html=0D=0A> = >>>> . Why this patch is still not in FreeBSD proper, I do not = know.=0D=0A> >>> =0D=0A> >>> If you send a PR, I'll do what I can to get = it in-- you know things=0D=0A> >>> sometimes get lost in mailing = lists!=0D=0A> >> =0D=0A> >> bin/165589 -- thanks!=0D=0A> >> = -Garrett=0D=0A> >> =0D=0A> > =0D=0A> > Hm ...=0D=0A> > I've just = attempted to crosscompile 9.0 kernel (i386 -> amd64).=0D=0A> > It failed! = The only output to STDERR was: (STDOUT to /dev/null)=0D=0A> > ----=0D=0A> = > 1 error=0D=0A> > ----=0D=0A> > Everything same ... Am I missing = something or what?=0D=0A> =0D=0A> When all else fails, cat it all out to = a file and grep for "Error code", and pray that you have enough useful = context to find the actual problem that you need to resolve in order to = make things work.=0D=0A> Otherwise, you'll need to apply the patch for = the PR noted to your source tree, (cd usr.bin/make; make clean depend all = install), and then rerun your crossbuild.=0D=0A> Cheers,=0D=0A> = -Garrett=0D=0A=0D=0A=0D=0AAll this has been done with 'make' binary = build, AFTER yours patch has been applied.=0D=0AThat is ..., I've been = using your patched 'make' binary!=0D=0A=0D=0ABefore this patch really = gets commited, create new patch which will additionally SEPARATE output = into STDOUT & STDERR.=0D=0A=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6