Index: appendices/dependencies.xml
===================================================================
--- appendices/dependencies.xml	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ appendices/dependencies.xml	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -846,5 +846,5 @@
 
         <seglistitem>
-          <seg>DejaGNU and Expect</seg>
+          <seg>DejaGNU, Expect, and Shadow</seg>
         </seglistitem>
       </segmentedlist>
Index: chapter01/changelog.xml
===================================================================
--- chapter01/changelog.xml	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ chapter01/changelog.xml	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -44,4 +44,39 @@
 -->
     <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>
Index: chapter02/hostreqs.xml
===================================================================
--- chapter02/hostreqs.xml	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ chapter02/hostreqs.xml	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -105,5 +105,5 @@
 
     <listitem>
-      <para><emphasis role="strong">Make-3.81</emphasis></para>
+      <para><emphasis role="strong">Make-4.0</emphasis></para>
     </listitem>
 
Index: chapter03/packages.xml
===================================================================
--- chapter03/packages.xml	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ chapter03/packages.xml	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -90,5 +90,5 @@
       <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>
Index: chapter05/perl.xml
===================================================================
--- chapter05/perl.xml	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ chapter05/perl.xml	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -46,5 +46,31 @@
     <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>
Index: chapter06/chapter06.xml
===================================================================
--- chapter06/chapter06.xml	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ chapter06/chapter06.xml	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -31,4 +31,5 @@
   <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"/>
@@ -39,5 +40,5 @@
   <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"/>
Index: chapter06/gcc.xml
===================================================================
--- chapter06/gcc.xml	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ chapter06/gcc.xml	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -110,7 +110,12 @@
 <screen><userinput remap="test">ulimit -s 32768</userinput></screen>
 
-    <para>Test the results, but do not stop at errors:</para>
-
-<screen><userinput remap="test">make -k check</userinput></screen>
+    <para>Remove one test known to cause a problem:</para>
+
+<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>
@@ -127,6 +132,4 @@
     <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>
Index: chapter06/grep.xml
===================================================================
--- chapter06/grep.xml	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ chapter06/grep.xml	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -51,5 +51,5 @@
     <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>
Index: chapter06/vim.xml
===================================================================
--- chapter06/vim.xml	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ chapter06/vim.xml	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -69,5 +69,5 @@
     <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
@@ -76,6 +76,4 @@
     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>
Index: general.ent
===================================================================
--- general.ent	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ general.ent	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -1,12 +1,12 @@
-<!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; -->
Index: packages.ent
===================================================================
--- packages.ent	(revision 059c79e4530a1c91ae18d0bdf77c366f40911676)
+++ packages.ent	(revision 76db8d6fa13e6c7c133fc1118c127bce9dcb8564)
@@ -83,7 +83,7 @@
 <!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">
@@ -417,10 +417,10 @@
 <!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
