Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2015 10:31:35 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: r286743: Required tool strip not found in PATH. *** Error code 1
Message-ID:  <CAPyFy2DMGDuKvAzaq6qqy0ogSsk4jcHHNw4APkvWeYiNJ9OjuQ@mail.gmail.com>
In-Reply-To: <20150814082152.4e9e014e@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20150813234549.296b5602.ohartman@zedat.fu-berlin.de> <CAPyFy2BkzUivtDqbZnNvC4s6te4wDxsN0DmA%2BBNhajsKzhMCzQ@mail.gmail.com> <20150814082152.4e9e014e@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 August 2015 at 02:21, O. Hartmann <ohartman@zedat.fu-berlin.de> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2DMGDuKvAzaq6qqy0ogSsk4jcHHNw4APkvWeYiNJ9OjuQ>