mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Update to procps-ng-3.3.11.
Update to man-pages-4.02. Update to ncurses-6.0. Update to glibc-2.22. Update to linux-4.1.5. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10936 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
5c3f304a8f
commit
f5e821c9ec
@ -36,6 +36,32 @@
|
||||
</listitem>
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para>2015-08-11</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to procps-ng-3.3.11. Fixes
|
||||
<ulink url="&lfs-ticket-root;3829">#3829</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to man-pages-4.02. Fixes
|
||||
<ulink url="&lfs-ticket-root;3828">#3828</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to ncurses-6.0. Fixes
|
||||
<ulink url="&lfs-ticket-root;3827">#3827</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to glibc-2.22. Fixes
|
||||
<ulink url="&lfs-ticket-root;3826">*3826</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to linux-4.1.5. Fixes
|
||||
<ulink url="&lfs-ticket-root;3825">*3825</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>2015-08-03</para>
|
||||
<itemizedlist>
|
||||
|
@ -94,9 +94,9 @@
|
||||
<listitem>
|
||||
<para>Gettext &gettext-version;</para>
|
||||
</listitem>
|
||||
<!--<listitem>
|
||||
<listitem>
|
||||
<para>Glibc &glibc-version;</para>
|
||||
</listitem>-->
|
||||
</listitem>
|
||||
<!--<listitem>
|
||||
<para>GMP &gmp-version;</para>
|
||||
</listitem>-->
|
||||
@ -169,9 +169,9 @@
|
||||
<listitem>
|
||||
<para>MPFR &mpfr-version;</para>
|
||||
</listitem>
|
||||
<!--<listitem>
|
||||
<listitem>
|
||||
<para>Ncurses &ncurses-version;</para>
|
||||
</listitem>-->
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Patch &patch-version;</para>
|
||||
</listitem>
|
||||
@ -181,9 +181,9 @@
|
||||
<!--<listitem>
|
||||
<para>Pkg-config &pkgconfig-version;</para>
|
||||
</listitem>-->
|
||||
<!--<listitem>
|
||||
<listitem>
|
||||
<para>Procps-ng &procps-ng-version;</para>
|
||||
</listitem>-->
|
||||
</listitem>
|
||||
<!--<listitem>
|
||||
<para>Psmisc &psmisc-version;</para>
|
||||
</listitem>-->
|
||||
@ -247,17 +247,9 @@
|
||||
<listitem>
|
||||
<para>&bash-fixes-patch;</para>
|
||||
</listitem>
|
||||
<!--
|
||||
<listitem>
|
||||
<para>&gcc-upstream-patch;</para>
|
||||
</listitem>
|
||||
-->
|
||||
<listitem>
|
||||
<para>Tcl-core-&tcl-version;</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>&ncurses-gcc5-buildfixes-patch;</para>
|
||||
<para>Tcl-core-&tcl-version;</para>
|
||||
</listitem>
|
||||
|
||||
</itemizedlist>
|
||||
|
@ -33,31 +33,7 @@
|
||||
<para>MD5 sum: <literal>&bc-memory-leak-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<!--
|
||||
<varlistentry>
|
||||
<term>Binutils LTO Patch - <token>&binutils-lto-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&binutils-lto-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&binutils-lto-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>Binutils LTO Testsuite Patch - <token>&binutils-lto-testsuite-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&binutils-lto-testsuite-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&binutils-lto-testsuite-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>Binutils Multiple Plugins Patch - <token>&binutils-multiple-plugins-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&binutils-multiple-plugins-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&binutils-multiple-plugins-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
-->
|
||||
<varlistentry>
|
||||
<term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
@ -73,34 +49,6 @@
|
||||
<para>MD5 sum: <literal>&coreutils-i18n-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<!--
|
||||
<varlistentry>
|
||||
<term>Coreutils shuf Segmentation Fault Fix Patch - <token>&coreutils-shuf-segfault-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&coreutils-shuf-segfault-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&coreutils-shuf-segfault-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
-->
|
||||
<!--
|
||||
<varlistentry>
|
||||
<term>E2fsprogs Fix Test Patch - <token>&e2fsprogs-fix-test-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&e2fsprogs-fix-test-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&e2fsprogs-fix-test-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<varlistentry>
|
||||
<term>Gcc Upstream Patch - <token>&gcc-upstream-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&gcc-upstream-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&gcc-upstream-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
-->
|
||||
<varlistentry>
|
||||
<term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
@ -117,14 +65,6 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<!--
|
||||
<varlistentry>
|
||||
<term>Mpfr Upstream Fixes Patch - <token>&mpfr-fixes-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&mpfr-fixes-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&mpfr-fixes-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
-->
|
||||
<varlistentry>
|
||||
<term>Ncurses GCC 5 Fixes Patch - <token>&ncurses-gcc5-buildfixes-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
@ -132,14 +72,6 @@
|
||||
<para>MD5 sum: <literal>&ncurses-gcc5-buildfixes-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<!--
|
||||
<varlistentry>
|
||||
<term>Perl GCC 5 Fixes Patch - <token>&perl-gcc5-fixes-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&perl-gcc5-fixes-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&perl-gcc5-fixes-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
-->
|
||||
<varlistentry>
|
||||
<term>Readline Upstream Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term>
|
||||
@ -156,15 +88,7 @@
|
||||
<para>MD5 sum: <literal>&sysvinit-consolidated-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<!--
|
||||
<varlistentry>
|
||||
<term>Tar Manpage Patch - <token>&tar-manpage-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&tar-manpage-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&tar-manpage-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
-->
|
||||
|
||||
</variablelist>
|
||||
|
||||
<para>Total size of these patches: about <returnvalue/></para>
|
||||
|
@ -43,42 +43,11 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Glibc</title>
|
||||
|
||||
<!-- The enable-obsolete-rpc should handle this just fine.
|
||||
<para>In some cases, particularly LFS 7.1, the rpc headers were not
|
||||
installed properly. Test to see if they are installed in the host system
|
||||
and install if they are not:</para>
|
||||
|
||||
<screen><userinput remap="pre">if [ ! -r /usr/include/rpc/types.h ]; then
|
||||
su -c 'mkdir -pv /usr/include/rpc'
|
||||
su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'
|
||||
fi</userinput></screen>
|
||||
-->
|
||||
<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>The Glibc documentation recommends building Glibc outside of the source
|
||||
directory in a dedicated build directory:</para>
|
||||
|
||||
<screen><userinput remap="pre">mkdir -v ../glibc-build
|
||||
cd ../glibc-build</userinput></screen>
|
||||
<!--
|
||||
<para>Because Glibc no longer supports i386, its developers say to use the
|
||||
compiler flag <parameter>-march=i486</parameter> when building it for x86
|
||||
machines. There are several ways to accomplish that, but testing shows that
|
||||
the flag is best placed inside the build variable <quote>CFLAGS</quote>.
|
||||
Instead of overriding completely what Glibc's internal build system uses
|
||||
for CFLAGS, append the new flag to the existing contents of CFLAGS by
|
||||
making use of the special file <filename>configparms</filename>. The
|
||||
-mtune=native flag is also necessary to reset a reasonable value for -mtune
|
||||
that is changed when setting -march.</para>
|
||||
|
||||
<screen><userinput remap="configure">case `uname -m` in
|
||||
i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;;
|
||||
esac</userinput></screen>
|
||||
-->
|
||||
|
||||
<para>Next, prepare Glibc for compilation:</para>
|
||||
|
||||
|
@ -43,11 +43,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>Prepare Ncurses for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/tools \
|
||||
|
@ -68,22 +68,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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!ENTITY version "SVN-20150803">
|
||||
<!ENTITY version "SVN-20150811">
|
||||
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;. Change to x.y for release
|
||||
but not -rc releases -->
|
||||
<!ENTITY releasedate "August 3, 2015">
|
||||
<!ENTITY releasedate "August 11, 2015">
|
||||
<!ENTITY copyrightdate "1999-2015"><!-- jhalfs needs a literal dash, not – -->
|
||||
<!ENTITY milestone "7.8">
|
||||
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
|
||||
|
30
packages.ent
30
packages.ent
@ -229,10 +229,10 @@
|
||||
<!ENTITY gettext-ch6-du "229 MB">
|
||||
<!ENTITY gettext-ch6-sbu "4.9 SBU">
|
||||
|
||||
<!ENTITY glibc-version "2.21">
|
||||
<!ENTITY glibc-size "12,034 KB">
|
||||
<!ENTITY glibc-version "2.22">
|
||||
<!ENTITY glibc-size "12,666 KB">
|
||||
<!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
|
||||
<!ENTITY glibc-md5 "9cb398828e8f84f57d1f7d5588cf40cd">
|
||||
<!ENTITY glibc-md5 "e51e02bf552a0a1fbbdc948fb2f5e83c">
|
||||
<!ENTITY glibc-home "&gnu-software;libc/">
|
||||
<!ENTITY glibc-ch5-du "670 MB">
|
||||
<!ENTITY glibc-ch5-sbu "3.9 SBU">
|
||||
@ -382,12 +382,12 @@
|
||||
|
||||
<!ENTITY linux-major-version "4">
|
||||
<!ENTITY linux-minor-version "1">
|
||||
<!ENTITY linux-patch-version "3">
|
||||
<!ENTITY linux-patch-version "5">
|
||||
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
|
||||
<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
|
||||
<!ENTITY linux-size "81,072 KB">
|
||||
<!ENTITY linux-size "81,080 KB">
|
||||
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
|
||||
<!ENTITY linux-md5 "96c2c77b1c54ba01cfd8fc2d13fbf828">
|
||||
<!ENTITY linux-md5 "f23e1d4ce8f63e46db81d56e36281885">
|
||||
<!ENTITY linux-home "http://www.kernel.org/">
|
||||
<!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is
|
||||
allnoconfig extended for a hopefully-bootable build on desktop machine,
|
||||
@ -428,10 +428,10 @@
|
||||
<!ENTITY man-db-ch6-du "33 MB">
|
||||
<!ENTITY man-db-ch6-sbu "0.4 SBU">
|
||||
|
||||
<!ENTITY man-pages-version "4.01">
|
||||
<!ENTITY man-pages-size "1,363 KB">
|
||||
<!ENTITY man-pages-version "4.02">
|
||||
<!ENTITY man-pages-size "1,371 KB">
|
||||
<!ENTITY man-pages-url "&kernel;linux/docs/man-pages/man-pages-&man-pages-version;.tar.xz">
|
||||
<!ENTITY man-pages-md5 "008422983c6ddd97d412ef4c301f3af9">
|
||||
<!ENTITY man-pages-md5 "6c5692af39eb5fe468a8bd1f110b0edd">
|
||||
<!ENTITY man-pages-home "http://www.kernel.org/doc/man-pages/">
|
||||
<!ENTITY man-pages-ch6-du "35 MB">
|
||||
<!ENTITY man-pages-ch6-sbu "less than 0.1 SBU">
|
||||
@ -452,10 +452,10 @@
|
||||
<!ENTITY mpfr-ch6-du "30 MB">
|
||||
<!ENTITY mpfr-ch6-sbu "0.7 SBU">
|
||||
|
||||
<!ENTITY ncurses-version "5.9">
|
||||
<!ENTITY ncurses-size "2,760 KB">
|
||||
<!ENTITY ncurses-version "6.0">
|
||||
<!ENTITY ncurses-size "3,059 KB">
|
||||
<!ENTITY ncurses-url "&gnu;/ncurses/ncurses-&ncurses-version;.tar.gz">
|
||||
<!ENTITY ncurses-md5 "8cb9c412e5f2d96bc6f459aa8c6282a1">
|
||||
<!ENTITY ncurses-md5 "ee13d052e1ead260d7c28071f46eefb1">
|
||||
<!ENTITY ncurses-home "&gnu-software;ncurses/">
|
||||
<!ENTITY ncurses-ch5-du "45 MB">
|
||||
<!ENTITY ncurses-ch5-sbu "0.5 SBU">
|
||||
@ -490,10 +490,10 @@
|
||||
<!ENTITY pkgconfig-ch6-du "30 MB">
|
||||
<!ENTITY pkgconfig-ch6-sbu "0.3 SBU">
|
||||
|
||||
<!ENTITY procps-ng-version "3.3.10">
|
||||
<!ENTITY procps-ng-size "801 KB">
|
||||
<!ENTITY procps-ng-version "3.3.11">
|
||||
<!ENTITY procps-ng-size "797 KB">
|
||||
<!ENTITY procps-ng-url "http://sourceforge.net/projects/procps-ng/files/Production/procps-ng-&procps-ng-version;.tar.xz">
|
||||
<!ENTITY procps-ng-md5 "1fb7f3f6bf92ce6c5c9ed9949ae858fe">
|
||||
<!ENTITY procps-ng-md5 "6cc5b94c1c5b8cbc89ad345a7b522f74">
|
||||
<!ENTITY procps-ng-home "http://sourceforge.net/projects/procps-ng">
|
||||
<!ENTITY procps-ng-ch6-du "17 MB">
|
||||
<!ENTITY procps-ng-ch6-sbu "0.1 SBU">
|
||||
|
@ -38,9 +38,11 @@
|
||||
<!ENTITY mpfr-fixes-patch-size "38 KB">
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!ENTITY ncurses-gcc5-buildfixes-patch "ncurses-&ncurses-version;-gcc5_buildfixes-1.patch">
|
||||
<!ENTITY ncurses-gcc5-buildfixes-patch-md5 "f9015f670940350a3fc3c2ef347e2b33">
|
||||
<!ENTITY ncurses-gcc5-buildfixes-patch-size "4 KB">
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!ENTITY perl-gcc5-fixes-patch "perl-&perl-version;-gcc5_fixes-1.patch">
|
||||
|
Loading…
Reference in New Issue
Block a user