Date: Thu, 3 Feb 2022 14:05:38 -0800 From: Mark Millard <marklmi@yahoo.com> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm@freebsd.org Subject: Re: Troubles building world on stable/13 [an experiment-environment that leaves existing things alone] Message-ID: <C3D8ABCB-C7CC-4D88-B648-7C31C5BCC96E@yahoo.com> In-Reply-To: <D93232D9-BCBF-4C65-B984-D95CB12ADFCD@yahoo.com> References: <20220121031601.GA26308@www.zefox.net> <FA290367-D4B6-463D-AC67-64F224B3C227@yahoo.com> <FBD31544-6D8F-40DB-BC36-F0B2BBA78A14@yahoo.com> <8595CFBD-DC65-4472-A0A1-8A7BE1C031D6@yahoo.com> <20220124165449.GA39982@www.zefox.net> <5FAC2B2C-7740-435E-A183-FB3EF1FCE7F9@yahoo.com> <20220202223208.GA78110@www.zefox.net> <70550346-BC53-458F-B01B-68559E5C9847@yahoo.com> <20220203015149.GA78722@www.zefox.net> <8A85F917-F4E8-4382-B777-15AF7401E616@yahoo.com> <D93232D9-BCBF-4C65-B984-D95CB12ADFCD@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Note: I happen to use wget below. You might use something else. Also: where I copy the gtest-all-f3760c* from is specific to my environment. Note: The later steps presume that the running kernel and the content of base.txz that are used are compatible. Otherwise, more steps would allow setting up to boot a matching kernel under an alternate name in order to allow the experiments. It would be good to know if you get failures vs. successes vs. a mix via the following sort of experimental setup. The notes below are about setting up the experiment and exiting the experimental environment. The text is from doing an example sequence in my environment and so some details will be different for your environment. # mkdir ~/13-snapshot-txz-files/ # cd ~/13-snapshot-txz-files/ # wget -nd -nH -r -np = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/arm64/13.0-STABLE/base.txz --2022-02-03 13:26:17-- = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/arm64/13.0-STABLE/base.txz Resolving ftp3.freebsd.org (ftp3.freebsd.org)... 204.15.11.67, = 2620:11c:5001:1099:1337::4 Connecting to ftp3.freebsd.org (ftp3.freebsd.org)|204.15.11.67|:80... = connected. HTTP request sent, awaiting response... 200 OK Length: 170624152 (163M) [application/octet-stream] Saving to: =E2=80=98base.txz=E2=80=99 base.txz = 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] 162.72M 9.71MB/s in 17s =20 2022-02-03 13:26:34 (9.67 MB/s) - =E2=80=98base.txz=E2=80=99 saved = [170624152/170624152] FINISHED --2022-02-03 13:26:34-- Total wall clock time: 17s Downloaded: 1 files, 163M in 17s (9.67 MB/s) # wget -nd -nH -r -np = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/arm64/13.0-STABLE/base-dbg.t= xz --2022-02-03 13:27:04-- = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/arm64/13.0-STABLE/base-dbg.t= xz Resolving ftp3.freebsd.org (ftp3.freebsd.org)... 204.15.11.67, = 2620:11c:5001:1099:1337::4 Connecting to ftp3.freebsd.org (ftp3.freebsd.org)|204.15.11.67|:80... = connected. HTTP request sent, awaiting response... 200 OK Length: 208227180 (199M) [application/octet-stream] Saving to: =E2=80=98base-dbg.txz=E2=80=99 base-dbg.txz = 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] 198.58M 10.0MB/s in 21s =20 2022-02-03 13:27:25 (9.56 MB/s) - =E2=80=98base-dbg.txz=E2=80=99 saved = [208227180/208227180] FINISHED --2022-02-03 13:27:25-- Total wall clock time: 21s Downloaded: 1 files, 199M in 21s (9.56 MB/s) # mkdir ~/13S-chroot/ # tar -xpf base.txz -C ~/13S-chroot/ # tar -xpf base-dbg.txz -C ~/13S-chroot/ # du -xsAm ~/13S-chroot/ 2167 /root/13S-chroot/ # mount -tdevfs devfs ~/13S-chroot/dev # cp -aRx ~/c_tests/*gtest-all-fe760c* ~/13S-chroot/root/ # chroot ~/13S-chroot/ NOTE: As of here (until the exit), files outside 13S-chroot are not accessible and / references ~/13S-chroot . ALTERNATE-PROMPT# cd root/ ALTERNATE-PROMPT# ls -Tla total 12424 drwxr-x--- 2 root wheel 512 Feb 3 21:38:42 2022 . drwxr-xr-x 18 root wheel 512 Feb 3 21:28:45 2022 .. -rw-r--r-- 2 root wheel 1023 Feb 3 03:41:57 2022 .cshrc -rw-r--r-- 1 root wheel 80 Feb 3 03:49:23 2022 .k5login -rw-r--r-- 1 root wheel 328 Feb 3 03:41:57 2022 .login -rw-r--r-- 2 root wheel 507 Feb 3 03:41:55 2022 .profile -rw-r--r-- 1 root wheel 865 Feb 3 03:41:55 2022 .shrc -rw-r--r-- 1 root wheel 0 Feb 2 22:08:08 2022 = gtest-all-fe760c-d2733764.o.tmp -rw-r--r-- 1 root wheel 7339473 Feb 2 22:08:10 2022 = gtest-all-fe760c.cpp -rw-r--r-- 1 root wheel 5246192 Feb 2 22:08:10 2022 = gtest-all-fe760c.o -rw-r--r-- 1 root wheel 4527 Feb 2 22:08:10 2022 = gtest-all-fe760c.sh -rw-r--r-- 1 root wheel 1448 Feb 2 22:08:10 2022 = lldb-gtest-all-fe760c.sh ALTERNATE-PROMPT# #EXPERIMENT WITH USAGE OF THE .sh FILES HERE ALTERNATE-PROMPT# exit # umount ~/13S-chroot/dev #=20 It would be good to know what experiments produce relative to failures vs. successes: all one? the other? a mix? Part of the point here is to test builds from official FreeBSD build servers instead of personal builds. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C3D8ABCB-C7CC-4D88-B648-7C31C5BCC96E>