Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2012 12:30:57 -0800
From:      Garrett Cooper <yanegomi@gmail.com>
To:        rank1seeker@gmail.com
Cc:        hackers@freebsd.org, Chris Rees <utisoft@gmail.com>
Subject:   Re: src builds and STDERR
Message-ID:  <A8DB1D41-24A5-423F-BA70-1DB8FB5AB6C6@gmail.com>
In-Reply-To: <20120301.184635.924.3@DOMY-PC>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 1, 2012, at 10:46 AM, rank1seeker@gmail.com wrote:

> ----- Original Message -----
> From: Garrett Cooper <yanegomi@gmail.com>
> To: Chris Rees <utisoft@gmail.com>
> Cc: hackers@freebsd.org, rank1seeker@gmail.com
> Date: Thu, 1 Mar 2012 09:38:06 -0800
> Subject: Re: src builds and STDERR
>=20
>> On Thu, Mar 1, 2012 at 9:01 AM, Chris Rees <utisoft@gmail.com> wrote:
>>>=20
>>> On 1 Mar 2012 16:31, "Garrett Cooper" <yanegomi@gmail.com> wrote:
>>>>=20
>>>> 2012/3/1  <rank1seeker@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!.
>>>>>=20
>>>>> Why this hasn't been properly implemented?
>>>>=20
>>>>    See:
>>>> =
http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029852.ht=
ml
>>>> . Why this patch is still not in FreeBSD proper, I do not know.
>>>=20
>>> If you send a PR, I'll do what I can to get it in-- you know things
>>> sometimes get lost in mailing lists!
>>=20
>> bin/165589 -- thanks!
>> -Garrett
>>=20
>=20
> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A8DB1D41-24A5-423F-BA70-1DB8FB5AB6C6>