From owner-freebsd-current@freebsd.org Tue Jan 28 15:29:45 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 D97D4230453 for ; Tue, 28 Jan 2020 15:29:45 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 486Vsh5D2vz45kD for ; Tue, 28 Jan 2020 15:29:44 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72e.google.com with SMTP id j20so13689738qka.10 for ; Tue, 28 Jan 2020 07:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zA/r8ti2n6YGIr4lbXWa2AuCHR4nOLGMH0Yc8yB7Or4=; b=Yr5uz2jHVxdHA8j+QRJGoC0XIVb5BAQjTLFc+K3xofB7yJIYOid4QOuplPtghsPd23 EhutYQaOEaU87ZD33uRGfDXxGaze5oELaaj32/MtFZwTjv6zZVVHdjtztdaZhSmO3dMJ MnQqh/FT1LFqCMLi0NvNwmqiSXvKjZjz8YPuFbdhbG0R12sR6hRgo8X6KPe8UwSGytCH 6lwy2ySiIyQExjXupsXcNhq/8lC7XpI40f+y3fXUVvaeny2WOxiQLkpZ/v/L7ba74xrD wR3G2OvI8UnJRbmmQKCdn3PEeaKu41pI4JfEIOqRrP/KW41ZtTL1EBG6tbRwNZitKhh5 7W1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zA/r8ti2n6YGIr4lbXWa2AuCHR4nOLGMH0Yc8yB7Or4=; b=gM+3RzCqnToonRMQ+aVQdRA/txj+zPcl1H4JesWc8y64bK97kiywNwcPFLdKivCI7B 5GJVouJoqLlOxYsqJPQqQqb4yeSMmX2gFM/u/QEh6JbSueLFdWsRftUm7io8LQekotc5 qn8Mr3uzvckMk+Na8oGSbd3jmFASZQAYpezwrnPKnWiEI+c+dmyoKWS0sP2FU7xkYmLH TQx4BojJQjOXKYobvVCcp/FXC/+OK/8aapIziaLR3ro6P0a+2l1ZFRvF7ftN1QDV3+Vh /auXJSHbY4cuANQghrgiX76g6uLhEpmfmoEpl7EpuPwZsr2LCtDbIi9Afe6Mh0mUdbT9 0pHg== X-Gm-Message-State: APjAAAWeJn9u0o/dLYB6GlK1r+7iXct52m6VB8ymsJWtDmdBke8xy9al SFEx8nkdLCT3h3osmAqSF/9VuI4CxlktWD1TM4+gSw== X-Google-Smtp-Source: APXvYqxasLAWWHjmhLjNMtcHAR2+ATFIT2LhXjTVCM5v5t7VWS/2MHaXX2CK9P3XvqTU92UEjn99f3xCXo+zxJ/wGKQ= X-Received: by 2002:a05:620a:12c8:: with SMTP id e8mr14285970qkl.380.1580225383299; Tue, 28 Jan 2020 07:29:43 -0800 (PST) MIME-Version: 1.0 References: <8B42F93A-7B9E-4F99-9D77-43DA3BB7F045@van-laarhoven.org> In-Reply-To: From: Warner Losh Date: Tue, 28 Jan 2020 08:29:29 -0700 Message-ID: Subject: Re: btxld not found To: Nick Hibma Cc: Toomas Soome , FreeBSD Current Mailing List X-Rspamd-Queue-Id: 486Vsh5D2vz45kD X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=Yr5uz2jH; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::72e) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.61 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[e.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.61)[ip: (-9.18), ipnet: 2607:f8b0::/32(-2.04), asn: 15169(-1.78), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_CC(0.00)[me.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Tue, 28 Jan 2020 15:29:45 -0000 On Tue, Jan 28, 2020, 4:57 AM Nick Hibma wrote: > > On 28/01 /2020, at 12:39, Toomas Soome wrote: > > > >> On 28. Jan 2020, at 13:36, Nick Hibma wrote: > >> > >> Folks, > >> > >> 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. > >> > >> Any pointers? > >> > > > > it should be /usr/sbin/btxld; are you missing /usr/sbin from the path? > > Well, it's an 'installworld' so I would expect it to be providing that > program itself, but no, /usr/sbin/ is in the path of the current shell. > > Also, in some of the makefiles the target calling btxldr is depending on > the build of that executable: > > Index: stand/i386/pxeldr/Makefile > =================================================================== > --- stand/i386/pxeldr/Makefile (revision 357042) > +++ stand/i386/pxeldr/Makefile (working copy) > @@ -39,7 +39,7 @@ > CLEANFILES+= ${LOADER} > > ${LOADER}: ${LOADERBIN} ${BTXLDR} ${BTXKERN} > - btxld -v -f aout -e ${LOADER_ADDRESS} -o ${.TARGET} -l ${BTXLDR} \ > + /usr/sbin/btxld -v -f aout -e ${LOADER_ADDRESS} -o ${.TARGET} -l > ${BTXLDR} \ > -b ${BTXKERN} ${LOADERBIN} > This is definitely wrong. We have either a path that is wrong, or we aren't reinstalling btxld in the right place. Warner Nick > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >