diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index d61f50796..2e9ab619f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -44,6 +44,104 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + + + 2021-02-18 + + [bdubbs] - Fix a glibc bug that causes issues with chrooted applications. Fixes + #4817. + + + [bdubbs] - Update to bc-3.3.0. Fixes + #4819. + + + [bdubbs] - Update to openssl-1.1.1j. Fixes + #4816. + + + [bdubbs] - Update to meson-0.57.0. Fixes + #4815. + + + [bdubbs] - Update to linux-5.10.17. Fixes + #4807. + + + + + + + 2021-02-14 + + [renodr] - Add a command explanation for 'pwait'. + + + [bdubbs] - Update to util-linux-2.36.2. Fixes + #4812. + + + [bdubbs] - Update to tar-1.34. Fixes + #4813. + + + [bdubbs] - Update to psmisc-23.4. Fixes + #4805. + + + [bdubbs] - Update to procps-ng-3.3.17. Fixes + #4811. + + + [bdubbs] - Update to man-db-2.9.4. Fixes + #4808. + + + [bdubbs] - Update to eudev-3.2.10. Fixes + #4810. + + + [bdubbs] - Update to elfutils-0.183. Fixes + #4806. + + + [bdubbs] - Update to e2fsprogs-1.46.1. Fixes + #4809. + + + [bdubbs] - Update to bc-3.2.7. Fixes + #4814. + + + + + + + 2021-02-01 + + [bdubbs] - Update to iana-etc-20210202. Addresses + #4722. + + + [bdubbs] - Update to inetutils-2.0. Fixes + #4803. + + + [bdubbs] - Update to libcap-2.48. Fixes + #4802. + + + [bdubbs] - Update to binutils-2.36.1. Fixes + #4804. + + + [bdubbs] - Update to linux-5.10.13. Fixes + #4801. + + + + 2021-02-02 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 9c2f6bd37..cf6da8531 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -75,9 +75,9 @@ E2fsprogs-&e2fsprogs-version; - + Expat-&expat-version; @@ -129,9 +129,9 @@ IANA-Etc-&iana-etc-version; - + @@ -174,9 +174,9 @@ - + Man-pages-&man-pages-version; @@ -207,12 +207,12 @@ - - + Python-&python-version; diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index f49991852..4c020de3b 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -138,6 +138,17 @@ cd build + + + + This disables x86 ISA needed property in + Glibc libraries. Use it if + you are building Glibc with option in + CFLAGS, to workaround an issue in Glibc-2.33 + breaking it. + + + During this stage the following warning might appear: diff --git a/chapter08/automake.xml b/chapter08/automake.xml index ee444a365..33db7bcb9 100644 --- a/chapter08/automake.xml +++ b/chapter08/automake.xml @@ -59,7 +59,8 @@ make -j4 check - The test t/subobj.sh is known to fail in the LFS environment. + The tests t/subobj.sh, t/deprecated-acinit.sh, and t/init.sh are known to + fail in the LFS environment. Install the package: diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index f3651cc90..1d84b4851 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -174,7 +174,8 @@ cd build make -k check - + Four tests named Run property ... are known to + fail. Install the package: diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml index 6c1791327..b8082c830 100644 --- a/chapter08/coreutils.xml +++ b/chapter08/coreutils.xml @@ -59,11 +59,11 @@ Suppress a test which on some machines can loop forever: sed -i '/test.lock/s/^/#/' gnulib-tests/gnulib.mk - + Now prepare Coreutils for compilation: autoreconf -fiv diff --git a/chapter08/e2fsprogs.xml b/chapter08/e2fsprogs.xml index fc6f897f5..40544e782 100644 --- a/chapter08/e2fsprogs.xml +++ b/chapter08/e2fsprogs.xml @@ -108,6 +108,8 @@ cd build To run the tests, issue: make check + +One test, m_rootdir_acl, is known to fail. On a spinning disk, the tests take a little more than 4 SBUs. They can be much shorter on an SSD (down to about 1.5 SBUs). + Install the package: make install diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 0b74c086b..b4e90b003 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -50,6 +50,11 @@ patch -Np1 -i ../&glibc-fhs-patch; + Fix a bug that causes issues with chrooted applications: + + sed -e '402a\ *result = local->data.services[database_index];' \ + -i nss/nss_database.c + The Glibc documentation recommends building Glibc in a dedicated build directory: @@ -118,6 +123,17 @@ cd build + + + + This disables x86 ISA needed property in + Glibc libraries. Use it if + you are building Glibc with option in + CFLAGS, to workaround an issue in Glibc-2.33 + breaking it. + + + Compile the package: diff --git a/chapter08/iproute2.xml b/chapter08/iproute2.xml index 9e609e3cf..cd8385aff 100644 --- a/chapter08/iproute2.xml +++ b/chapter08/iproute2.xml @@ -90,7 +90,7 @@ rm -fv man/man8/arpd.8 bridge, ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, and tc - /etc/iproute2, /usr/lib/tc, and /usr/share/doc/iproute2-&iproute2-version;, + /etc/iproute2, /usr/lib/tc, and /usr/share/doc/iproute2-&iproute2-version; diff --git a/chapter08/libelf.xml b/chapter08/libelf.xml index 3420bc4c4..e9194be6e 100644 --- a/chapter08/libelf.xml +++ b/chapter08/libelf.xml @@ -144,14 +144,32 @@ rm -rf DESTDIR - libelf.so + libelf.so (symlink) and libelf-&elfutils-version;.so /usr/include/elfutils + + + Short Descriptions + + + + + libelf + + Contains API functions to handle ELF object files + + libelf + + + + + + diff --git a/chapter08/libffi.xml b/chapter08/libffi.xml index d6a11d77d..5c7d96217 100644 --- a/chapter08/libffi.xml +++ b/chapter08/libffi.xml @@ -178,7 +178,7 @@ rm -rf DESTDIR libffi - contains the libffi API functions. + contains the foreign function interface API functions libffi diff --git a/chapter08/m4.xml b/chapter08/m4.xml index 54608bfeb..b8d57fba0 100644 --- a/chapter08/m4.xml +++ b/chapter08/m4.xml @@ -90,7 +90,7 @@ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h files, running Unix commands, performing integer arithmetic, manipulating text, recursion, etc. The m4 program can be used either as a front-end to a compiler or as a macro processor - in its own right. + in its own right m4 diff --git a/chapter08/ninja.xml b/chapter08/ninja.xml index 90f0fc9ce..0fe0ccb73 100644 --- a/chapter08/ninja.xml +++ b/chapter08/ninja.xml @@ -122,7 +122,7 @@ install -vDm644 misc/zsh-completion /usr/share/zsh/site-functions/_ninja ninja - is the Ninja build system. + is the Ninja build system ninja diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml index c4c77aa48..c05c78baa 100644 --- a/chapter08/openssl.xml +++ b/chapter08/openssl.xml @@ -185,7 +185,7 @@ rm -rf DESTDIR is a Perl script that scans all files in - a directory and adds symbolic links to their hash values. + a directory and adds symbolic links to their hash values c_rehash @@ -200,7 +200,7 @@ rm -rf DESTDIR is a command-line tool for using the various cryptography functions of OpenSSL's crypto library from the shell. It can be used for various functions which are documented in - man 1 openssl. + man 1 openssl openssl @@ -218,7 +218,7 @@ rm -rf DESTDIR TLS and S/MIME, and they have also been used to implement OpenSSH, OpenPGP, and other cryptographic - standards. + standards libcrypto.so @@ -232,7 +232,7 @@ rm -rf DESTDIR implements the Transport Layer Security (TLS v1) protocol. It provides a rich API, documentation - on which can be found by running man 3 ssl. + on which can be found by running man 3 ssl libssl.so diff --git a/chapter08/procps.xml b/chapter08/procps.xml index 90648638c..b026d0538 100644 --- a/chapter08/procps.xml +++ b/chapter08/procps.xml @@ -25,6 +25,14 @@ The Procps-ng package contains programs for monitoring processes. + + + This package extracts to the directory + procps-3.3.17, + not the expected + procps-ng-3.3.17. + + &buildtime; &diskspace; @@ -87,12 +95,15 @@ make check make check + Five tests related to pkill are known to fail due to a problem + with tests that were not updated. + Install the package: make install -Finally, move essential libraries to a location that can be found if -/usr is not mounted. + Finally, move essential libraries to a location that can be found + if /usr is not mounted. mv -v /usr/lib/libprocps.so.* /lib ln -sfv ../../lib/$(readlink /usr/lib/libprocps.so) /usr/lib/libprocps.so @@ -181,6 +192,16 @@ ln -sfv ../../lib/$(readlink /usr/lib/libprocps.so) /usr/lib/libprocps.so + + pwait + + Waits for a process to finish before executing. + + pwait + + + + pwdx diff --git a/chapter08/python.xml b/chapter08/python.xml index e84b7922e..b71822b9b 100644 --- a/chapter08/python.xml +++ b/chapter08/python.xml @@ -88,9 +88,9 @@ make test Some tests requiring a network connection or additional packages are - skipped. The test named test_unicodedata fails because network - configuration is not completed yet. For more comprehensive results, - the test can be rerun when Python 3 is reinstalled in BLFS. + skipped. The test named test_normalization is known to fail. For + more comprehensive results, the tests can be rerun when Python 3 is + reinstalled in BLFS. Install the package: @@ -158,7 +158,7 @@ tar --strip-components=1 \ is a Python program that reads Python 2.x source code and applies a series of fixes to transform it into - valid Python 3.x code. + valid Python 3.x code 2to3 @@ -173,7 +173,7 @@ tar --strip-components=1 \ is a wrapper script that opens a Python aware GUI editor. For this script to run, you must have installed Tk before Python so that the Tkinter - Python module is built. + Python module is built idle3 @@ -186,7 +186,7 @@ tar --strip-components=1 \ The package installer for Python. You can use pip to install - packages from Python Package Index and other indexes. + packages from Python Package Index and other indexes pip3 @@ -198,7 +198,7 @@ tar --strip-components=1 \ pydoc3 - is the Python documentation tool. + is the Python documentation tool pydoc3 @@ -211,7 +211,7 @@ tar --strip-components=1 \ is an interpreted, interactive, object-oriented programming - language. + language python3 diff --git a/chapter08/readline.xml b/chapter08/readline.xml index a70382b4b..cb6e93ad0 100644 --- a/chapter08/readline.xml +++ b/chapter08/readline.xml @@ -203,7 +203,7 @@ rm -rf DESTDIR libreadline Provides a set of commands for manipulating text entered in an - interactive session of a program. + interactive session of a program libreadline diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index e53ba2733..6ae4f3b0d 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -212,7 +212,7 @@ meson --prefix=/usr \ rm -f /usr/bin/xsltproc - Remove an useless directory: + Remove a useless directory: rm -rf /usr/lib/pam.d @@ -475,7 +475,7 @@ rm -f /usr/bin/xsltproc Is the first process to be started when the kernel has initialized the hardware which takes over the boot process and starts all processes according to its configuration files. In this case, it starts - systemd. + systemd init @@ -496,7 +496,7 @@ rm -f /usr/bin/xsltproc kernel-install Is used to add and remove kernel and initramfs images to and - from /boot. In LFS, this is done manually. + from /boot. In LFS, this is done manually kernel-install @@ -596,7 +596,7 @@ rm -f /usr/bin/xsltproc Sends control commands to the network name resolution manager, or resolves domain names, IPv4 and IPv6 addresses, - DNS records, and services. + DNS records, and services resolvectl @@ -662,7 +662,7 @@ rm -f /usr/bin/xsltproc systemd-cat Is used to connect the STDOUT and STDERR outputs of a process - with the systemd journal. + with the systemd journal systemd-cat @@ -708,7 +708,7 @@ rm -f /usr/bin/xsltproc systemd-detect-virt Detects whether the system is being run in a virtual - environment, and adjusts udev accordingly. + environment, and adjusts udev accordingly systemd-detect-virt @@ -718,7 +718,7 @@ rm -f /usr/bin/xsltproc systemd-dissect - Is used to inspect OS disk images. + Is used to inspect OS disk images systemd-dissect @@ -761,7 +761,7 @@ rm -f /usr/bin/xsltproc Is used to execute a program with a shutdown, sleep or idle inhibitor lock taken, preventing an action such as a system shutdown - until the process is completed. + until the process is completed systemd-inhibit @@ -783,7 +783,7 @@ rm -f /usr/bin/xsltproc systemd-mount - Is used to temporarily mount or automount disks. + Is used to temporarily mount or automount disks systemd-mount @@ -826,7 +826,7 @@ rm -f /usr/bin/xsltproc systemd-repart Is used to grow and add partitions to a partition table when - systemd is used in an OS image (e.g. a container). + systemd is used in an OS image (e.g. a container) systemd-repart @@ -849,7 +849,7 @@ rm -f /usr/bin/xsltproc Is used to create and start a transient .service or a .scope unit and run the specified command in it. This is useful for - validating systemd units. + validating systemd units systemd-run @@ -860,7 +860,7 @@ rm -f /usr/bin/xsltproc systemd-socket-activate Is used to listen on socket devices and launch a process upon - a successful connection to the socket. + a successful connection to the socket systemd-socket-activate diff --git a/general.ent b/general.ent index 4b3c08639..98ba1b607 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/lfs-latest.php b/lfs-latest.php index 937fb25d3..641aca2fe 100644 --- a/lfs-latest.php +++ b/lfs-latest.php @@ -280,7 +280,7 @@ if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/rel } if ( $package == "procps-ng" ) - return find_max( $lines, "/v\d/", "/^.*v([\d\.]+) .*$/" ); + return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" ); if ( $package == "psmisc" ) return find_max( $lines, "/v\d/", "/^.*v([\d\.]+) .*$/" ); diff --git a/packages.ent b/packages.ent index 510393fa1..14d5e5438 100644 --- a/packages.ent +++ b/packages.ent @@ -18,7 +18,7 @@ - + @@ -34,8 +34,8 @@ - - + + @@ -44,38 +44,38 @@ - - + + - + - - + + - - + + - + - + - - + + - + - + - + - - + + @@ -84,16 +84,16 @@ - - + + - - + + @@ -101,7 +101,7 @@ - + @@ -109,9 +109,9 @@ - - - + + + @@ -135,30 +135,30 @@ - + - - + + - + - - + + - - + + - + - + - - + + - + @@ -184,8 +184,8 @@ - - + + @@ -194,10 +194,10 @@ - + - - + + @@ -205,7 +205,7 @@ - + @@ -214,27 +214,27 @@ - - + + - + - + - + - - + + @@ -244,7 +244,7 @@ - + @@ -252,19 +252,19 @@ - + - + - - - - + + + + @@ -273,7 +273,7 @@ - + @@ -290,8 +290,8 @@ - - + + @@ -307,7 +307,7 @@ - + @@ -319,20 +319,20 @@ - + - + - - + + - + - + @@ -348,7 +348,7 @@ - + @@ -364,8 +364,8 @@ - - + + @@ -391,12 +391,12 @@ - - + + - + - + @@ -405,7 +405,7 @@ - + @@ -413,7 +413,7 @@ - + @@ -421,16 +421,16 @@ - + - + - + - + @@ -451,7 +451,7 @@ - + @@ -461,31 +461,31 @@ - + - - + + - + - + - + - - + + - + - + @@ -493,7 +493,7 @@ - + @@ -502,7 +502,7 @@ - + @@ -511,7 +511,7 @@ - + @@ -519,16 +519,16 @@ - + - - + + - + - - + + @@ -549,10 +549,10 @@ - - + + - + @@ -562,20 +562,20 @@ - - + + - + - - + + - - + + - + - + - + + - + - - - - + + + + @@ -716,8 +716,8 @@ - - + + @@ -742,7 +742,7 @@ - + @@ -750,6 +750,6 @@ - - + +