Changeset f77b95f for chapter06


Ignore:
Timestamp:
08/19/2015 08:20:02 PM (9 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
7.8-systemd, 7.9-systemd
Children:
102c4bb6, 9c13f79
Parents:
9f3a0fff
Message:

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

Location:
chapter06
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter06/autoconf.xml

    r9f3a0fff rf77b95f  
    5656    <para>This takes a long time, about 4.7 SBUs. In addition, 6 tests are skipped
    5757    that use Automake. For full test coverage, Autoconf can be re-tested
    58     after Automake has been installed.  In addition, one test fails due to
     58    after Automake has been installed.  In addition, two tests fail due to
    5959    changes in libtool-2.4.3 and later.</para>
    6060
  • chapter06/glibc.xml

    r9f3a0fff rf77b95f  
    5454      Unicode, therefore libiconv is not required on an LFS system.</para>
    5555    </note>
    56 
    5756    <para>Some of the Glibc programs use non-FHS compilant
    5857    <filename class="directory">/var/db</filename> directory to store
    5958    their runtime data. Apply the following patch to make such programs
    6059    store their runtime data in the FHS-compliant locations:</para>
    61 
    62 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    63 
     60 
     61<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    6462    <para>The Glibc build system is self-contained and will install
    6563    perfectly, even though the compiler specs file and linker are still
     
    6967    of achieving a clean build.</para>
    7068
    71     <para>Fix a regression in the package that affects 32-bit architectures:</para>
    72 
    73 <screen><userinput remap="pre">sed -e '/ia32/s/^/1:/' \
    74     -e '/SSE2/s/^1://' \
    75     -i  sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen>
    76 
    77     <para>Fix a potential security issue identified upstream:</para>
    78 
    79 <screen><userinput remap="pre">sed -i '/glibc.*pad/{i\  buflen = buflen > pad ? buflen - pad : 0;
    80                      s/ + pad//}' resolv/nss_dns/dns-host.c</userinput></screen>
    81 
    82     <para>Fix a test case that fails when built using GCC 5:</para>
    83 
    84 <screen><userinput remap="pre">sed -e '/tst-audit2-ENV/i CFLAGS-tst-audit2.c += -fno-builtin' \
    85     -i elf/Makefile</userinput></screen>
    86 
    8769    <para>The Glibc documentation recommends building Glibc outside of the source
    8870    directory in a dedicated build directory:</para>
     
    120102
    121103      <listitem>
    122         <para>posix/tst-getaddrinfo4 will always fail
    123         due to not having a network connection when the tests are run.</para>
     104        <para><emphasis>posix/tst-getaddrinfo4</emphasis> will always fail
     105        due to not having the necessary network applications when the tests are
     106        run.</para>
    124107      </listitem>
    125108
     
    151134      </listitem>
    152135-->
     136      <listitem>
     137        <para>The <emphasis>elf/tst-protected1a</emphasis> and
     138        <emphasis>elf/tst-protected1a</emphasis> tests are known to
     139        fail with the current stable version of binutils.</para>
     140      </listitem>
     141
    153142      <listitem>
    154143        <para>Other tests known to fail on some architectures are
  • chapter06/inetutils.xml

    r9f3a0fff rf77b95f  
    9696
    9797<screen><userinput remap="test">make check</userinput></screen>
     98    <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard
     99    coding of some support program paths. All tests pass if the tests are rerun
     100    at the end of Chapter 6.</para>
    98101
    99102    <para>Install the package:</para>
  • chapter06/ncurses.xml

    r9f3a0fff rf77b95f  
    4141  <sect2 role="installation">
    4242    <title>Installation of Ncurses</title>
    43 
    44     <para>First, apply a patch to prevent a build failure
    45     when building with GCC 5:</para>
    46 
    47 <screen><userinput remap="pre">patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch;</userinput></screen>
    4843
    4944    <para>Don't install a static library that is not handled by configure:</para>
     
    114109    expected to reside:</para>
    115110
    116 <screen><userinput remap="install">mv -v /usr/lib/libncursesw.so.5* /lib</userinput></screen>
     111<screen><userinput remap="install">mv -v /usr/lib/libncursesw.so.6* /lib</userinput></screen>
    117112
    118113    <para>Because the libraries have been moved, one symlink points to
     
    158153            --without-cxx-binding
    159154make sources libs
    160 cp -av lib/lib*.so.5* /usr/lib</userinput></screen>
     155cp -av lib/lib*.so.6* /usr/lib</userinput></screen>
    161156    </note>
    162157
  • chapter06/procps.xml

    r9f3a0fff rf77b95f  
    7777<screen><userinput remap="install">make install</userinput></screen>
    7878
    79 <para>Finally, move essential files to a location that can be found if
     79<para>Finally, move essential libraries to a location that can be found if
    8080<filename class="directory">/usr</filename> is not mounted.</para>
    8181
    82 <screen><userinput remap="install">mv -v /usr/bin/pidof /bin
    83 mv -v /usr/lib/libprocps.so.* /lib
     82<screen><userinput remap="install">mv -v /usr/lib/libprocps.so.* /lib
    8483ln -sfv ../../lib/$(readlink /usr/lib/libprocps.so) /usr/lib/libprocps.so</userinput></screen>
    8584
Note: See TracChangeset for help on using the changeset viewer.