Date: Thu, 01 Mar 2012 21:44:22 +0100 From: rank1seeker@gmail.com To: "Garrett Cooper" <yanegomi@gmail.com>, "Chris Rees" <utisoft@gmail.com>, hackers@freebsd.org Subject: Re: src builds and STDERR Message-ID: <20120301.204422.210.2@DOMY-PC> In-Reply-To: <A8DB1D41-24A5-423F-BA70-1DB8FB5AB6C6@gmail.com> References: <20120301.155632.137.2@DOMY-PC> <CAGH67wT_PZow1xdQg794dB9yMjUoA-nz=FOTsFQetMYGZSPa0g@mail.gmail.com> <CADLo839pFi02X2KjS7aY-0cSiib0hN1wb0bLRX=gdwvxWk62wQ@mail.gmail.com> <CAGH67wQPuVCE_tMU0S7gX4Yi1piheVQQBy5_rRu%2BJT_XGiK%2BXg@mail.gmail.com> <20120301.184635.924.3@DOMY-PC> <A8DB1D41-24A5-423F-BA70-1DB8FB5AB6C6@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----=0D=0AFrom: Garrett Cooper = <yanegomi@gmail.com>=0D=0ATo: rank1seeker@gmail.com=0D=0ACc: "Chris Rees" = <utisoft@gmail.com>, 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 = <yanegomi@gmail.com>=0D=0A> > To: Chris Rees <utisoft@gmail.com>=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 <utisoft@gmail.com> = wrote:=0D=0A> >>> =0D=0A> >>> On 1 Mar 2012 16:31, "Garrett Cooper" = <yanegomi@gmail.com> wrote:=0D=0A> >>>> =0D=0A> >>>> 2012/3/1 = <rank1seeker@gmail.com>:=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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120301.204422.210.2>