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
This commit is contained in:
Bruce Dubbs 2018-08-12 16:35:49 +00:00
parent 059c79e453
commit 76db8d6fa1
11 changed files with 84 additions and 21 deletions

View File

@ -845,7 +845,7 @@
<segtitle>&testsuites;</segtitle>
<seglistitem>
<seg>DejaGNU and Expect</seg>
<seg>DejaGNU, Expect, and Shadow</seg>
</seglistitem>
</segmentedlist>

View File

@ -42,6 +42,41 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
<para>2018-08-12</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Add LANG to vim test instructions.</para>
</listitem>
<listitem>
<para>[bdubbs] - Ensure grep tests run to completion.</para>
</listitem>
<listitem>
<para>[bdubbs] - Run gcc tests in Chapter 6 as a non-privileged user.</para>
</listitem>
<listitem>
<para>[bdubbs] - Move shadow to before gcc so the gcc tests can
use su to run as a non-privileged user.</para>
</listitem>
<listitem>
<para>[bdubbs] - Add perl Configure options in Chapter 5 to ensure
no host system libraries are used.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update minimum make version to 4.0 required by
glibc-2.28.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update bzip2 url to a new location. Fixes
<ulink url="&lfs-ticket-root;4331">#4331</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to linux-4.17.14. Fixes
<ulink url="&lfs-ticket-root;4330">#4330</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>2018-08-08</para>
<itemizedlist>

View File

@ -104,7 +104,7 @@
</listitem>
<listitem>
<para><emphasis role="strong">Make-3.81</emphasis></para>
<para><emphasis role="strong">Make-4.0</emphasis></para>
</listitem>
<listitem>

View File

@ -89,7 +89,7 @@
<varlistentry>
<term>Bzip2 (&bzip2-version;) - <token>&bzip2-size;</token>:</term>
<listitem>
<para>Home page: <ulink url="&bzip2-home;"/></para>
<!--<para>Home page: <ulink url="&bzip2-home;"/></para>-->
<para>Download: <ulink url="&bzip2-url;"/></para>
<para>MD5 sum: <literal>&bzip2-md5;</literal></para>
</listitem>

View File

@ -45,7 +45,33 @@
<para>Prepare Perl for compilation:</para>
<screen><userinput remap="configure">sh Configure -des -Dprefix=/tools -Dlibs=-lm</userinput></screen>
<screen><userinput remap="configure">sh Configure -des -Dprefix=/tools -Dlibs=-lm -Uloclibpth -Ulocincpth</userinput></screen>
<variablelist>
<title>The meaning of the Configure options:</title>
<varlistentry>
<term><parameter>-des</parameter></term>
<listitem>
<para>This is a combination of three options: -d uses defaults for
all items; -e ensures completion of all tasks; -s silences
non-essential output.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>-Uloclibpth amd -Ulocincpth</parameter></term>
<listitem>
<para>These entries undefine variables that cause the configuration
to search for locally installed components that may exist on the
host system.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Build the package:</para>

View File

@ -30,6 +30,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmp.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpfr.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mpc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconfig.xml"/>
@ -38,7 +39,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="acl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcap.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>-->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>

View File

@ -109,9 +109,14 @@ cd build</userinput></screen>
<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
<para>Test the results, but do not stop at errors:</para>
<para>Remove one test known to cause a problem:</para>
<screen><userinput remap="test">make -k check</userinput></screen>
<screen><userinput remap="test">rm ../gcc/testsuite/g++.dg/pr83239.C</userinput></screen>
<para>Test the results as a non-privileged user, but do not stop at errors:</para>
<screen><userinput remap="test">chown -Rv nobody .
su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
<para>To receive a summary of the test suite results, run:</para>
@ -126,8 +131,6 @@ cd build</userinput></screen>
<para>A few unexpected failures cannot always be avoided. The GCC developers
are usually aware of these issues, but have not resolved them yet.
In particular, six tests in the libstdc++ test suite are known to fail
when running as the root user as we do here.
Unless the test results are vastly different from those at the above URL,
it is safe to continue.</para>

View File

@ -50,7 +50,7 @@
<para>To test the results, issue:</para>
<screen><userinput remap="test">make check</userinput></screen>
<screen><userinput remap="test">make -k check</userinput></screen>
<para>Install the package:</para>

View File

@ -68,7 +68,7 @@
<para>To test the results, issue:</para>
<screen><userinput remap="test">make -j1 test &amp;&gt; vim-test.log</userinput></screen>
<screen><userinput remap="test">LANG=en_US.UTF-8 make -j1 test &amp;&gt; vim-test.log</userinput></screen>
<para>The test suite outputs a lot of binary data to the screen. This can
cause issues with the settings of the current terminal. The problem can be
@ -76,8 +76,6 @@
successful test will result in the words "ALL DONE" in the log file
at completion.</para>
<para>One test, Test_terminal_composing_unicode, is known to fail.</para>
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>

View File

@ -1,13 +1,13 @@
<!ENTITY version "SVN-20180808">
<!ENTITY version "SVN-20180812">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
<!ENTITY versiond "20180808-systemd">
<!ENTITY versiond "20180812-systemd">
<!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd">
<!ENTITY releasedate "August 8, 2018">
<!ENTITY releasedate "August 12, 2018">
<!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "8.3">

View File

@ -82,9 +82,9 @@
<!ENTITY bzip2-version "1.0.6">
<!ENTITY bzip2-size "764 KB">
<!ENTITY bzip2-url "http://www.bzip.org/&bzip2-version;/bzip2-&bzip2-version;.tar.gz">
<!ENTITY bzip2-url "&anduin-sources;/bzip2-&bzip2-version;.tar.gz">
<!ENTITY bzip2-md5 "00b516f4704d4a7cb50a1d97e6e8e15b">
<!ENTITY bzip2-home "http://www.bzip.org/">
<!--<!ENTITY bzip2-home "http://www.bzip.org/">-->
<!ENTITY bzip2-ch5-du "5.2 MB">
<!ENTITY bzip2-ch5-sbu "less than 0.1 SBU">
<!ENTITY bzip2-ch6-du "2.3 MB">
@ -416,12 +416,12 @@
<!ENTITY linux-major-version "4">
<!ENTITY linux-minor-version "17">
<!ENTITY linux-patch-version "13">
<!ENTITY linux-patch-version "14">
<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> -->
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
<!ENTITY linux-size "99,792 KB">
<!ENTITY linux-size "99,801 KB">
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
<!ENTITY linux-md5 "e62a9bd15f59aee59a78c5f9e47f0057">
<!ENTITY linux-md5 "576ab91a7be69197cb0c124fdcbf58f7">
<!ENTITY linux-home "https://www.kernel.org/">
<!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is
allnoconfig extended for a hopefully-bootable build on desktop machine,