From nobody Tue Jun 27 10:12:12 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 4Qr0vY3fDnz4k5g1 for ; Tue, 27 Jun 2023 10:15:05 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qr0vX5l1cz3HBr for ; Tue, 27 Jun 2023 10:15:04 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=f3ML7iSk; spf=pass (mx1.freebsd.org: domain of parv.0zero9@gmail.com designates 2607:f8b0:4864:20::b29 as permitted sender) smtp.mailfrom=parv.0zero9@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-bff89873d34so2872814276.2 for ; Tue, 27 Jun 2023 03:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687860903; x=1690452903; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=a018Z/puJbHODnXk8ff+bjix8NmIDbVJmr0aDjzHrts=; b=f3ML7iSkVv/9C7II7qKs05q1aI1WiPqb4JYsNfEnRmAapPZIo5a0nk1qcA+nZvdnT0 0J2kSGqetJ3LbPIgy8Ft9nIiy7pslgKNhYzaxB6ZQhXUcbWeSkAwUuGpSKC+n7U7IFV1 UwtL/Kcy2o52EH0lBKHWqtVm76lyxZ/kF3kUp3J096nAN029vNukM3eX3iVUkEyCLH6M zOog9t1B8c7AqX+e5JvniYOeVoFVZ+ygnPsF81FFCGL0rk8CecfpWA0DEpc//8NLvE36 a2SEaAYANSQJ54up+37+MUiVss8dx5fHSEfIsq+jbQPGbvoNCd4nZArKAwcORHKjy4dT ZTKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687860903; x=1690452903; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=a018Z/puJbHODnXk8ff+bjix8NmIDbVJmr0aDjzHrts=; b=NeC2RAOUuVDcLJLl+CLOoIWv1tHrVFGe3eW6UsTtPFNW9WGYDzj/YjWx7IfDY/kB06 6XvYAhK+thZP/xiIdmKkKzgUXOEQfzJ06UK7IATvtdbnubU51ELUwy4NWqh12VtvtNfG 8tJrKhNzO3OSXtJGIAh7wh4BGxIwPmo15xssb526OKjAOxQX9K/srflm9bBC+IL+ujAL 66bKPsewjol14/IZPLXhGtpHnfcux+0OD3Qcv4BLNWUaHZh210dC7yxHrXHsoBcOnNhM jw64lbESFecAOmty3/TVLXOs5OLIvGclT6L6YuzriUwSk8pwTtp1g6u4r8qL6ZjmTTN6 b4Ag== X-Gm-Message-State: AC+VfDxWs0Dd5yLTPFsG7jGMiR7vnvw79P4aF7L73E0Muc2gGorOfcBC ALEQccwiKS0LEjmxnoA58UhXooh2uQoCCqG66+s= X-Google-Smtp-Source: ACHHUZ7IrR/r1rEjXJrmDl4x7GakgL8DRdYjfxstnwJewqBB64Y8G1r1I/u58ZbuL8qi+oc3YhlITiSh+VqJEZxnl3Y= X-Received: by 2002:a25:264f:0:b0:c16:1ce2:e2bb with SMTP id m76-20020a25264f000000b00c161ce2e2bbmr5272858ybm.15.1687860903339; Tue, 27 Jun 2023 03:15:03 -0700 (PDT) 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 References: <083c5d34-cb47-6e50-ebe3-24cce189342a@fastmail.com> In-Reply-To: <083c5d34-cb47-6e50-ebe3-24cce189342a@fastmail.com> From: "parv/FreeBSD" Date: Tue, 27 Jun 2023 00:12:12 -1000 Message-ID: Subject: Re: Stuck on ERROR-tried-to-rebuild-during-make-install- How to move past? To: Kyle Evans Cc: freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="00000000000092e9a405ff19bd5c" X-Spamd-Result: default: False [-1.00 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b29:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_FROM(0.00)[freebsd]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[fastmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Qr0vX5l1cz3HBr X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N --00000000000092e9a405ff19bd5c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jun 25, 2023 at 5:10=E2=80=AFPM 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=E2=80=AFAM 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=3D/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=3Djagged-little-pill -Dfloat=3Dfloaty-mcfloatface > > -ffunction-sections -fdata-sections -DLOADER_GELI_SUPPORT > > -I/freebsd/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -ffreestandin= g > > -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=3D30000 > > -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=3D\"loader.help.efi\" -mretpoline > > -ftrivial-auto-var-init=3Dzero > > > -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang > -g -gz=3Dzlib -std=3Dgnu99 -Wno-format-zero-length -Wsystem-headers -Wer= ror > -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int > -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable > -Wno-error=3Darray-parameter -Wno-error=3Ddeprecated-non-prototype > -Wno-error=3Dunused-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 > > > > 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=3D212877#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 --00000000000092e9a405ff19bd5c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Jun 25, 2023 at 5:10=E2=80=AFPM Kyle Evans=C2= =A0 wrote:

Hi= Kyle,
Thanks= for the response.


On 6/24/23 04:06, parv/FreeBSD wrote:
> On Thu, Jun 15, 2023 at 1:14=E2=80=AFAM parv/FreeBSD=C2=A0 wrote:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Hi there,
>
>=C2=A0 =C2=A0 =C2=A0I am stuck in "installworld" step due to<= br> >=C2=A0 =C2=A0 =C2=A0ERROR-tried-to-rebuild-during-make-install when goi= ng
>=C2=A0 =C2=A0 =C2=A0from 1cebc9298cf to b98fbf3781 on one host, or from=
>=C2=A0 =C2=A0 =C2=A09fbeeb6e3831 to dfa1982352ee on another host.
>
>=C2=A0 =C2=A0 =C2=A0What should I be looking for?
>
>
>=C2=A0 =C2=A0 =C2=A01cebc9298cf-to-b98fbf3781:
>=C2=A0 =C2=A0 =C2=A0log:
>=C2=A0 =C2=A0 =C2=A0...
>=C2=A0 =C2=A0 =C2=A0install =C2=A0-d -m 0755 -o root =C2=A0-g wheel =C2= =A0/boot
>=C2=A0 =C2=A0 =C2=A0install =C2=A0-o root =C2=A0-g wheel -m 444 =C2=A0l= oader.help.efi /boot/loader.help.efi

