Changeset c33354c for chapter08


Ignore:
Timestamp:
03/31/2023 10:30:12 PM (13 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Children:
864c66d
Parents:
1c0bd90 (diff), fd531b84 (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:

Automatic merge of trunk into multilib

Location:
chapter08
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • chapter08/chapter08.xml

    r1c0bd90 rc33354c  
    6565  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/>
    6666  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python.xml"/>
     67  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flit-core.xml"/>
    6768  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/>
    6869  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/>
  • chapter08/coreutils.xml

    r1c0bd90 rc33354c  
    5454    </note>
    5555
    56    <!-- this has been fixed in upstream gnulib, when a new version of
    57    coreutils is released, please check #4055 to see if the change has been
    58    picked up in this package -->
    59 <!--
    60    <para>Now, fix a problem with chmod return values:</para>
    61 
    62 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-chmod-patch;</userinput></screen>
    63 -->
     56    <!-- https://bugs.gnu.org/62403 -->
     57    <para>Fix a bug in checksum utilities causing failed checks not
     58    reported correctly:</para>
     59
     60<screen><userinput remap="pre">sed '/if ( ! match/s/ed_checksums//' -i src/digest.c</userinput></screen>
     61
    6462    <para>Now prepare Coreutils for compilation:</para>
    6563
  • chapter08/stripping.xml

    r1c0bd90 rc33354c  
    5555  <important>
    5656    <para>
    57       If any package of which the version is different from the version
     57      If there is any package whose version is different from the version
    5858      specified by the book (either following a security advisory or
    5959      satisfying personal preference), it may be necessary to update the
    60       the library file name in <envar>save_usrlib</envar> or
     60      library file name in <envar>save_usrlib</envar> or
    6161      <envar>online_usrlib</envar>.
    6262      <emphasis role='bold'>Failing to do so may render the system
  • chapter08/wheel.xml

    r1c0bd90 rc33354c  
    4343    <para>Compile Wheel with the following command:</para>
    4444
    45 <screen><userinput remap="make">PYTHONPATH=src pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     45<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    4646
    4747    <para>Install Wheel with the following command:</para>
     
    4949<screen><userinput remap="install">pip3 install --no-index --find-links=dist wheel</userinput></screen>
    5050
    51     <variablelist>
    52       <title>The meaning of the pip3 configuration options and commands:</title>
    53 
    54       <varlistentry>
    55         <term><envar>PYTHONPATH=src</envar></term>
    56         <listitem>
    57            <para>Allows this package (not installed yet) to build a
    58            wheel archive for itself, to avoid a chicken-or-egg problem.</para>
    59         </listitem>
    60       </varlistentry>
    61 
    62       <varlistentry>
    63         <term><command>wheel</command></term>
    64         <listitem>
    65            <para>This command builds the wheel archive for this package.</para>
    66         </listitem>
    67       </varlistentry>
    68 
    69       <varlistentry>
    70         <term><parameter>-w dist</parameter></term>
    71         <listitem>
    72            <para>Instructs pip to put the created wheel into the
    73            <filename class='directory'>dist</filename> directory.</para>
    74         </listitem>
    75       </varlistentry>
    76 
    77       <varlistentry>
    78         <term><command>install</command></term>
    79         <listitem>
    80            <para>This command installs the package.</para>
    81         </listitem>
    82       </varlistentry>
    83 
    84       <varlistentry>
    85         <term><parameter>--no-build-isolation</parameter>,
    86               <parameter>--no-deps</parameter>, and
    87               <parameter>--no-index</parameter></term>
    88         <listitem>
    89           <para>These options prevent fetching files from the online package
    90           repository (PyPI). If packages are installed in the correct order,
    91           pip won't need to fetch any files in the first place; these
    92           options add some safety in case of user error.</para>
    93         </listitem>
    94       </varlistentry>
    95 
    96       <varlistentry>
    97         <term><parameter>--find-links dist</parameter></term>
    98         <listitem>
    99            <para>Instructs pip to search for wheel archives in the
    100            <filename class='directory'>dist</filename> directory.</para>
    101         </listitem>
    102       </varlistentry>
    103     </variablelist>
    10451  </sect2>
    10552
Note: See TracChangeset for help on using the changeset viewer.