diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2022-02-09 20:54:15 -0600 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2022-02-09 20:54:15 -0600 |
commit | 9c4ff70edf2b57a98069d3395041f982c385dd5b (patch) | |
tree | 7e36ee2aea8e68d0e5dcbf97c57aa5b28b679ebc | |
parent | d759d8b20c5f2cf8142ce60c73ddaaec901d0880 (diff) |
Package updates.
Update to bc-5.2.2.
Update to linux-5.16.8.
Update to binutils-2.38. Requires adding zlib to Chapter 6.
-rw-r--r-- | chapter01/changelog.xml | 19 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 10 | ||||
-rw-r--r-- | chapter03/patches.xml | 4 | ||||
-rw-r--r-- | chapter06/chapter06.xml | 1 | ||||
-rw-r--r-- | chapter06/zlib.xml | 67 | ||||
-rw-r--r-- | chapter08/binutils.xml | 6 | ||||
-rw-r--r-- | packages.ent | 20 | ||||
-rw-r--r-- | patches.ent | 4 |
8 files changed, 111 insertions, 20 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index c2f04a58c..97fff77a0 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,25 @@ appropriate for the entry or if needed the entire day's listitem. --> <listitem> + <para>2022-02-09</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Update to bc-5.2.2. Fixes + <ulink url="&lfs-ticket-root;5004">#5004</ulink>.</para> + </listitem> + <listitem> + <para>[bdubbs] - Update to linux-5.16.8. Fixes + <ulink url="&lfs-ticket-root;5005">#5005</ulink>.</para> + </listitem> + <listitem> + <para>[bdubbs] - Update to binutils-2.38. Requires + adding zlib to Chapter 6. Fixes + <ulink url="&lfs-ticket-root;5007">#5007</ulink>.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2022-02-04</para> <itemizedlist> <listitem> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 5beb5ccea..dd4d4f7e7 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -39,19 +39,19 @@ <!--<listitem> <para>Autoconf-&autoconf-version;</para> </listitem>--> - <listitem> + <listitem> <para>Automake-&automake-version;</para> </listitem> - <listitem> + <listitem> <para>Bash &bash-version;</para> </listitem> <listitem> <para>Bc &bc-version;</para> </listitem> - <!--<listitem> + <listitem> <para>Binutils-&binutils-version;</para> - </listitem>--> - <listitem> + </listitem> + <listitem> <para>Bison-&bison-version;</para> </listitem> <!--<listitem> diff --git a/chapter03/patches.xml b/chapter03/patches.xml index d404035a2..993f254bc 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -35,7 +35,7 @@ </listitem> </varlistentry> --> - +<!-- <varlistentry> <term>Binutils Upstream Fix Patch - <token>&binutils-upstream-patch-size;</token>:</term> <listitem> @@ -43,7 +43,7 @@ <para>MD5 sum: <literal>&binutils-upstream-patch-md5;</literal></para> </listitem> </varlistentry> - +--> <varlistentry> <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term> <listitem> diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 366e9a8ab..1b1ee40bc 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -28,6 +28,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tar.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xz.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils-pass2.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc-pass2.xml"/> diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml new file mode 100644 index 000000000..d3f66c8cc --- /dev/null +++ b/chapter06/zlib.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-tools-zlib" role="wrap"> + <?dbhtml filename="zlib.html"?> + + <sect1info condition="script"> + <productname>zlib</productname> + <productnumber>&zlib-version;</productnumber> + <address>&zlib-url;</address> + </sect1info> + + <title>Zlib-&zlib-version;</title> + + <indexterm zone="ch-tools-zlib"> + <primary sortas="a-Zlib">Zlib</primary> + </indexterm> + + <sect2 role="package"> + <title/> + + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" + href="../chapter08/zlib.xml" + xpointer="xpointer(/sect1/sect2[1]/para[1])"/> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&zlib-tmp-sbu;</seg> + <seg>&zlib-tmp-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Zlib</title> + + <para>Prepare Zlib for compilation:</para> + + <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> + + <para>Compile the package:</para> + +<screen><userinput remap="make">make</userinput></screen> + + <para>Install the package:</para> + +<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> + + </sect2> + + <sect2 role="content"> + <title/> + <para>Details on this package are located in + <xref linkend="contents-zlib" role="."/> + </para> + + </sect2> + +</sect1> diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index c2153b6cd..6125741de 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -56,18 +56,20 @@ <screen><computeroutput>The system has no more ptys. Ask your system administrator to create more.</computeroutput></screen> - +<!-- <para>Upstream has made a patch to fix a problem building some packages. Apply that now:</para> <screen><userinput remap="pre">patch -Np1 -i ../&binutils-upstream-patch;</userinput></screen> - +--> +<!-- <para>An error in the building system causes the shipped man pages to be empty. Workaround the issue and remove the shipped man pages, so the man pages will be regenerated correctly:</para> <screen><userinput remap="pre">sed -i '63d' etc/texi2pod.pl find -name \*.1 -delete</userinput></screen> +--> <!-- <para>Now remove one test that prevents the tests from running to completion:</para> diff --git a/packages.ent b/packages.ent index b3bb37721..32a671e2d 100644 --- a/packages.ent +++ b/packages.ent @@ -58,18 +58,18 @@ <!ENTITY bash-fin-du "50 MB"> <!ENTITY bash-fin-sbu "1.6 SBU"> -<!ENTITY bc-version "5.2.1"> -<!ENTITY bc-size "421 KB"> +<!ENTITY bc-version "5.2.2"> +<!ENTITY bc-size "428 KB"> <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz"> -<!ENTITY bc-md5 "19dbb20c3aba33acacec29edd0b2c46e"> +<!ENTITY bc-md5 "632344cdb052af0e06087bd3b0034126"> <!ENTITY bc-home "https://git.yzena.com/gavin/bc"> <!ENTITY bc-fin-du "6.7 MB"> <!ENTITY bc-fin-sbu "less than 0.1 SBU"> -<!ENTITY binutils-version "2.37"> -<!ENTITY binutils-size "22,390 KB"> +<!ENTITY binutils-version "2.38"> +<!ENTITY binutils-size "23,098 KB"> <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.xz"> -<!ENTITY binutils-md5 "e78d9ff2976b745a348f4c1f27c77cb1"> +<!ENTITY binutils-md5 "6e39cad1bb414add02b5b1169c18fdc5"> <!ENTITY binutils-home "&gnu-software;binutils/"> <!ENTITY binutils-tmpp1-du "602 MB"> <!ENTITY binutils-tmpp1-sbu "1 SBU"> @@ -428,12 +428,12 @@ <!ENTITY linux-major-version "5"> <!ENTITY linux-minor-version "16"> -<!ENTITY linux-patch-version "5"> +<!ENTITY linux-patch-version "8"> <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> -<!ENTITY linux-size "124,563 KB"> +<!ENTITY linux-size "124,577 KB"> <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> -<!ENTITY linux-md5 "a43d3e38bc5fb35767fdfbf3075ea7e0"> +<!ENTITY linux-md5 "3318957435318f3802ce7edef2f30495"> <!ENTITY linux-home "https://www.kernel.org/"> <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is allnoconfig rounded down to allow for ongoing cleanups, @@ -755,6 +755,8 @@ <!ENTITY zlib-url "https://zlib.net/zlib-&zlib-version;.tar.xz"> <!ENTITY zlib-md5 "85adef240c5f370b308da8c938951a68"> <!ENTITY zlib-home "https://www.zlib.net/"> +<!ENTITY zlib-tmp-du "5.0 MB"> +<!ENTITY zlib-tmp-sbu "less than 0.1 SBU"> <!ENTITY zlib-fin-du "5.0 MB"> <!ENTITY zlib-fin-sbu "less than 0.1 SBU"> diff --git a/patches.ent b/patches.ent index 11e3e193b..851bc4854 100644 --- a/patches.ent +++ b/patches.ent @@ -10,11 +10,11 @@ <!ENTITY bash-fixes-patch-md5 "c1545da2ad7d78574b52c465ec077ed9"> <!ENTITY bash-fixes-patch-size "22 KB"> - +<!-- <!ENTITY binutils-upstream-patch "binutils-&binutils-version;-upstream_fix-1.patch"> <!ENTITY binutils-upstream-patch-md5 "3518fa864fe8d7ef65be4960f380b03b"> <!ENTITY binutils-upstream-patch-size "8.0 KB"> - +--> <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch"> <!ENTITY bzip2-docs-patch-md5 "6a5ac7e89b791aae556de0f745916f7f"> |