diff options
-rw-r--r-- | appendices/dependencies.xml | 2 | ||||
-rw-r--r-- | chapter01/changelog.xml | 35 | ||||
-rw-r--r-- | chapter02/hostreqs.xml | 2 | ||||
-rw-r--r-- | chapter03/packages.xml | 2 | ||||
-rw-r--r-- | chapter05/perl.xml | 28 | ||||
-rw-r--r-- | chapter06/chapter06.xml | 3 | ||||
-rw-r--r-- | chapter06/gcc.xml | 11 | ||||
-rw-r--r-- | chapter06/grep.xml | 2 | ||||
-rw-r--r-- | chapter06/vim.xml | 4 | ||||
-rw-r--r-- | general.ent | 6 | ||||
-rw-r--r-- | packages.ent | 10 |
11 files changed, 84 insertions, 21 deletions
diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index d4082c2fc..921b0c8fb 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -845,7 +845,7 @@ <segtitle>&testsuites;</segtitle> <seglistitem> - <seg>DejaGNU and Expect</seg> + <seg>DejaGNU, Expect, and Shadow</seg> </seglistitem> </segmentedlist> diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4496b2757..9b5ad5ba2 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,41 @@ 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> <listitem> diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 2dc97f82d..cd7c936e9 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -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> diff --git a/chapter03/packages.xml b/chapter03/packages.xml index e6655260c..031634919 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -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> diff --git a/chapter05/perl.xml b/chapter05/perl.xml index 14858b17b..1e55d830a 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -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> diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 12a7617a5..cd152491d 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -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"/> diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 645b72cfa..c1a074911 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -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> diff --git a/chapter06/grep.xml b/chapter06/grep.xml index 58b0db366..2d46eb7a9 100644 --- a/chapter06/grep.xml +++ b/chapter06/grep.xml @@ -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> diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 084a600f2..04f6d9bd8 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -68,7 +68,7 @@ <para>To test the results, issue:</para> -<screen><userinput remap="test">make -j1 test &> vim-test.log</userinput></screen> +<screen><userinput remap="test">LANG=en_US.UTF-8 make -j1 test &> 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> diff --git a/general.ent b/general.ent index ae5f09af5..d5406eb7f 100644 --- a/general.ent +++ b/general.ent @@ -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 – --> <!ENTITY milestone "8.3"> diff --git a/packages.ent b/packages.ent index 2224172b5..021b9e94a 100644 --- a/packages.ent +++ b/packages.ent @@ -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, |