- Timestamp:
- 03/31/2023 10:30:12 PM (13 months ago)
- 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. - Location:
- chapter08
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/chapter08.xml
r1c0bd90 rc33354c 65 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/> 66 66 <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"/> 67 68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/> 68 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/> -
chapter08/coreutils.xml
r1c0bd90 rc33354c 54 54 </note> 55 55 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 64 62 <para>Now prepare Coreutils for compilation:</para> 65 63 -
chapter08/stripping.xml
r1c0bd90 rc33354c 55 55 <important> 56 56 <para> 57 If any package of which the version is different from the version57 If there is any package whose version is different from the version 58 58 specified by the book (either following a security advisory or 59 59 satisfying personal preference), it may be necessary to update the 60 thelibrary file name in <envar>save_usrlib</envar> or60 library file name in <envar>save_usrlib</envar> or 61 61 <envar>online_usrlib</envar>. 62 62 <emphasis role='bold'>Failing to do so may render the system -
chapter08/wheel.xml
r1c0bd90 rc33354c 43 43 <para>Compile Wheel with the following command:</para> 44 44 45 <screen><userinput remap="make"> PYTHONPATH=srcpip3 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> 46 46 47 47 <para>Install Wheel with the following command:</para> … … 49 49 <screen><userinput remap="install">pip3 install --no-index --find-links=dist wheel</userinput></screen> 50 50 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 a58 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 the73 <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>, and87 <parameter>--no-index</parameter></term>88 <listitem>89 <para>These options prevent fetching files from the online package90 repository (PyPI). If packages are installed in the correct order,91 pip won't need to fetch any files in the first place; these92 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 the100 <filename class='directory'>dist</filename> directory.</para>101 </listitem>102 </varlistentry>103 </variablelist>104 51 </sect2> 105 52
Note:
See TracChangeset
for help on using the changeset viewer.