Stuck on ERROR-tried-to-rebuild-during-make-install, from 1cebc9298cf to b98fbf3781, or from 9fbeeb6e3831 to dfa1982352ee

From: parv/FreeBSD <parv.0zero9+freebsd_at_gmail.com>
Date: Thu, 15 Jun 2023 11:14:42 UTC
 Hi there,

I am stuck in "installworld" step due to
ERROR-tried-to-rebuild-during-make-install when going
from 1cebc9298cf to b98fbf3781 on one host, or from
9fbeeb6e3831 to dfa1982352ee on another host.

What should I be looking for?


1cebc9298cf-to-b98fbf3781:
log:
...
install  -d -m 0755 -o root  -g wheel  /boot
install  -o root  -g wheel -m 444  loader.help.efi /boot/loader.help.efi
cc -target x86_64-unknown-freebsd14.0
--sysroot=/build/world/freebsd/src/amd64.amd64/tmp
-B/build/world/freebsd/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common
-Wformat -fshort-wchar -mno-red-zone -nostdinc
 -I/build/world/freebsd/src/amd64.amd64/stand/libsa
-I/freebsd/src/stand/libsa -D_STANDALONE -I/freebsd/src/sys
-Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface -ffunction-sections
-fdata-sections -DLOADER_GELI_SUPPORT -I/freebsd/src/stand/libsa/geli
-DLOADER_DISK_SUPPORT -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2
-msoft-float -fPIC -mno-red-zone -mno-relax -I. -Iinclude
-I/freebsd/src/stand/efi/loader_4th/../loader
-I/freebsd/src/stand/libsa/zfs -I/freebsd/src/sys/contrib/openzfs/include
-I/freebsd/src/sys/contrib/openzfs/include/os/freebsd/zfs -DEFI_ZFS_BOOT
-fPIC -I/freebsd/src/stand/efi/loader_4th
-I/freebsd/src/stand/efi/loader_4th/arch/amd64
-I/freebsd/src/stand/efi/include -I/freebsd/src/stand/efi/include/amd64
-I/freebsd/src/sys/contrib/dev/acpica/include
-I/freebsd/src/stand/i386/libi386 -DEFI -I/freebsd/src/stand/common -fPIC
-I/freebsd/src/stand/ficl -I/freebsd/src/stand/ficl/amd64
-I/freebsd/src/stand/common -DBF_DICTSIZE=30000 -DLOADER_MSDOS_SUPPORT
-DLOADER_UFS_SUPPORT -DLOADER_NET_SUPPORT -DLOADER_GPT_SUPPORT
-DLOADER_MBR_SUPPORT -DLOADER_ZFS_SUPPORT -I/freebsd/src/stand/libsa/zfs
-I/freebsd/src/sys/cddl/boot/zfs
-I/freebsd/src/sys/cddl/contrib/opensolaris/uts/common
-DHELP_FILENAME=\"loader.help.efi\" -mretpoline
-ftrivial-auto-var-init=zero
 -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
-g -gz=zlib  -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror
-Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-error=unused-but-set-variable
-Wno-error=array-parameter -Wno-error=deprecated-non-prototype
-Wno-error=unused-but-set-parameter -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-unused-local-typedef
-Wno-address-of-packed-member -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Wno-parentheses  -Oz -Qunused-arguments
 ERROR-tried-to-rebuild-during-make-install -c
/freebsd/src/stand/efi/loader_4th/../loader/efiserialio.c -o efiserialio.o
/tmp/install.PjBzUKhv0k/sh: cc: not found
*** Error code 127

Stop.
make[6]: stopped in /freebsd/src/stand/efi/loader_4th
...

/etc/{make,src}*conf: attached 1cebc9298cf-to-b98fbf3781.etc.list


9fbeeb6e3831-to-dfa1982352ee:
log:
...

--- realinstall_subdir_lib/csu/amd64 ---
===> lib/csu/amd64 (install)
--- realinstall_subdir_libexec ---
--- _proginstall ---
--- maninstall ---
--- _proginstall ---
install  -s -o root -g wheel -m 555   atf-check /usr/libexec/atf-check
--- realinstall_subdir_libexec/atf/atf-check/tests ---
===> libexec/atf/atf-check/tests (install)
--- maninstall ---
install  -o root -g wheel -m 444 atf-check.1.gz  /usr/share/man/man1/
--- _proginstall ---
install  -o root -g wheel -m 444  atf-check.debug
/usr/lib/debug/usr/libexec/atf-check.debug
--- realinstall_subdir_lib ---
--- installdirs-FILESDIR ---
--- crt1_c.o ---
--- gcrt1_c.o ---
--- Scrt1_c.o ---
--- crtbrand.o ---
--- feature_note.o ---
--- installdirs-FILESDIR ---
installing DIRS FILESDIR
install  -d -m 0755 -o root  -g wheel  /usr/lib
--- crt1_c.o ---
/usr/local/bin/ccache cc -target x86_64-unknown-freebsd14.0
--sysroot=/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp
-B/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp/usr/bin  -O2 -pipe
-fno-common -I/freebsd/src/lib/csu/amd64 -fno-omit-frame-pointer
-DSTRIP_FBSDID -fno-asynchronous-unwind-tables -fno-omit-frame-pointer
-I/freebsd/src/lib/csu/common  -I/freebsd/src/lib/libc/include
-mretpoline -ftrivial-auto-var-init=zero
-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
-g -gz=zlib  -std=gnu99 -Wno-format-zero-length -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition
-Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter
 -Qunused-arguments    ERROR-tried-to-rebuild-during-make-install -c
