From owner-freebsd-current@freebsd.org Wed Jan 29 13:43:51 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D95751F0E8F for ; Wed, 29 Jan 2020 13:43:51 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4874T35TnDz4c6D; Wed, 29 Jan 2020 13:43:51 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id A78CF7040; Wed, 29 Jan 2020 13:43:51 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f177.google.com with SMTP id v195so16963755qkb.11; Wed, 29 Jan 2020 05:43:51 -0800 (PST) X-Gm-Message-State: APjAAAWqw1aVHtnQNmLyqjCK5Hy67MaI7AXG8gIBF8fE1ChK+dXNjOjX OoBnZyLWjovoKh2p896sPtoHrHF+i+7f4QjXpwA= X-Google-Smtp-Source: APXvYqx/h61dV9xaSAScuVJkpqMWW9H3oxnVNNpTfOuQtZaiHyH17BsPBwTiJdEkkqNbI29brRDjCoX1ubXEYVtdOMg= X-Received: by 2002:ae9:e10e:: with SMTP id g14mr28948910qkm.430.1580305431007; Wed, 29 Jan 2020 05:43:51 -0800 (PST) MIME-Version: 1.0 References: <8B42F93A-7B9E-4F99-9D77-43DA3BB7F045@van-laarhoven.org> <42284B22-BACD-47E7-A9E0-75B7AC5B6C9C@FreeBSD.org> In-Reply-To: From: Kyle Evans Date: Wed, 29 Jan 2020 07:43:39 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: btxld not found To: Nick Hibma Cc: Dimitry Andric , FreeBSD Current Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 29 Jan 2020 13:43:51 -0000 On Wed, Jan 29, 2020 at 3:24 AM Nick Hibma wrote: > > >> Could anyone explain to me what I am doing wrong? make installworld fails each time with the following error > >> > >> ===> stand/i386/libi386 (install) > >> ===> stand/i386/loader_4th (install) > >> strip -R .comment -R .note -o loader_4th.bin loader_4th.sym > >> btxld -v -f aout -e 0x200000 -o loader_4th -l /usr/obj/usr/src/i386.i386/stand/i386/btx/btxldr/btxldr -b /usr/obj/usr/src/i386.i386/stand/i386/btx/btx/btx loader_4th.bin > >> make[6]: exec(btxld) failed (No such file or directory) > >> *** Error code 1 > >> > >> This is with source of last week. I had this problem before (from old sources) and fixed it by specifying the full path to btxld in the stand/i386/*/Makefile. > > > > Yes, this is most likely your clock(s) being off. At installworld time, > > it should *not* start rebuilding your loader. > > > > Usually this happens if you build on one machine, and install on > > another, while the install machine's time is behind the build machine's > > time. But it can also happens on one machine, for instance if you > > start in single user mode, and the clock is not yet synchronized. > > > > -Dimitry > > > Dimitry, > > My VirtualBox VMs do have a tendency to lag when I am not using them for a while. I've adjusted time and started ntpd. In the past that would not fix the time lag permanently. > > I'll do a fresh buildworld and see whether that completes. > I mentioned this elsewhere, but I've opened a review in the past ~12 hours that should make sure that stand/ dependencies are properly ordered: https://reviews.freebsd.org/D23411 -> this should also alleviate the condition if we're building this stuff in parallel. Thanks, Kyle Evans