Changeset a8debbb4


Ignore:
Timestamp:
05/14/2024 04:18:13 AM (4 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.2
Children:
12632200
Parents:
650a45a (diff), 923fb48 (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

Files:
27 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r650a45a ra8debbb4  
    327327        <segtitle>&dependencies;</segtitle>
    328328        <seglistitem>
    329           <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make,
    330           Perl, and Sed</seg>
     329          <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
     330          Grep, M4, Make, Perl, and Sed</seg>
    331331        </seglistitem>
    332332      </segmentedlist>
     
    23962396        <segtitle>&testsuites;</segtitle>
    23972397        <seglistitem>
    2398           <seg>None</seg>
     2398          <seg><ulink url="&blfs-book;general/cmake.html">cmake</ulink></seg>
    23992399        </seglistitem>
    24002400      </segmentedlist>
  • bootscripts/ChangeLog

    r650a45a ra8debbb4  
     12024-04-16 Bruce Dubbs <bdubbs@linuxfromscratch.org>
     2   * Remove blank output line generated in ifup script when bringing
     3          up wireless interface.
     4
    152023-10-04 Pierre Labastie <pierre.labastie@neuf.fr>
    26   * After the changes done on 2022-03-24, several "halt stop" should
  • bootscripts/lfs/sbin/ifup

    r650a45a ra8debbb4  
    111111done
    112112
    113 if [ "${SERVICE}" = "wpa" ]; then log_success_msg; fi
     113#if [ "${SERVICE}" = "wpa" ]; then log_success_msg; fi
    114114
    115115# Create/configure the interface
  • chapter01/changelog.xml

    r650a45a ra8debbb4  
    4242
    4343    <listitem>
     44      <para>2024-05-13</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[xry111] - Synchronize coreutils i18n patch from Fedora
     48          to fix a build failure on 32-bit x86 and an alarming compiler
     49          warning on both 32-bit x86 and x86_64 with GCC 14.1 or
     50          later.</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
     55    <listitem>
     56      <para>2024-05-11</para>
     57      <itemizedlist>
     58        <listitem>
     59          <para>[bdubbs] - Update to vim-9.1.0405. Addresses
     60          <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     61        </listitem>
     62        <listitem>
     63          <para>[bdubbs] - Update to util-linux-2.40.1. Fixes
     64          <ulink url='&lfs-ticket-root;5482'>#5482</ulink>.</para>
     65        </listitem>
     66        <listitem>
     67          <para>[bdubbs] - Update to linux-6.8.9. Fixes
     68          <ulink url='&lfs-ticket-root;5484'>#5484</ulink>.</para>
     69        </listitem>
     70        <listitem>
     71          <para>[bdubbs] - Update to jinja2-3.1.4 (Python module). Fixes
     72          <ulink url='&lfs-ticket-root;5485'>#5485</ulink>.</para>
     73        </listitem>
     74        <listitem>
     75          <para>[bdubbs] - Update to iana-etc-20240502. Addresses
     76          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     77        </listitem>
     78        <listitem>
     79          <para>[bdubbs] - Update to gcc-14.1.0. Fixes
     80          <ulink url='&lfs-ticket-root;5486'>#5486</ulink>.</para>
     81        </listitem>
     82      </itemizedlist>
     83    </listitem>
     84
     85    <listitem>
     86      <para>2024-05-01</para>
     87      <itemizedlist>
     88        <listitem>
     89          <para>[bdubbs] - Add security fix to glibc. Fixes
     90          <ulink url='&lfs-ticket-root;5481'>#5481</ulink>.</para>
     91        </listitem>
     92        <listitem>
     93          <para>[bdubbs] - Update to linux-6.8.8. Fixes
     94          <ulink url='&lfs-ticket-root;5480'>#5480</ulink>.</para>
     95        </listitem>
     96        <listitem>
     97          <para>[bdubbs] - Update to ncurses-6.5. Fixes
     98          <ulink url='&lfs-ticket-root;5483'>#5483</ulink>.</para>
     99        </listitem>
     100      </itemizedlist>
     101    </listitem>
     102
     103    <listitem>
     104      <para>2024-04-16</para>
     105      <itemizedlist>
     106        <listitem>
     107          <para>[bdubbs] - Make minor change to ifup script output text.</para>
     108        </listitem>
     109      </itemizedlist>
     110    </listitem>
     111
     112    <listitem>
     113      <para>2024-04-15</para>
     114      <itemizedlist>
     115        <listitem>
     116          <para>[bdubbs] - Update to setuptools-69.5.1. Fixes
     117          <ulink url='&lfs-ticket-root;5478'>#5478</ulink>.</para>
     118        </listitem>
     119        <listitem>
     120          <para>[bdubbs] - Update to python3-3.12.3. Fixes
     121          <ulink url='&lfs-ticket-root;5476'>#5476</ulink>.</para>
     122        </listitem>
     123        <listitem>
     124          <para>[bdubbs] - Update to openssl-3.3.0. Fixes
     125          <ulink url='&lfs-ticket-root;5475'>#5475</ulink>.</para>
     126        </listitem>
     127        <listitem>
     128          <para>[bdubbs] - Update to ninja-1.12.0. Fixes
     129          <ulink url='&lfs-ticket-root;5477'>#5477</ulink>.</para>
     130        </listitem>
     131        <listitem>
     132          <para>[bdubbs] - Update to man-db-2.12.1. Fixes
     133          <ulink url='&lfs-ticket-root;5474'>#5474</ulink>.</para>
     134        </listitem>
     135        <listitem>
     136          <para>[bdubbs] - Update to linux-6.8.6. Fixes
     137          <ulink url='&lfs-ticket-root;5472'>#5472</ulink>.</para>
     138        </listitem>
     139        <listitem>
     140          <para>[bdubbs] - Update to iana-etc-20240412. Addresses
     141          <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para>
     142        </listitem>
     143        <listitem>
     144          <para>[bdubbs] - Update to vim-9.1.0330. Addresses
     145          <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para>
     146        </listitem>
     147      </itemizedlist>
     148    </listitem>
     149
     150    <listitem>
    44151      <para>2024-03-31</para>
    45152      <itemizedlist>
  • chapter01/whatsnew.xml

    r650a45a ra8debbb4  
    9393      <para>Gawk-&gawk-version;</para>
    9494    </listitem>-->
    95     <!--<listitem>
     95    <listitem>
    9696       <para>GCC-&gcc-version;</para>
    97     </listitem>-->
     97    </listitem>
    9898    <!--<listitem>
    9999       <para>GDBM-&gdbm-version;</para>
     
    135135      <para>IPRoute2-&iproute2-version;</para>
    136136    </listitem>
    137     <!--<listitem>
     137    <listitem>
    138138      <para>Jinja2-&jinja2-version;</para>
    139     </listitem>-->
     139    </listitem>
    140140    <!--<listitem>
    141141      <para>Kbd-&kbd-version;</para>
     
    177177      <para>Make-&make-version;</para>
    178178    </listitem>-->
    179     <!--<listitem>
     179    <listitem>
    180180      <para>Man-DB-&man-db-version;</para>
    181     </listitem>-->
     181    </listitem>
    182182    <listitem>
    183183      <para>Man-pages-&man-pages-version;</para>
     
    195195      <para>MPFR-&mpfr-version;</para>
    196196    </listitem>-->
    197     <!--<listitem>
     197    <listitem>
    198198      <para>Ncurses-&ncurses-version;</para>
    199     </listitem>-->
    200     <!--<listitem>
     199    </listitem>
     200    <listitem>
    201201      <para>Ninja-&ninja-version;</para>
    202     </listitem>-->
    203     <!--<listitem>
     202    </listitem>
     203    <listitem>
    204204      <para>OpenSSL-&openssl-version;</para>
    205     </listitem>-->
     205    </listitem>
    206206    <!--<listitem>
    207207      <para>Patch-&patch-version;</para>
     
    219219      <para>Psmisc-&psmisc-version;</para>
    220220    </listitem>
    221     <!--<listitem>
     221    <listitem>
    222222      <para>Python-&python-version;</para>
    223     </listitem>-->
     223    </listitem>
    224224    <!--<listitem>
    225225      <para>Readline-&readline-version;</para>
     
    294294    <listitem>
    295295      <para>Lz4-&lz4-version;</para>
     296    </listitem>
     297    <listitem>
     298      <para>glibc-2.39-upstream_fix-1.patch</para>
    296299    </listitem>
    297300  </itemizedlist>
  • chapter02/creatingfilesystem.xml

    r650a45a ra8debbb4  
    5151  </variablelist>
    5252
    53   <para>Other file systems, including FAT32, NTFS, ReiserFS, JFS, and XFS are
     53  <para>Other file systems, including FAT32, NTFS, JFS, and XFS are
    5454  useful for specialized purposes. More information about these file systems,
    5555  and many others, can be found at <ulink
  • chapter03/patches.xml

    r650a45a ra8debbb4  
    6060      </listitem>
    6161    </varlistentry>
    62 <!--
     62
    6363    <varlistentry>
    64       <term>Coreutils Chmod Fix Patch - <token>&coreutils-chmod-patch-size;</token>:</term>
     64      <term>Expect GCC14 Patch - <token>&expect-gcc14-patch-size;</token>:</term>
    6565      <listitem>
    66         <para>Download: <ulink url="&patches-root;&coreutils-chmod-patch;"/></para>
    67         <para>MD5 sum: <literal>&coreutils-chmod-patch-md5;</literal></para>
     66        <para>Download: <ulink url="&patches-root;&expect-gcc14-patch;"/></para>
     67        <para>MD5 sum: <literal>&expect-gcc14-patch-md5;</literal></para>
    6868      </listitem>
    6969   </varlistentry>
    70 -->
     70
    7171<!--
    7272    <varlistentry>
     
    7777      </listitem>
    7878    </varlistentry>
    79 
     79-->
    8080    <varlistentry>
    81       <term>Glibc Upstream Fixes Patch - <token>&glibc-upstream-fixes-patch-size;</token>:</term>
     81      <term>Glibc Upstream Fix Patch - <token>&glibc-upstream-patch-size;</token>:</term>
    8282      <listitem>
    83         <para>Download: <ulink url="&patches-root;&glibc-upstream-fixes-patch;"/></para>
    84         <para>MD5 sum: <literal>&glibc-upstream-fixes-patch-md5;</literal></para>
     83        <para>Download: <ulink url="&patches-root;&glibc-upstream-patch;"/></para>
     84        <para>MD5 sum: <literal>&glibc-upstream-patch-md5;</literal></para>
    8585      </listitem>
    8686    </varlistentry>
    87 -->
     87
    8888    <varlistentry>
    8989      <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
  • chapter06/bash.xml

    r650a45a ra8debbb4  
    4949            --build=$(sh support/config.guess) \
    5050            --host=$LFS_TGT                    \
    51             --without-bash-malloc</userinput></screen>
     51            --without-bash-malloc              \
     52            bash_cv_strtold_broken=no</userinput></screen>
    5253
    5354    <variablelist>
  • chapter06/ncurses.xml

    r650a45a ra8debbb4  
    7070            --without-debug              \
    7171            --without-ada                \
    72             --disable-stripping          \
    73             --enable-widec</userinput></screen>
     72            --disable-stripping</userinput></screen>
    7473
    7574    <variablelist>
     
    133132        </listitem>
    134133      </varlistentry>
    135 
    136       <varlistentry>
    137         <term><parameter>--enable-widec</parameter></term>
     134<!-- this is the default >= 6.5
     135      <varlistentry>
     136        <term><parameter>- -enable-widec</parameter></term>
    138137        <listitem>
    139138          <para>This switch causes wide-character libraries (e.g., <filename
     
    147146        </listitem>
    148147      </varlistentry>
    149 
     148-->
    150149    </variablelist>
    151150
  • chapter07/changingowner.xml

    r650a45a ra8debbb4  
    3434  command:</para>
    3535
    36 <screen><userinput>chown -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}</userinput></screen>
     36<screen><userinput>chown --from lfs -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}</userinput></screen>
    3737
    3838</sect1>
  • chapter08/automake.xml

    r650a45a ra8debbb4  
    6363    logical cores you want to use if you don't want to use all.</para>
    6464
    65     <para>The test t/subobj.sh is known to fail.</para>
     65    <para>Out of 2926 tests, 52 are known to fail due to incompatibilities in the
     66    test scripts with gcc-14.1 or later.</para>
    6667
    6768    <para>Install the package:</para>
  • chapter08/bash.xml

    r650a45a ra8debbb4  
    5050            --without-bash-malloc     \
    5151            --with-installed-readline \
     52            bash_cv_strtold_broken=no \
    5253            --docdir=/usr/share/doc/bash-&bash-version;</userinput></screen>
    5354
  • chapter08/coreutils.xml

    r650a45a ra8debbb4  
    128128    environment):</para>
    129129
    130 <screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" &lt; /dev/null</userinput></screen>
     130<screen><userinput remap="test">su tester -c "PATH=$PATH make -k RUN_EXPENSIVE_TESTS=yes check" \
     131   &lt; /dev/null</userinput></screen>
    131132
    132133    <para>Remove the temporary group:</para>
  • chapter08/expect.xml

    r650a45a ra8debbb4  
    7171
    7272<screen><userinput remap="pre">tar -C tclconfig &update-config-arg;</userinput></screen>
     73
     74    <para>Now, make some changes to allow the package with gcc-14.1 or later:</para>
     75
     76<screen><userinput remap="pre">patch -Np1 -i ../expect-&expect-version;-gcc14-1.patch</userinput></screen>
    7377
    7478    <para>Prepare Expect for compilation:</para>
  • chapter08/gcc.xml

    r650a45a ra8debbb4  
    4141  <sect2 role="installation">
    4242    <title>Installation of GCC</title>
    43 <!--
    44     <para>At first, fix an issue breaking
    45     <filename class="libraryfile">libasan.a</filename> building this package
    46     with Glibc-2.34 or later:</para>
    47 
    48 <screen><userinput remap="pre">sed -e '/static.*SIGSTKSZ/d' \
    49     -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \
    50     -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp</userinput></screen>
    51 -->
    52 <!--
    53     <para>First fix a problem with the latest version of glibc:</para>
    54 
    55     <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
    56 -->
    5743
    5844    <!-- https://gcc.gnu.org/r14-4674 -->
     
    8268             --enable-default-pie     \
    8369             --enable-default-ssp     \
     70             --enable-host-pie        \
    8471             --disable-multilib       \
    8572             --disable-bootstrap      \
     
    153140      important, but it takes a long time. First-time builders are
    154141      encouraged to run the test suite.  The time to run the tests can be
    155       reduced significantly by adding -jx to the <command>make -k check</command> command below,
    156       where x is the number of CPU cores on your system.</para>
     142      reduced significantly by adding -jx to the <command>make -k check</command>
     143      command below, where x is the number of CPU cores on your system.</para>
    157144    </important>
    158145
     
    161148
    162149<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
     150
     151    <para>Now remove/fix several known test failures:</para>
     152
     153<screen><userinput remap="test">sed -e '/cpython/d'               -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp
     154sed -e 's/no-pic /&amp;-no-pie /'     -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c
     155sed -e 's/300000/(1|300000)/'     -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c
     156sed -e 's/{ target nonpic } //' \
     157    -e '/GOTPCREL/d'              -i ../gcc/testsuite/gcc.target/i386/fentryname3.c</userinput></screen>
    163158
    164159    <para>Test the results as a non-privileged user, but do not stop at errors:</para>
     
    177172    url="&test-results;"/> and
    178173    <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
    179 
     174<!--
    180175    <para>
    181     Twelve gcc tests (out of over 150,000):
    182     seven tests in the <filename class='directory'>analyzer</filename>
    183     directory, one test named <filename>gcc.dg/uninit-pred-9_b.c</filename>,
    184     one test named <filename>pr108357.c</filename>, one test named
    185     <filename>ssa-dom-cse-2.c</filename>, and two
    186     <quote>stack-check-cfa-*.c</quote> tests are known to fail.
    187 
    188     For g++, 23 tests (out of approximately 250,000): 14
     176    Eight gcc tests (out of over 185,000):
     177    <!- - https://gcc.gnu.org/PR106375 - -><filename>pr56837.c</filename>
     178    and seven tests in the <filename class='directory'>analyzer</filename>
     179    directory are known to fail.
     180
     181    <!- - https://gcc.gnu.org/PR109353 - ->
     182    One libstdc++ test (out of over 15000), <filename>copy.cc</filename>, is
     183    known to fail.
     184
     185    For g++, 21 tests (out of approximately 250,000): 14
    189186    <quote>AddressSanitizer*</quote>
    190     tests, 7 <filename>interception-malloc-test-1.C</filename> tests,
    191     one <filename>pr90883.C</filename> test, and one
    192     <filename>pr64076</filename> test are known to fail.
    193     </para>
    194 
    195     <para>A few unexpected failures cannot always be avoided. The GCC developers
    196     are usually aware of these issues, but have not resolved them yet.
     187    tests and 7 <filename>interception-malloc-test-1.C</filename> tests, are
     188    known to fail.
     189
     190    Additionally, several tests in the
     191    <filename class='directory'>vect</filename> directory are known to fail
     192    if the hardware does not support AVX.</para>
     193-->
     194    <para>A few unexpected failures cannot always be avoided. In some cases
     195    test failures depend on the specific hardware of the system.<!--The GCC developers
     196    are usually aware of these issues, but have not resolved them yet.-->
    197197    Unless the test results are vastly different from those at the above URL,
    198198    it is safe to continue.</para>
  • chapter08/glibc.xml

    r650a45a ra8debbb4  
    5050
    5151<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    52 <!--
    53     <para>Now fix two security vulnerabilities and a regression causing the
    54     posix_memalign() function very slow in some conditions:</para>
    55 
    56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-fixes-patch;</userinput></screen>
    57 -->
     52
     53    <para>Now fix a security vulnerability:</para>
     54
     55<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
     56
    5857    <para>The Glibc documentation recommends building Glibc
    5958    in a dedicated build directory:</para>
  • chapter08/grub.xml

    r650a45a ra8debbb4  
    5353      </para>
    5454      <para>
    55         If your system firmware supports UEFI and you want a fully
    56         functional GRUB, you can skip the content of this page,
    57         and install GRUB with UEFI support (and its dependencies) following
    58         <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>
    59         (with <parameter>--target=x86_64</parameter> removed) at the end of
    60         this chapter.
     55        If your system has UEFI support and you wish to boot LFS with UEFI,
     56        you need to install GRUB with UEFI support (and its dependencies) by
     57        following the instructions on
     58        <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>.
     59        You may skip this package, or install this package and the BLFS
     60        GRUB for UEFI package without conflict (the BLFS page provides
     61        instructions for both cases).
    6162      </para>
    6263    </note>
  • chapter08/inetutils.xml

    r650a45a ra8debbb4  
    4040  <sect2 role="installation">
    4141    <title>Installation of Inetutils</title>
     42
     43    <para>First, make the package build with gcc-14.1 or later::</para>
     44
     45<screen><userinput remap="pre">sed -i 's/def HAVE_TERMCAP_TGETENT/ 1/' telnet/telnet.c</userinput></screen>
    4246
    4347    <para>Prepare Inetutils for compilation:</para>
  • chapter08/ncurses.xml

    r650a45a ra8debbb4  
    5151            --with-cxx-shared       \
    5252            --enable-pc-files       \
    53             --enable-widec          \
    5453            --with-pkg-config-libdir=/usr/lib/pkgconfig</userinput></screen>
    5554
     55      <!--  - -enable-widec this is now the default -->
    5656    <variablelist>
    5757      <title>The meaning of the new configure options:</title>
     
    9595        </listitem>
    9696      </varlistentry>
    97 
    98       <varlistentry>
    99         <term><parameter>--enable-widec</parameter></term>
     97<!--
     98      <varlistentry>
     99        <term><parameter>- -enable-widec</parameter></term>
    100100        <listitem>
    101101          <para>This switch causes wide-character libraries (e.g., <filename
     
    109109        </listitem>
    110110      </varlistentry>
    111 
     111-->
    112112    </variablelist>
    113113
     
    128128
    129129    <para>The installation of this package will overwrite
    130     <filename class="libraryfile">libncursesw.so.&ncurses-release;</filename>
     130    <filename class="libraryfile">libncursesw.so.&ncurses-version;</filename>
    131131    in-place.  It may crash the shell process which is using code and data
    132132    from the library file.  Install the package with
     
    138138
    139139<screen><userinput remap="install">make DESTDIR=$PWD/dest install
    140 install -vm755 dest/usr/lib/libncursesw.so.&ncurses-release; /usr/lib
    141 rm -v  dest/usr/lib/libncursesw.so.&ncurses-release;
     140install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib
     141rm -v  dest/usr/lib/libncursesw.so.&ncurses-version;
    142142sed -e 's/^#if.*XOPEN.*$/#if 1/' \
    143143    -i dest/usr/include/curses.h
  • chapter08/ninja.xml

    r650a45a ra8debbb4  
    8383    </variablelist>
    8484
     85    <para>The package tests cannot run in the chroot environment. They require
     86    <ulink url="&blfs-book;general/cmake.html">cmake</ulink>.</para>
     87<!--
    8588    <para>To test the results, issue:</para>
    8689
    8790<screen><userinput remap="test">./ninja ninja_test
    88 ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots</userinput></screen>
     91./ninja_test - -gtest_filter=-SubprocessTest.SetWithLots</userinput></screen>
     92-->
    8993
    9094    <para>Install the package:</para>
  • chapter08/python.xml

    r650a45a ra8debbb4  
    9090    automatically re-run failed tests.  If a test failed but then passed
    9191    when re-run, it should be considered as passed.</para>
    92 
    93     <para>Two tests named <filename>test_xml_etree</filename> and
    94     <filename>test_xml_etree_c</filename> are known to fail with expat-2.6.0
    95     or newer.</para>
    9692
    9793    <para>Install the package:</para>
  • chapter08/sysklogd.xml

    r650a45a ra8debbb4  
    5656    <para>Install the package:</para>
    5757
    58 <screen><userinput remap="install">make BINDIR=/sbin install</userinput></screen>
     58<screen><userinput remap="install">make install</userinput></screen>
    5959
    6060  </sect2>
  • chapter08/systemd.xml

    r650a45a ra8debbb4  
    227227
    228228<screen><userinput remap="make">ninja</userinput></screen>
     229
     230    <para>Some tests need a basic <filename>/etc/os-release</filename> file.
     231    To test the results, issue:</para>
     232
     233<screen><userinput remap="test">echo 'NAME="Linux From Scratch"' &gt; /etc/os-release
     234ninja test</userinput></screen>
     235
     236    <!-- This test needs /run/systemd/inaccessible/sock, which only exists
     237         after initializing the system with systemd.  -->
     238    <para>One test named <literal>systemd:core / test-namespace</literal>
     239    is known to fail in the LFS chroot environment.  Some other tests may
     240    fail because they depend on various kernel configuration options.</para>
    229241
    230242    <para>Install the package:</para>
  • chapter09/clock.xml

    r650a45a ra8debbb4  
    99  <?dbhtml filename="clock.html"?>
    1010
    11   <title>Configuring the system clock</title>
     11  <title>Configuring the System Clock</title>
    1212
    1313  <indexterm zone="ch-config-clock">
  • lfs-latest-git.php

    r650a45a ra8debbb4  
    148148if ( $package == "sysvinit"   ) $dirpath = github("slicer69/sysvinit");
    149149if ( $package == "MarkupSafe" ) $dirpath = "https://pypi.python.org/pypi/MarkupSafe/";
    150 if ( $package == "Jinja"      ) $dirpath = "https://pypi.python.org/pypi/Jinja2/";
     150if ( $package == "jinja"      ) $dirpath = "https://pypi.python.org/pypi/Jinja2/";
    151151if ( $package == "systemd"    ) $dirpath = github("systemd/systemd");
    152152//if ( $package == "tcl"        ) $dirpath = "https://sourceforge.net/projects/tcl/files";
     
    264264     return find_max( $lines, "/grub/", "/^.*grub-([\d\.]+).tar.xz.*$/" );
    265265
    266   if ( $package == "Jinja" )
     266  if ( $package == "jinja" )
    267267     return find_max( $lines, "/Jinja/", "/^.*Jinja2 ([\d\.]+).*$/" );
    268268
  • packages.ent

    r650a45a ra8debbb4  
    145145<!ENTITY e2fsprogs-url "https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v&e2fsprogs-version;/e2fsprogs-&e2fsprogs-version;.tar.gz">
    146146<!ENTITY e2fsprogs-md5 "6b4f18a33873623041857b4963641ee9">
    147 <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net/">
     147<!ENTITY e2fsprogs-home "https://e2fsprogs.sourceforge.net/">
    148148<!ENTITY e2fsprogs-fin-du "95 MB">
    149149<!ENTITY e2fsprogs-fin-sbu "2.4 SBU on a spinning disk, 0.4 SBU on an SSD">
     
    219219<!ENTITY gawk-fin-sbu "0.1 SBU">
    220220
    221 <!ENTITY gcc-version "13.2.0">
    222 <!ENTITY gcc-size "85,800 KB">
     221<!ENTITY gcc-version "14.1.0">
     222<!ENTITY gcc-size "90,104 KB">
    223223<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
    224 <!ENTITY gcc-md5 "e0e48554cc6e4f261d55ddee9ab69075">
     224<!ENTITY gcc-md5 "24195dca80ded5e0551b533f46a4481d">
    225225<!ENTITY gcc-home "https://gcc.gnu.org/">
    226226<!ENTITY gcc-tmpp1-du "4.1 GB">
     
    318318<!ENTITY gzip-fin-sbu "0.3 SBU">
    319319
    320 <!ENTITY iana-etc-version "20240318">
    321 <!ENTITY iana-etc-size "589 KB">
     320<!ENTITY iana-etc-version "20240502">
     321<!ENTITY iana-etc-size "590 KB">
    322322<!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz">
    323 <!ENTITY iana-etc-md5 "8cd6cf31cfd5fd4c4efca61722eb9f74">
     323<!ENTITY iana-etc-md5 "73921d46a934eb5ac4286fc8111c2174">
    324324<!ENTITY iana-etc-home "https://www.iana.org/protocols">
    325325<!ENTITY iana-etc-fin-du "4.8 MB">
     
    350350<!ENTITY iproute2-fin-sbu "0.1 SBU">
    351351
    352 <!ENTITY jinja2-version "3.1.3">
    353 <!ENTITY jinja2-size "264 KB">
    354 <!ENTITY jinja2-url "&pypi-src;/J/Jinja2/Jinja2-&jinja2-version;.tar.gz">
    355 <!ENTITY jinja2-md5 "caf5418c851eac59e70a78d9730d4cea">
     352<!ENTITY jinja2-version "3.1.4">
     353<!ENTITY jinja2-size "235 KB">
     354<!ENTITY jinja2-url "&pypi-src;/J/Jinja2/jinja2-&jinja2-version;.tar.gz">
     355<!ENTITY jinja2-md5 "02ca9a6364c92e83d14b037bef4732bc">
    356356<!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3.1.x/">
    357357<!ENTITY jinja2-fin-du "3.2 MB">
     
    382382<!ENTITY less-fin-sbu "less than 0.1 SBU">
    383383
    384 <!ENTITY lfs-bootscripts-version "20230728">      <!-- Scripts depend on this format -->
     384<!ENTITY lfs-bootscripts-version "20240416">      <!-- Scripts depend on this format -->
    385385<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">
    386386<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
     
    432432<!ENTITY linux-major-version "6">
    433433<!ENTITY linux-minor-version "8">
    434 <!ENTITY linux-patch-version "2">
     434<!ENTITY linux-patch-version "9">
    435435<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    436436<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    437 <!ENTITY linux-size "139,173 KB">
     437<!ENTITY linux-size "139,241 KB">
    438438<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    439 <!ENTITY linux-md5 "728e7da5137577232593b2210ae1bdc4">
     439<!ENTITY linux-md5 "95b3e4b76c4449bad8dd39ec16140a62">
    440440<!ENTITY linux-home "https://www.kernel.org/">
    441441<!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is
     
    479479<!ENTITY make-fin-sbu "0.5 SBU">
    480480
    481 <!ENTITY man-db-version "2.12.0">
    482 <!ENTITY man-db-size "1,941 KB">
     481<!ENTITY man-db-version "2.12.1">
     482<!ENTITY man-db-size "1,994 KB">
    483483<!ENTITY man-db-url "&savannah;/releases/man-db/man-db-&man-db-version;.tar.xz">
    484 <!ENTITY man-db-md5 "67e0052fa200901b314fad7b68c9db27">
     484<!ENTITY man-db-md5 "7b044e5020aab89db41ac7ee59d6d84a">
    485485<!ENTITY man-db-home "https://www.nongnu.org/man-db/">
    486486<!ENTITY man-db-fin-du "41 MB">
     
    527527<!ENTITY mpfr-fin-sbu "0.3 SBU">
    528528
    529 <!ENTITY ncurses-release "6.4">
    530 <!ENTITY ncurses-version "&ncurses-release;-20230520">
     529<!ENTITY ncurses-version "6.5">
    531530<!ENTITY ncurses-size "2,156 KB">
    532 <!-- switch back to invisible-mirror.net for 6.5 -->
    533 <!--ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/ncurses-&ncurses-version;.tar.gz"-->
    534 <!ENTITY ncurses-url "&anduin-sources;/ncurses-&ncurses-version;.tar.xz">
    535 <!ENTITY ncurses-md5 "c5367e829b6d9f3f97b280bb3e6bfbc3">
     531<!ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/ncurses-&ncurses-version;.tar.gz">
     532<!ENTITY ncurses-md5 "ac2d2629296f04c8537ca706b6977687">
    536533<!ENTITY ncurses-home "&gnu-software;ncurses/">
    537 <!ENTITY ncurses-tmp-du "51 MB">
     534<!ENTITY ncurses-tmp-du "3,603 KB">
    538535<!ENTITY ncurses-tmp-sbu "0.3 SBU">
    539536<!ENTITY ncurses-fin-du "45 MB">
    540537<!ENTITY ncurses-fin-sbu "0.2 SBU">
    541538
    542 <!ENTITY ninja-version "1.11.1">
    543 <!ENTITY ninja-size "225 KB">
     539<!ENTITY ninja-version "1.12.0">
     540<!ENTITY ninja-size "235 KB">
    544541<!ENTITY ninja-url "&github;/ninja-build/ninja/archive/v&ninja-version;/ninja-&ninja-version;.tar.gz">
    545 <!ENTITY ninja-md5 "32151c08211d7ca3c1d832064f6939b0">
     542<!ENTITY ninja-md5 "302530c3d94dcb08e4ab0750a7f4cf20">
    546543<!ENTITY ninja-home "https://ninja-build.org/">
    547544<!ENTITY ninja-fin-du "75 MB">
    548545<!ENTITY ninja-fin-sbu "0.3 SBU">
    549546
    550 <!ENTITY openssl-version "3.2.1">
    551 <!ENTITY openssl-size "17,318 KB">
     547<!ENTITY openssl-version "3.3.0">
     548<!ENTITY openssl-size "17,616 KB">
    552549<!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz">
    553 <!ENTITY openssl-md5 "c239213887804ba00654884918b37441">
     550<!ENTITY openssl-md5 "c8b063afbea85d867e161ecb8816cfa9">
    554551<!ENTITY openssl-home "https://www.openssl.org/">
    555552<!ENTITY openssl-fin-du "805 MB">
     
    607604     meson pages will be needed: python3.6 and python3.6m -->
    608605
    609 <!ENTITY python-version "3.12.2">
     606<!ENTITY python-version "3.12.3">
    610607<!ENTITY python-minor "3.12">
    611 <!ENTITY python-size "20,109 KB">
     608<!ENTITY python-size "20,142 KB">
    612609<!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz">
    613 <!ENTITY python-md5 "e7c178b97bf8f7ccd677b94d614f7b3c">
     610<!ENTITY python-md5 "8defb33f0c37aa4bdd3a38ba52abde4e">
    614611<!ENTITY python-home "https://www.python.org/">
    615612<!ENTITY python-tmp-du "598 MB">
     
    618615<!ENTITY python-fin-sbu "1.8 SBU">
    619616<!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2">
    620 <!ENTITY python-docs-md5 "8a6310f6288e7f60c3565277ec3b5279">
    621 <!ENTITY python-docs-size "8,065 KB">
     617<!ENTITY python-docs-md5 "6025ee63c0ded34aac874f5da8f1a90c">
     618<!ENTITY python-docs-size "8,110 KB">
    622619
    623620<!ENTITY readline-version "8.2">
     
    640637<!ENTITY sed-fin-sbu "0.3 SBU">
    641638
    642 <!ENTITY setuptools-version "69.2.0">
    643 <!ENTITY setuptools-size "2,171 KB">
     639<!ENTITY setuptools-version "69.5.1">
     640<!ENTITY setuptools-size "2,238 KB">
    644641<!ENTITY setuptools-url "&pypi-src;/s/setuptools/setuptools-&setuptools-version;.tar.gz">
    645 <!ENTITY setuptools-md5 "940ffdb3a2ce4f6a5ee80032aa115fc7">
     642<!ENTITY setuptools-md5 "645f672221ed628e888e38a9da6c5aed">
    646643<!ENTITY setuptools-home "&pypi-home;/setuptools/">
    647644<!ENTITY setuptools-fin-du "20 MB">
     
    704701<!ENTITY tcl-url "https://downloads.sourceforge.net/tcl/tcl&tcl-version;-src.tar.gz">
    705702<!ENTITY tcl-md5 "c30b57c6051be28fa928d09aca82841e">
    706 <!ENTITY tcl-home "http://tcl.sourceforge.net/">
     703<!ENTITY tcl-home "https://tcl.sourceforge.net/">
    707704<!ENTITY tcl-docs-url "https://downloads.sourceforge.net/tcl/tcl&tcl-version;-html.tar.gz">
    708705<!ENTITY tcl-docs-md5 "5467198f8d57c54835bf80b98ffb0170">
     
    737734
    738735<!ENTITY util-linux-minor "2.40">
    739 <!ENTITY util-linux-version "2.40"> <!-- 2.33.x -->
    740 <!ENTITY util-linux-size "8,558 KB">
     736<!ENTITY util-linux-version "2.40.1"> <!-- 2.33.x -->
     737<!ENTITY util-linux-size "8,617 KB">
    741738<!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz">
    742 <!ENTITY util-linux-md5 "46d1423122d310dfd022c799e1e4e259">
     739<!ENTITY util-linux-md5 "42ca7b92a3d77087de362f43ac29a3df">
    743740<!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/">
    744741<!ENTITY util-linux-tmp-du "172 MB">
     
    747744<!ENTITY util-linux-fin-sbu "0.5 SBU">
    748745
    749 <!ENTITY vim-version "9.1.0161">
     746<!ENTITY vim-version "9.1.0405">
    750747<!-- <!ENTITY vim-majmin "90"> -->
    751748<!ENTITY vim-docdir "vim/vim91">
    752 <!ENTITY vim-size "17,320 KB">
     749<!ENTITY vim-size "17,428 KB">
    753750<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">
     751<!-- N.B. LFS 9.0 uses
     752     https://github.com/vim/vim/archive/v8.1.1846/vim-8.1.1846.tar.gz
     753     and it still works after years, the md5sum of the resulted tarball
     754     is unchanged as well.  Thus GitHub download seems stable enough for
     755     vim and there's no need to use anduin.
     756
     757     BTW if we click the "Next" button enough times on
     758     https://github.com/vim/vim/tags, we can eventually see the old
     759     release.  The "Next" button just sets "after=" in the URL.  For
     760     example, https://github.com/vim/vim/tags?after=v8.1.1847 will show
     761     us v8.1.1846. -->
    754762<!--<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">-->
    755 <!ENTITY vim-md5 "a5dc0dc859a084ac7b6afe90d1b02c9d">
     763<!ENTITY vim-md5 "5379f5542310ee7ffbd6aea312407042">
    756764<!ENTITY vim-home "https://www.vim.org">
    757765<!ENTITY vim-fin-du "236 MB">
  • patches.ent

    r650a45a ra8debbb4  
    1111<!ENTITY bzip2-docs-patch-size "1.6 KB">
    1212
    13 <!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch">
    14 <!ENTITY coreutils-i18n-patch-md5 "ce7529b74564aac887c3f48582a5e6cf">
    15 <!ENTITY coreutils-i18n-patch-size "159 KB">
     13<!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-2.patch">
     14<!ENTITY coreutils-i18n-patch-md5 "58961caf5bbdb02462591fa506c73b6d">
     15<!ENTITY coreutils-i18n-patch-size "164 KB">
     16
     17<!ENTITY expect-gcc14-patch "expect-&expect-version;-gcc14-1.patch">
     18<!ENTITY expect-gcc14-patch-md5 "0b8b5ac411d011263ad40b0664c669f0">
     19<!ENTITY expect-gcc14-patch-size "7.8 KB">
    1620
    1721<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
    1822<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
    1923<!ENTITY glibc-fhs-patch-size "2.8 KB">
    20 <!--
    21 <!ENTITY glibc-upstream-fixes-patch "glibc-&glibc-version;-upstream_fixes-4.patch">
    22 <!ENTITY glibc-upstream-fixes-patch-md5 "66e843b00688c641c9bdda684db45b43">
    23 <!ENTITY glibc-upstream-fixes-patch-size "36 KB">
    24 -->
     24
     25<!ENTITY glibc-upstream-patch "glibc-&glibc-version;-upstream_fix-2.patch">
     26<!ENTITY glibc-upstream-patch-md5 "e9f8f23746755bf880772cfa59c1896c">
     27<!ENTITY glibc-upstream-patch-size "8.0 KB">
     28
    2529<!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
    2630<!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895">
Note: See TracChangeset for help on using the changeset viewer.