/freebsd/src/lib/csu/amd64/crt1_c.c -o crt1_c.o
--- gcrt1_c.o ---
/usr/local/bin/ccache cc -target x86_64-unknown-freebsd14.0
--sysroot=/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp
-B/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp/usr/bin -O2 -pipe
-fno-common -I/freebsd/src/lib/csu/amd64 -fno-omit-frame-pointer
-DSTRIP_FBSDID -fno-asynchronous-unwind-tables -fno-omit-frame-pointer
-I/freebsd/src/lib/csu/common  -I/freebsd/src/lib/libc/include
-mretpoline -ftrivial-auto-var-init=zero
-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
-g -gz=zlib  -std=gnu99 -Wno-format-zero-length -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition
-Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter
 -Qunused-arguments    ERROR-tried-to-rebuild-during-make-install
-DGCRT -c -o gcrt1_c.o /freebsd/src/lib/csu/amd64/crt1_c.c
--- _FILESINS_crtbegin.o ---
--- _FILESINS_crtbeginS.o ---
--- _FILESINS_crtbeginT.o ---
--- feature_note.o ---
cc -target x86_64-unknown-freebsd14.0
--sysroot=/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp
-B/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp/usr/bin -O2 -pipe
-fno-common -I/freebsd/src/lib/csu/amd64 -fno-omit-frame-pointer
-DSTRIP_FBSDID -fno-asynchronous-unwind-tables -fno-omit-frame-pointer
-I/freebsd/src/lib/csu/common  -I/freebsd/src/lib/libc/include
-mretpoline -ftrivial-auto-var-init=zero
-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
-g -gz=zlib  -std=gnu99 -Wno-format-zero-length -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition
-Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter
 -Qunused-arguments    ERROR-tried-to-rebuild-during-make-install
-DLOCORE   -c /freebsd/src/lib/csu/common/feature_note.S -o
feature_note.o
sh: cc: not found
*** [feature_note.o] Error code 127

make[6]: stopped in /freebsd/src/lib/csu/amd64
--- crtbrand.o ---
cc -target x86_64-unknown-freebsd14.0
--sysroot=/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp
-B/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp/usr/bin -O2 -pipe
-fno-common -I/freebsd/src/lib/csu/amd64 -fno-omit-frame-pointer
-DSTRIP_FBSDID -fno-asynchronous-unwind-tables -fno-omit-frame-pointer
-I/freebsd/src/lib/csu/common  -I/freebsd/src/lib/libc/include
-mretpoline -ftrivial-auto-var-init=zero
-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
-g -gz=zlib  -std=gnu99 -Wno-format-zero-length -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition
-Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter
 -Qunused-arguments    ERROR-tried-to-rebuild-during-make-install
-DLOCORE   -c /freebsd/src/lib/csu/common/crtbrand.S -o crtbrand.o
sh: cc: not found
*** [crtbrand.o] Error code 127

make[6]: stopped in /freebsd/src/lib/csu/amd64
--- Scrt1_c.o ---
/usr/local/bin/ccache cc -target x86_64-unknown-freebsd14.0
--sysroot=/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp
-B/aux-build/freebsd-14/freebsd/src/amd64.amd64/tmp/usr/bin -O2 -pipe
-fno-common -I/freebsd/src/lib/csu/amd64 -fno-omit-frame-pointer
-DSTRIP_FBSDID -fno-asynchronous-unwind-tables -fno-omit-frame-pointer
-I/freebsd/src/lib/csu/common  -I/freebsd/src/lib/libc/include
-mretpoline -ftrivial-auto-var-init=zero
-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
-g -gz=zlib  -std=gnu99 -Wno-format-zero-length -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition
-Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter
 -Qunused-arguments    ERROR-tried-to-rebuild-during-make-install
-fPIC -DPIC -c -o Scrt1_c.o /freebsd/src/lib/csu/amd64/crt1_c.c
--- _FILESINS_crtbegin.o ---
install  -o root  -g wheel -m 444  crtbegin.o /usr/lib/crtbegin.o
--- _FILESINS_crtbeginS.o ---
install  -o root  -g wheel -m 444  crtbeginS.o /usr/lib/crtbeginS.o
--- _FILESINS_crtbeginT.o ---
install  -o root  -g wheel -m 444  crtbeginT.o /usr/lib/crtbeginT.o
--- crt1_c.o ---
ccache: error: Could not find compiler "cc" in PATH
--- gcrt1_c.o ---
ccache: error: Could not find compiler "cc" in PATH
--- Scrt1_c.o ---
ccache: error: Could not find compiler "cc" in PATH
--- crt1_c.o ---
*** [crt1_c.o] Error code 1

make[6]: stopped in /freebsd/src/lib/csu/amd64
--- Scrt1_c.o ---
*** [Scrt1_c.o] Error code 1

make[6]: stopped in /freebsd/src/lib/csu/amd64
--- gcrt1_c.o ---
*** [gcrt1_c.o] Error code 1
...


/etc/{make,src}*conf: attached 9fbeeb6e3831-to-dfa1982352ee.etc.list


- parv