From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 1 20:31:03 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B90B106564A for ; Thu, 1 Mar 2012 20:31:03 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0472E8FC23 for ; Thu, 1 Mar 2012 20:31:02 +0000 (UTC) Received: by pbcwy7 with SMTP id wy7so1386328pbc.13 for ; Thu, 01 Mar 2012 12:31:02 -0800 (PST) Received-SPF: pass (google.com: domain of yanegomi@gmail.com designates 10.68.227.228 as permitted sender) client-ip=10.68.227.228; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yanegomi@gmail.com designates 10.68.227.228 as permitted sender) smtp.mail=yanegomi@gmail.com; dkim=pass header.i=yanegomi@gmail.com Received: from mr.google.com ([10.68.227.228]) by 10.68.227.228 with SMTP id sd4mr6507871pbc.33.1330633862819 (num_hops = 1); Thu, 01 Mar 2012 12:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=rwL4mJx72r8dPitDCAftwIfbtyz6len7ppPdzUE3GeM=; b=F6BTkpyhGtnSlg6LaylLDNNZRTB8SBkPJNWCoRHUxQsp+1OjYP6vh/RAI0GbcNmUdh /N3aFzQPmyw87S4vznwdLSxnhrM1xYy/9LLgytbOOj6Hia3VBx7KW5Imu9l5YD+47ETs b/zji7Z4ouSR6Ijt6UNWEhQl2PW3ktkyDxKIW7u7YEa5BNBrJ6sM+8coKIZPlu9A9wGv d7vxAzjhCDHq6qIewyM8Dz0ClGQPvEjLfDGNgxYYtHzK2vrBC/wGbcp6QA94L52KWdmq WufGUayIHNevwKzRXlscJs2CgEYwNlO9vNPBhYs6iip7uS3X/RV6qqa7EZc/yy+4DJn5 DC9A== Received: by 10.68.227.228 with SMTP id sd4mr5345144pbc.33.1330633862586; Thu, 01 Mar 2012 12:31:02 -0800 (PST) Received: from kruse-95.1.ixsystems.com (drawbridge.ixsystems.com. [206.40.55.65]) by mx.google.com with ESMTPS id kx17sm2928057pbb.19.2012.03.01.12.31.01 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Mar 2012 12:31:01 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=windows-1250 From: Garrett Cooper In-Reply-To: <20120301.184635.924.3@DOMY-PC> Date: Thu, 1 Mar 2012 12:30:57 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20120301.155632.137.2@DOMY-PC> <20120301.184635.924.3@DOMY-PC> To: rank1seeker@gmail.com X-Mailer: Apple Mail (2.1257) Cc: hackers@freebsd.org, Chris Rees Subject: Re: src builds and STDERR X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2012 20:31:03 -0000 On Mar 1, 2012, at 10:46 AM, rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: Garrett Cooper > To: Chris Rees > 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 wrote: >>>=20 >>> On 1 Mar 2012 16:31, "Garrett Cooper" wrote: >>>>=20 >>>> 2012/3/1 : >>>>> 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=