From owner-freebsd-current@FreeBSD.ORG Sat Nov 12 01:36:36 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 522F61065674 for ; Sat, 12 Nov 2011 01:36:36 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) by mx1.freebsd.org (Postfix) with ESMTP id 854F28FC15 for ; Sat, 12 Nov 2011 01:36:35 +0000 (UTC) Received: from amavis-proxy-ori.ijs.si (localhost [IPv6:::1]) by mail.ijs.si (Postfix) with ESMTP id 3SgLLV452vzGMVW for ; Sat, 12 Nov 2011 02:36:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= message-id:content-transfer-encoding:content-type:content-type :mime-version:organization:user-agent:date:date:subject:subject :from:from:received:received:received:vbr-info; s=jakla2; t= 1321061792; x=1323653793; bh=5wI4ioi+I1WHgsC0GH4AGMd2AfSCOcxIGLi JtP8wSjQ=; b=SJYNe7aioUqnTGIPToxw/PES+Nllk3vY+GuaFDEDc7SVMKFZAmF 4Wwi7jInPbgw0PLTmFhUiYAtwfUzvBQwtiEOU8856m8DUIJIfgL5losZDr1vuLfL moXffuC32cBYhPDRBoSgwsgfqa+wLzg1YbFbgG1T6eOSaPnCrxBQv7e4= VBR-Info: md=ijs.si; mc=all; mv=dwl.spamhaus.org; X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([127.0.0.1]) by amavis-proxy-ori.ijs.si (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10012) with ESMTP id gq6bQwUE_u_J for ; Sat, 12 Nov 2011 02:36:32 +0100 (CET) Received: from rozamunda.ijs.si (unknown [IPv6:2001:1470:ff80:0:225:90ff:fe11:b090]) by mail.ijs.si (Postfix) with ESMTP for ; Sat, 12 Nov 2011 02:36:32 +0100 (CET) Received: from sleepy.ijs.si (upc.si.94.140.92.23.dc.cable.static.telemach.net [94.140.92.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rozamunda.ijs.si (Postfix) with ESMTPSA id 7071E211571 for ; Sat, 12 Nov 2011 02:36:32 +0100 (CET) From: Mark Martinec To: freebsd-current@freebsd.org Date: Sat, 12 Nov 2011 02:36:31 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RC2; KDE/4.7.2; amd64; ; ) Organization: J. Stefan Institute MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201111120236.31359.Mark.Martinec+freebsd@ijs.si> Subject: Upgrading 8.2 to 9.0-rc2: missing directories at 'make installkernel' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2011 01:36:36 -0000 When upgrading a FreeBSD 8.2 (amd64) to today's csup (tag=RELENG_9, i.e. 9.0-RC2), the standard procedure got itself into trouble: rm -rf /usr/obj make buildworld make buildkernel KERNCONF=xxx make installkernel KERNCONF=xxx (the xxx is mostly a plain vanilla 'include GENERIC' with pf altq and GEOM_ELI added). The 'make installkernel' phase was failing on missing directories. Creating these manually and repeating the make installkernel eventually lead to a successful installation. The missing directories that needed to be created manually were: /usr/include/clang (and possibly /usr/include/clang/3.0 ) /usr/include/gcc (and possibly /usr/include/gcc/4.2 ) /libexec/resolvconf /usr/share/doc/llvm /usr/share/locale/la_LN.ISO8859-13/LC_COLLATE [...] Actually the /usr/share/locale was a mess, missing several files, so I ended up replacing this directory by what has been built in the 'make buildworld' phase under /usr/obj. Just wanted to point out a possible problem others may encounter. Mark