Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2023 04:56:42 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   "make installworld" fails for main-n265819-af5e348c61da
Message-ID:  <ZSPqerBMzfEEAxwu@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--bc2XwlkywE1Jlae2
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This is for an in-place source update; machine is currently running:

freebeast(15.0-C)[15] uname -aUK
FreeBSD freebeast.catwhisker.org 15.0-CURRENT FreeBSD 15.0-CURRENT #427 mai=
n-n265811-38ecc80b2a4e: Sun Oct  8 17:42:28 UTC 2023     root@freebeast.cat=
whisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1500001 15=
00001


Sources were updated to main-n265819-af5e348c61da.

Excerpt from the build typescript:

=2E..
>>> Installing everything started on Mon Oct  9 11:26:45 UTC 2023
make[3]: "/common/S4/obj/usr/src/amd64.amd64/toolchain-metadata.mk" line 1:=
 Using cached toolchain metadata from build at freebeast.catwhisker.org on =
Mon Oct  9 10:49:37 UTC 2023
=2E..
install  -o root -g wheel -m 444 rk_grf.4.gz  /usr/share/man/man4/
install  -o root -g wheel -m 444 rk_i2c.4.gz  /usr/share/man/man4/
install  -o root -g wheel -m 444 rk_pinctrl.4.gz  /usr/share/man/man4/
rm -f /usr/share/man/man4/aarch64/armv8crypto.4 /usr/share/man/man4/aarch64=
/armv8crypto.4.gz;  install -l h -o root -g wheel -m 444  /usr/share/man/ma=
n4/armv8crypto.4.gz /usr/share/man/man4/aarch64/armv8crypto.4.gz
install: link /usr/share/man/man4/armv8crypto.4.gz -> /usr/share/man/man4/a=
arch64/armv8crypto.4.gz: No such file or directory
*** Error code 71

Stop.
make[7]: stopped in /usr/src/share/man/man4/man4.aarch64
*** Error code 1


So... a couple of things:
* This is an amd64 machine, building native.  I didn't specify anything
  with respect to aarch64, and have nothing about aarch64 mentioned in
  /etc/*.conf.

* While my build procedure is based on the information in src/UPDATING, I
  took the liberty (over a decade ago) to augment those instructions
  with a couple of additional steps just prior to issuing "make
  installworld":
  * One of those is to move /usr/include aside;
  * The other is to just completely remove /usr/share/man (recursively).

  In each case, this is not because I don't want the hierarchy in
  question; rather, it is because I want to be sure there is nothing
  extraneous in either.  "make hierarchy" has (in the past) been
  invoked by "make installworld" and everything has been fine.

  Prior to the above-described failure, I had an earlier one:

=2E..
>> etcupdate -p OK
Mon Oct  9 11:10:29 UTC 2023
>> /usr/include.old removed
Mon Oct  9 11:10:29 UTC 2023
>> /usr/include moved aside
Mon Oct  9 11:10:29 UTC 2023
>> /usr/share/man removed
Mon Oct  9 11:10:29 UTC 2023
make[1]: "/common/S4/obj/usr/src/amd64.amd64/toolchain-metadata.mk" line 1:=
 Using cached toolchain metadata from build at freebeast.catwhisker.org on =
Mon Oct  9 10:49:37 UTC 2023
--------------------------------------------------------------
>>> Install check world
--------------------------------------------------------------
=2E..
installing DIRS CONFSDIR
install  -d -m 0755 -o root  -g wheel  /etc
installing DIRS NLSDIR
install  -d -m 0755 -o root  -g wheel  /usr/share/nls
install  -o root -g wheel -m 444 btree.3.gz  /usr/share/man/man3/
install: /usr/share/man/man3/: No such file or directory
*** Error code 71

Stop.
make[5]: stopped in /usr/src/lib/libc
*** Error code 1


I checked src/Makefile.inc1; it was last updated by:
| commit 1a18383a52bc373e316d224cef1298debf6f7e25
| Author: Pierre Pronchery <pierre@freebsdfoundation.org>
| Date:   Fri Sep 15 17:14:16 2023 +0200
|=20
|     libcrypto: link engines and the legacy provider to libcrypto

Since I didn't see anything obvious that might have caused the observed
failure, I tweaked my procedure so that after removing /usr/share/man,
it then issued:

	mkdir -p /usr/share/man/man{1,2,3{,lua},4,5,6,7,8,9}

Which appears to have got me through the initial issue.

I mention this in case there's a chance it might possibly be relevant.


Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org
"I am not a member of any organized political party =E2=80=94 I am a Democr=
at."
 - Will Rogers  (Huh.  Wonder what he'd say given recent events....)

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--bc2XwlkywE1Jlae2
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCZSPqel8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE
MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix
1FovAP9PW4KN0gft1rqYsJ11W5bABAyvBEwvXvkrstXfYEPcZAEA+Q3IkxziTP7n
GSZIVpXg9Daah3yRSUtflzeK4vsR7wQ=
=9UJ3
-----END PGP SIGNATURE-----

--bc2XwlkywE1Jlae2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZSPqerBMzfEEAxwu>