[lfs-book] r12117 - trunk/BOOK/chapter06

2021-02-02 Thread bdubbs--- via lfs-book
Author: bdubbs
Date: Tue Feb  2 20:43:41 2021
New Revision: 12117

Log:
Wording and format changes

Modified:
   trunk/BOOK/chapter06/file.xml

Modified: trunk/BOOK/chapter06/file.xml
==
--- trunk/BOOK/chapter06/file.xml   Tue Feb  2 19:00:59 2021(r12116)
+++ trunk/BOOK/chapter06/file.xml   Tue Feb  2 20:43:41 2021(r12117)
@@ -43,14 +43,16 @@
   
 Installation of File
 
-The build host file command iwith the same version as
-the one we are building is needed for building the signature file. Run the
-following commands to build it:
+
+   The file command on the build host needs 
+   to be same version as the one we are building in order to 
+   create the signature file. Run the following commands to build it:
+
 
 mkdir build
 pushd build
-../configure
-make
+  ../configure
+  make
 popd
 
 Prepare File for compilation:
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12116 - trunk/BOOK/chapter08

2021-02-02 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  2 19:00:59 2021
New Revision: 12116

Log:
ch08/gcc: /usr/lib/bfd-plugins is already created by binutils

Modified:
   trunk/BOOK/chapter08/gcc.xml

Modified: trunk/BOOK/chapter08/gcc.xml
==
--- trunk/BOOK/chapter08/gcc.xmlTue Feb  2 18:52:42 2021(r12115)
+++ trunk/BOOK/chapter08/gcc.xmlTue Feb  2 19:00:59 2021(r12116)
@@ -174,8 +174,7 @@
 Add a compatibility symlink to enable building programs with
 Link Time Optimization (LTO): 
 
-install -v -dm755 /usr/lib/bfd-plugins
-ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)//liblto_plugin.so \
+ln -sfv ../../libexec/gcc/$(gcc 
-dumpmachine)//liblto_plugin.so \
 /usr/lib/bfd-plugins/
 
 Now that our final toolchain is in place, it is important to again 
ensure
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12115 - trunk/BOOK/chapter01

2021-02-02 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  2 18:52:42 2021
New Revision: 12115

Log:
changelog: edit pierre's changes to be more clear

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Tue Feb  2 17:34:53 2021(r12114)
+++ trunk/BOOK/chapter01/changelog.xml  Tue Feb  2 18:52:42 2021(r12115)
@@ -51,10 +51,14 @@
   glibc.
 
 
-  [pierre] - Tweaks to allow building with glibc-2.33:
-  build a "file" executable for the host before cross-compiling
-  it; replace the relinked libctf with the one that was linked
-  during "make" in binutils-pass2.
+  [pierre] - To allow building with newer version of glibc
+  than the host distribution, build a "file" executable for the
+  host before cross-compiling it.
+
+
+  [pierre] - Replace the relinked libctf (which may incorrectly
+  link against libz from the host distribution) with the one that
+  was linked during "make" in binutils-pass2.
 
 
   [bdubbs] - Update to bc-3.2.6. Fixes
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12114 - trunk/BOOK

2021-02-02 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  2 17:34:53 2021
New Revision: 12114

Log:
systemd: fix versiond

Modified:
   trunk/BOOK/general.ent

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Tue Feb  2 17:34:19 2021(r12113)
+++ trunk/BOOK/general.ent  Tue Feb  2 17:34:53 2021(r12114)
@@ -3,7 +3,7 @@
   Change to x.y for release but not -rc 
releases -->
  
 
-
+
 
  
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12113 - trunk/BOOK/chapter06

2021-02-02 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  2 17:34:19 2021
New Revision: 12113

Log:
ch06/binutils: remove duplicated command

Modified:
   trunk/BOOK/chapter06/binutils-pass2.xml

Modified: trunk/BOOK/chapter06/binutils-pass2.xml
==
--- trunk/BOOK/chapter06/binutils-pass2.xml Tue Feb  2 13:35:59 2021
(r12112)
+++ trunk/BOOK/chapter06/binutils-pass2.xml Tue Feb  2 17:34:19 2021
(r12113)
@@ -85,19 +85,14 @@
 
 make
 
