Ignore:
Timestamp:
05/08/2024 05:36:31 PM (4 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
161a267
Parents:
e4e7ffb (diff), c5a1240 (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/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/coreutils.xml

    re4e7ffb rf6548ac  
    5454    </note>
    5555
    56     <!-- https://seclists.org/oss-sec/2024/q1/30 -->
    57     <para>Fix a security vulnerability in the <command>split</command>
    58     utility:</para>
    59 
    60 <screen><userinput remap="pre">sed -e '/n_out += n_hold/,+4 s|.*bufsize.*|//&amp;|' \
    61     -i src/split.c</userinput></screen>
    62 
    6356    <para>Now prepare Coreutils for compilation:</para>
    6457
     
    124117<screen><userinput remap="test">chown -R tester . </userinput></screen>
    125118
    126     <para>Now run the tests:</para>
    127 
    128 <screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
    129 
    130 <!-- Sometimes skipped, but if not it may fail.
    131      Please DO NOT remove or comment out this unless we can fully
    132      understand it!
    133     <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 -->
     119    <!-- To editors: in jhalfs the standard input is always piped to "make"
     120         so the test failures are not reproducible in jhalfs even if
     121         running the build in a PTY.  Don't use jhalfs to test if we can
     122         remove < /dev/null.  -->
     123    <para>Now run the tests (using <filename>/dev/null</filename> for the
     124    standard input, or two tests may be broken if building LFS in a
     125    graphical terminal or a session in SSH or GNU Screen etc. because the
     126    standard input is connected to a PTY from host distro, and the device
     127    node for such a PTY cannot be accessed from the LFS chroot
     128    environment):</para>
     129
     130<screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" &lt; /dev/null</userinput></screen>
    140131
    141132    <para>Remove the temporary group:</para>
    142133
    143134<screen><userinput remap="test">groupdel dummy</userinput></screen>
     135
     136    <para>
     137       Two tests, <filename>tests/cp/preserve-mode.sh</filename> and
     138       <filename>tests/mv/acl.sh</filename>, are known to
     139       fail in the chroot environment, but pass in a complete system.
     140    </para>
    144141
    145142    <para>Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.