----- Original Message -----
From: Garrett Cooper <yaneg...@gmail.com>
To: rank1see...@gmail.com
Cc: "Chris Rees" <utis...@gmail.com>, hack...@freebsd.org
Date: Thu, 1 Mar 2012 12:30:57 -0800
Subject: Re: src builds and STDERR

> On Mar 1, 2012, at 10:46 AM, rank1see...@gmail.com wrote:
> 
> > ----- Original Message -----
> > From: Garrett Cooper <yaneg...@gmail.com>
> > To: Chris Rees <utis...@gmail.com>
> > Cc: hack...@freebsd.org, rank1see...@gmail.com
> > Date: Thu, 1 Mar 2012 09:38:06 -0800
> > Subject: Re: src builds and STDERR
> > 
> >> On Thu, Mar 1, 2012 at 9:01 AM, Chris Rees <utis...@gmail.com> wrote:
> >>> 
> >>> On 1 Mar 2012 16:31, "Garrett Cooper" <yaneg...@gmail.com> wrote:
> >>>> 
> >>>> 2012/3/1  <rank1see...@gmail.com>:
> >>>>> When building world and kernel, I was pissed off with endless amount of
> >>>>> output, as it also makes my eyes into rolling, thus decided to care 
> >>>>> only for
> >>>>> errors.
> >>>>> So I've redirected STDOUT to /dev/null.
> >>>>> Upon error, there is JUST 1 single line of output. Something like:
> >>>>> ----
> >>>>> * 1 error
> >>>>> ----
> >>>>> And that is. Nothing else. No way to figure out, what went wrong!.
> >>>>> 
> >>>>> Why this hasn't been properly implemented?
> >>>> 
> >>>>    See:
> >>>> http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.html
> >>>> . Why this patch is still not in FreeBSD proper, I do not know.
> >>> 
> >>> If you send a PR, I'll do what I can to get it in-- you know things
> >>> sometimes get lost in mailing lists!
> >> 
> >> bin/165589 -- thanks!
> >> -Garrett
> >> 
> > 
> > Hm ...
> > I've just attempted to crosscompile 9.0 kernel (i386 -> amd64).
> > It failed! The only output to STDERR was: (STDOUT to /dev/null)
> > ----
> > 1 error
> > ----
> > Everything same ... Am I missing something or what?
> 
>       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.
>       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.
> Cheers,
> -Garrett


All this has been done with 'make' binary build, AFTER yours patch has been 
applied.
That is ..., I've been using your patched 'make' binary!

Before this patch really gets commited, create new patch which will 
additionally SEPARATE output into STDOUT & STDERR.



Domagoj Smolčić
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to