From nobody Wed Sep 20 16:16:47 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RrNw34jKHz4ts2Z for ; Wed, 20 Sep 2023 16:17:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrNw348W9z4S1C; Wed, 20 Sep 2023 16:17:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695226627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=D+VyC06gxux8W1VVUuzfpnR+IXsFZyZjjnQ0gxSo1ko=; b=AkBTWn35G2WBwP7QQ37yp5Vj5/+k+IgLQwc+DwFzBmd212U+EXWbCGPVxGmmqgfWobXy/h YwvvN2oBi9v9qD8bvHYG6V+jG3neoAjwWbpGYK1K/wVJof5Vjkts4cPNI0HNJdHHvisQ4V k3AsNpaIUhsSFFOxXZotmEePgBAYeEXRLB+iDgAjudjrPKMVvUKTf9rij2M3AU/qBCcTfp lXxAbIJDUsjnqCKpyd229CHKVgrCDmyCk40xEmh1aYb3LuL0mhERCrfjP0G9JJPcd9GpXD POHThyGyPzDpA7K3aF0Um6L/YOxTD/bWGfYtTiKlnGExBhSbEdXn4cE1w6PEhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695226627; a=rsa-sha256; cv=none; b=yvqcn+1/as4mh574VymJtbu3Iddg+Tab+tZSy+jacXNm8Fy0oqgEM1omYG5Md2hsGBMZAI v8yC7ydxXIkAn87VtCgUrRBgvW8FOPIWQqEPsumSU0HfChJYQYtYI8ns9aLUa4PpZYWxNc popidCsSl57lC/GMMgwbN3qKLN3QHltfDsgJdmVRwC1cmEtZbTNslbr1sTCIdOZxzJa0gf jjCkoeG2fwkIX3paekwzMh0naxMMQnEMLQNRUbRA71+n8gFDMHLn4IeWsU3OK9np/hdt9/ yBaWav9uNGGoexUD4+cncOEOuYxICeuuuEHYNwy0euS1X5MSWadso08QHhIH+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695226627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=D+VyC06gxux8W1VVUuzfpnR+IXsFZyZjjnQ0gxSo1ko=; b=SiPTxAk8mwIsBC7gd5QyTukDXfLxz69/htYE7hk5XgHFSYoXo26Od4b3dYsE+0rlPA58Nq em6FVW89U01ZPwkxiJOs7H0J3c/GFR5prFaDSbtMMQv/cjGNyjL48xpUp/V4bC8boGOcFp fXSYiWijYgpq7eE65HYK3EUKXNlBcgC1/cD5OgAIyU7rdThab181CJM717zdhj8mYY17lL p1Hp4MuoP3j9yEFBcn6WW3CD/S8A+euR6wRSdTun/wjS83WaKUarZ3YA0tFlq3u7rYlkE3 /eKKF+zIiYGfVRuS5YZEsD1o6i9bCbrkMC1eF0Eb1i1n8sgVlkhVqbbnKwof/g== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RrNw32VmxzySJ; Wed, 20 Sep 2023 16:17:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.wg.andric.com [10.69.1.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id BF64A3109; Wed, 20 Sep 2023 18:17:05 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_2B15402D-4F95-410C-A0FF-C1B18A956782"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: make installworld filed with "Required library libdialog.so.9 not found" From: Dimitry Andric In-Reply-To: <202309201302.38KD2eTp061072@kx.truefc.org> Date: Wed, 20 Sep 2023 18:16:47 +0200 Cc: freebsd-current@freebsd.org Message-Id: <3800197D-8E4B-4677-8CBF-D8CC4C1143FB@FreeBSD.org> References: <202309200247.38K2lSnT044896@kx.truefc.org> <25BC05CE-8A33-4685-8490-CC4970FB8FDA@FreeBSD.org> <202309201302.38KD2eTp061072@kx.truefc.org> To: KIRIYAMA Kazuhiko X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_2B15402D-4F95-410C-A0FF-C1B18A956782 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 20 Sep 2023, at 15:02, KIRIYAMA Kazuhiko wrote: >=20 > On Wed, 20 Sep 2023 15:56:28 +0900, > Dimitry Andric wrote: ... > Fortunately old binaries exist and `cp > /past_created/usr/src/amd64.amd64/tmp/usr/lib/libdialog.so.9 > /usr/lib' then go forward but stopped at stand/i386/boot2: >=20 > =3D=3D=3D> stand/i386/boot2 (install) > objcopy -S -O binary boot1.out boot1 > objcopy -S -O binary boot2.out boot2.bin > btxld -v -E 0x2000 -f bin -b = /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx -l boot2.ldr -o = boot2.ld -P 1 boot2.bin > make[6]: exec(btxld) failed (No such file or directory) > *** Error code 1 >=20 > Stop. > make[6]: stopped in /usr/src/stand/i386/boot2 As far as I remember, this typically happens when some sources are = touched, and it is attempting to rebuild the boot loader binaries at = install time. This should normally not happen, as everything has been = built during buildworld already. But this problem sometimes occurs when = system clocks are out of sync, or when files in the object tree get = their dates modified for other reasons. In this particular case it is trying to re-link btx using btxld, but = since that tool is only available during buildworld, it cannot find it. = I don't know of a good way to fix this, except maybe to run a buildworld = with WITHOUT_CLEAN, e.g.: make -DWITHOUT_CLEAN -j buildworld That should rebuild all things that need rebuilding without doing = excessive cleaning, and from there you can attempt to installworld = again. -Dimitry --Apple-Mail=_2B15402D-4F95-410C-A0FF-C1B18A956782 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZQsa8AAKCRCwXqMKLiCW o+zdAKCS9zUffXxVepN2ONTrEVWr86ECVACeLjMXoqGIu0K7Hb0pZaG6onn2gXw= =IqOz -----END PGP SIGNATURE----- --Apple-Mail=_2B15402D-4F95-410C-A0FF-C1B18A956782--