src builds and STDERR
rank1seeker at gmail.com
rank1seeker at gmail.com
Thu Mar 1 20:44:22 UTC 2012
----- Original Message -----
From: Garrett Cooper <yanegomi at gmail.com>
To: rank1seeker at gmail.com
Cc: "Chris Rees" <utisoft at gmail.com>, hackers at 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, rank1seeker at gmail.com wrote:
>
> > ----- Original Message -----
> > From: Garrett Cooper <yanegomi at gmail.com>
> > To: Chris Rees <utisoft at gmail.com>
> > Cc: hackers at freebsd.org, rank1seeker at 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 <utisoft at gmail.com> wrote:
> >>>
> >>> On 1 Mar 2012 16:31, "Garrett Cooper" <yanegomi at gmail.com> wrote:
> >>>>
> >>>> 2012/3/1 <rank1seeker at 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ć
More information about the freebsd-hackers
mailing list