- Timestamp:
- 08/19/2015 08:20:02 PM (9 years ago)
- Branches:
- 7.8-systemd, 7.9-systemd
- Children:
- 102c4bb6, 9c13f79
- Parents:
- 9f3a0fff
- Location:
- chapter06
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/autoconf.xml
r9f3a0fff rf77b95f 56 56 <para>This takes a long time, about 4.7 SBUs. In addition, 6 tests are skipped 57 57 that use Automake. For full test coverage, Autoconf can be re-tested 58 after Automake has been installed. In addition, one test failsdue to58 after Automake has been installed. In addition, two tests fail due to 59 59 changes in libtool-2.4.3 and later.</para> 60 60 -
chapter06/glibc.xml
r9f3a0fff rf77b95f 54 54 Unicode, therefore libiconv is not required on an LFS system.</para> 55 55 </note> 56 57 56 <para>Some of the Glibc programs use non-FHS compilant 58 57 <filename class="directory">/var/db</filename> directory to store 59 58 their runtime data. Apply the following patch to make such programs 60 59 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> 64 62 <para>The Glibc build system is self-contained and will install 65 63 perfectly, even though the compiler specs file and linker are still … … 69 67 of achieving a clean build.</para> 70 68 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 87 69 <para>The Glibc documentation recommends building Glibc outside of the source 88 70 directory in a dedicated build directory:</para> … … 120 102 121 103 <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> 124 107 </listitem> 125 108 … … 151 134 </listitem> 152 135 --> 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 153 142 <listitem> 154 143 <para>Other tests known to fail on some architectures are -
chapter06/inetutils.xml
r9f3a0fff rf77b95f 96 96 97 97 <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> 98 101 99 102 <para>Install the package:</para> -
chapter06/ncurses.xml
r9f3a0fff rf77b95f 41 41 <sect2 role="installation"> 42 42 <title>Installation of Ncurses</title> 43 44 <para>First, apply a patch to prevent a build failure45 when building with GCC 5:</para>46 47 <screen><userinput remap="pre">patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch;</userinput></screen>48 43 49 44 <para>Don't install a static library that is not handled by configure:</para> … … 114 109 expected to reside:</para> 115 110 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> 117 112 118 113 <para>Because the libraries have been moved, one symlink points to … … 158 153 --without-cxx-binding 159 154 make sources libs 160 cp -av lib/lib*.so. 5* /usr/lib</userinput></screen>155 cp -av lib/lib*.so.6* /usr/lib</userinput></screen> 161 156 </note> 162 157 -
chapter06/procps.xml
r9f3a0fff rf77b95f 77 77 <screen><userinput remap="install">make install</userinput></screen> 78 78 79 <para>Finally, move essential files to a location that can be found if79 <para>Finally, move essential libraries to a location that can be found if 80 80 <filename class="directory">/usr</filename> is not mounted.</para> 81 81 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 84 83 ln -sfv ../../lib/$(readlink /usr/lib/libprocps.so) /usr/lib/libprocps.so</userinput></screen> 85 84
Note:
See TracChangeset
for help on using the changeset viewer.