From 1b491eb061f195bdd61a8778196f3b9bbc66863d Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 10 May 2022 17:05:42 -0500 Subject: [PATCH 01/27] Rename run level 2 --- chapter09/introduction.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter09/introduction.xml b/chapter09/introduction.xml index 7bd2219fc..d2a0c7435 100644 --- a/chapter09/introduction.xml +++ b/chapter09/introduction.xml @@ -35,7 +35,7 @@ 0 — halt 1 — Single user mode -2 — Multiuser, without networking +2 — User definable 3 — Full multiuser mode 4 — User definable 5 — Full multiuser mode with display manager From 59d5489ff8e54b251cf1bbc8ceb5dd18bb809278 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 11 May 2022 05:56:30 +0200 Subject: [PATCH 02/27] Make clear that run-level definitions are for LFS --- chapter09/introduction.xml | 2 +- chapter09/usage.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter09/introduction.xml b/chapter09/introduction.xml index d2a0c7435..da5ffe67c 100644 --- a/chapter09/introduction.xml +++ b/chapter09/introduction.xml @@ -31,7 +31,7 @@ The init program is controlled by the /etc/inittab file and is organized into run levels that - can be run by the user: + can be run by the user. In LFS, they are used as follows: 0 — halt 1 — Single user mode diff --git a/chapter09/usage.xml b/chapter09/usage.xml index a1c098cae..2c6529e14 100644 --- a/chapter09/usage.xml +++ b/chapter09/usage.xml @@ -31,7 +31,7 @@ generally not used. See init(8) for more details), and each one of those corresponds to the actions the computer is supposed to perform when it starts up. The default run-level is 3. Here are the - descriptions of the different run-levels as they are implemented: + descriptions of the different run-levels as they are implemented in LFS: 0: halt the computer 1: single-user mode From 4c2aabba4e4201f8ee88b419f1e9350ebf957844 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 15 May 2022 23:09:32 -0500 Subject: [PATCH 03/27] Package updates. Update to linux-5.17.7. Update to psmisc-23.5. --- chapter01/changelog.xml | 14 ++++++++++++++ chapter01/whatsnew.xml | 4 ++-- packages.ent | 12 ++++++------ 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 85dfc2f36..c526bd946 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,20 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2022-05-16 + + + [bdubbs] - Update to linux-5.17.7. Fixes + #5059. + + + [bdubbs] - Update to psmisc-23.5. Fixes + #5060. + + + + 2022-05-01 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 6ae480aa0..045de4c9d 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -212,9 +212,9 @@ Procps-ng-&procps-ng-version; - + Python-&python-version; diff --git a/packages.ent b/packages.ent index ac7a1b1fe..52ebc6b64 100644 --- a/packages.ent +++ b/packages.ent @@ -427,12 +427,12 @@ - + - + - + + + The sort-NaN-infloop test is known to fail with GCC-12. + Remove the temporary group: sed -i '/dummy/d' /etc/group From 8731bd1cd0e7f77964f000d6a936d24a8a2f89f7 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 22 May 2022 09:57:28 +0200 Subject: [PATCH 05/27] stripping, chapter 8: prevent stripping ld-*.dbg With the construct used in save_usrlib, if ld-linux-...dbg already exists, it is stripped again and a file ld-linux-...dbg.dbg is created. Prevent this by not listing files ending in "g". --- chapter08/stripping.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chapter08/stripping.xml b/chapter08/stripping.xml index e7ab14f6d..519119088 100644 --- a/chapter08/stripping.xml +++ b/chapter08/stripping.xml @@ -42,12 +42,14 @@ The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems and ld-linux.so.2 on 32-bit systems. The construct below selects the - correct name for the current architecture. + correct name for the current architecture, excluding anything ending + with g, in case the commands below have already been + run. -save_usrlib="$(cd /usr/lib; ls ld-linux*) +save_usrlib="$(cd /usr/lib; ls ld-linux*[^g]) libc.so.6 libthread_db.so.1 libquadmath.so.&libquadmath-version; From 2bb813a1e8bfda27e1a7658970cc723e11ab92a9 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 26 May 2022 19:30:40 +0800 Subject: [PATCH 06/27] =?UTF-8?q?ncurses=EF=BC=9A=20remove=20libncurses++w?= =?UTF-8?q?.a=20from=20temp=20ncurses?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chapter06/ncurses.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index e9316ef98..dd804d5bf 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -134,6 +134,11 @@ popd make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so + Remove an unneeded static library not handled by + configure: + +rm -v /usr/lib/libncurses++w.a + The meaning of the install options: From f81a8a4a3ce71e64f11cf5a5320421552a97ba2b Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 27 May 2022 21:50:53 +0800 Subject: [PATCH 07/27] fix command for removing libncurses++w.a What was I doing ?! --- chapter06/ncurses.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index dd804d5bf..34426d4b7 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -137,7 +137,7 @@ echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so Remove an unneeded static library not handled by configure: -rm -v /usr/lib/libncurses++w.a +rm -v $LFS/usr/lib/libncurses++w.a The meaning of the install options: From 0ab908d94490f34f3a5ecf3b25cf93739e5f61d0 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 28 May 2022 20:37:42 +0800 Subject: [PATCH 08/27] check: remove reference to libcheck.a --- chapter08/check.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/check.xml b/chapter08/check.xml index 1e7e4ec17..cb6b3590d 100644 --- a/chapter08/check.xml +++ b/chapter08/check.xml @@ -92,7 +92,7 @@ - libcheck.{a,so} + libcheck.so Contains functions that allow Check to be called from a test program From 0d7dbaf24c714f272193aec650e42dd18783b867 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 28 May 2022 21:04:22 +0800 Subject: [PATCH 09/27] openssl: reword upgrading note for versioning scheme change --- chapter08/openssl.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml index cece1904f..044c715a4 100644 --- a/chapter08/openssl.xml +++ b/chapter08/openssl.xml @@ -81,12 +81,15 @@ make MANSUFFIX=ssl install You should update OpenSSL when a new version which fixes vulnerabilities - is announced. The releases run in series, with a letter for each release - after the initial release (e.g. 1.1.1, 1.1.1a, 1.1.1b, etc). Because LFS - installs only the shared libraries, there is no need to recompile packages - which link to libcrypto.so or + is announced. Since OpenSSL 3.0.0, the OpenSSL versioning scheme + follows the MAJOR.MINOR.PATCH format. API/ABI compatibility + are guaranteed for the same MAJOR version number. Because LFS + installs only the shared libraries, there is no need to recompile + packages which link to + libcrypto.so or libssl.so - when upgrading in the same series. + when upgrading to a version with MAJOR version number + unchanged. From b4008bb22c0acee98eeff5f6f94feb6f5750af2e Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 29 May 2022 12:19:56 +0800 Subject: [PATCH 10/27] update to systemd-251 (#5064) --- chapter01/changelog.xml | 10 ++++++++++ chapter01/whatsnew.xml | 10 ++++++++-- chapter03/patches.xml | 16 ---------------- chapter08/systemd.xml | 14 +++----------- packages.ent | 10 +++++----- patches.ent | 8 -------- 6 files changed, 26 insertions(+), 42 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index c526bd946..9fc3edcc7 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,16 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2022-05-29 + + + [xry111] - Update to systemd-251. Fixes + #5064. + + + + 2022-05-16 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 045de4c9d..88db30bb9 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -230,9 +230,9 @@ - + SysVinit-&sysvinit-version; @@ -298,6 +298,12 @@ perl-5.34.0-upstream_fixes-1.patch + + systemd-250-kernel_5.17_fixes-1.patch + + + systemd-250-upstream_fixes-1.patch + diff --git a/chapter03/patches.xml b/chapter03/patches.xml index bed7d4735..1df01b443 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -135,22 +135,6 @@ - - Systemd Upstream Fixes Patch - &systemd-upstream-fixes-patch-size;: - - Download: - MD5 sum: &systemd-upstream-fixes-patch-md5; - - - - - Systemd Kernel Fixes Patch - &systemd-kernel-fixes-patch-size;: - - Download: - MD5 sum: &systemd-kernel-fixes-patch-md5; - - - Xz Upstream Fix Patch - &xz-upstream-fix-patch-size;: diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 43e1cea6c..f207e74c2 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -40,16 +40,6 @@ Installation of systemd - First, apply a patch to fix a security vulnerability and regressions - with hostnames and idle units: - -patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch - - Now, apply a patch to fix a problem with the linux kernel's headers in - version 5.17 and later: - -patch -Np1 -i ../systemd-&systemd-version;-kernel_5.17_fixes-1.patch - Remove two unneeded groups, render and sgx, from the default udev @@ -185,7 +175,9 @@ meson --prefix=/usr \ Install the man pages: -tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz -C /usr/share/man + +tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man Remove a useless directory: diff --git a/packages.ent b/packages.ent index 52ebc6b64..3dd50b28b 100644 --- a/packages.ent +++ b/packages.ent @@ -640,20 +640,20 @@ - + - + - + - + - + diff --git a/patches.ent b/patches.ent index 2bd68296b..6c5acb77c 100644 --- a/patches.ent +++ b/patches.ent @@ -85,14 +85,6 @@ - - - - - - - - From f435668903be3c74b1a56317a62ed8cf0986e06c Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 29 May 2022 10:13:54 +0800 Subject: [PATCH 11/27] systemd: remove unnecessary options -Dblkid is automatically detected, and other three options are meson defaults. --- chapter08/systemd.xml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index f207e74c2..76587bcca 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -54,16 +54,12 @@ cd build meson --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ --buildtype=release \ - -Dblkid=true \ -Ddefault-dnssec=no \ -Dfirstboot=false \ -Dinstall-tests=false \ -Dldconfig=false \ -Dsysusers=false \ - -Db_lto=false \ -Drpmmacrosdir=no \ -Dhomed=false \ -Duserdb=false \ From 77e340bc4ac898fa3f737ee8e8f0a0e6093d3c6c Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 29 May 2022 10:34:42 +0800 Subject: [PATCH 12/27] systemd: use a better way to disable /usr/lib/pam.d --- chapter08/systemd.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 76587bcca..c5ffc9630 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -65,6 +65,7 @@ meson --prefix=/usr \ -Duserdb=false \ -Dman=false \ -Dmode=release \ + -Dpamconfdir=no \ -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ .. @@ -159,6 +160,13 @@ meson --prefix=/usr \ + + -Dpamconfdir=no + + Prevent the installation of a PAM configuration file not + functional on LFS. + + Compile the package: @@ -175,10 +183,6 @@ meson --prefix=/usr \ component in the path. --> tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man - Remove a useless directory: - -rm -rf /usr/lib/pam.d - Create the /etc/machine-id file needed by systemd-journald: From 4ad57d43318cb48203a4ab712b13374ea2bdfab2 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 29 May 2022 12:23:45 +0800 Subject: [PATCH 13/27] update to ninja-1.11.0 (#5062) --- chapter01/changelog.xml | 4 ++++ chapter01/whatsnew.xml | 4 ++-- packages.ent | 6 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 9fc3edcc7..ab7c503a7 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,10 @@ 2022-05-29 + + [xry111] - Update to ninja-1.11.0. Fixes + #5062. + [xry111] - Update to systemd-251. Fixes #5064. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 88db30bb9..cf5a5bb88 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -194,9 +194,9 @@ - + Openssl-&openssl-version; diff --git a/packages.ent b/packages.ent index 3dd50b28b..623ab10c0 100644 --- a/packages.ent +++ b/packages.ent @@ -524,10 +524,10 @@ - - + + - + From e6e8f00474953435a7f3ac9a17dab2a329885c34 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 29 May 2022 12:25:23 +0800 Subject: [PATCH 14/27] update to vim-8.2.5014 (#4500) --- chapter01/changelog.xml | 4 ++++ packages.ent | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index ab7c503a7..97c24a7b6 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,10 @@ 2022-05-29 + + [xry111] - Update to vim-8.2.5014 (security fixes). + Addresses #4500. + [xry111] - Update to ninja-1.11.0. Fixes #5062. diff --git a/packages.ent b/packages.ent index 623ab10c0..6ea16f56a 100644 --- a/packages.ent +++ b/packages.ent @@ -720,13 +720,13 @@ - + - + - + From f99a7eb572b1dc142c80fdfd55332235e2a6df79 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 29 May 2022 14:12:11 +0800 Subject: [PATCH 15/27] systemd: disable systemd-sysupdate --- chapter08/systemd.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index c5ffc9630..0f11da410 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -192,6 +192,12 @@ meson --prefix=/usr \ systemctl preset-all + Disable a service for upgrading binary distros. It's useless for + a basic Linux system built from source, and it will report an error if + it's enabled but not configured: + +systemctl disable systemd-sysupdate + + + 2022-05-29 + + + [bdubbs] - Update to iana-etc-20220524. + Addresses #5006. + + + [bdubbs] - Update to iproute2-5.18.0. Fixes + #5065. + + + [bdubbs] - Update to linux-5.18.1. Fixes + #5061. + + + [bdubbs] - Update to perl-5.36.0. Fixes + #5066. + + + + 2022-05-29 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index cf5a5bb88..bd332bbad 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -122,9 +122,9 @@ Gzip-&gzip-version; - + diff --git a/packages.ent b/packages.ent index 6ea16f56a..bbf03706d 100644 --- a/packages.ent +++ b/packages.ent @@ -320,10 +320,10 @@ - - + + - + @@ -345,10 +345,10 @@ - - + + - + @@ -426,13 +426,13 @@ - - + + - + - + + + 2022-06-14 + + + [bdubbs] - Update to python3-3.10.5. Fixes + #5070. + + + [bdubbs] - Update to meson-0.62.2. Fixes + #5068. + + + [bdubbs] - Update to kbd-2.5.0. Fixes + #5067. + + + [bdubbs] - Update to file-5.42. Fixes + #5072. + + + [bdubbs] - Update to linux-5.18.3. Fixes + #5069. + + + [bdubbs] - Update to bc-5.3.1. Fixes + #5071. + + + + 2022-05-29 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index bd332bbad..6d73b9759 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -80,9 +80,9 @@ - + @@ -137,9 +137,9 @@ Jinja2-&jinja2-version; - + diff --git a/packages.ent b/packages.ent index bbf03706d..2614aaee9 100644 --- a/packages.ent +++ b/packages.ent @@ -58,10 +58,10 @@ - - + + - + @@ -179,10 +179,10 @@ - - + + - + @@ -361,10 +361,10 @@ - - + + - + @@ -427,12 +427,12 @@ - + - + - + - + - + - + - - + + From ca22630e6aa06c75b222d9d6b7f65cab3d27583b Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 21 Jun 2022 15:17:03 +0800 Subject: [PATCH 21/27] provide revision-specific wget-list-$(REV) file It's irrational to force a sysv builder to download systemd, or vice versa. But we cannot simply make wget-list specific for revision: IIRC the wget-list file with all packages in either revision is used by some scripts on rivendell. So we keep wget-list as is, and provide a new wget-list-$(REV) file which only contains the packages for one revision. --- Makefile | 30 ++++++++++++++++++------------ chapter03/introduction.xml | 10 +++++----- general.ent | 7 +++++++ 3 files changed, 30 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index 597ae1faa..bd6884a66 100644 --- a/Makefile +++ b/Makefile @@ -151,39 +151,45 @@ profile-html: stylesheets/lfs-xsl/profile.xsl \ $(RENDERTMP)/lfs-full.xml -wget-list: $(BASEDIR)/wget-list +wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV) $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \ packages.ent patches.ent general.ent @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..." $(Q)mkdir -p $(BASEDIR) - -# $(Q)xsltproc --nonet --xinclude \ -# --stringparam profile.revision $(REV) \ -# --output $(RENDERTMP)/sysd-wget.xml \ -# stylesheets/lfs-xsl/profile.xsl \ -# chapter03/chapter03.xml - $(Q)xsltproc --xinclude --nonet \ --output $(BASEDIR)/wget-list \ stylesheets/wget-list.xsl \ chapter03/chapter03.xml +$(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \ + chapter03/chapter03.xml \ + packages.ent patches.ent general.ent + $(Q)xsltproc --nonet --xinclude \ + --stringparam profile.revision $(REV) \ + --output $(RENDERTMP)/wget-list.xml \ + stylesheets/lfs-xsl/profile.xsl \ + chapter03/chapter03.xml + $(Q)xsltproc --xinclude --nonet \ + --output $(BASEDIR)/wget-list-$(REV) \ + stylesheets/wget-list.xsl \ + $(RENDERTMP)/wget-list.xml + md5sums: $(BASEDIR)/md5sums $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml \ packages.ent patches.ent @echo "Generating consolidated md5sum file at $(BASEDIR)/md5sums ..." $(Q)mkdir -p $(BASEDIR) - $(Q)xsltproc --nonet --xinclude \ + $(Q)xsltproc --nonet --xinclude \ --stringparam profile.revision $(REV) \ - --output $(RENDERTMP)/sysv-md5sum.xml \ + --output $(RENDERTMP)/md5sum.xml \ stylesheets/lfs-xsl/profile.xsl \ chapter03/chapter03.xml - $(Q)xsltproc --xinclude --nonet \ + $(Q)xsltproc --xinclude --nonet \ --output $(BASEDIR)/md5sums \ stylesheets/md5sum.xsl \ - $(RENDERTMP)/sysv-md5sum.xml + $(RENDERTMP)/md5sum.xml $(Q)sed -i -e \ "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.xz | cut -d' ' -f1)/" \ $(BASEDIR)/md5sums diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml index bc95ed071..76fd5ee12 100644 --- a/chapter03/introduction.xml +++ b/chapter03/introduction.xml @@ -79,11 +79,11 @@ To download all of the packages and patches by using - wget-list as an input to the - wget command, use: - -wget --input-file=wget-list --continue --directory-prefix=$LFS/sources + &wget-list; + as an input to the wget command, use: +wget --input-file=&wget-list; --continue --directory-prefix=$LFS/sources + Additionally, starting with LFS-7.0, there is a separate file, md5sums, which can be used to verify that all the correct packages are available before proceeding. Place that file in diff --git a/general.ent b/general.ent index 7da71e60e..f378f7e20 100644 --- a/general.ent +++ b/general.ent @@ -72,6 +72,13 @@ ]]> + +]]> + +]]> + From 0c0b88293bdeacf9453a7ea88ddc5a7337c5dcde Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 21 Jun 2022 17:11:44 +0800 Subject: [PATCH 22/27] minor reword for glibc test failures on slow systems I've observed some failures building LFS on my old i3-3217U (at 1.8 GHz with -j4), but forgot to update the book. Just got reminded by a lfs-support post. --- chapter08/glibc.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index be7d646d0..577625fe8 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -173,8 +173,9 @@ esac - The nss/tst-nss-files-hosts-multi - test is known to fail on relatively slow systems due to an internal + Some tests, for example + nss/tst-nss-files-hosts-multi, + are known to fail on relatively slow systems due to an internal timeout. - + + One gold test, pr17704a_test, is known to + fail if CONFIG_IA32_EMULATION is disabled in the + kernel configuration of the host system. + Install the package: make tooldir=/usr install diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 577625fe8..cb00c0719 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -178,6 +178,17 @@ esac are known to fail on relatively slow systems due to an internal timeout. + + + + About 27 tests, for example elf/tst-pldd, + are known to fail if the kernel supports namespaces (see + namespaces(7) for details) but the host distro + has disabled them via sysctl. +