From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 22 01:02:49 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CEE42B0 for ; Sat, 22 Nov 2014 01:02:49 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 216C977E for ; Sat, 22 Nov 2014 01:02:48 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Xrz61-000MED-Vk; Sat, 22 Nov 2014 01:02:42 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id sAM12fuj004842; Fri, 21 Nov 2014 18:02:41 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19V1RO7qYE1MQ85SBN876x8 X-Authentication-Warning: paranoia.hippie.lan: Host revolution.hippie.lan [172.22.42.240] claimed to be [172.22.42.240] Subject: Re: Running 8 building 10 gives "Out of file descriptors" ? From: Ian Lepore To: Dieter BSD In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Fri, 21 Nov 2014 18:02:40 -0700 Message-ID: <1416618160.1147.318.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 01:02:49 -0000 On Tue, 2014-11-18 at 12:08 -0800, Dieter BSD wrote: > amd64 running 8.2 > Attempting to update to 10.1 > Need to build custom 10.1 kernel on machine running 8.2. > Installed binaries and src off to the side. > Attempts to compile kernel directly failed. > Attempts to build 10.1 "make" as 8.2 binary failed. > Chroot to 10.1 tree. > Attempt to build kernel (using stock GENERIC config file and stock sources > for now) failed: > > >>> stage 3.1: making dependencies > -------------------------------------------------------------- [...] > Out of file descriptors > *** Error code 2 I'm circling all the way back to the beginning on this problem. I was looking into whether we could easily fix /bin/sh or whether we should just warn that you can't bootstrap from systems earlier than 8.4. What I discovered along the way is that /bin/sh isn't a build tool and thus isn't a blocker to bootstrapping from 8.2. That is, the build system doesn't first build a newer sh, then use it for the rest of the build. You created the /bin/sh problem by running a 10.1 world in a chroot on an 8.2 kernel. I overlooked that fact when I first read this. So the real question would be why you failed to build a 10.1 kernel on an 8.2 machine, and there is no detail in your original report about how or why that happened. -- Ian