-Install the package:
+Install the package, and
+workaround an issue causing
+libctf.so
+to link against zlib from the host distribution:
 
 make DESTDIR=$LFS install
 install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib
 
-
-  Workaround an issue causing
-  libctf.so
-  to link against zlib from the host distribution:
-
-
-install -vm755 libctf/.libs/libctf.so.0.0.0 
$LFS/usr/lib
-
   
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-book] [LFS Trac] #4799: glibc-2.33

2021-02-02 Thread LFS Trac via lfs-book
#4799: glibc-2.33
+---
 Reporter:  bdubbs  |   Owner:  lfs-book
 Type:  task|  Status:  closed
 Priority:  high|   Milestone:  10.1
Component:  Book| Version:  SVN
 Severity:  normal  |  Resolution:  fixed
 Keywords:  |
+---
Changes (by ken@…):

 * priority:  normal => high


Comment:

 Belatedly flagging as High as a reminder to create a security advisory.

 Of the CVEs noted, CVE-2019-25013 and CVE-2020-29562 are listed as Medium
 at NVD, CVE-2020-27618 not found at NVD ('reserved' at mitre),
 CVE-2021-3326 undergoing analysis at NVD.

 I assume that for most, if not all, LFS and BLFS users these will not be
 overly relevant since the only safe way to update glibc is to build a new
 system (although pulling out the patches, rebuilding, and then rebooting
 with unclean shutdown has been used in the past).

--
Ticket URL: 
LFS Trac 
Linux From Scratch: Your Distro, Your Rules.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12112 - in trunk/BOOK: chapter01 chapter06 chapter08

2021-02-02 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Feb  2 13:35:59 2021
New Revision: 12112

Log:
Really apply various fixes for building with glibc-2.33,
and change the order in chapter 8 so that everything is built against
chapter 8 glibc.

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/binutils-pass2.xml
   trunk/BOOK/chapter06/file.xml
   trunk/BOOK/chapter08/chapter08.xml
   trunk/BOOK/chapter08/glibc.xml
   trunk/BOOK/chapter08/tcl.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Tue Feb  2 13:15:23 2021(r12111)
+++ trunk/BOOK/chapter01/changelog.xml  Tue Feb  2 13:35:59 2021(r12112)
@@ -46,6 +46,17 @@
   
   2021-02-02
 
+  [pierre] - Move tcl, expect, and dejagnu just before binutils
+  in chapter 8: this allows to build them against chapter 8
+  glibc.
+
+
+  [pierre] - Tweaks to allow building with glibc-2.33:
+  build a "file" executable for the host before cross-compiling
+  it; replace the relinked libctf with the one that was linked
+  during "make" in binutils-pass2.
+
+
   [bdubbs] - Update to bc-3.2.6. Fixes
   #4800.
 

Modified: trunk/BOOK/chapter06/binutils-pass2.xml
==
--- trunk/BOOK/chapter06/binutils-pass2.xml Tue Feb  2 13:15:23 2021
(r12111)
+++ trunk/BOOK/chapter06/binutils-pass2.xml Tue Feb  2 13:35:59 2021
(r12112)
@@ -87,7 +87,8 @@
 
 Install the package:
 
-make DESTDIR=$LFS 
install
+make DESTDIR=$LFS install
+install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib
 
 
   Workaround an issue causing

Modified: trunk/BOOK/chapter06/file.xml
==
--- trunk/BOOK/chapter06/file.xml   Tue Feb  2 13:15:23 2021(r12111)
+++ trunk/BOOK/chapter06/file.xml   Tue Feb  2 13:35:59 2021(r12112)
@@ -43,6 +43,16 @@
   
 Installation of File
 
+The build host file command iwith the same version as
+the one we are building is needed for building the signature file. Run the
+following commands to build it:
+
+mkdir build
+pushd build
+../configure
+make
+popd
+
 Prepare File for compilation:
 
 ./configure --prefix=/usr --host=$LFS_TGT 
