On Mar 1, 2012, at 10:46 AM, [email protected] wrote:

> ----- Original Message -----
> From: Garrett Cooper <[email protected]>
> To: Chris Rees <[email protected]>
> Cc: [email protected], [email protected]
> 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 <[email protected]> wrote:
>>> 
>>> On 1 Mar 2012 16:31, "Garrett Cooper" <[email protected]> wrote:
>>>> 
>>>> 2012/3/1  <[email protected]>:
>>>>> 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_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to