From bf1e3fa174cae908269904a5e2da9cf16ae0bc5d Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 19 May 2023 12:18:39 -0500 Subject: [PATCH 01/11] Tweak ninja currency --- lfs-latest-git.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs-latest-git.php b/lfs-latest-git.php index b380a5a83..06887b0bd 100644 --- a/lfs-latest-git.php +++ b/lfs-latest-git.php @@ -292,7 +292,7 @@ if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/rel return find_max( $lines, "/tcl\d/", "/^.*tcl(\d\.[\d\.]*\d)-src.*$/" ); if ( $package == "ninja" ) - return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]*\d).*$/" ); + return find_max( $lines, "/^ *v\d/", "/^.*v(\d[\d\.]*\d).*$/" ); if ( $package == "gmp" ) return find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d[a-z]?).tar.*$/" ); From 507bf71541a3b32fb9cc4d7060325a7e45b732b5 Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Thu, 25 May 2023 21:27:33 +0100 Subject: [PATCH 02/11] sysv book: Remove unneeded group sgx from eudev. --- chapter01/changelog.xml | 11 +++++++++++ chapter08/eudev.xml | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 08359561c..ff3b3fb55 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,17 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2023-05-25 + + + [ken] - Remove unneeded group sgx from eudev rules. Fixes + #5265. + + + + + 2023-05-18 diff --git a/chapter08/eudev.xml b/chapter08/eudev.xml index c9b0e7617..619526bea 100644 --- a/chapter08/eudev.xml +++ b/chapter08/eudev.xml @@ -44,6 +44,14 @@ sed -i '/udevdir/a udev_dir=${udevdir}' src/udev/udev.pc.in --> + + Remove an unneeded group + sgx, from the default udev + rules: + +sed -i -e 's/GROUP="sgx", //' rules/50-udev-default.rules + Prepare Eudev for compilation: ./configure --prefix=/usr \ From 0aba9cbb0cf1377f893cd8040bc7dbd06051522e Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Thu, 25 May 2023 21:29:19 +0100 Subject: [PATCH 03/11] Fix to past changelog: util-linux-2.39 is in both books. --- chapter01/changelog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index ff3b3fb55..2c0f240ac 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -53,7 +53,7 @@ 2023-05-18 - + [bdubbs] - Update to util-linux-2.39. Fixes #5259. From 55a29ccad28fe8bd4ab53d25ed7a96345aa2f94b Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 27 May 2023 19:05:06 +0800 Subject: [PATCH 04/11] pkgmgt: Mention the "dependency hell" issue --- chapter08/pkgmgt.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/chapter08/pkgmgt.xml b/chapter08/pkgmgt.xml index 8bf8dfdaa..a5c64f3f6 100644 --- a/chapter08/pkgmgt.xml +++ b/chapter08/pkgmgt.xml @@ -85,6 +85,22 @@ libraries until all the dependent packages have been recompiled. + If a package is (directly or indirectly) linked to + both the old and new names of one shared library (for example, the + package links to both + libfoo.so.2 and + libbar.so.1, while the latter + links to + libfoo.so.3 in turn), the + package may malfunction because the different names of the shared + library provide incompatible functions with same symbol names. This + can be caused by recompiling some (but not all) packages linked to the + old shared library name after the package providing the shared library + is upgraded. To avoid the issue, it's recommended to recompile every + package linked to a shared library of which the name has been changed + during an upgrade as soon as possible, in their dependency order. + + If a package containing a shared library is updated, and the name of the library doesn't change, but the version number of the library file decreases (for example, From d0da969c43b3963ae20a88884e2fa2f2503172d5 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 27 May 2023 17:07:58 -0500 Subject: [PATCH 05/11] Reword library conflict paragraph. --- chapter08/pkgmgt.xml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/chapter08/pkgmgt.xml b/chapter08/pkgmgt.xml index a5c64f3f6..f64778e71 100644 --- a/chapter08/pkgmgt.xml +++ b/chapter08/pkgmgt.xml @@ -85,20 +85,18 @@ libraries until all the dependent packages have been recompiled. - If a package is (directly or indirectly) linked to - both the old and new names of one shared library (for example, the - package links to both - libfoo.so.2 and + If a package is (directly or indirectly) linked to both + the old and new versions of a shared library (for example, the package + links to both libfoo.so.2 and libbar.so.1, while the latter - links to - libfoo.so.3 in turn), the - package may malfunction because the different names of the shared - library provide incompatible functions with same symbol names. This - can be caused by recompiling some (but not all) packages linked to the - old shared library name after the package providing the shared library - is upgraded. To avoid the issue, it's recommended to recompile every - package linked to a shared library of which the name has been changed - during an upgrade as soon as possible, in their dependency order. + links to libfoo.so.3), the + package may malfunction because the different revisions of the shared + library present conflicting locations for some symbol names. This can be + caused by recompiling some, but not all, of the packages linked to the + old shared library after the package providing the shared library is + upgraded. To avoid the issue, users will need to rebuild every package + linked to a shared library with an updated revision (e.g. libfoo.so.2 to + libfoo.so.3) as soon as possible. If a package containing a shared library is updated, From 360371a30f5f29ebc24381912a64d149f7703004 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 28 May 2023 19:57:28 -0500 Subject: [PATCH 06/11] Minor rewording --- chapter08/pkgmgt.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chapter08/pkgmgt.xml b/chapter08/pkgmgt.xml index f64778e71..f5e50524b 100644 --- a/chapter08/pkgmgt.xml +++ b/chapter08/pkgmgt.xml @@ -126,14 +126,13 @@ (replace libfoo with the name of the library): -grep -l -e 'libfoo.*deleted' /proc/*/maps | - tr -cd 0-9\\n | xargs -r ps u +grep -l 'libfoo.*deleted' /proc/*/maps | tr -cd 0-9\\n | xargs -r ps u If OpenSSH is being used to access the system and it is linked to the updated library, you must restart the sshd service, then logout, login again, - and rerun the preceding ps command to confirm that nothing is still using the + and run the preceding command again to confirm that nothing is still using the deleted libraries. From 732ce30389a13693b3916952a13cdb88007c802c Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 1 Jun 2023 17:41:32 +0200 Subject: [PATCH 07/11] Remove a remap="configure" attribute in eudev remap="configure" means it is for configuring the build before running make (or ninja), not for configuring the system after the package is installed. We don't have a special attribute for that. --- chapter08/eudev.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/eudev.xml b/chapter08/eudev.xml index 619526bea..785e70103 100644 --- a/chapter08/eudev.xml +++ b/chapter08/eudev.xml @@ -104,7 +104,7 @@ make -f &udev-lfs-version;/Makefile.lfs install consider it dangerous. Create a configuration file to override it: -cat > /etc/udev/rules.d/65-kvm.rules << "EOF" +cat > /etc/udev/rules.d/65-kvm.rules << "EOF" KERNEL=="kvm", GROUP="kvm", MODE="0660", TAG+="uaccess" EOF From 87fbad76f17664bcfd92aa3272a4b432c10c3db7 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 3 Jun 2023 17:48:12 -0500 Subject: [PATCH 08/11] Package updates. Update to iana-etc-20230524. Update to MarkupSafe-2.1.3 (Python Module) Update to linux-6.3.5. Update to openssl-3.1.1. Update to meson-1.1.1. Update to diffutils-3.10. Update to bc-6.6.0. --- chapter01/changelog.xml | 35 ++++++++++++++++++++++++++++++++++- chapter01/whatsnew.xml | 12 ++++++------ general.ent | 2 +- packages.ent | 38 +++++++++++++++++++------------------- 4 files changed, 60 insertions(+), 27 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2c0f240ac..481efe10a 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,40 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2023-06-03 + + + [bdubbs] - Update to iana-etc-20230524. Addresses + #5006. + + + [bdubbs] - Update to MarkupSafe-2.1.3 (Python Module) + #5268. + + + [bdubbs] - Update to linux-6.3.5. Fixes + #5264. + + + [bdubbs] - Update to openssl-3.1.1. Fixes + #5267. + + + [bdubbs] - Update to meson-1.1.1. Fixes + #5266. + + + [bdubbs] - Update to diffutils-3.10. Fixes + #5262. + + + [bdubbs] - Update to bc-6.6.0. Fixes + #5263. + + + + 2023-05-25 @@ -49,7 +83,6 @@ - 2023-05-18 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 293fbb274..dbdc59ac9 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -85,9 +85,9 @@ - + @@ -202,9 +202,9 @@ Man-pages-&man-pages-version; - + Meson-&meson-version; @@ -220,9 +220,9 @@ - + diff --git a/general.ent b/general.ent index 1cc9fe030..912a360d6 100644 --- a/general.ent +++ b/general.ent @@ -91,7 +91,7 @@ - + - + - + +