From owner-freebsd-current@freebsd.org Fri Aug 14 14:31:56 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0669F9B90DF for ; Fri, 14 Aug 2015 14:31:56 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6D1410AC for ; Fri, 14 Aug 2015 14:31:55 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by iodb91 with SMTP id b91so86086462iod.1 for ; Fri, 14 Aug 2015 07:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=yi1VcMZrvsYWUcl9nuYkOKkACX2VEgzH78DSHIxtTDs=; b=quOgK2ACSC8zgkEIu5NgkEUKl/PNhT9qlgLAAAggiGJWNRwbwrw4cbnF2TTx8CBKjI Nnjn4GyFbtC0unDOSrvTn5MUTloCXbDX5LBrVYZ52HFm4NizJzH073CNqRVOQ2ABSheh P1brN5GvGxcyRV19EBbrXG+XlR6Z2s2sFFDjbMMeBBlyvfWIHrU/hU6iiRQVSWEhUJYp BzOYMbwDpDdTKdGZgaQrJ6Vvvw95i7fEsqR7DaVr3qoweK4G45UqQDEfZ1Ir792nTKyx gpcObsAM3uJz+sQP27jadHC9JHLhG4EUpRCOlMvCBBcpnE56QV1OUn15bN+ASo6sdauz Kzdg== X-Received: by 10.107.47.152 with SMTP id v24mr43930079iov.180.1439562715161; Fri, 14 Aug 2015 07:31:55 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.156.12 with HTTP; Fri, 14 Aug 2015 07:31:35 -0700 (PDT) In-Reply-To: <20150814082152.4e9e014e@freyja.zeit4.iv.bundesimmobilien.de> References: <20150813234549.296b5602.ohartman@zedat.fu-berlin.de> <20150814082152.4e9e014e@freyja.zeit4.iv.bundesimmobilien.de> From: Ed Maste Date: Fri, 14 Aug 2015 10:31:35 -0400 X-Google-Sender-Auth: KkHu4uWeD6TBcA0d_p_lTNyFwUE Message-ID: Subject: Re: r286743: Required tool strip not found in PATH. *** Error code 1 To: "O. Hartmann" Cc: FreeBSD CURRENT Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 14 Aug 2015 14:31:56 -0000 On 14 August 2015 at 02:21, O. Hartmann wrote: > > I have rebuilt buildworld from scratch (clean/empty /usr/obj). Installation of > world via "make installworld" still fails as reported - I thought an > world-installation is somehow self-contained so the /usr/bin/strip (or whetever > needed at that time for performing the task) is taken from the obj-tree, not > already-installed-tree. Am I wrong? Yes, it uses the already-installed host's tools, because they're the ones that match the running kernel. The new tools in /usr/obj may invoke syscalls that don't exist in the running kernel, for example. For the most part the tools used by installworld perform file system operations (e.g., cat, cp, mv, chmod) and don't actually change file contents. There are a few tools run at install time for which this isn't true (like strip) though. That list of tools needs to be kept small and carefully controlled to avoid introducing backwards compatibility issues.