--build=$(./config.guess)
@@ -54,7 +64,7 @@
  cross-compiling, and use the just built "file". -->
 Compile the package:
 
-make
+make 
FILE_COMPILE=$(pwd)/build/src/file
 
 Install the package:
 

Modified: trunk/BOOK/chapter08/chapter08.xml
==
--- trunk/BOOK/chapter08/chapter08.xml  Tue Feb  2 13:15:23 2021(r12111)
+++ trunk/BOOK/chapter08/chapter08.xml  Tue Feb  2 13:35:59 2021(r12112)
@@ -14,11 +14,6 @@
   http://www.w3.org/2001/XInclude; 
href="introduction.xml"/>
   http://www.w3.org/2001/XInclude; href="pkgmgt.xml"/>
   http://www.w3.org/2001/XInclude; href="man-pages.xml"/>
-
-  http://www.w3.org/2001/XInclude; href="tcl.xml"/>
-  http://www.w3.org/2001/XInclude; href="expect.xml"/>
-  http://www.w3.org/2001/XInclude; href="dejagnu.xml"/>
-
   http://www.w3.org/2001/XInclude; href="iana-etc.xml"/>
   http://www.w3.org/2001/XInclude; href="glibc.xml"/>
   http://www.w3.org/2001/XInclude; href="zlib.xml"/>
@@ -30,6 +25,11 @@
   http://www.w3.org/2001/XInclude; href="m4.xml"/>
   http://www.w3.org/2001/XInclude; href="bc.xml"/>
   http://www.w3.org/2001/XInclude; href="flex.xml"/>
+
+  http://www.w3.org/2001/XInclude; href="tcl.xml"/>
+  http://www.w3.org/2001/XInclude; href="expect.xml"/>
+  http://www.w3.org/2001/XInclude; href="dejagnu.xml"/>
+
   http://www.w3.org/2001/XInclude; href="binutils.xml"/>
   http://www.w3.org/2001/XInclude; href="gmp.xml"/>
   http://www.w3.org/2001/XInclude; href="mpfr.xml"/>

Modified: trunk/BOOK/chapter08/glibc.xml
==
--- trunk/BOOK/chapter08/glibc.xml  Tue Feb  2 13:15:23 2021(r12111)
+++ trunk/BOOK/chapter08/glibc.xml  Tue Feb  2 13:35:59 2021(r12112)
@@ -126,7 +126,7 @@
 are usually safe to ignore.
 
 
-case $(uname -m) in
+
 make check
 
 You may see some test failures.  The Glibc test suite is

Modified: trunk/BOOK/chapter08/tcl.xml
==
--- trunk/BOOK/chapter08/tcl.xmlTue Feb  2 13:15:23 2021(r12111)
+++ trunk/BOOK/chapter08/tcl.xmlTue Feb  2 13:35:59 2021(r12112)
@@ -45,11 +45,10 @@
 Installation of Tcl
 
 This package and the next two (Expect and DejaGNU) are
-installed to support running the test suites for GCC and binutils and other
+installed to support running the test suites for binutils and GCC 

[lfs-book] r12110 - trunk/BOOK/chapter08

2021-02-02 Thread bdubbs--- via lfs-book
Author: bdubbs
Date: Tue Feb  2 09:01:48 2021
New Revision: 12110

Log:
Tweak a comment

Modified:
   trunk/BOOK/chapter08/gcc.xml

Modified: trunk/BOOK/chapter08/gcc.xml
==
--- trunk/BOOK/chapter08/gcc.xmlTue Feb  2 08:15:16 2021(r12109)
+++ trunk/BOOK/chapter08/gcc.xmlTue Feb  2 09:01:48 2021(r12110)
@@ -125,7 +125,7 @@
 apparently related to the en_HK locale.
 
 Additionally the following tests related to the following files
