- Timestamp:
- 05/26/2020 12:25:21 PM (4 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 29b86b4
- Parents:
- da99f96
- Location:
- chapter06
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/automake.xml
rda99f96 r59b66d7 41 41 <sect2 role="installation"> 42 42 <title>Installation of Automake</title> 43 44 <para>Fix a failing test:</para> 45 46 <screen><userinput remap="pre">sed -i "s/''/etags/" t/tags-lisp-space.sh</userinput></screen> 43 47 44 48 <para>Prepare Automake for compilation:</para> -
chapter06/bash.xml
rda99f96 r59b66d7 81 81 class="username">nobody</systemitem> user:</para> 82 82 83 <screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH HOME=/home make tests"</userinput></screen> 83 <screen><userinput remap="test">su nobody -s /bin/bash << EOF 84 PATH=$PATH HOME=/home make tests 85 EOF</userinput></screen> 86 87 <para>The <command>su</command> command above is slightly different from 88 other places in the book. The 89 reason is that the <option>-c</option> option runs the command without 90 a controlling terminal, while the bash test suite needs one.</para> 84 91 85 92 <para>Install the package and move the main executable to -
chapter06/binutils.xml
rda99f96 r59b66d7 59 59 60 60 <para>Now remove one test that prevents the tests from running 61 to completion:</para> 62 63 <screen><userinput remap="pre">sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in</userinput></screen> 61 to completion, and fix other tests in the gold test suite, which 62 need to be adjusted for GCC 10:</para> 63 64 <screen><userinput remap="pre">sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in 65 patch -Np1 -i ../binutils-&binutils-version;-gcc10_gold_test_fix-1.patch</userinput></screen> 64 66 65 67 <para>The Binutils documentation recommends building Binutils … … 158 160 <screen><userinput remap="test">make -k check</userinput></screen> 159 161 160 <para>The ver_test_pr16504.sh test is known to fail.</para>162 <!-- <para>The ver_test_pr16504.sh test is known to fail.</para>--> 161 163 162 164 <para>Install the package:</para> -
chapter06/coreutils.xml
rda99f96 r59b66d7 127 127 environment includes /tools/bin.</para> 128 128 129 <screen><userinput remap="test">su nobody -s /bin/bash \ 130 -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 131 129 <screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 130 <!-- 132 131 <para>The test program test-getlogin is known to fail in a 133 132 partially built system environment like the chroot environment here, but 134 133 passes if run at the end of this chapter. The test program tty.sh is 135 134 also known to fail.</para> 136 135 --> 137 136 <para>Remove the temporary group:</para> 138 137 -
chapter06/createfiles.xml
rda99f96 r59b66d7 57 57 do 58 58 ln -svf /tools/include/$incdir /usr/include 59 done</userinput></screen> 59 done 60 61 mkdir -pv /tools/lib/locale 62 ln -sv /usr/lib/locale/locale-archive /tools/lib/locale</userinput></screen> 60 63 61 64 <variablelist> … … 198 201 wrong references to /tools. The uuid library is also needed for 199 202 building a python module.</para> 203 </listitem> 204 </varlistentry> 205 206 <varlistentry> 207 <term> 208 <parameter> 209 <filename>/tools/lib/locale/locale-archive</filename> 210 </parameter> 211 </term> 212 <listitem> 213 <para>Some programs built in chapter 5 look for installed 214 locale descriptions in this file. The locale descriptions will be 215 installed in <filename>/usr/lib/locale/locale-archive</filename> 216 after building the final glibc. The symlink allows those programs 217 to use the installed locales.</para> 200 218 </listitem> 201 219 </varlistentry> -
chapter06/kernfs.xml
rda99f96 r59b66d7 69 69 <para>Now mount the remaining virtual kernel filesystems:</para> 70 70 71 <screen><userinput>mount -v t devpts devpts $LFS/dev/pts -o gid=5,mode=62071 <screen><userinput>mount -v --bind /dev/pts $LFS/dev/pts 72 72 mount -vt proc proc $LFS/proc 73 73 mount -vt sysfs sysfs $LFS/sys
Note:
See TracChangeset
for help on using the changeset viewer.