From f7d3b6ed213e8957b3c32318fc240c9f73ffe7ea Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 14 Aug 2023 13:47:25 -0500 Subject: [PATCH 01/10] Package updates. Update to xz-5.4.4. Update to less-643. Update to meson-1.2.1. Update to linux-6.4.10. Update to iana-etc-20230810. Update to pkgconf-2.0.1. All build times and sizes were also checked and updated as needed. --- chapter01/changelog.xml | 30 +++++++ chapter01/whatsnew.xml | 4 +- chapter03/patches.xml | 8 ++ chapter08/gcc.xml | 11 +-- chapter08/glibc.xml | 5 ++ chapter08/less.xml | 4 +- chapter08/pkgconf.xml | 6 +- packages.ent | 190 ++++++++++++++++++++-------------------- patches.ent | 4 + 9 files changed, 156 insertions(+), 106 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5f0b0a98c..39cb92c7d 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,36 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2023-08-15 + + + [bdubbs] - Update to xz-5.4.4. Fixes + #5307. + + + [bdubbs] - Update to less-643. Fixes + #5317. + + + [bdubbs] - Update to meson-1.2.1. Fixes + #5314. + + + [bdubbs] - Update to linux-6.4.10. Fixes + #5313. + + + [bdubbs] - Update to iana-etc-20230810. Addresses + #5006. + + + [rahul] - Update to pkgconf-2.0.1. Fixes + #5316. + + + + 2023-08-07 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 50eb75507..cf5156d40 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -226,9 +226,9 @@ - + Perl-&perl-version; diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 5f1bbf0c2..bbf09ae27 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -77,6 +77,14 @@ --> + + Glibc Memalign Patch - &glibc-memalign-patch-size;: + + Download: + MD5 sum: &glibc-memalign-patch-md5; + + + Glibc FHS Patch - &glibc-fhs-patch-size;: diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 0c4f591f2..5a9a0c5a5 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -187,11 +187,12 @@ su tester -c "PATH=$PATH make -k check" With Glibc-2.38, the analyzer tests named data-model-4.c and - conftest-1.c are known to fail. - In the asan tests, the subtest named - AddressSanitizer_StrtolOOBTest in the test - asan_test.C and the test named - interception-malloc-test-1.C are known to fail. + conftest-1.c + are known to fail. + In the asan tests, several tests in asan_test.C + are known to fail. + The test named interception-malloc-test-1.C + are known to fail. A few unexpected failures cannot always be avoided. The GCC developers diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 791a6b707..ed25a1ba8 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -50,6 +50,11 @@ patch -Np1 -i ../&glibc-fhs-patch; + Now fix a regression causing the posix_memalign() function + to be very slow slow in some conditions. + +patch -Np1 -i ../&glibc-memalign-patch; + The Glibc documentation recommends building Glibc in a dedicated build directory: diff --git a/chapter08/less.xml b/chapter08/less.xml index 237cf1e15..99f4e62ee 100644 --- a/chapter08/less.xml +++ b/chapter08/less.xml @@ -62,7 +62,9 @@ make - This package does not come with a test suite. + To test the results, issue: + +make check Install the package: diff --git a/chapter08/pkgconf.xml b/chapter08/pkgconf.xml index 3bbec0705..fd61b4d40 100644 --- a/chapter08/pkgconf.xml +++ b/chapter08/pkgconf.xml @@ -43,15 +43,15 @@ Installation of Pkgconf - + Prepare Pkgconf for compilation: ./configure --prefix=/usr \ diff --git a/packages.ent b/packages.ent index 59797bed2..ac86afcc5 100644 --- a/packages.ent +++ b/packages.ent @@ -35,7 +35,7 @@ - + @@ -45,7 +45,7 @@ - + @@ -55,14 +55,14 @@ - + - + @@ -70,11 +70,11 @@ - + - - - + + + @@ -86,7 +86,7 @@ - + @@ -102,16 +102,16 @@ - + - + - + @@ -128,16 +128,16 @@ - + - - - + + + @@ -146,14 +146,14 @@ - + - + @@ -177,10 +177,10 @@ - + - - + + @@ -188,7 +188,7 @@ - + @@ -205,7 +205,7 @@ - + @@ -213,10 +213,10 @@ - + - - + + @@ -224,14 +224,14 @@ - - - - - - + + + + + + - + @@ -251,19 +251,19 @@ - - - - + + + + - - - + + + @@ -271,7 +271,7 @@ - + @@ -287,9 +287,9 @@ - - - + + + @@ -297,7 +297,7 @@ - + @@ -318,10 +318,10 @@ - + - + @@ -375,12 +375,12 @@ - - + + - + - + @@ -420,25 +420,25 @@ - - + + - + - + - + - + + GCC-&gcc-version; @@ -265,12 +265,12 @@ - - + Util-Linux-&util-linux-version; @@ -331,6 +331,10 @@ Flit-core-&flit-core-version; + + &glibc-memalign-patch; + + From b24fbe02b8d52d1b82d54a70434f04def4178bb0 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Mon, 14 Aug 2023 19:45:49 -0500 Subject: [PATCH 04/10] Update stats for systemd/dbus Test results for dbus were clean --- packages.ent | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages.ent b/packages.ent index ac86afcc5..a5e7c19a8 100644 --- a/packages.ent +++ b/packages.ent @@ -119,7 +119,7 @@ - + @@ -657,7 +657,7 @@ - + From d280997ec6662dbba9a87020dc44bac1983860d7 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 15 Aug 2023 15:55:29 -0500 Subject: [PATCH 05/10] Typo --- chapter11/afterlfs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter11/afterlfs.xml b/chapter11/afterlfs.xml index 279cc1108..dcd14fed5 100644 --- a/chapter11/afterlfs.xml +++ b/chapter11/afterlfs.xml @@ -80,7 +80,7 @@ featured browser and copy/paste capabilities are available. This method allows using applications like the host's version of wget to download package sources to a location available when working in the chroot - envirnment. + environment. From 58fc92b47eb36e7c5b2c4ac04001a7439152be08 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 15 Aug 2023 22:06:36 -0500 Subject: [PATCH 06/10] Typo --- chapter01/changelog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 551a4a1f5..53018d5cd 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -65,7 +65,7 @@ [rahul] - Update to pkgconf-2.0.1. Fixes - #5316. + #5316. From cfcc2fe6cd00fb3606f76ba5591b6e4cb4384447 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 16 Aug 2023 12:26:14 +0800 Subject: [PATCH 07/10] gcc: Fix a grammar error in text --- chapter08/gcc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 5a9a0c5a5..693d6e975 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -192,7 +192,7 @@ su tester -c "PATH=$PATH make -k check" In the asan tests, several tests in asan_test.C are known to fail. The test named interception-malloc-test-1.C - are known to fail. + is known to fail. A few unexpected failures cannot always be avoided. The GCC developers From 76412317772426581b947d4a46835b2329432459 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 18 Aug 2023 10:35:49 -0500 Subject: [PATCH 08/10] Update to udev-lfs-20230818 --- chapter01/changelog.xml | 9 +++++++++ packages.ent | 4 ++-- udev-lfs/ChangeLog | 3 +++ udev-lfs/Makefile.lfs | 3 ++- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 53018d5cd..b4b4c76ef 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,15 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2023-08-18 + + + [bdubbs] - Update to udev-lfs-20230818. + + + + 2023-08-15 diff --git a/packages.ent b/packages.ent index a5e7c19a8..5ccfc42f2 100644 --- a/packages.ent +++ b/packages.ent @@ -709,10 +709,10 @@ - + - + diff --git a/udev-lfs/ChangeLog b/udev-lfs/ChangeLog index 53660938a..302aaa679 100644 --- a/udev-lfs/ChangeLog +++ b/udev-lfs/ChangeLog @@ -1,3 +1,6 @@ +2023-08-18 + * Fix regression when removing cdrom entries + 2023-07-28 * Remove obsolete 83-cdrom-symlinks.rules and 81-cdrom.rules * Remove references to obsolete ISDN devices diff --git a/udev-lfs/Makefile.lfs b/udev-lfs/Makefile.lfs index a8b4d7f30..295cacc54 100644 --- a/udev-lfs/Makefile.lfs +++ b/udev-lfs/Makefile.lfs @@ -3,7 +3,7 @@ # vim: tabstop=3 -VERSION=20230728 +VERSION=20230818 SHELL=/bin/bash ifeq ($(V),) @@ -23,6 +23,7 @@ install: # Copy rules @cp -v udev-lfs-$(VERSION)/*.rules $(DESTDIR)/etc/udev/rules.d @cp -v udev-lfs-$(VERSION)/init-net-rules.sh \ + udev-lfs-$(VERSION)/write_net_rules \ udev-lfs-$(VERSION)/rule_generator.functions $(DESTDIR)/usr/lib/udev # Copy documentation From b59c9e9155e6fffe4c35d4a622a9eaa5eb93d226 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 21 Aug 2023 10:50:31 +0800 Subject: [PATCH 09/10] grub configuration: The instructions should be skipped for UEFI, but the text not --- chapter10/grub.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chapter10/grub.xml b/chapter10/grub.xml index f232a1675..1b2335623 100644 --- a/chapter10/grub.xml +++ b/chapter10/grub.xml @@ -19,8 +19,10 @@ If your system has UEFI support and you wish to boot LFS with UEFI, - you should skip this page, and configure GRUB with UEFI support - using the instructions provided in + you should skip the instructions in this page but still learn the + syntax of grub.cfg and the method to specify + a partition in the file from this page, and configure GRUB with UEFI + support using the instructions provided in the BLFS page. From b55a1a261498893c1a207675be1873104cda2a7a Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Mon, 21 Aug 2023 15:13:37 +0200 Subject: [PATCH 10/10] libxcrypt: typo and misplaced "nodump" --- chapter08/libxcrypt.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter08/libxcrypt.xml b/chapter08/libxcrypt.xml index 3fb59941d..1838a55b6 100644 --- a/chapter08/libxcrypt.xml +++ b/chapter08/libxcrypt.xml @@ -100,10 +100,10 @@ them at runtime. However, the only known binary-only applications that link against these functions require ABI version 1. If you must have such functions because of some binary-only application or to be - to be compliant with LSB, build the package again with the following + compliant with LSB, build the package again with the following commands: -make distclean +make distclean ./configure --prefix=/usr \ --enable-hashes=strong,glibc \ --enable-obsolete-api=glibc \