Changeset f77b95f
- Timestamp:
- 08/19/2015 08:20:02 PM (8 years ago)
- Branches:
- 7.8-systemd, 7.9-systemd, 7.9-systemd-rc1, 7.9-systemd-rc2, systemd
- Children:
- 102c4bb6, 9c13f79
- Parents:
- 9f3a0fff
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r9f3a0fff rf77b95f 38 38 39 39 <listitem> 40 <para>2015-08-19</para> 41 <itemizedlist> 42 <listitem> 43 <para>[bdubbs] - Add a workaround to ncurses in 44 Chapter 5 for hosts that have mawk installed.</para> 45 </listitem> 46 <listitem> 47 <para>[renodr] - Update to binutils-2.25.1.</para> 48 </listitem> 49 <listitem> 50 <para>[renodr] - Update to check-0.10.0.</para> 51 </listitem> 52 <listitem> 53 <para>[renodr] - Update to procps-ng-3.3.11.</para> 54 </listitem> 55 <listitem> 56 <para>[renodr] - Update to man-pages-4.02.</para> 57 </listitem> 58 <listitem> 59 <para>[renodr] - Update to glibc-2.22.</para> 60 </listitem> 61 <listitem> 62 <para>[renodr] - Update to linux-4.1.5.</para> 63 </listitem> 64 <listitem> 65 <para>[renodr] - Update to tzdata2015f.</para> 66 </listitem> 67 </itemizedlist> 68 </listitem> 69 70 <listitem> 40 71 <para>2015-07-23</para> 41 72 <itemizedlist> -
chapter01/whatsnew.xml
r9f3a0fff rf77b95f 41 41 <para>Bash &bash-version;</para> 42 42 </listitem>--> 43 < !--<listitem>43 <listitem> 44 44 <para>Binutils &binutils-version;</para> 45 </listitem> -->45 </listitem> 46 46 <!--<listitem> 47 47 <para>Bison &bison-version;</para> … … 50 50 <para>Bzip2 &bzip2-version;</para> 51 51 </listitem>--> 52 < !--<listitem>52 <listitem> 53 53 <para>Check &check-version;</para> 54 </listitem> -->54 </listitem> 55 55 <listitem> 56 56 <para>Coreutils &coreutils-version;</para> … … 95 95 <para>Gettext &gettext-version;</para> 96 96 </listitem> 97 < !--<listitem>97 <listitem> 98 98 <para>Glibc &glibc-version;</para> 99 </listitem> -->99 </listitem> 100 100 <!--<listitem> 101 101 <para>GMP &gmp-version;</para> … … 167 167 <para>MPFR &mpfr-version;</para> 168 168 </listitem> 169 < !--<listitem>169 <listitem> 170 170 <para>Ncurses &ncurses-version;</para> 171 </listitem> -->171 </listitem> 172 172 <listitem> 173 173 <para>Patch &patch-version;</para> … … 179 179 <para>Pkg-config &pkgconfig-version;</para> 180 180 </listitem>--> 181 < !--<listitem>181 <listitem> 182 182 <para>Procps-ng &procps-ng-version;</para> 183 </listitem> -->183 </listitem> 184 184 <!--<listitem> 185 185 <para>Psmisc &psmisc-version;</para> … … 247 247 </listitem> 248 248 --> 249 <listitem>250 <para>&ncurses-gcc5-buildfixes-patch;</para>251 </listitem>252 249 253 250 <listitem> -
chapter03/patches.xml
r9f3a0fff rf77b95f 34 34 </listitem> 35 35 </varlistentry> 36 <!--37 <varlistentry>38 <term>Binutils LTO Patch - <token>&binutils-lto-patch-size;</token>:</term>39 <listitem>40 <para>Download: <ulink url="&patches-root;&binutils-lto-patch;"/></para>41 <para>MD5 sum: <literal>&binutils-lto-patch-md5;</literal></para>42 </listitem>43 </varlistentry>44 45 <varlistentry>46 <term>Binutils LTO Testsuite Patch - <token>&binutils-lto-testsuite-patch-size;</token>:</term>47 <listitem>48 <para>Download: <ulink url="&patches-root;&binutils-lto-testsuite-patch;"/></para>49 <para>MD5 sum: <literal>&binutils-lto-testsuite-patch-md5;</literal></para>50 </listitem>51 </varlistentry>52 53 <varlistentry>54 <term>Binutils Multiple Plugins Patch - <token>&binutils-multiple-plugins-patch-size;</token>:</term>55 <listitem>56 <para>Download: <ulink url="&patches-root;&binutils-multiple-plugins-patch;"/></para>57 <para>MD5 sum: <literal>&binutils-multiple-plugins-patch-md5;</literal></para>58 </listitem>59 </varlistentry>60 -->61 36 <varlistentry> 62 37 <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term> … … 74 49 </listitem> 75 50 </varlistentry> 76 <!--77 <varlistentry>78 <term>Coreutils shuf Segmentation Fault Fix Patch - <token>&coreutils-shuf-segfault-patch-size;</token>:</term>79 <listitem>80 <para>Download: <ulink url="&patches-root;&coreutils-shuf-segfault-patch;"/></para>81 <para>MD5 sum: <literal>&coreutils-shuf-segfault-patch-md5;</literal></para>82 </listitem>83 </varlistentry>84 -->85 <!--86 <varlistentry>87 <term>E2fsprogs Fix Test Patch - <token>&e2fsprogs-fix-test-patch-size;</token>:</term>88 <listitem>89 <para>Download: <ulink url="&patches-root;&e2fsprogs-fix-test-patch;"/></para>90 <para>MD5 sum: <literal>&e2fsprogs-fix-test-patch-md5;</literal></para>91 </listitem>92 </varlistentry>93 -->94 51 95 <!--96 <varlistentry>97 <term>Gcc Upstream Patch - <token>&gcc-upstream-patch-size;</token>:</term>98 <listitem>99 <para>Download: <ulink url="&patches-root;&gcc-upstream-patch;"/></para>100 <para>MD5 sum: <literal>&gcc-upstream-patch-md5;</literal></para>101 </listitem>102 </varlistentry>103 -->104 52 <varlistentry> 105 53 <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term> … … 117 65 </listitem> 118 66 </varlistentry> 119 <!-- 120 <varlistentry> 121 <term>Mpfr Upstream Fixes Patch - <token>&mpfr-fixes-patch-size;</token>:</term> 122 <listitem> 123 <para>Download: <ulink url="&patches-root;&mpfr-fixes-patch;"/></para> 124 <para>MD5 sum: <literal>&mpfr-fixes-patch-md5;</literal></para> 125 </listitem> 126 </varlistentry> 127 --> 128 <varlistentry> 129 <term>Ncurses GCC 5 Fixes Patch - <token>&ncurses-gcc5-buildfixes-patch-size;</token>:</term> 67 <!-- <varlistentry> --> 68 <!-- <term>Ncurses GCC 5 Fixes Patch - <token>&ncurses-gcc5-buildfixes-patch-size;</token>:</term> 130 69 <listitem> 131 70 <para>Download: <ulink url="&patches-root;&ncurses-gcc5-buildfixes-patch;"/></para> 132 71 <para>MD5 sum: <literal>&ncurses-gcc5-buildfixes-patch-md5;</literal></para> 133 72 </listitem> 134 </varlistentry> 135 <!-- 136 <varlistentry> 137 <term>Perl GCC 5 Fixes Patch - <token>&perl-gcc5-fixes-patch-size;</token>:</term> 138 <listitem> 139 <para>Download: <ulink url="&patches-root;&perl-gcc5-fixes-patch;"/></para> 140 <para>MD5 sum: <literal>&perl-gcc5-fixes-patch-md5;</literal></para> 141 </listitem> 142 </varlistentry> 143 --> 73 </varlistentry> --> 74 144 75 <varlistentry> 145 76 <term>Readline Upstream Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term> … … 157 88 </listitem> 158 89 </varlistentry> 159 <!--160 <varlistentry>161 <term>Tar Manpage Patch - <token>&tar-manpage-patch-size;</token>:</term>162 <listitem>163 <para>Download: <ulink url="&patches-root;&tar-manpage-patch;"/></para>164 <para>MD5 sum: <literal>&tar-manpage-patch-md5;</literal></para>165 </listitem>166 </varlistentry>167 -->168 90 </variablelist> 169 91 -
chapter05/glibc.xml
r9f3a0fff rf77b95f 44 44 <title>Installation of Glibc</title> 45 45 46 <!-- The enable-obsolete-rpc should handle this just fine.47 <para>In some cases, particularly LFS 7.1, the rpc headers were not48 installed properly. Test to see if they are installed in the host system49 and install if they are not:</para>50 51 <screen><userinput remap="pre">if [ ! -r /usr/include/rpc/types.h ]; then52 su -c 'mkdir -pv /usr/include/rpc'53 su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'54 fi</userinput></screen>55 -->56 <para>Fix a regression in the package that affects 32-bit architectures:</para>57 58 <screen><userinput remap="pre">sed -e '/ia32/s/^/1:/' \59 -e '/SSE2/s/^1://' \60 -i sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen>61 62 46 <para>The Glibc documentation recommends building Glibc outside of the source 63 47 directory in a dedicated build directory:</para> … … 65 49 <screen><userinput remap="pre">mkdir -v ../glibc-build 66 50 cd ../glibc-build</userinput></screen> 67 <!--68 <para>Because Glibc no longer supports i386, its developers say to use the69 compiler flag <parameter>-march=i486</parameter> when building it for x8670 machines. There are several ways to accomplish that, but testing shows that71 the flag is best placed inside the build variable <quote>CFLAGS</quote>.72 Instead of overriding completely what Glibc's internal build system uses73 for CFLAGS, append the new flag to the existing contents of CFLAGS by74 making use of the special file <filename>configparms</filename>. The75 -mtune=native flag is also necessary to reset a reasonable value for -mtune76 that is changed when setting -march.</para>77 78 <screen><userinput remap="configure">case `uname -m` in79 i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;80 esac</userinput></screen>81 -->82 51 83 52 <para>Next, prepare Glibc for compilation:</para> -
chapter05/ncurses.xml
r9f3a0fff rf77b95f 44 44 <title>Installation of Ncurses</title> 45 45 46 <para>First, apply a patch to prevent a build failure 47 when building with GCC 5:</para> 46 <para>First, ensure that gawk is found first during configuration:</para> 48 47 49 <screen><userinput remap="pre"> patch -Np1 -i ../&ncurses-gcc5-buildfixes-patch;</userinput></screen>48 <screen><userinput remap="pre">sed -i s/mawk// configure</userinput></screen> 50 49 51 50 <para>Prepare Ncurses for compilation:</para> -
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 -
general.ent
r9f3a0fff rf77b95f 1 <!ENTITY version "201508 03-systemd">1 <!ENTITY version "20150819-systemd"> 2 2 <!ENTITY short-version "systemd"> <!-- Used in dbus chapter, change to x.y for release --> 3 <!ENTITY releasedate "August 3rd, 2015">3 <!ENTITY releasedate "August 19th, 2015"> 4 4 <!ENTITY copyrightdate "1999-2015"><!-- jhalfs needs a literal dash, not – --> 5 5 <!ENTITY milestone "7.8"> -
packages.ent
r9f3a0fff rf77b95f 58 58 <!ENTITY bc-ch6-sbu "0.1 SBU"> 59 59 60 <!ENTITY binutils-version "2.25 ">61 <!ENTITY binutils-size "23, 486KB">60 <!ENTITY binutils-version "2.25.1"> 61 <!ENTITY binutils-size "23,598 KB"> 62 62 <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2"> 63 <!ENTITY binutils-md5 " d9f3303f802a5b6b0bb73a335ab89d66">63 <!ENTITY binutils-md5 "ac493a78de4fee895961d025b7905be4"> 64 64 <!ENTITY binutils-home "&gnu-software;binutils/"> 65 65 <!ENTITY binutils-ch5p1-du "545 MB"> … … 88 88 <!ENTITY bzip2-ch6-sbu "less than 0.1 SBU"> 89 89 90 <!ENTITY check-version "0. 9.14">91 <!ENTITY check-size "7 41KB">90 <!ENTITY check-version "0.10.0"> 91 <!ENTITY check-size "752 KB"> 92 92 <!ENTITY check-url "http://sourceforge.net/projects/check/files/check/&check-version;/check-&check-version;.tar.gz"> 93 <!ENTITY check-md5 " 38263d115d784c17aa3b959ce94be8b8">93 <!ENTITY check-md5 "53c5e5c77d090e103a17f3ed7fd7d8b8"> 94 94 <!ENTITY check-home "http://check.sourceforge.net/"> 95 95 <!ENTITY check-ch5-du "11 MB"> … … 231 231 <!ENTITY gettext-ch6-sbu "4.9 SBU"> 232 232 233 <!ENTITY glibc-version "2.2 1">234 <!ENTITY glibc-size "12, 034KB">233 <!ENTITY glibc-version "2.22"> 234 <!ENTITY glibc-size "12,666 KB"> 235 235 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz"> 236 <!ENTITY glibc-md5 " 9cb398828e8f84f57d1f7d5588cf40cd">236 <!ENTITY glibc-md5 "e51e02bf552a0a1fbbdc948fb2f5e83c"> 237 237 <!ENTITY glibc-home "&gnu-software;libc/"> 238 238 <!ENTITY glibc-ch5-du "670 MB"> … … 376 376 <!ENTITY linux-major-version "4"> 377 377 <!ENTITY linux-minor-version "1"> 378 <!ENTITY linux-patch-version " 2">378 <!ENTITY linux-patch-version "5"> 379 379 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 380 380 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 381 <!ENTITY linux-size "81,0 72KB">381 <!ENTITY linux-size "81,080 KB"> 382 382 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 383 <!ENTITY linux-md5 " 26879db288cd9ffa17c9fd5db213b272">383 <!ENTITY linux-md5 "f23e1d4ce8f63e46db81d56e36281885"> 384 384 <!ENTITY linux-home "http://www.kernel.org/"> 385 385 <!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is … … 422 422 <!ENTITY man-db-ch6-sbu "0.4 SBU"> 423 423 424 <!ENTITY man-pages-version "4.0 0">425 <!ENTITY man-pages-size "1,3 37KB">424 <!ENTITY man-pages-version "4.02"> 425 <!ENTITY man-pages-size "1,371 KB"> 426 426 <!ENTITY man-pages-url "&kernel;linux/docs/man-pages/man-pages-&man-pages-version;.tar.xz"> 427 <!ENTITY man-pages-md5 " 3401eb0020c56639070d199c3e59a4f8">427 <!ENTITY man-pages-md5 "6c5692af39eb5fe468a8bd1f110b0edd"> 428 428 <!ENTITY man-pages-home "http://www.kernel.org/doc/man-pages/"> 429 429 <!ENTITY man-pages-ch6-du "35 MB"> … … 446 446 <!ENTITY mpfr-ch6-sbu "0.7 SBU"> 447 447 448 <!ENTITY ncurses-version " 5.9">449 <!ENTITY ncurses-size " 2,760KB">448 <!ENTITY ncurses-version "6.0"> 449 <!ENTITY ncurses-size "3,059 KB"> 450 450 <!ENTITY ncurses-url "&gnu;/ncurses/ncurses-&ncurses-version;.tar.gz"> 451 <!ENTITY ncurses-md5 " 8cb9c412e5f2d96bc6f459aa8c6282a1">451 <!ENTITY ncurses-md5 "ee13d052e1ead260d7c28071f46eefb1"> 452 452 <!ENTITY ncurses-home "&gnu-software;ncurses/"> 453 453 <!ENTITY ncurses-ch5-du "45 MB"> … … 484 484 <!ENTITY pkgconfig-ch6-sbu "0.3 SBU"> 485 485 486 <!ENTITY procps-ng-version "3.3.1 0">487 <!ENTITY procps-ng-size " 801KB">486 <!ENTITY procps-ng-version "3.3.11"> 487 <!ENTITY procps-ng-size "797 KB"> 488 488 <!ENTITY procps-ng-url "http://sourceforge.net/projects/procps-ng/files/Production/procps-ng-&procps-ng-version;.tar.xz"> 489 <!ENTITY procps-ng-md5 " 1fb7f3f6bf92ce6c5c9ed9949ae858fe">489 <!ENTITY procps-ng-md5 "6cc5b94c1c5b8cbc89ad345a7b522f74"> 490 490 <!ENTITY procps-ng-home "http://sourceforge.net/projects/procps-ng"> 491 491 <!ENTITY procps-ng-ch6-du "17 MB"> … … 563 563 <!ENTITY texinfo-ch6-sbu "0.5 SBU"> 564 564 565 <!ENTITY tzdata-version "2015 e">566 <!ENTITY tzdata-size "29 0KB">565 <!ENTITY tzdata-version "2015f"> 566 <!ENTITY tzdata-size "292 KB"> 567 567 <!ENTITY tzdata-url "http://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz"> 568 <!ENTITY tzdata-md5 " 36f9056efb432ca945c73397acfce0d4">568 <!ENTITY tzdata-md5 "e3b82732d20e973e48af1c6f13df9a1d"> 569 569 <!ENTITY tzdata-home "http://www.iana.org/time-zones"> 570 570 -
patches.ent
r9f3a0fff rf77b95f 39 39 --> 40 40 41 <!-- 41 42 <!ENTITY ncurses-gcc5-buildfixes-patch "ncurses-&ncurses-version;-gcc5_buildfixes-1.patch"> 42 43 <!ENTITY ncurses-gcc5-buildfixes-patch-md5 "f9015f670940350a3fc3c2ef347e2b33"> 43 44 <!ENTITY ncurses-gcc5-buildfixes-patch-size "4 KB"> 45 --> 44 46 45 47 <!--
Note:
See TracChangeset
for help on using the changeset viewer.