Changeset ec36fac for chapter08


Ignore:
Timestamp:
02/27/2024 03:39:33 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2
Children:
09f2a24
Parents:
4ac095c7 (diff), 23f4367 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/loongarch

Location:
chapter08
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • chapter08/coreutils.xml

    r4ac095c7 rec36fac  
    130130<!-- Sometimes skipped, but if not it may fail.
    131131     Please DO NOT remove or comment out this unless we can fully
    132      understand it!  -->
     132     understand it!
    133133    <para>The test-getlogin test may fail in the LFS chroot environment.</para>
     134    20240226: Commented out as it seems the upstream has root-caused and
     135    fixed the issue.  I've checked the fix is in Coreutils 9.4 release
     136    tarball:
     137
     138    https://lists.gnu.org/archive/html/bug-gnulib/2022-06/msg00079.html
     139-->
    134140
    135141    <para>Remove the temporary group:</para>
  • chapter08/expect.xml

    r4ac095c7 rec36fac  
    6464    the chroot environment following <xref linkend='ch-tools-chroot'/>.
    6565    This issue needs to be resolved before continuing, or the test suites
    66     requring Expect (for example the test suites of Bash, Binutils, GCC,
     66    requiring Expect (for example the test suites of Bash, Binutils, GCC,
    6767    GDBM, and of course Expect itself) will fail catastrophically, and other
    6868    subtle breakages may also happen.</para>
  • chapter08/gcc.xml

    r4ac095c7 rec36fac  
    189189
    190190    <para>
    191       With Glibc-2.38, the analyzer tests named
    192       <filename>data-model-4.c</filename> and
    193       <filename>conftest-1.c</filename>
    194         are known to fail.
    195       In the asan tests, several tests in <filename>asan_test.C</filename>
    196         are known to fail.
    197       The test named <filename>interception-malloc-test-1.C</filename>
    198         is known to fail.
     191    Seven tests in the <filename class='directory'>analyzer</filename>
     192    directory are known to fail.
     193
     194    For g++, 21 tests (out of approximately 250,000): 14
     195    <quote>AddressSanitizer*</quote>
     196    tests and 7 <filename>interception-malloc-test-1.C</filename> tests, are
     197    known to fail.
    199198    </para>
    200199
     
    203202    Unless the test results are vastly different from those at the above URL,
    204203    it is safe to continue.</para>
    205 
    206     <!--note><para>
    207       On some combinations of kernel configuration and AMD processors
    208       there may be more than 1100 failures in the gcc.target/i386/mpx
    209       tests (which are designed to test the MPX option on recent
    210       Intel processors). These can safely be ignored on AMD
    211       processors. These tests will also fail on Intel processors if MPX support
    212       is not enabled in the kernel even though it is present on the CPU.
    213     </para></note-->
    214204
    215205    <para>Install the package:</para>
  • chapter08/glibc.xml

    r4ac095c7 rec36fac  
    164164      </listitem>
    165165
    166 <!-- Did not fail with glibc-2.38
    167       <listitem>
    168         <para><emphasis>misc/tst-ttyname</emphasis>
    169         is known to fail in the LFS chroot environment.</para>
    170       </listitem>
    171 -->
    172 
    173       <!-- https://sourceware.org/pipermail/libc-alpha/2022-August/141567.html -->
    174       <listitem>
    175         <para>The <emphasis>stdlib/tst-arc4random-thread</emphasis>
    176         test is known to fail if the host kernel is relatively old.</para>
    177       </listitem>
    178 
    179166      <listitem>
    180167        <para>Some tests, for example
    181         <emphasis>nss/tst-nss-files-hosts-multi</emphasis>,
    182         are known to fail on relatively slow systems due to an internal
    183         timeout.</para>
     168        <emphasis>nss/tst-nss-files-hosts-multi</emphasis> and
     169        <emphasis>nptl/tst-thread-affinity*</emphasis>
     170        are known to fail due to a timeout (especially when the system is
     171        relatively slow and/or running the test suite with multiple
     172        parallel make jobs).  These tests can be identified with:</para>
     173
     174        <!-- TODO: Using nodump for freeze.  Change it to role="test" after
     175             12.1 release so jhalfs can list these in the log.  -->
     176        <screen role="nodump"><userinput>grep "Timed out" -l $(find -name \*.out)</userinput></screen>
     177
     178        <para>It's possible to re-run a single test with enlarged timeout
     179        with
     180        <command>TIMEOUTFACTOR=<replaceable>&lt;factor&gt;</replaceable>
     181        make test t=<replaceable>&lt;test name&gt;</replaceable></command>.
     182        For example, <command>TIMEOUTFACTOR=10 make test
     183        t=nss/tst-nss-files-hosts-multi</command> will re-run
     184        <emphasis>nss/tst-nss-files-hosts-multi</emphasis> with ten times
     185        the original timeout.</para>
    184186      </listitem>
    185187
    186188      <listitem>
    187189        <para>Additionally, some tests may fail with a relatively old CPU
    188         model or host kernel version.</para>
     190        model (for example
     191        <emphasis>elf/tst-cpu-features-cpuinfo</emphasis>) or host kernel
     192        version (for example
     193        <emphasis>stdlib/tst-arc4random-thread</emphasis>).</para>
    189194      </listitem>
    190195    </itemizedlist>
     
    236241            section to install
    237242            <filename class='libraryfile'>libcrypt.so.1*</filename>
    238             (overwritting
     243            (replacing
    239244            <filename class='libraryfile'>libcrypt.so.1</filename> from the
    240245            prior Glibc installation)</emphasis>.
     
    254259          <screen role='nodump'><userinput>rm -f /usr/sbin/nscd</userinput></screen>
    255260
    256           <para>
     261          <para revision='systemd'>
    257262            If this system (prior to LFS 12.1, exclusive) is based on
    258263            Systemd, it's also needed to disable and stop the
     
    531536        <listitem>
    532537          <para>This creates the <filename>posixrules</filename> file. We use
    533           New York because POSIX requires the daylight savings time rules
     538          New York because POSIX requires the daylight saving time rules
    534539          to be in accordance with US rules.</para>
    535540        </listitem>
  • chapter08/libxcrypt.xml

    r4ac095c7 rec36fac  
    111111            --disable-failure-tokens
    112112make
    113 cp -av .libs/libcrypt.so.1* /usr/lib</userinput></screen>
     113cp -av --remove-destination .libs/libcrypt.so.1* /usr/lib</userinput></screen>
    114114    </note>
    115115
  • chapter08/pkgconf.xml

    r4ac095c7 rec36fac  
    4444
    4545    <title>Installation of Pkgconf</title>
    46 
    47     <!-- https://github.com/pkgconf/pkgconf/issues/317 -->
    48     <para>Fix a regression in pkgconf-2.1.0 breaking BLFS packages:</para>
    49 
    50     <screen><userinput remap="pre">patch -Np1 -i ../&pkgconf-upstream-fix-patch;</userinput></screen>
    5146
    5247    <para>Prepare Pkgconf for compilation:</para>
  • chapter08/procps.xml

    r4ac095c7 rec36fac  
    7373    <para> To run the test suite, run:</para>
    7474
    75 <screen><userinput remap="test">make check</userinput></screen>
     75<screen><userinput remap="test">make -k check</userinput></screen>
     76
     77    <para>One test named
     78    <literal>ps with output flag bsdtime,cputime,etime,etimes</literal>
     79    is known to fail if the host kernel is not built with
     80    <literal>CONFIG_BSD_PROCESS_ACCT</literal> enabled.
     81    <!-- These two tests just do not work as root but they seem to pass
     82         in most time due to some internal hazards of Tcl/Expect/DejaGNU
     83         framework.  However the failures have been really observed.
     84         TODO: run the test suite as tester after the freeze ends.  -->
     85    Two tests named
     86    <literal>pmap X with unreachable process</literal> and
     87    <literal>pmap XX with unreachable process</literal> are known to
     88    fail occasionally.</para>
    7689
    7790    <para>Install the package:</para>
  • chapter08/systemd.xml

    r4ac095c7 rec36fac  
    5151    <!-- https://github.com/systemd/systemd/pull/30549 -->
    5252    <para>Now fix a security vulnerability in the DNSSEC verification of
    53     <command>systemd-resolved</command>:</para>
    54 
    55 <screen><userinput remap='pre'>sed -e '/return FLAGS_SET.*AUTHENTICATED/s/(t/(dt/' \
    56     -i src/resolve/resolved-dns-transaction.c</userinput></screen>
     53    <command>systemd-resolved</command> and a bug breaking running
     54    <command>systemd-analyze verify</command> on an instantiated systemd
     55    unit:</para>
     56
     57<screen><userinput remap='pre'>patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen>
    5758
    5859    <para>Prepare systemd for compilation:</para>
  • chapter08/vim.xml

    r4ac095c7 rec36fac  
    7272    class="username">tester</systemitem>:</para>
    7373
    74 <screen><userinput remap="test">su tester -c "LANG=en_US.UTF-8 make -j1 test" &amp;> vim-test.log</userinput></screen>
     74<screen><userinput remap="test">su tester -c "TERM=xterm-256color LANG=en_US.UTF-8 make -j1 test" \
     75   &amp;> vim-test.log</userinput></screen>
    7576
    7677    <para>The test suite outputs a lot of binary data to the screen.  This can
    77     cause issues with the settings of the current terminal.  The problem can be
     78    cause issues with the settings of the current terminal (especially while
     79    we are overriding the <envar>TERM</envar> variable to satisify some
     80    assumptions of the test suite).  The problem can be
    7881    avoided by redirecting the output to a log file as shown above.  A
    79     successful test will result in the words "ALL DONE" in the log file
    80     at completion.</para>
     82    successful test will result in the words <computeroutput>ALL
     83    DONE</computeroutput> in the log file at completion.</para>
    8184
    8285    <para>Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.