-are known to fail with glibc-2.32: asan_test.C, co-ret-17-void-ret-coro.C, 
+are known to fail with glibc-2.33: asan_test.C, co-ret-17-void-ret-coro.C, 
 pr95519-05-gro.C, pr80166.c.
 
 

[lfs-book] [LFS Trac] Batch modify: #4798, #4799, #4800

2021-02-02 Thread LFS Trac via lfs-book
Batch modification to #4798, #4799, #4800 by bdubbs:


Action: resolve

Comment:
Fixed at revision 12109.

--
Tickets URL: 
LFS Trac 
Linux From Scratch: Your Distro, Your Rules.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12109 - in trunk/BOOK: . bootscripts bootscripts/lfs/init.d chapter01 chapter06 chapter08

2021-02-02 Thread bdubbs--- via lfs-book
Author: bdubbs
Date: Tue Feb  2 08:15:16 2021
New Revision: 12109

Log:
Update to bc-3.2.6. 
Update to glibc-2.33. 
Minor change to mountfs boot script.

Modified:
   trunk/BOOK/bootscripts/ChangeLog
   trunk/BOOK/bootscripts/lfs/init.d/mountfs
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter06/file.xml
   trunk/BOOK/chapter08/bc.xml
   trunk/BOOK/chapter08/glibc.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/bootscripts/ChangeLog
==
--- trunk/BOOK/bootscripts/ChangeLogMon Feb  1 23:42:17 2021(r12108)
+++ trunk/BOOK/bootscripts/ChangeLogTue Feb  2 08:15:16 2021(r12109)
@@ -1,3 +1,6 @@
+2021-02-01 Bruce Dubbs 
+   * Tweak mountfs to properly exit when an error is found.
+
 2021-01-13 Xi Ruoyao 
* Use /run instead of deprecated /var/run
 

Modified: trunk/BOOK/bootscripts/lfs/init.d/mountfs
==
--- trunk/BOOK/bootscripts/lfs/init.d/mountfs   Mon Feb  1 23:42:17 2021
(r12108)
+++ trunk/BOOK/bootscripts/lfs/init.d/mountfs   Tue Feb  2 08:15:16 2021
(r12109)
@@ -46,7 +46,8 @@
   # their option list.  _netdev denotes a network filesystem.
 
   log_info_msg "Mounting remaining file systems..."
-  mount --all --test-opts no_netdev >/dev/null
+  failed=0
+  mount --all --test-opts no_netdev >/dev/null || failed=1
   evaluate_retval
   exit $failed
   ;;

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Mon Feb  1 23:42:17 2021(r12108)
+++ trunk/BOOK/chapter01/changelog.xml  Tue Feb  2 08:15:16 2021(r12109)
@@ -44,6 +44,24 @@
 -->
 
   
+  2021-02-02
+
+  [bdubbs] - Update to bc-3.2.6. Fixes
+  #4800.
+
+
+  [bdubbs] - Update to glibc-2.33. Fixes
+  #4799.
+
+
+  [bdubbs] - Minor change to mountfs boot script. Fixes
+  #4798.
+
+  
+
+
+
+  
   2021-02-01
 
   [bdubbs] - Update to vim-8.2.2433. Addresses

Modified: trunk/BOOK/chapter01/whatsnew.xml
==
--- trunk/BOOK/chapter01/whatsnew.xml   Mon Feb  1 23:42:17 2021(r12108)
+++ trunk/BOOK/chapter01/whatsnew.xml   Tue Feb  2 08:15:16 2021(r12109)
@@ -105,9 +105,9 @@
 
-
+
 
   GMP-
 

Modified: trunk/BOOK/chapter06/file.xml
==
--- trunk/BOOK/chapter06/file.xml   Mon Feb  1 23:42:17 2021(r12108)
+++ trunk/BOOK/chapter06/file.xml   Tue Feb  2 08:15:16 2021(r12109)
@@ -45,7 +45,7 @@
 
 Prepare File for compilation:
 
