Re: Troubles building world on stable/13 [an experiment-environment that leaves existing things alone]
- In reply to: Mark Millard : "Re: Troubles building world on stable/13"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Feb 2022 22:05:38 UTC
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: ‘base.txz’ base.txz 100%[=============================================================================================================>] 162.72M 9.71MB/s in 17s 2022-02-03 13:26:34 (9.67 MB/s) - ‘base.txz’ 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.txz --2022-02-03 13:27:04-- http://ftp3.freebsd.org/pub/FreeBSD/snapshots/arm64/13.0-STABLE/base-dbg.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: 208227180 (199M) [application/octet-stream] Saving to: ‘base-dbg.txz’ base-dbg.txz 100%[=============================================================================================================>] 198.58M 10.0MB/s in 21s 2022-02-03 13:27:25 (9.56 MB/s) - ‘base-dbg.txz’ 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 # 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. === Mark Millard marklmi at yahoo.com