From owner-freebsd-current@freebsd.org Tue Jan 28 11:57:41 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 24F792290C8 for ; Tue, 28 Jan 2020 11:57:41 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from violet.van-laarhoven.org (violet.van-laarhoven.org [IPv6:2a01:4f8:1c0c:72ba::3]) by mx1.freebsd.org (Postfix) with ESMTP id 486Q903nkwz3LYB for ; Tue, 28 Jan 2020 11:57:40 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hille.fritz.box (217-19-28-102.dsl.cambrium.nl [217.19.28.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by violet.van-laarhoven.org (Postfix) with ESMTPSA id 660CE9CCD0; Tue, 28 Jan 2020 12:57:39 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: btxld not found From: Nick Hibma In-Reply-To: Date: Tue, 28 Jan 2020 12:57:38 +0100 Cc: FreeBSD Current Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: References: <8B42F93A-7B9E-4F99-9D77-43DA3BB7F045@van-laarhoven.org> To: Toomas Soome X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 486Q903nkwz3LYB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of nick@van-laarhoven.org designates 2a01:4f8:1c0c:72ba::3 as permitted sender) smtp.mailfrom=nick@van-laarhoven.org X-Spamd-Result: default: False [-2.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[van-laarhoven.org]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-0.82)[ipnet: 2a01:4f8::/29(-2.53), asn: 24940(-1.56), country: DE(-0.02)]; FREEMAIL_TO(0.00)[me.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 11:57:41 -0000 > On 28/01 /2020, at 12:39, Toomas Soome wrote: >=20 >> On 28. Jan 2020, at 13:36, Nick Hibma wrote: >>=20 >> Folks, >>=20 >> Could anyone explain to me what I am doing wrong? make installworld = fails each time with the following error >>=20 >> =3D=3D=3D> stand/i386/libi386 (install) >> =3D=3D=3D> 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 >>=20 >> 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.=20 >>=20 >> Any pointers? >>=20 >=20 > 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- stand/i386/pxeldr/Makefile (revision 357042) +++ stand/i386/pxeldr/Makefile (working copy) @@ -39,7 +39,7 @@ CLEANFILES+=3D ${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} Nick=