Changeset 6b6a1b9 for chapter08


Ignore:
Timestamp:
09/05/2023 02:34:34 PM (10 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
73d91ac
Parents:
6786b0c (diff), e8f0a1b (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

Location:
chapter08
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • chapter08/autoconf.xml

    r6786b0c r6b6a1b9  
    154154          software package; it examines the source files in a directory tree,
    155155          searching them for common portability issues, and creates a
    156           <filename>configure.scan</filename> file that serves as as a
     156          <filename>configure.scan</filename> file that serves as a
    157157          preliminary <filename>configure.in</filename> file for the
    158158          package</para>
  • chapter08/chapter08.xml

    r6786b0c r6b6a1b9  
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expect.xml"/>
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/>
     32  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconf.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils.xml"/>
    3334  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmp.xml"/>
     
    4041  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
    4142  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/>
    42   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconf.xml"/>
    4343  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
    4444  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/>
  • chapter08/flit-core.xml

    r6786b0c r6b6a1b9  
    4343    <para>Build the package:</para>
    4444
    45 <screen><userinput remap="install">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     45<screen><userinput remap="install">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
    4646
    4747    <para>Install the package:</para>
     
    6464           <para>Instructs pip to put the created wheel into the
    6565           <filename class='directory'>dist</filename> directory.</para>
     66        </listitem>
     67      </varlistentry>
     68
     69      <varlistentry>
     70        <term><parameter>--no-cache-dir</parameter></term>
     71        <listitem>
     72          <para>Prevents pip from copying the created wheel into the
     73          <filename class='directory'>/root/.cache/pip</filename>
     74          directory.</para>
    6675        </listitem>
    6776      </varlistentry>
  • chapter08/jinja2.xml

    r6786b0c r6b6a1b9  
    4343    <para>Build the package:</para>
    4444
    45 <screen><userinput remap="install">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     45<screen><userinput remap="install">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
    4646
    4747    <para>Install the package:</para>
  • chapter08/markupsafe.xml

    r6786b0c r6b6a1b9  
    4343    <para>Compile MarkupSafe with the following command:</para>
    4444
    45 <screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     45<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
    4646
    4747    <para>This package does not come with a test suite.</para>
  • chapter08/meson.xml

    r6786b0c r6b6a1b9  
    4747    <para>Compile Meson with the following command:</para>
    4848
    49 <screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     49<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
    5050
    5151    <para>The test suite requires some packages outside the scope of LFS.</para>
  • chapter08/mpfr.xml

    r6786b0c r6b6a1b9  
    4141  <sect2 role="installation">
    4242    <title>Installation of MPFR</title>
    43 
    44     <!-- https://sympa.inria.fr/sympa/arc/mpfr/2023-01/msg00002.html
    45          https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c
    46 
    47          Note that it's a different issue from Glibc #30068 we've fixed in
    48          chapter08/glibc.xml with a sed.  Normally we just document the
    49          test failure, but in this case the particular subtest also serves
    50          as an additional guard against Glibc #30068.  So we apply the
    51          upstream fix here.   -->
    52     <para>Fix a test case based on a bug of old Glibc releases:</para>
    53 
    54 <screen><userinput remap="pre">sed -e 's/+01,234,567/+1,234,567 /' \
    55     -e 's/13.10Pd/13Pd/'            \
    56     -i tests/tsprintf.c</userinput></screen>
    5743
    5844    <para>Prepare MPFR for compilation:</para>
  • chapter08/openssl.xml

    r6786b0c r6b6a1b9  
    100100        <emphasis>when upgrading to a version with the same MAJOR version
    101101        number</emphasis>.
    102       </para>
    103 
    104       <!-- https://bugzilla.mindrot.org/show_bug.cgi?id=3548 -->
    105       <para>
    106         If <application>OpenSSH</application> is installed, it will be an
    107         exception of the general rule above.  It contains an
    108         over-restrictive OpenSSL version check, so both SSH client and SSH
    109         server will refuse to start if OpenSSL
    110         is updated with MAJOR version number unchanged but MINOR version
    111         number changed.  You need to rebuild
    112         <application>OpenSSH</application> after such an upgrade.
    113         <emphasis role='bold'>If <application>OpenSSH</application> is being
    114         used to access the system, you must rebuild and reinstall it
    115         after upgrading OpenSSL to a new MINOR version number before logout
    116         or you won't be able to login via SSH anymore.</emphasis>
    117102      </para>
    118103
  • chapter08/procps.xml

    r6786b0c r6b6a1b9  
    6868    <para>Compile the package:</para>
    6969
    70 <screen><userinput remap="make">make</userinput></screen>
    71 <!--
    72     <para>The test suite needs some custom modifications for LFS.
    73     Remove a test that fails when scripting does not use a tty device and
    74     fix two others.
    75     To run the test suite, run the following commands:</para>
    76 
    77 <screen><userinput remap="test">sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp
    78 sed -i '/set tty/d' testsuite/pkill.test/pkill.exp
    79 rm testsuite/pgrep.test/pgrep.exp
    80 make check</userinput></screen>
    81 -->
     70<screen revision='sysv'><userinput remap="make">make</userinput></screen>
     71<screen revision='systemd'><userinput remap="make">make src_w_LDADD='$(LDADD) -lsystemd'</userinput></screen>
     72
    8273    <para> To run the test suite, run:</para>
    8374
  • chapter08/shadow.xml

    r6786b0c r6b6a1b9  
    108108            --disable-static    \
    109109            --with-{b,yes}crypt \
     110            --without-libbsd    \
    110111            --with-group-name-max-length=32</userinput></screen>
    111112
     
    142143          <para>The longest permissible user name is 32 characters.  Make the maximum
    143144          length of a group name the same.</para>
     145        </listitem>
     146      </varlistentry>
     147
     148      <varlistentry>
     149        <term><parameter>--without-libbsd</parameter></term>
     150        <listitem>
     151           <para>Do not use the readpassphrase function from libbsd which
     152           is not in LFS.  Use the internal copy instead.</para>
    144153        </listitem>
    145154      </varlistentry>
  • chapter08/stripping.xml

    r6786b0c r6b6a1b9  
    9696               libreadline.so.&readline-soversion;
    9797               libz.so.&zlib-version;
     98               libzstd.so.&zstd-version;
    9899               $(cd /usr/lib; find libnss*.so* -type f)"
    99100
  • chapter08/systemd.xml

    r6786b0c r6b6a1b9  
    6969      -Dpamconfdir=no               \
    7070      -Ddev-kvm-mode=0660           \
     71      -Dnobody-group=nogroup        \
    7172      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    7273      ..</userinput></screen>
     
    177178          <filename class='devicefile'>/dev/kvm</filename>.  The editors
    178179          consider it dangerous.  This option overrides it.</para>
     180        </listitem>
     181      </varlistentry>
     182
     183      <varlistentry>
     184        <term><parameter>-Dnobody-group=nogroup</parameter></term>
     185        <listitem>
     186          <para>Tell the package the group name with GID 65534 is
     187          <systemitem class='groupname'>nogroup</systemitem>.</para>
    179188        </listitem>
    180189      </varlistentry>
  • chapter08/util-linux.xml

    r6786b0c r6b6a1b9  
    12211221          unique among all UUIDs created, on the local system and on other
    12221222          systems, in the past and in the future, with extremely high
    1223           probability (~340 trillion trillion trillion unique UUIDs are possible)</para>
     1223          probability (2<superscript>128</superscript> UUIDs are
     1224          possible)</para>
    12241225          <indexterm zone="ch-system-util-linux uuidgen">
    12251226            <primary sortas="b-uuidgen">uuidgen</primary>
  • chapter08/wheel.xml

    r6786b0c r6b6a1b9  
    4343    <para>Compile Wheel with the following command:</para>
    4444
    45 <screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     45<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
    4646
    4747    <para>Install Wheel with the following command:</para>
Note: See TracChangeset for help on using the changeset viewer.