From e06065fc29bd1d8aba2f132031a9019c2c219d3f Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 6 Aug 2022 22:42:16 +0800 Subject: [PATCH 1/8] perl: remove outdated note regarding zlib version Now perl-5.36 ships zlib-1.2.12, which is same as the book providing. --- chapter08/perl.xml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chapter08/perl.xml b/chapter08/perl.xml index b5521d414..461eb7980 100644 --- a/chapter08/perl.xml +++ b/chapter08/perl.xml @@ -139,10 +139,6 @@ export BUILD_BZIP2=0 make test - - Nine tests fail due to using the most recent version of zlib. - - Install the package and clean up: make install From 6f4ac82b3c79f7fadeeea60c4467d821caf634c1 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 7 Aug 2022 11:11:37 -0500 Subject: [PATCH 2/8] Typo --- chapter01/changelog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index dd9d24d04..acd6f8784 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -44,7 +44,7 @@ 2022-08-06 - [bdubbs] - Update to binutils-2.38. Fixes + [bdubbs] - Update to binutils-2.39. Fixes #5089. From 8a687fac90b286a425dfa236d7aa4ce469b24ec6 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 9 Aug 2022 22:26:10 +0800 Subject: [PATCH 3/8] binutils: add desc for gprofng --- chapter08/binutils.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index 0a1c02deb..a7eb81048 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -200,7 +200,7 @@ cd build Installed directory - addr2line, ar, as, c++filt, dwp, elfedit, gprof, ld, ld.bfd, ld.gold, nm, + addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, ld.gold, nm, objcopy, objdump, ranlib, readelf, size, strings, and strip libbfd.so, libctf.so, libctf-nobfd.so, and libopcodes.so /usr/lib/ldscripts @@ -287,6 +287,16 @@ cd build + + gprofng + + Gather and analyze performance data + + gprofng + + + + ld From 3094b8c742ed234c5a8423f2bcaf0a9d92802c33 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 9 Aug 2022 21:44:44 -0500 Subject: [PATCH 4/8] Tweak pip3 instructions --- chapter08/jinja2.xml | 2 +- chapter08/markupsafe.xml | 2 +- chapter08/python.xml | 10 ++++++++-- chapter08/wheel.xml | 7 +++++-- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/chapter08/jinja2.xml b/chapter08/jinja2.xml index 6548dff8b..8fa12dd25 100644 --- a/chapter08/jinja2.xml +++ b/chapter08/jinja2.xml @@ -46,7 +46,7 @@ Install the package: -pip3 install --no-index --find-links dist Jinja2 +pip3 install --no-index --no-user --find-links dist Jinja2 diff --git a/chapter08/markupsafe.xml b/chapter08/markupsafe.xml index 322ec2730..9481a194a 100644 --- a/chapter08/markupsafe.xml +++ b/chapter08/markupsafe.xml @@ -48,7 +48,7 @@ Install the package: -pip3 install --no-index --find-links dist Markupsafe +pip3 install --no-index --no-user --find-links dist Markupsafe diff --git a/chapter08/python.xml b/chapter08/python.xml index bee232704..da1f75cdc 100644 --- a/chapter08/python.xml +++ b/chapter08/python.xml @@ -103,12 +103,18 @@ of this recommendation is for avoiding a conflict with the system package manager (dpkg for example), but LFS does not have a system-wide package manager so this is not a problem. If desired, - suppress this warning by running the following command: + suppress this warning by running the following commands: + cat > /etc/pip.conf << EOF +[global] +root-user-action = ignore +EOF + + In LFS and BLFS we normally build and install Python modules with the diff --git a/chapter08/wheel.xml b/chapter08/wheel.xml index 8e8436ffd..0f6ba7cb6 100644 --- a/chapter08/wheel.xml +++ b/chapter08/wheel.xml @@ -80,11 +80,14 @@ Installed program - Installed directory + Installed directories wheel - /usr/lib/python&python-minor;/site-packages/wheel + + /usr/lib/python&python-minor;/site-packages/wheel and + /usr/lib/python&python-minor;/site-packages/wheel-0.37.1-py3.10.egg-info + From e9d9f83288e35a90df3a7321bc366f7e8bbf703e Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 11 Aug 2022 09:57:31 +0800 Subject: [PATCH 5/8] typography: add a note about "Il1" or "O0" issue --- prologue/typography.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prologue/typography.xml b/prologue/typography.xml index e4c7b5c78..6b7d6437d 100644 --- a/prologue/typography.xml +++ b/prologue/typography.xml @@ -37,6 +37,12 @@ the result of commands issued. This format is also used to show filenames, such as /etc/ld.so.conf. + + Please configure your browser to display fixed-width text with + a good monospaced font, with which you can distinguish the glyphs of + Il1 or O0 clearly. + + Emphasis This form of text is used for several purposes in the book. Its main From 3bc662bc9e6848852de28346901330174040446a Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 11 Aug 2022 16:10:56 -0500 Subject: [PATCH 6/8] Package updates. Update to vim-9.0.0192. Update to iana-etc-20220803. Update to tzdata-2022b. Update to iproute2-5.19.0. Update to linux-5.19.1. Update to bc-6.0.1. --- chapter01/changelog.xml | 30 ++++++++++++++++++++++++++++++ packages.ent | 38 +++++++++++++++++++------------------- 2 files changed, 49 insertions(+), 19 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index acd6f8784..4526d2e00 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,36 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2022-08-11 + + + [bdubbs] - Update to vim-9.0.0192. Addresses + #4500. + + + [bdubbs] - Update to iana-etc-20220803. Addresses + #5006. + + + [bdubbs] - Update to tzdata-2022b. Fixes + #5092. + + + [bdubbs] - Update to iproute2-5.19.0. Fixes + #5086. + + + [bdubbs] - Update to linux-5.19.1. Fixes + #5085. + + + [bdubbs] - Update to bc-6.0.1. Fixes + #5090. + + + + 2022-08-06 diff --git a/packages.ent b/packages.ent index a7c8ccb14..691c3ccf2 100644 --- a/packages.ent +++ b/packages.ent @@ -58,10 +58,10 @@ - - + + - + @@ -320,10 +320,10 @@ - - + + - + @@ -345,10 +345,10 @@ - - + + - + @@ -426,13 +426,13 @@ - - + + - + - + - + - + From c25dd3fc1d39da40eeba7778f87dcb7f675090d7 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Thu, 11 Aug 2022 17:34:21 -0500 Subject: [PATCH 7/8] Typo fix in changelog --- chapter01/changelog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4526d2e00..8cf25f5b4 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -513,7 +513,7 @@ [xry111] - Build libstdc++ in GCC pass 2, and remove the - seperate libstdc++ pass 2. + separate libstdc++ pass 2. [xry111] - Remove unneeded From d94f2d01a50466c98eaf92fc4e7c2ced50fdd91a Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 14 Aug 2022 21:11:46 +0200 Subject: [PATCH 8/8] Clean chapter 8 binutils xml and text Remove old commented instructions Remove a sed and a test failure explanation: both have been fixed in binutils-2.39 --- chapter08/binutils.xml | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index a7eb81048..d9855e735 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -56,29 +56,14 @@ The system has no more ptys. Ask your system administrator to create more. - - - + The Binutils documentation recommends building Binutils in a dedicated build directory: @@ -175,12 +160,12 @@ cd build make -k check - + Install the package: make tooldir=/usr install