T= ried again but failed at this point again ...

=C2=A0
>=C2=A0 =C2=A0 =C2=A0cc -target x86_64-unknown-freebsd14.0
>=C2=A0 =C2=A0 =C2=A0--sysroot=3D/build/world/freebsd/src/amd64.amd64/tm= p
>=C2=A0 =C2=A0 =C2=A0-B/build/world/freebsd/src/amd64.amd64/tmp/usr/bin = =C2=A0-O2 -pipe
>=C2=A0 =C2=A0 =C2=A0-fno-common =C2=A0 -Wformat -fshort-wchar -mno-red-= zone -nostdinc=C2=A0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0-I/build/world/freebsd/src/amd64.amd64/stand= /libsa
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/libsa -D_STANDALONE -I/freebsd= /src/sys
>=C2=A0 =C2=A0 =C2=A0-Ddouble=3Djagged-little-pill -Dfloat=3Dfloaty-mcfl= oatface
>=C2=A0 =C2=A0 =C2=A0-ffunction-sections -fdata-sections -DLOADER_GELI_S= UPPORT
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/libsa/geli -DLOADER_DISK_SUPPO= RT -ffreestanding
>=C2=A0 =C2=A0 =C2=A0-mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -= fPIC
>=C2=A0 =C2=A0 =C2=A0-mno-red-zone -mno-relax -I. -Iinclude
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/efi/loader_4th/../loader
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/libsa/zfs
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/sys/contrib/openzfs/include
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/sys/contrib/openzfs/include/os/freeb= sd/zfs
>=C2=A0 =C2=A0 =C2=A0-DEFI_ZFS_BOOT -fPIC -I/freebsd/src/stand/efi/loade= r_4th
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/efi/loader_4th/arch/amd64
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/efi/include
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/efi/include/amd64
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/sys/contrib/dev/acpica/include
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/i386/libi386 -DEFI -I/freebsd/= src/stand/common
>=C2=A0 =C2=A0 =C2=A0-fPIC -I/freebsd/src/stand/ficl -I/freebsd/src/stan= d/ficl/amd64
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/common -DBF_DICTSIZE=3D30000 >=C2=A0 =C2=A0 =C2=A0-DLOADER_MSDOS_SUPPORT -DLOADER_UFS_SUPPORT -DLOADE= R_NET_SUPPORT
>=C2=A0 =C2=A0 =C2=A0-DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT -DLOADER_= ZFS_SUPPORT
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/stand/libsa/zfs -I/freebsd/src/sys/c= ddl/boot/zfs
>=C2=A0 =C2=A0 =C2=A0-I/freebsd/src/sys/cddl/contrib/opensolaris/uts/com= mon
>=C2=A0 =C2=A0 =C2=A0-DHELP_FILENAME=3D\"loader.help.efi\" -mr= etpoline
>=C2=A0 =C2=A0 =C2=A0-ftrivial-auto-var-init=3Dzero
>=C2=A0 =C2=A0 =C2=A0 =C2=A0-enable-trivial-auto-var-init-zero-knowing-i= t-will-be-removed-from-clang -g -gz=3Dzlib =C2=A0-std=3Dgnu99 -Wno-format-z= ero-length -Wsystem-headers -Werror -Wno-pointer-sign -Wdate-time -Wno-empt= y-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-= but-set-variable -Wno-error=3Darray-parameter -Wno-error=3Ddeprecated-non-p= rototype -Wno-error=3Dunused-but-set-parameter -Wno-tautological-compare -W= no-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-co= nversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switc= h -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses =C2=A0-Oz -= Qunused-arguments ERROR-tried-to-rebuild-during-make-install -c /freebsd/sr= c/stand/efi/loader_4th/../loader/efiserialio.c -o efiserialio.o
>=C2=A0 =C2=A0 =C2=A0/tmp/install.PjBzUKhv0k/sh: cc: not found
>=C2=A0 =C2=A0 =C2=A0*** Error code 127
>
>=C2=A0 =C2=A0 =C2=A0Stop.
>=C2=A0 =C2=A0 =C2=A0make[6]: stopped in /freebsd/src/stand/efi/loader_4= th
>=C2=A0 =C2=A0 =C2=A0...
>
>=C2=A0 =C2=A0 =C2=A0/etc/{make,src}*conf: attached 1cebc9298cf-to-b98fb= f3781.etc.list
>
> ...
>
> Also asked at https://mastodon.social/@parvXm= /110598357680164603
> <https://mastodon.social/@parvXm/110598357= 680164603>
> 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=3D212877#c21
> <https://bugs.freebsd.org/bugz= illa/show_bug.cgi?id=3D212877#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
=C2=A0 buildworld+kernel (multi-user) & installworld= (single user);

- verified that all the object, source, & ccache directory paths
=C2=A0 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 cca= che.

If that would fail, then will try without &qu= ot;meta mode" in addition.
If that would also fail, then I w= ould not know what else to do.


- pa= rv

--00000000000092e9a405ff19bd5c--