Date: Tue, 27 Jun 2023 00:12:12 -1000 From: "parv/FreeBSD" <parv.0zero9+freebsd@gmail.com> To: Kyle Evans <kaevans@fastmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Stuck on ERROR-tried-to-rebuild-during-make-install- How to move past? Message-ID: <CABObuOpNbULbN=4wJh3_HS0OM6EwWydFz%2BGg1LG5iiuFtnGyRw@mail.gmail.com> In-Reply-To: <083c5d34-cb47-6e50-ebe3-24cce189342a@fastmail.com> References: <CABObuOpoc5uUSe=28T62sRFEyeeS6ewf6oF3JOv0JnjT96xQVw@mail.gmail.com> <CABObuOoi=XVkE_FqYX4i2-54OP0iJH8XM3AQpyLFu6vNf-_B3Q@mail.gmail.com> <083c5d34-cb47-6e50-ebe3-24cce189342a@fastmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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
[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace">On Sun, Jun 25, 2023 at 5:10 PM Kyle Evans wrote:</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Hi Kyle,</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Thanks for the response.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 6/24/23 04:06, parv/FreeBSD wrote:<br>
> On Thu, Jun 15, 2023 at 1:14 AM parv/FreeBSD wrote:<br>
> <br>
> Hi there,<br>
> <br>
> I am stuck in "installworld" step due to<br>
> ERROR-tried-to-rebuild-during-make-install when going<br>
> from 1cebc9298cf to b98fbf3781 on one host, or from<br>
> 9fbeeb6e3831 to dfa1982352ee on another host.<br>
> <br>
> What should I be looking for?<br>
> <br>
> <br>
> 1cebc9298cf-to-b98fbf3781:<br>
> log:<br>
> ...<br>
> install -d -m 0755 -o root -g wheel /boot<br>
> install -o root -g wheel -m 444 loader.help.efi /boot/loader.help.efi<br></blockquote><div><br></div><div><br></div><div><div style="font-family:monospace" class="gmail_default">Tried again but failed at this point again ...</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> cc -target x86_64-unknown-freebsd14.0<br>
> --sysroot=/build/world/freebsd/src/amd64.amd64/tmp<br>
> -B/build/world/freebsd/src/amd64.amd64/tmp/usr/bin -O2 -pipe<br>
> -fno-common -Wformat -fshort-wchar -mno-red-zone -nostdinc <br>
> -I/build/world/freebsd/src/amd64.amd64/stand/libsa<br>
> -I/freebsd/src/stand/libsa -D_STANDALONE -I/freebsd/src/sys<br>
> -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface<br>
> -ffunction-sections -fdata-sections -DLOADER_GELI_SUPPORT<br>
> -I/freebsd/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -ffreestanding<br>
> -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC<br>
> -mno-red-zone -mno-relax -I. -Iinclude<br>
> -I/freebsd/src/stand/efi/loader_4th/../loader<br>
> -I/freebsd/src/stand/libsa/zfs<br>
> -I/freebsd/src/sys/contrib/openzfs/include<br>
> -I/freebsd/src/sys/contrib/openzfs/include/os/freebsd/zfs<br>
> -DEFI_ZFS_BOOT -fPIC -I/freebsd/src/stand/efi/loader_4th<br>
> -I/freebsd/src/stand/efi/loader_4th/arch/amd64<br>
> -I/freebsd/src/stand/efi/include<br>
> -I/freebsd/src/stand/efi/include/amd64<br>
> -I/freebsd/src/sys/contrib/dev/acpica/include<br>
> -I/freebsd/src/stand/i386/libi386 -DEFI -I/freebsd/src/stand/common<br>
> -fPIC -I/freebsd/src/stand/ficl -I/freebsd/src/stand/ficl/amd64<br>
> -I/freebsd/src/stand/common -DBF_DICTSIZE=30000<br>
> -DLOADER_MSDOS_SUPPORT -DLOADER_UFS_SUPPORT -DLOADER_NET_SUPPORT<br>
> -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT -DLOADER_ZFS_SUPPORT<br>
> -I/freebsd/src/stand/libsa/zfs -I/freebsd/src/sys/cddl/boot/zfs<br>
> -I/freebsd/src/sys/cddl/contrib/opensolaris/uts/common<br>
> -DHELP_FILENAME=\"loader.help.efi\" -mretpoline<br>
> -ftrivial-auto-var-init=zero<br>
> -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<br>
> /tmp/install.PjBzUKhv0k/sh: cc: not found<br>
> *** Error code 127<br>
> <br>
> Stop.<br>
> make[6]: stopped in /freebsd/src/stand/efi/loader_4th<br>
> ...<br>
> <br>
> /etc/{make,src}*conf: attached 1cebc9298cf-to-b98fbf3781.etc.list<br>
> <br>
> ...<br>
> <br>
> Also asked at <a href="https://mastodon.social/@parvXm/110598357680164603" rel="noreferrer" target="_blank">https://mastodon.social/@parvXm/110598357680164603</a> <br>
> <<a href="https://mastodon.social/@parvXm/110598357680164603" rel="noreferrer" target="_blank">https://mastodon.social/@parvXm/110598357680164603</a>><br>
> where I note that ...<br>
> <br>
> ERROR-tried-to-rebuild-during-make-install<br>
> <br>
> ... was introduced in c 2017 per<br>
> <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212877#c21" rel="noreferrer" target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212877#c21</a> <br>
> <<a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212877#c21" rel="noreferrer" target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212877#c21</a>> .<br>
> <br>
<br>
This error indicates that for some reason we're trying to build during <br>
the install phase; either tree was updated since last build, messed up <br>
timestamps on build artifacts, messed up clock, etc. Whatever the case <br>
may be, make(1) sees the build output of this as out-of-date.<br></blockquote><div><br></div><div><br></div><div style="font-family:monospace" class="gmail_default">Thanks for the pointers.<br></div><div style="font-family:monospace" class="gmail_default"><br><div style="font-family:monospace" class="gmail_default">I had tried again with ...</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">- checked that the time has been set correctly both during</div><div style="font-family:monospace" class="gmail_default"> buildworld+kernel (multi-user) & installworld (single user);</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">- verified that all the object, source, & ccache directory paths</div><div style="font-family:monospace" class="gmail_default"> were correct; and the src/ commit used to build did not change</div>
</div><div style="font-family:monospace" class="gmail_default"><div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">... still failed as I noted earlier. I checked the (modification)</div><div style="font-family:monospace" class="gmail_default">time of /boot files, which looked ok to me.<br></div></div><div><br></div><div>Right now I am building without ccache.</div><div><br></div><div>If that would fail, then will try without "meta mode" in addition.</div><div>If that would also fail, then I would not know what else to do.</div><div><br></div><div><br></div><div>- parv</div><div><br></div></div></div></div>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABObuOpNbULbN=4wJh3_HS0OM6EwWydFz%2BGg1LG5iiuFtnGyRw>
