Changeset c91dd5b
- Timestamp:
- 02/11/2004 10:02:10 PM (20 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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- a0b689e
- Parents:
- 5cd6caa
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
appendixa/expect-shortdesc.xml
r5cd6caa rc91dd5b 5 5 <para><emphasis>Installed program</emphasis>: expect</para> 6 6 7 <para><emphasis>Installed library</emphasis>: libexpect 5.39.a</para>7 <para><emphasis>Installed library</emphasis>: libexpect&expect-version;.a</para> 8 8 9 9 </sect2> -
chapter02/abouttestsuites.xml
r5cd6caa rc91dd5b 6 6 built package is generally a good idea, as it can provide a nice sanity check 7 7 that everything compiled correctly. A test suite that passes its set of checks 8 usually proves that the package is functioning mostly as the developer 9 intended. It does not, however, guarantee that the package is totally bug 10 free.</para> 8 usually proves that the package is functioning as the developer intended. It 9 does not, however, guarantee that the package is totally bug free.</para> 11 10 12 11 <para>Some test suites are more important than others. For example, the test 13 suites for the core toolchain packages -- GCC, Binutils, and Glibc (the C14 library) -- are of the utmost importance due to their central role in a 15 properly functioning system. But be warned, the test suites for GCC and Glibc 16 can take a very longtime to complete, especially on slower hardware.</para>12 suites for the core toolchain packages -- GCC, Binutils, and Glibc -- are of 13 the utmost importance due to their central role in a properly functioning 14 system. But be warned, the test suites for GCC and Glibc can take a very long 15 time to complete, especially on slower hardware.</para> 17 16 18 <para>Experience has shown us that there is little to be gained from running 19 the test suites in <xref linkend="chapter-temporary-tools"/>. There can be no escaping the 20 fact that the host system always exerts influence on the tests in that chapter, 21 often causing weird and inexplicable failures. Not only that, the tools built 22 in <xref linkend="chapter-temporary-tools"/> are temporary and eventually discarded. For the 23 average reader of this book we recommend <emphasis>not</emphasis> to run the 24 test suites in <xref linkend="chapter-temporary-tools"/>. The instructions for running those 25 test suites are still provided for the benefit of testers and developers, but 26 they are strictly optional for everyone else.</para> 17 <note><para>Experience has shown us that there is little to be gained from running 18 the test suites in <xref linkend="chapter-temporary-tools"/>. There can be no 19 escaping the fact that the host system always exerts some influence on the 20 tests in that chapter, often causing weird and inexplicable failures. Not only 21 that, the tools built in <xref linkend="chapter-temporary-tools"/> are 22 temporary and eventually discarded. For the average reader of this book we 23 recommend <emphasis>not</emphasis> to run the test suites in <xref 24 linkend="chapter-temporary-tools"/>. The instructions for running those test 25 suites are still provided for the benefit of testers and developers, but they 26 are strictly optional for everyone else.</para></note> 27 27 28 <para>As you progress through the book and encounter the commands to run the 29 various test suites, we'll guide you on the relative importance of the test 30 suite in question, so that you can decide for yourself whether to run that one 31 or not.</para> 28 <para>A common problem when running the test suites for Binutils and GCC is 29 running out of pseudo terminals (PTYs for short). The symptom is a very high 30 number of failing tests. This can happen for several reasons, but the most 31 likely cause is that the host system doesn't have the 32 <emphasis>devpts</emphasis> file system set up correctly. We'll discuss this in 33 more detail later on in <xref linkend="chapter-temporary-tools"/>.</para> 32 34 33 <note><para>A common problem when running the test suites for Binutils and GCC 34 is running out of pseudo terminals (PTYs for short). The symptom is an 35 unusually high number of failing tests. This can happen for a number of 36 reasons. Most likely is that the host system doesn't have the 37 <emphasis>devpts</emphasis> file system set up correctly. We'll discuss this in 38 more detail later on in <xref linkend="chapter-temporary-tools"/>.</para></note> 35 <para>Sometimes package test suites will give false failures. You can 36 consult the LFS Wiki at <ulink url="&wiki-root;"/> to verify that these 37 failures are normal. This applies to all tests throughout the book.</para> 39 38 40 39 </sect1> -
chapter04/chapter04.xml
r5cd6caa rc91dd5b 168 168 169 169 Make (&make-version;) - &make-size;: 170 <ulink url="http://freshmeat.net/projects/gnumake "/>170 <ulink url="http://freshmeat.net/projects/gnumake/"/> 171 171 172 172 Make_devices (&makedev-version;) - &makedev-size;: -
chapter05/bash.xml
r5cd6caa rc91dd5b 27 27 <screen><userinput>make</userinput></screen> 28 28 29 <para>As discussed earlier, we don't recommend running the test suites for the 30 temporary tools here in this chapter. If you still want to run the Bash test 31 suite anyway, the following command will do so:</para> 32 33 <screen><userinput>make tests</userinput></screen> 29 <para>(If you insist on testing the results, then issue: 30 <userinput>make tests</userinput>.)</para> 34 31 35 32 <para>Then install it and its documentation:</para> -
chapter05/coreutils.xml
r5cd6caa rc91dd5b 19 19 20 20 <para>Coreutils has an issue when compiled against Glibc-&glibc-version;. 21 Without the patch below, some of the Coreutils utilities (head, tail, sort etc) 22 will reject their traditional syntax which has been in use for approximately 30 23 years. The old syntax is so pervasive that compatibility must be preserved until 24 the many places where it is used can be updated. More details are provided in 25 the comments inside the patch itself. Use of this patch is by no means 26 compulsory but opting not to use it means you'll have deal with the consequences 27 yourself, i.e. patch the many software packages that use the old syntax. Apply 28 the patch:</para> 21 Without the patch below, some of the Coreutils utilities 22 (<command>head</command>, <command>tail</command>, <command>sort</command>, 23 and others) will reject their traditional syntax which has been in use for 24 approximately 30 years. This old syntax is so pervasive that compatibility 25 should be preserved until the many places where it is used can be updated. 26 More details on this are provided in the comments inside the patch itself. Use 27 of this patch is by no means compulsory, but not using it means you'll have to 28 deal with the consequences yourself: patch the many packages that use the old 29 syntax. Therefore, better apply the patch:</para> 29 30 30 31 <screen><userinput>patch -Np1 -i ../&coreutils-posixver-patch;</userinput></screen> … … 38 39 <screen><userinput>make</userinput></screen> 39 40 40 <para>As discussed earlier, we don't recommend running the test suites for the 41 temporary tools here in this chapter. If you still want to run the Coreutils 42 test suite anyway, the following command will do so:</para> 43 44 <screen><userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput></screen> 45 46 <para>The meaning of the make parameter:</para> 47 48 <itemizedlist> 49 <listitem><para><userinput>RUN_EXPENSIVE_TESTS=yes</userinput>: This tells the 50 test suite to run several additional tests that are considered relatively 51 expensive on some platforms. However, they are generally not a problem on 52 Linux.</para></listitem> 53 </itemizedlist> 41 <para>(If you insist on testing the results, then issue: 42 <userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The 43 <emphasis>RUN_EXPENSIVE_TESTS=yes</emphasis> parameter tells the test suite to 44 run several additional tests that are considered relatively expensive on some 45 platforms but generally are not a problem on Linux.)</para> 54 46 55 47 <para>And install the package:</para> -
chapter05/expect.xml
r5cd6caa rc91dd5b 45 45 <screen><userinput>make</userinput></screen> 46 46 47 <para>As discussed earlier, we don't recommend running the test suites for the 48 temporary tools here in this chapter. If you still want to run the Expect test 49 suite anyway, the following command will do so. However, you should be aware 50 that the Expect test suite is sometimes known to experience failures under 51 certain host conditions that are not fully understood. Therefore, test suite 52 failures here are not surprising, but are not considered critical:</para> 47 <para>(If you insist on testing the results, then issue: 48 <userinput>make test</userinput>. However, the Expect test suite is known to 49 experience failures under certain host conditions that are not fully 50 understood. Therefore, test suite failures here are not surprising, and are not 51 considered critical.)</para> 53 52 54 <screen><userinput>make test</userinput></screen> 55 56 <para>And install:</para> 53 <para>And install it:</para> 57 54 58 55 <screen><userinput>make SCRIPTS="" install</userinput></screen> -
chapter05/findutils.xml
r5cd6caa rc91dd5b 22 22 <screen><userinput>make</userinput></screen> 23 23 24 <para>As discussed earlier, we don't recommend running the test suites for the 25 temporary tools here in this chapter. If you still want to run the Findutils 26 test suite anyway, the following command will do so:</para> 27 28 <screen><userinput>make check</userinput></screen> 24 <para>(If you insist on testing the results, then issue: 25 <userinput>make check</userinput>.)</para> 29 26 30 27 <para>And install the package:</para> -
chapter05/gawk.xml
r5cd6caa rc91dd5b 24 24 <screen><userinput>make</userinput></screen> 25 25 26 <para>As discussed earlier, we don't recommend running the test suites for the 27 temporary tools here in this chapter. If you still want to run the Gawk test 28 suite anyway, the following command will do so:</para> 29 30 <screen><userinput>make check</userinput></screen> 26 <para>(If you insist on testing the results, then issue: 27 <userinput>make check</userinput>.)</para> 31 28 32 29 <para>And install it:</para> -
chapter05/gettext.xml
r5cd6caa rc91dd5b 22 22 <screen><userinput>make</userinput></screen> 23 23 24 <para>As discussed earlier, we don't recommend running the test suites for the 25 temporary tools here in this chapter. If you still want to run the Gettext test 26 suite anyway, the following command will do so. However, you should be aware 27 that the Gettext test suite is known to experience failures under certain host 28 conditions -- for example, when it finds a Java compiler on the host (Note: an 29 experimental patch to disable Java is available from the patches project). Not 30 only that, the Gettext test suite takes an excessive amount of time to run and 31 is not considered critical:</para> 32 33 <screen><userinput>make check</userinput></screen> 24 <para>(If you insist on testing the results, then issue: <userinput>make 25 check</userinput>. This takes a very long time, around 6 SBUs. Moreover, the 26 Gettext test suite is known to experience failures under certain host 27 conditions -- for example when it finds a Java compiler on the host (but an 28 experimental patch to disable Java is available from the LFS Patches 29 project).)</para> 34 30 35 31 <para>And install the package:</para> -
chapter05/grep.xml
r5cd6caa rc91dd5b 35 35 <screen><userinput>make</userinput></screen> 36 36 37 <para>As discussed earlier, we don't recommend running the test suites for the 38 temporary tools here in this chapter. If you still want to run the Grep test 39 suite anyway, the following command will do so:</para> 40 41 <screen><userinput>make check</userinput></screen> 37 <para>(If you insist on testing the results, then issue: 38 <userinput>make check</userinput>.)</para> 42 39 43 40 <para>Then install them and their documentation:</para> -
chapter05/kernelheaders.xml
r5cd6caa rc91dd5b 39 39 cp -R include/asm-generic /tools/include</userinput></screen> 40 40 41 <para> Install the cross-platform kernel header files:</para>41 <para>And finally install the cross-platform kernel header files:</para> 42 42 43 43 <screen><userinput>cp -R include/linux /tools/include</userinput></screen> -
chapter05/make.xml
r5cd6caa rc91dd5b 22 22 <screen><userinput>make</userinput></screen> 23 23 24 <para>As discussed earlier, we don't recommend running the test suites for the 25 temporary tools here in this chapter. If you still want to run the Make test 26 suite anyway, the following command will do so:</para> 27 28 <screen><userinput>make check</userinput></screen> 24 <para>(If you insist on testing the results, then issue: 25 <userinput>make check</userinput>.)</para> 29 26 30 27 <para>Then install it and its documentation:</para> -
chapter05/patch.xml
r5cd6caa rc91dd5b 14 14 <title>Installation of Patch</title> 15 15 16 <para>Prepare Patch for compilation:</para> 16 <para>Prepare Patch for compilation (the preprocessor flag 17 <emphasis>-D_GNU_SOURCE</emphasis> is only needed on the PowerPC platform, on 18 other architectures you can leave it out):</para> 17 19 18 20 <screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen> 19 20 <para>The preprocessor flag <emphasis>-D_GNU_SOURCE</emphasis> is only needed21 on the PowerPC platform. On other architectures you can leave it out.</para>22 21 23 22 <para>Compile the program:</para> -
chapter05/sed.xml
r5cd6caa rc91dd5b 22 22 <screen><userinput>make</userinput></screen> 23 23 24 <para>As discussed earlier, we don't recommend running the test suites for the 25 temporary tools here in this chapter. If you still want to run the Sed test 26 suite anyway, the following command will do so:</para> 27 28 <screen><userinput>make check</userinput></screen> 24 <para>(If you insist on testing the results, then issue: 25 <userinput>make check</userinput>.)</para> 29 26 30 27 <para>Then install it and its documentation:</para> -
chapter05/tar.xml
r5cd6caa rc91dd5b 22 22 <screen><userinput>make</userinput></screen> 23 23 24 <para>As discussed earlier, we don't recommend running the test suites for the 25 temporary tools here in this chapter. If you still want to run the Tar test 26 suite anyway, the following command will do so:</para> 27 28 <screen><userinput>make check</userinput></screen> 24 <para>(If you insist on testing the results, then issue: 25 <userinput>make check</userinput>.)</para> 29 26 30 27 <para>Then install them and their documentation:</para> -
chapter05/tcl.xml
r5cd6caa rc91dd5b 33 33 <screen><userinput>make</userinput></screen> 34 34 35 <para>As discussed earlier, we don't recommend running the test suites for the 36 temporary tools here in this chapter. If you still want to run the Tcl test 37 suite anyway, the following command will do so. However, you should be aware 38 that the Tcl test suite is sometimes known to experience failures under certain 39 host conditions that are not fully understood. Therefore, test suite failures 40 here are not surprising, but are not considered critical:</para> 41 42 <screen><userinput>TZ=UTC make test</userinput></screen> 43 44 <para>The meaning of the make parameter:</para> 45 46 <itemizedlist> 47 <listitem><para><userinput>TZ=UTC</userinput>: This sets the time zone to 48 Coordinated Universal Time (UTC) also known as Greenwich Mean Time (GMT), but 49 only for the duration of the test suite run. This ensures the clock tests are 50 exercised correctly. More information on the TZ environment variable will be 51 given later on in <xref linkend="chapter-bootscripts"/>.</para></listitem> 52 </itemizedlist> 53 54 <para>Sometimes package test suites will give false failures. You can 55 consult the LFS Wiki at <ulink url="&wiki-root;"/> to verify that these 56 failures are normal. This applies to all tests throughout the book.</para> 35 <para>(If you insist on testing the results, then issue: 36 <userinput>TZ=UTC make test</userinput>. However, the Tcl test suite is known 37 to experience failures under certain host conditions that are not fully 38 understood. Therefore, test suite failures here are not surprising, and are not 39 considered critical. The <emphasis>TZ=UTC</emphasis> parameter sets the time 40 zone to Coordinated Universal Time (UTC) also known as Greenwich Mean Time 41 (GMT), but only for the duration of the test suite run. This ensures the clock 42 tests are exercised correctly. More information on the TZ environment variable 43 will be given later on in <xref linkend="chapter-bootscripts"/>.)</para> 57 44 58 45 <para>Install the package:</para> … … 70 57 <literallayout></literallayout> 71 58 72 <para> Make a necessary symbolic link:</para>59 <para>And make a necessary symbolic link:</para> 73 60 74 61 <screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen> -
chapter05/texinfo.xml
r5cd6caa rc91dd5b 22 22 <screen><userinput>make</userinput></screen> 23 23 24 <para>As discussed earlier, we don't recommend running the test suites for the 25 temporary tools here in this chapter. If you still want to run the Texinfo test 26 suite anyway, the following command will do so:</para> 27 28 <screen><userinput>make check</userinput></screen> 24 <para>(If you insist on testing the results, then issue: 25 <userinput>make check</userinput>.)</para> 29 26 30 27 <para>Then install them and their documentation:</para>
Note:
See TracChangeset
for help on using the changeset viewer.