On Sun, Jun 25, 2023 at 5:10 PM Kyle Evans  wrote:

Hi Kyle,

Thanks for the response.


On 6/24/23 04:06, parv/FreeBSD wrote:
> > On Thu, Jun 15, 2023 at 1:14 AM parv/FreeBSD  wrote:
> >
> >       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
>


Tried again but failed at this point again ...



> >     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
> >
> > ...
> >
> > Also asked at https://mastodon.social/@parvXm/110598357680164603
> > <https://mastodon.social/@parvXm/110598357680164603>
> > where I note that ...
> >
> > ERROR-tried-to-rebuild-during-make-install
> >
> > ... was introduced in c 2017 per
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212877#c21
> > <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212877#c21> .
> >
>
> This error indicates that for some reason we're trying to build during
> the install phase; either tree was updated since last build, messed up
> timestamps on build artifacts, messed up clock, etc. Whatever the case
> may be, make(1) sees the build output of this as out-of-date.
>


Thanks for the pointers.

I had tried again with ...

- checked that the time has been set correctly both during
  buildworld+kernel (multi-user) & installworld (single user);

- verified that all the object, source, & ccache directory paths
  were correct; and the src/ commit used to build did not change

... still failed as I noted earlier. I checked the (modification)
time of /boot files, which looked ok to me.

Right now I am building without ccache.

If that would fail, then will try without "meta mode" in addition.
If that would also fail, then I would not know what else to do.


- parv

Reply via email to