From 25dc9a8cfa7687a40a5e4c3467b32bc0f2d89b77 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 22 Feb 2022 13:34:36 +0800 Subject: [PATCH 1/4] part 3 intro: warn that don't copy source tree with cp -R --- part3intro/generalinstructions.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/part3intro/generalinstructions.xml b/part3intro/generalinstructions.xml index 0739f79cc..d8e280e0d 100644 --- a/part3intro/generalinstructions.xml +++ b/part3intro/generalinstructions.xml @@ -97,6 +97,12 @@ to be built. In and , ensure you are the lfs user when extracting the package. + All methods to get the source code tree being built + in-position, except extracting the package tarball, are not + supported. Notably, using cp -R to copy the + source code tree somewhere else can destroy links and + timestamps in the sources tree and cause building + failure. Change to the directory created when the package was From 188fba74b44708940c9cc40a0fe3ae438c69089f Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 22 Feb 2022 13:34:59 +0800 Subject: [PATCH 2/4] ch03 intro: "newer version" -> "different version", and ... warn about the difference between release tarballs and repo snapshots --- chapter03/introduction.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml index ba7e16366..c0a89afac 100644 --- a/chapter03/introduction.xml +++ b/chapter03/introduction.xml @@ -13,12 +13,21 @@ This chapter includes a list of packages that need to be downloaded in order to build a basic Linux system. The listed version numbers correspond to versions of the software that are known to work, and this book is based on - their use. We highly recommend against using newer versions because the build - commands for one version may not work with a newer version. The newest package + their use. We highly recommend against using different versions because the build + commands for one version may not work with a different version. The newest package versions may also have problems that require work-arounds. These work-arounds will be developed and stabilized in the development version of the book. + For some packages, the release tarball and the (Git or SVN) + repository snapshot tarball for this release may be published with + similar file name. A release tarball contains generated files (for + example, configure script generated by + autoconf), in addition to the contents of the + corresponding repository snapshot. The book uses release tarballs + whenever possible. Using a repository snapshot instead of a release + tarball specified by the book will cause problems. + Download locations may not always be accessible. If a download location has changed since this book was published, Google () provides a useful search engine for From 186f52656e97b08f980a2ef324d88df5dc1758a6 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 22 Feb 2022 16:38:36 +0800 Subject: [PATCH 3/4] glibc: document tst-nss-files-hosts-multi failure ... on the systems without non-loopback IP address We'd observed this long ago with "unknown reason". I just saw it again and did some investigation, found it depends on getaddrinfo() with AI_ADDRCONFIG, which requires a non-loopback address. --- chapter08/glibc.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index fdb9cf544..6615926ec 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -165,12 +165,13 @@ esac misc/tst-ttyname is known to fail in the LFS chroot environment. -