Changeset 76db8d6


Ignore:
Timestamp:
08/12/2018 04:35:49 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
3b03219
Parents:
059c79e
Message:

Add LANG to vim test instructions.
Ensure grep tests run to completion.
Run gcc tests in Chapter 6 as a non-privileged user.

Move shadow to before gcc so the gcc tests can
use su to run as a non-privileged user.

Add perl Configure options in Chapter 5 to ensure
no host system libraries are used.

Update minimum make version to 4.0 required by glibc-2.28.
Update bzip2 url to a new location.
Update to linux-4.17.14.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11446 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r059c79e r76db8d6  
    846846
    847847        <seglistitem>
    848           <seg>DejaGNU and Expect</seg>
     848          <seg>DejaGNU, Expect, and Shadow</seg>
    849849        </seglistitem>
    850850      </segmentedlist>
  • chapter01/changelog.xml

    r059c79e r76db8d6  
    4444-->
    4545    <listitem>
     46      <para>2018-08-12</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[bdubbs] - Add LANG to vim test instructions.</para>
     50        </listitem>
     51        <listitem>
     52          <para>[bdubbs] - Ensure grep tests run to completion.</para>
     53        </listitem>
     54        <listitem>
     55          <para>[bdubbs] - Run gcc tests in Chapter 6 as a non-privileged user.</para>
     56        </listitem>
     57        <listitem>
     58          <para>[bdubbs] - Move shadow to before gcc so the gcc tests can
     59          use su to run as a non-privileged user.</para>
     60        </listitem>
     61        <listitem>
     62          <para>[bdubbs] - Add perl Configure options in Chapter 5 to ensure
     63          no host system libraries are used.</para>
     64        </listitem>
     65        <listitem>
     66          <para>[bdubbs] - Update minimum make version to 4.0 required by
     67          glibc-2.28.</para>
     68        </listitem>
     69        <listitem>
     70          <para>[bdubbs] - Update bzip2 url to a new location. Fixes
     71          <ulink url="&lfs-ticket-root;4331">#4331</ulink>.</para>
     72        </listitem>
     73        <listitem>
     74          <para>[bdubbs] - Update to linux-4.17.14. Fixes
     75          <ulink url="&lfs-ticket-root;4330">#4330</ulink>.</para>
     76        </listitem>
     77      </itemizedlist>
     78    </listitem>
     79
     80    <listitem>
    4681      <para>2018-08-08</para>
    4782      <itemizedlist>
  • chapter02/hostreqs.xml

    r059c79e r76db8d6  
    105105
    106106    <listitem>
    107       <para><emphasis role="strong">Make-3.81</emphasis></para>
     107      <para><emphasis role="strong">Make-4.0</emphasis></para>
    108108    </listitem>
    109109
  • chapter03/packages.xml

    r059c79e r76db8d6  
    9090      <term>Bzip2 (&bzip2-version;) - <token>&bzip2-size;</token>:</term>
    9191      <listitem>
    92         <para>Home page: <ulink url="&bzip2-home;"/></para>
     92        <!--<para>Home page: <ulink url="&bzip2-home;"/></para>-->
    9393        <para>Download: <ulink url="&bzip2-url;"/></para>
    9494        <para>MD5 sum: <literal>&bzip2-md5;</literal></para>
  • chapter05/perl.xml

    r059c79e r76db8d6  
    4646    <para>Prepare Perl for compilation:</para>
    4747
    48 <screen><userinput remap="configure">sh Configure -des -Dprefix=/tools -Dlibs=-lm</userinput></screen>
     48<screen><userinput remap="configure">sh Configure -des -Dprefix=/tools -Dlibs=-lm -Uloclibpth -Ulocincpth</userinput></screen>
     49
     50    <variablelist>
     51      <title>The meaning of the Configure options:</title>
     52
     53      <varlistentry>
     54        <term><parameter>-des</parameter></term>
     55        <listitem>
     56          <para>This is a combination of three options: -d uses defaults for
     57          all items; -e ensures completion of all tasks; -s silences
     58          non-essential output.</para>
     59        </listitem>
     60      </varlistentry>
     61
     62      <varlistentry>
     63        <term><parameter>-Uloclibpth amd -Ulocincpth</parameter></term>
     64        <listitem>
     65          <para>These entries undefine variables that cause the configuration
     66          to search for locally installed components that may exist on the
     67          host system.</para>
     68        </listitem>
     69      </varlistentry>
     70
     71    </variablelist>
     72
     73
     74
    4975
    5076    <para>Build the package:</para>
  • chapter06/chapter06.xml

    r059c79e r76db8d6  
    3131  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpfr.xml"/>
    3232  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpc.xml"/>
     33  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
    3334  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/>
    3435  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
     
    3940  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcap.xml"/>
    4041  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/>
    41   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
     42<!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>-->
    4243  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/>
    4344  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/>
  • chapter06/gcc.xml

    r059c79e r76db8d6  
    110110<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
    111111
    112     <para>Test the results, but do not stop at errors:</para>
    113 
    114 <screen><userinput remap="test">make -k check</userinput></screen>
     112    <para>Remove one test known to cause a problem:</para>
     113
     114<screen><userinput remap="test">rm ../gcc/testsuite/g++.dg/pr83239.C</userinput></screen>
     115
     116    <para>Test the results as a non-privileged user, but do not stop at errors:</para>
     117
     118<screen><userinput remap="test">chown -Rv nobody .
     119su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
    115120
    116121    <para>To receive a summary of the test suite results, run:</para>
     
    127132    <para>A few unexpected failures cannot always be avoided. The GCC developers
    128133    are usually aware of these issues, but have not resolved them yet.
    129     In particular, six tests in the libstdc++ test suite are known to fail
    130     when running as the root user as we do here.
    131134    Unless the test results are vastly different from those at the above URL,
    132135    it is safe to continue.</para>
  • chapter06/grep.xml

    r059c79e r76db8d6  
    5151    <para>To test the results, issue:</para>
    5252
    53 <screen><userinput remap="test">make check</userinput></screen>
     53<screen><userinput remap="test">make -k check</userinput></screen>
    5454
    5555    <para>Install the package:</para>
  • chapter06/vim.xml

    r059c79e r76db8d6  
    6969    <para>To test the results, issue:</para>
    7070
    71 <screen><userinput remap="test">make -j1 test &amp;&gt; vim-test.log</userinput></screen>
     71<screen><userinput remap="test">LANG=en_US.UTF-8 make -j1 test &amp;&gt; vim-test.log</userinput></screen>
    7272
    7373    <para>The test suite outputs a lot of binary data to the screen.  This can
     
    7676    successful test will result in the words "ALL DONE" in the log file
    7777    at completion.</para>
    78 
    79     <para>One test, Test_terminal_composing_unicode, is known to fail.</para>
    8078
    8179    <para>Install the package:</para>
  • general.ent

    r059c79e r76db8d6  
    1 <!ENTITY version         "SVN-20180808">
     1<!ENTITY version         "SVN-20180812">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20180808-systemd">
     6<!ENTITY versiond        "20180812-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "August 8, 2018">
     10<!ENTITY releasedate     "August 12, 2018">
    1111
    1212<!ENTITY copyrightdate   "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
  • packages.ent

    r059c79e r76db8d6  
    8383<!ENTITY bzip2-version "1.0.6">
    8484<!ENTITY bzip2-size "764 KB">
    85 <!ENTITY bzip2-url "http://www.bzip.org/&bzip2-version;/bzip2-&bzip2-version;.tar.gz">
     85<!ENTITY bzip2-url "&anduin-sources;/bzip2-&bzip2-version;.tar.gz">
    8686<!ENTITY bzip2-md5 "00b516f4704d4a7cb50a1d97e6e8e15b">
    87 <!ENTITY bzip2-home "http://www.bzip.org/">
     87<!--<!ENTITY bzip2-home "http://www.bzip.org/">-->
    8888<!ENTITY bzip2-ch5-du "5.2 MB">
    8989<!ENTITY bzip2-ch5-sbu "less than 0.1 SBU">
     
    417417<!ENTITY linux-major-version "4">
    418418<!ENTITY linux-minor-version "17">
    419 <!ENTITY linux-patch-version "13">
     419<!ENTITY linux-patch-version "14">
    420420<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> -->
    421421<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    422 <!ENTITY linux-size "99,792 KB">
     422<!ENTITY linux-size "99,801 KB">
    423423<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    424 <!ENTITY linux-md5 "e62a9bd15f59aee59a78c5f9e47f0057">
     424<!ENTITY linux-md5 "576ab91a7be69197cb0c124fdcbf58f7">
    425425<!ENTITY linux-home "https://www.kernel.org/">
    426426<!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is
Note: See TracChangeset for help on using the changeset viewer.