-./configure --prefix=/usr 
--host=$LFS_TGT
+./configure --prefix=/usr --host=$LFS_TGT 
--build=$(./config.guess)
 
 
+
   
 The nss/tst-nss-files-hosts-multi
 test may fail for reasons that have not been determined.

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Mon Feb  1 23:42:17 2021(r12108)
+++ trunk/BOOK/general.ent  Tue Feb  2 08:15:16 2021(r12109)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 

Modified: trunk/BOOK/packages.ent
==
--- trunk/BOOK/packages.ent Mon Feb  1 23:42:17 2021(r12108)
+++ trunk/BOOK/packages.ent Tue Feb  2 08:15:16 2021(r12109)
@@ -57,10 +57,10 @@
 
 
 
-
-
+
+
 https://github.com/gavinhoward/bc/releases/download//bc-.tar.xz;>
-
+
 https://git.yzena.com/gavin/bc;>
 
 
@@ -256,10 +256,10 @@
 
 
 
-
-
+
+
 
-
+
 
 
 
@@ -375,7 +375,7 @@
 
 
 
-  
+  
 
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] LFS Package Currency Check - 2021-02-02 11:50:01 GMT

2021-02-02 Thread bdubbs--- via lfs-book
Package LFS  Upstream  Flag

acl 2.2.53 2.2.53 
attr2.4.48 2.4.48 
autoconf2.71   2.71   
automake1.16.3 1.16.3 
bash5.15.1
bc  3.2.5  3.2.6  *
binutils2.36   2.36   
bison   3.7.5  3.7.5  
bzip2   1.0.8  1.0.8  
check   0.15.2 0.15.2 
coreutils   8.32   8.32   
dbus1.12.201.12.20
dejagnu 1.6.2  1.6.2  
diffutils   3.73.7
e2fsprogs   1.46.0 1.46.0 
elfutils0.182  0.182  
eudev   3.2.9  3.2.9  
expat   2.2.10 2.2.10 
expect  5.45.4 5.45.4 
file5.39   5.39   
findutils   4.8.0  4.8.0  
flex2.6.4  2.6.4  
gawk5.1.0  5.1.0  
gcc 10.2.0 10.2.0 
gdbm1.19   1.19   
gettext 0.21   0.21   
glibc   2.32   2.33   *
gmp 6.2.1  6.2.1  
gperf   3.13.1
grep3.63.6
groff   1.22.4 1.22.4 
grub2.04   2.04   
gzip1.10   1.10   
iana-etc20210115   20210115   
inetutils   1.9.4  1.9.4  
intltool0.51.0 0.51.0 
iproute25.10.0 5.10.0 
kbd 2.4.0  2.4.0  
kmod28 28 
less563563
lfs-bootscripts 20210113   20210113   
libcap  2.47   2.47   
libffi  3.33.3
libpipeline 1.5.3  1.5.3  
libtool 2.4.6  2.4.6  
linux   5.10.125.10.12
m4  1.4.18 1.4.18 
make4.34.3
man-db  2.9.3  2.9.3  
man-pages   5.10   5.10   
meson   0.56.2 0.56.2 
mpc 1.2.1  1.2.1  
mpfr4.1.0  4.1.0  
ncurses 6.26.2
ninja   1.10.2 1.10.2 
openssl 1.1.1i 1.1.1i 
patch   2.7.6  2.7.6  
perl5.32.1 5.32.1 
pkg-config  0.29.2 0.29.2 
procps-ng   3.3.16 3.3.16 
psmisc  23.3   23.3   
Python  3.9.1  3.9.1  
readline8.18.1
sed 4.84.8
shadow  4.8.1  4.8.1  
sysklogd1.5.1  1.5.1  
systemd 247247
sysvinit2.98   2.98   
tar 1.33   1.33   
tcl 8.6.11 8.6.11 
texinfo 6.76.7
tzdata  2021a  2021a  
udev-lfs20171102   20171102   
util-linux  2.36.1 2.36.1 
vim 8.2.2433   8.2.2451   *
XML-Parser  2.46   2.46   
xz  5.2.5  5.2.5  
zlib1.2.11 1.2.11 
zstd1.4.8  1.4.8  

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page