diff options
author | Douglas R. Reno <renodr@linuxfromscratch.org> | 2015-08-19 20:20:02 +0000 |
---|---|---|
committer | Douglas R. Reno <renodr@linuxfromscratch.org> | 2015-08-19 20:20:02 +0000 |
commit | f77b95fb3fbd54a9f007f00c86b6cda25f8f373c (patch) | |
tree | 0808605daa54d8e5c0a2701916e21f2b08174668 /chapter06 | |
parent | 9f3a0fffb18c607b8e098bdc02ad1a17f6fd1e52 (diff) |
Update to binutils-2.25.1
Update to check-0.10.0
Update to procps-ng-3.3.11
Update to man-pages-4.02
Update to glibc-2.22
Update to linux-4.1.5
Update to tzdata2015f
XML Cleanups
Add a workaround for ncurses in Chapter 5 to not use mawk if found
Document some test suite failures
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10940 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/autoconf.xml | 2 | ||||
-rw-r--r-- | chapter06/glibc.xml | 33 | ||||
-rw-r--r-- | chapter06/inetutils.xml | 3 | ||||
-rw-r--r-- | chapter06/ncurses.xml | 9 | ||||
-rw-r--r-- | chapter06/procps.xml | 5 |
5 files changed, 19 insertions, 33 deletions
diff --git a/chapter06/autoconf.xml b/chapter06/autoconf.xml index 12166a8ea..ddad6087b 100644 --- a/chapter06/autoconf.xml +++ b/chapter06/autoconf.xml @@ -55,7 +55,7 @@ <para>This takes a long time, about 4.7 SBUs. In addition, 6 tests are skipped that use Automake. For full test coverage, Autoconf can be re-tested - after Automake has been installed. In addition, one test fails due to + after Automake has been installed. In addition, two tests fail due to changes in libtool-2.4.3 and later.</para> <para>Install the package:</para> diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 6663d3ea1..f1c1a68d1 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -53,14 +53,12 @@ an <function>iconv()</function> implementation and can convert from/to Unicode, therefore libiconv is not required on an LFS system.</para> </note> - <para>Some of the Glibc programs use non-FHS compilant <filename class="directory">/var/db</filename> directory to store their runtime data. Apply the following patch to make such programs store their runtime data in the FHS-compliant locations:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> - + +<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> <para>The Glibc build system is self-contained and will install perfectly, even though the compiler specs file and linker are still pointing at <filename class="directory">/tools</filename>. The specs @@ -68,22 +66,6 @@ Glibc autoconf tests would give false results and defeat the goal of achieving a clean build.</para> - <para>Fix a regression in the package that affects 32-bit architectures:</para> - -<screen><userinput remap="pre">sed -e '/ia32/s/^/1:/' \ - -e '/SSE2/s/^1://' \ - -i sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen> - - <para>Fix a potential security issue identified upstream:</para> - -<screen><userinput remap="pre">sed -i '/glibc.*pad/{i\ buflen = buflen > pad ? buflen - pad : 0; - s/ + pad//}' resolv/nss_dns/dns-host.c</userinput></screen> - - <para>Fix a test case that fails when built using GCC 5:</para> - -<screen><userinput remap="pre">sed -e '/tst-audit2-ENV/i CFLAGS-tst-audit2.c += -fno-builtin' \ - -i elf/Makefile</userinput></screen> - <para>The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory:</para> @@ -119,8 +101,9 @@ cd ../glibc-build</userinput></screen> <itemizedlist> <listitem> - <para>posix/tst-getaddrinfo4 will always fail - due to not having a network connection when the tests are run.</para> + <para><emphasis>posix/tst-getaddrinfo4</emphasis> will always fail + due to not having the necessary network applications when the tests are + run.</para> </listitem> <listitem> @@ -151,6 +134,12 @@ cd ../glibc-build</userinput></screen> </listitem> --> <listitem> + <para>The <emphasis>elf/tst-protected1a</emphasis> and + <emphasis>elf/tst-protected1a</emphasis> tests are known to + fail with the current stable version of binutils.</para> + </listitem> + + <listitem> <para>Other tests known to fail on some architectures are malloc/tst-malloc-usable and nptl/tst-cleanupx4. </para> </listitem> diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml index 464862a87..84fffedca 100644 --- a/chapter06/inetutils.xml +++ b/chapter06/inetutils.xml @@ -95,6 +95,9 @@ <para>To test the results, issue:</para> <screen><userinput remap="test">make check</userinput></screen> + <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard + coding of some support program paths. All tests pass if the tests are rerun + at the end of Chapter 6.</para> <para>Install the package:</para> diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index c82bfa5e0..f84948146 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -41,11 +41,6 @@ <sect2 role="installation"> <title>Installation of Ncurses</title> - <para>First, apply a patch to prevent a build failure - when building with GCC 5:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch;</userinput></screen> - <para>Don't install a static library that is not handled by configure:</para> <screen><userinput remap="pre">sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in</userinput></screen> @@ -113,7 +108,7 @@ <filename class="directory">/lib</filename> directory, where they are expected to reside:</para> -<screen><userinput remap="install">mv -v /usr/lib/libncursesw.so.5* /lib</userinput></screen> +<screen><userinput remap="install">mv -v /usr/lib/libncursesw.so.6* /lib</userinput></screen> <para>Because the libraries have been moved, one symlink points to a non-existent file. Recreate it:</para> @@ -157,7 +152,7 @@ cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version;</userinput></screen> --without-debug \ --without-cxx-binding make sources libs -cp -av lib/lib*.so.5* /usr/lib</userinput></screen> +cp -av lib/lib*.so.6* /usr/lib</userinput></screen> </note> </sect2> diff --git a/chapter06/procps.xml b/chapter06/procps.xml index 7baf9d7cc..71c0e0b04 100644 --- a/chapter06/procps.xml +++ b/chapter06/procps.xml @@ -76,11 +76,10 @@ make check</userinput></screen> <screen><userinput remap="install">make install</userinput></screen> -<para>Finally, move essential files to a location that can be found if +<para>Finally, move essential libraries to a location that can be found if <filename class="directory">/usr</filename> is not mounted.</para> -<screen><userinput remap="install">mv -v /usr/bin/pidof /bin -mv -v /usr/lib/libprocps.so.* /lib +<screen><userinput remap="install">mv -v /usr/lib/libprocps.so.* /lib ln -sfv ../../lib/$(readlink /usr/lib/libprocps.so) /usr/lib/libprocps.so</userinput></screen> </sect2> |