From owner-freebsd-current@freebsd.org Tue Jan 28 17:17:40 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 7225F23404E for ; Tue, 28 Jan 2020 17:17:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-54.consmr.mail.gq1.yahoo.com (sonic316-54.consmr.mail.gq1.yahoo.com [98.137.69.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 486YGC0LDWz4FNG for ; Tue, 28 Jan 2020 17:17:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: zQi0S_QVM1m59aphmYcoPXh7VCp_w2nsjrvA3_noGb7tgqRueA0VaXnBbZkOBsL T4Jo.EWvnjFgfqjtLusEivnP6rs9YH2FTjDQG740EgpZBq8GhjlzZkC12rDkcqx7Bz4Mp2zgnsFA kmkTV1rb9hMKGhSeoHgQ8VFvhG56nSd3KIdiTllVjmnlIeICRbuy3uPz8MDZlc0Edo.syipyZ5UL inwJiCqldqhZa8APxFKDWw2oM_bOEGYascGoBiNGDUasEFVHKB55zIu5ZdWU_6HDA1s7i8Po1Mfr uXIuXkzO_YRb0zmsiTV6EgBZ.saOFdrUJeTGeTUflMN63GljezDYVURoh8Ti1gvPF6DbnjcbkSH5 UbEsJdy7Qh1GPQkC_B78GezS6Md54pJYT_CMpwPaLAq4x8ZKR6GKGBmSqeCZrCtgGXn_ynSHclOH _26xyPeZPLWvYRjqgRqXirml6R0pobhrIlvqC.8c4dDtQ9FmiYXXV70k9OXXUpOU86U7ws0VL1q0 oSjUr_Du.SEQGwhSFKEVubn6GtYip_i7bOxZ.affwSXTwZQ885nbh0otfPQuQNlRaEIpbmnyXheg I46TpqCWz.C2JSXY0WfCImJVWvCMGsSx6_HPDHEiLorovDNAr7pmPUQT7rNtMnleaOP3mTR_Fvd6 4DvgXlARkmbni9mksA6hry_oWe6mZDlbneYGmWAvgr0mJnCMNdrs12XSBpY7k.JleNSLsqHq.aER rbXKWDiJIH8gb_jxRHDYYCdivNXfl6mIdKp5.YeSqU021UxqjC_nLPW8ot7yb.l3FMSGKk1W8rDz NmgaM.wB2V8HMVqMgDQ2IcAoO4PMuvns9YU.kb2UC.TwzD.KGs9V0aNkH2NpdRUOjVfWrilYY7w2 JVqDl9Un7gWYJ.Ks4meRXHXiYU4mBd.lmRMpYIMkOUNutsblJ9RXjZFx5neFXHY4y42KwmxJ7psF BbokL_yVjbD9D9AzW0lAuepgN_Fjpu.ZPdkOeCXLYkZ_zFfdewkQKAnrMfmLmL44umfcOF1Cwkoi 8wrj0MwOuOl25Hl3aFpcxHNLltXAxfRPan.j76Cz.BBAgpKDjL8q5FKe3wm7VQch9xFj4cYTX5aT Eyfx39opsrtgQrLMTTM4g57oDAnE_85p_ekZ9tf0h6WY5u7a4ZF4WVb0vEVY4BPQpMKbDWO25LLb XnzUmdewnu8LWYGTnxLNHvxa6AKUR9d1RA3hFfa4YgxoRJLn4WJd9qvuameD9qm8XMxgT5cOCUu5 Dj7tHwsk.un3xeYSGtaQ_OKdmNHlU1Xaxaquqcl1IOHybQUTJyRX3t5FIPwhmL6Gi9N6ZeSWSzfj 1LBidmtUzPSmADS8WQAZf2Yq.h_FWn2ScFZUoBraq3mO_ma9n3Rk7LWdsYMcZQNWbmoa1DPNBM0j Y0k8s2xIzlcAohzzqgqD3vwnpG.vAY8W0Cqu1kA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Tue, 28 Jan 2020 17:17:37 +0000 Received: by smtp407.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 357c69d3f9ec290210f30afdd608a7da; Tue, 28 Jan 2020 17:17:32 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: btxld not found Message-Id: <630F13A2-E76C-4B14-9D04-76BFCE108FDD@yahoo.com> Date: Tue, 28 Jan 2020 09:17:31 -0800 To: nick@van-laarhoven.org, FreeBSD Current X-Mailer: Apple Mail (2.3608.40.2.2.4) References: <630F13A2-E76C-4B14-9D04-76BFCE108FDD.ref@yahoo.com> X-Rspamd-Queue-Id: 486YGC0LDWz4FNG X-Spamd-Bar: / X-Spamd-Result: default: False [-0.82 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.41)[-0.412,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (4.46), ipnet: 98.137.64.0/21(0.84), asn: 36647(0.67), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.09)[0.087,0]; RCVD_IN_DNSWL_NONE(0.00)[30.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[30.69.137.98.rep.mailspike.net : 127.0.0.17]; 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 17:17:40 -0000 Nick Hibma nick at van-laarhoven.org wrote on Tue Jan 28 16:08:19 UTC 2020 : > > On Tue, Jan 28, 2020, 4:57 AM Nick Hibma > wrote: > > > 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? > >=20 > > 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. > >=20 > > Also, in some of the makefiles the target calling btxldr is = depending on the build of that executable: > >=20 > > 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} > >=20 > > ${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} > >=20 > > This is definitely wrong. We have either a path that is wrong, or we = aren't reinstalling btxld in the right place. > >=20 > > Warner >=20 > This is not a fix, this is to get me through the installworld. As I've = not seen any mention of this the past 6 months it must be something on = my system that makes things go bad, but I have no idea what. I reported this to toolchain back on 2019-Dec-14 and 15, for updating to head -r355761 then -r355777 at the time: = https://lists.freebsd.org/pipermail/freebsd-toolchain/2019-December/005127= .html = https://lists.freebsd.org/pipermail/freebsd-toolchain/2019-December/005130= .html It is not just your context that has the issue. The 2nd message showed some interesting timestamps from the build. I've found that re-running buildworld (not from scratch) with -j1 then doing installworld seemed to reliably deal with it. Allowing -j32 was unreliable for the rerun. (Despite that early report.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)