[lfs-book] r12169 - in trunk/BOOK: chapter04 chapter05

2021-03-24 Thread pierre--- via lfs-book
Author: pierre
Date: Wed Mar 24 08:02:32 2021
New Revision: 12169

Log:
Clarify some explanations about the minimal directory layout in chap 4

Modified:
   trunk/BOOK/chapter04/creatingminlayout.xml
   trunk/BOOK/chapter05/libstdc++.xml

Modified: trunk/BOOK/chapter04/creatingminlayout.xml
==
--- trunk/BOOK/chapter04/creatingminlayout.xml  Wed Mar 24 07:18:25 2021
(r12168)
+++ trunk/BOOK/chapter04/creatingminlayout.xml  Wed Mar 24 08:02:32 2021
(r12169)
@@ -12,7 +12,8 @@
 
   The first task performed in the LFS partition is to create a limited
   directory hierarchy so that programs compiled in  may be installed in their final
+  linkend="chapter-temporary-tools"/> (as well as glibc and libstdc++ in ) may be installed in their final
   location. This is needed so that those temporary programs be overwritten
   when rebuilding them in .
 

Modified: trunk/BOOK/chapter05/libstdc++.xml
==
--- trunk/BOOK/chapter05/libstdc++.xml  Wed Mar 24 07:18:25 2021(r12168)
+++ trunk/BOOK/chapter05/libstdc++.xml  Wed Mar 24 08:02:32 2021(r12169)
@@ -75,8 +75,9 @@
   
 --host=...
 
-  Specifies the use the cross compiler we have just built
-  instead of the one in /usr/bin.
+  Specifies that the cross compiler we have just built
+  should be used instead of the one in
+  /usr/bin.
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12153 - in trunk/BOOK: . chapter01 chapter08

2021-03-02 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Mar  2 14:02:06 2021
New Revision: 12153

Log:
Fix a header file in python, so that #include  works.

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter08/python.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Mon Mar  1 18:42:12 2021(r12152)
+++ trunk/BOOK/chapter01/changelog.xml  Tue Mar  2 14:02:06 2021(r12153)
@@ -44,6 +44,17 @@
 -->
 
 
+  2021-03-02
+  
+
+  [pierre] - Fix a header file for python, so that
+  #include python/Python.h
+  works.
+
+  
+
+
+
   2021-03-01
   
 

Modified: trunk/BOOK/chapter08/python.xml
==
--- trunk/BOOK/chapter08/python.xml Mon Mar  1 18:42:12 2021(r12152)
+++ trunk/BOOK/chapter08/python.xml Tue Mar  2 14:02:06 2021(r12153)
@@ -42,6 +42,10 @@
   
 Installation of Python 3
 
+First, a header file needs to be fixed:
+
+sed 's|cpython/||' -i 
Include/cpython/pystate.h
+
 Prepare Python for compilation:
 
 ./configure --prefix=/usr   \

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Mon Mar  1 18:42:12 2021(r12152)
+++ trunk/BOOK/general.ent  Tue Mar  2 14:02:06 2021(r12153)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-book] r12147 - in tags/10.1: . chapter01

2021-02-28 Thread Pierre Labastie via lfs-book
On Sun, 2021-02-28 at 16:27 +, bdubbs--- via lfs-book wrote:
> Author: bdubbs
> Date: Sun Feb 28 08:27:45 2021
> New Revision: 12147
> 
> Log:
> LFS-10.1
> 
> Added:
>    tags/10.1/
>   - copied from r12146, trunk/BOOK/
> Modified:
>    tags/10.1/chapter01/changelog.xml
>    tags/10.1/general.ent
>    tags/10.1/packages.ent
> 
> Modified: tags/10.1/chapter01/changelog.xml
> =
> =
> --- trunk/BOOK/chapter01/changelog.xml  Fri Feb 26 20:45:36
> 2021(r12146)
> +++ tags/10.1/chapter01/changelog.xml   Sun Feb 28 08:27:45
> 2021(r12147)
> @@ -44,6 +44,15 @@
>  -->
>  
>  
> +  2021-03-01
> +  
> +    
> +  [bdubbs] - LFS-10.3 released.

huh?  

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


[lfs-book] r12143 - in trunk/BOOK: . chapter01 chapter08

2021-02-20 Thread pierre--- via lfs-book
Author: pierre
Date: Sat Feb 20 13:02:59 2021
New Revision: 12143

Log:
fix grub to prevent generation of a huge binary blob for lzma compression

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter08/grub.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Fri Feb 19 22:34:19 2021(r12142)
+++ trunk/BOOK/chapter01/changelog.xml  Sat Feb 20 13:02:59 2021(r12143)
@@ -45,6 +45,17 @@
 
 
   
+  2021-02-20
+
+  [pierre] - Fix grub to prevent generation of a huge binary
+  blob for lzma compression. Reported on the lfs-support mailing
+  list by Frans de Boer.
+
+  
+
+
+
+  
   2021-02-18
 
   [bdubbs] - Fix a glibc bug that causes issues with chrooted 
applications. Fixes

Modified: trunk/BOOK/chapter08/grub.xml
==
--- trunk/BOOK/chapter08/grub.xml   Fri Feb 19 22:34:19 2021(r12142)
+++ trunk/BOOK/chapter08/grub.xml   Sat Feb 20 13:02:59 2021(r12143)
@@ -40,6 +40,11 @@
   
 Installation of GRUB
 
+First, fix an issue introduced by binutils-2.36:
+
+sed "s/gold-version/ -R 
.note.gnu.property/" \
+-i Makefile.in grub-core/Makefile.in
+
 Prepare GRUB for compilation:
 
 ./configure --prefix=/usr  \

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Fri Feb 19 22:34:19 2021(r12142)
+++ trunk/BOOK/general.ent  Sat Feb 20 13:02:59 2021(r12143)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2021-02-03 Thread pierre--- via lfs-book
Author: pierre
Date: Wed Feb  3 02:53:51 2021
New Revision: 12124

Log:
Mention that Xi Ruoyao is the author of the fix for libctf

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Wed Feb  3 02:29:23 2021(r12123)
+++ trunk/BOOK/chapter01/changelog.xml  Wed Feb  3 02:53:51 2021(r12124)
@@ -58,7 +58,8 @@
 
   [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.
+  was linked during "make" in binutils-pass2. Thanks to Xi Ruoyao
+  for the fix.
 
 
   [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] 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

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

2021-01-16 Thread pierre--- via lfs-book
Author: pierre
Date: Sat Jan 16 00:46:51 2021
New Revision: 12098

Log:
Fix versions of tcl sub-packages

Modified:
   trunk/BOOK/chapter08/tcl.xml

Modified: trunk/BOOK/chapter08/tcl.xml
==
--- trunk/BOOK/chapter08/tcl.xmlFri Jan 15 23:59:34 2021(r12097)
+++ trunk/BOOK/chapter08/tcl.xmlSat Jan 16 00:46:51 2021(r12098)
@@ -3,8 +3,8 @@
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd; [
   
   %general-entities;
-  
-  
+  
+  
 ]>
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12091 - branches/editor-manual-git/chapter03

2021-01-05 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Jan  5 13:39:01 2021
New Revision: 12091

Log:
editor-manual-git: First git commands

Added:
   branches/editor-manual-git/chapter03/clone.xml
  - copied, changed from r12082, 
branches/editor-manual-git/chapter03/checkout.xml
   branches/editor-manual-git/chapter03/delmov.xml
  - copied unchanged from r12090, 
branches/editor-manual-git/chapter03/delete.xml
   branches/editor-manual-git/chapter03/pull.xml
  - copied, changed from r12090, 
branches/editor-manual-git/chapter03/update.xml
   branches/editor-manual-git/chapter03/rebase.xml
  - copied unchanged from r12090, 
branches/editor-manual-git/chapter03/moving.xml
Deleted:
   branches/editor-manual-git/chapter03/delete.xml
   branches/editor-manual-git/chapter03/moving.xml
   branches/editor-manual-git/chapter03/update.xml
Modified:
   branches/editor-manual-git/chapter03/chapter03.xml
   branches/editor-manual-git/chapter03/introduction.xml

Modified: branches/editor-manual-git/chapter03/chapter03.xml
==
--- branches/editor-manual-git/chapter03/chapter03.xml  Tue Jan  5 09:08:28 
2021(r12090)
+++ branches/editor-manual-git/chapter03/chapter03.xml  Tue Jan  5 13:39:01 
2021(r12091)
@@ -4,19 +4,20 @@
   %general-entities;
 ]>
 
-
+
 
-  Basic Subversion Commands
+  Basic Git Commands
 
 
   http://www.w3.org/2003/XInclude; 
href="introduction.xml"/>
-  http://www.w3.org/2003/XInclude; href="checkout.xml"/>
+  http://www.w3.org/2003/XInclude; href="clone.xml"/>
+  http://www.w3.org/2003/XInclude; href="pull.xml"/>
   http://www.w3.org/2003/XInclude; href="add.xml"/>
-  http://www.w3.org/2003/XInclude; href="delete.xml"/>
-  http://www.w3.org/2003/XInclude; href="update.xml"/>
+  http://www.w3.org/2003/XInclude; href="delmov.xml"/>
   http://www.w3.org/2003/XInclude; href="commit.xml"/>
-  http://www.w3.org/2003/XInclude; href="diff.xml"/>
+  http://www.w3.org/2003/XInclude; href="checkout.xml"/>
   http://www.w3.org/2003/XInclude; href="merge.xml"/>
-  http://www.w3.org/2003/XInclude; href="moving.xml"/>
+  http://www.w3.org/2003/XInclude; href="rebase.xml"/>
+  http://www.w3.org/2003/XInclude; href="diff.xml"/>
 
 

Copied and modified: branches/editor-manual-git/chapter03/clone.xml (from 
r12082, branches/editor-manual-git/chapter03/checkout.xml)
==
--- branches/editor-manual-git/chapter03/checkout.xml   Mon Jan  4 09:57:08 
2021(r12082, copy source)
+++ branches/editor-manual-git/chapter03/clone.xml  Tue Jan  5 13:39:01 
2021(r12091)
@@ -4,18 +4,30 @@
   %general-entities;
 ]>
 
-
-  svn checkout/co
-  
-
-  svn checkout or svn co.
-This command is used to pull a Subversion directory such as
-LFS/BOOK (the LFS book) or BLFS
-(the BLFS book) from the server.  You should only need to do this once. If
-we rearrange the directory structure (as is sometimes necessary), you may
-need to delete your local working copy and re-check it out.
-If this is going to be needed, it will usually be because an editor will
-have made a large change and it will be announced at
-least on the lfs-b...@linuxfromscratch.org list.
+
+  git clone
+  
+
+  git clone.
+This command is used to copy a public repository to the local machine
+and checkout the master branch. You should only
+need to do this once. Various options allow to create a
+shallow rpository, that do not contain the full history or
+all the branches. See git help clone.
   
+
+  Examples
+
+  
+To clone the LFS repository with only read access:
+  
+
+git clone git://gimli.linuxfromscratch.org/LFS 
lfsbook
+
+  
+To clone with read/write access:
+  
+
+git clone ssh://g...@gimli.linuxfromscratch.org/LFS 
lfsbook
+
 

Copied: branches/editor-manual-git/chapter03/delmov.xml (from r12090, 
branches/editor-manual-git/chapter03/delete.xml)
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ branches/editor-manual-git/chapter03/delmov.xml Tue Jan  5 13:39:01 
2021(r12091, copy of r12090, 
branches/editor-manual-git/chapter03/delete.xml)
@@ -0,0 +1,17 @@
+
+http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; [
+  
+  %general-entities;
+]>
+
+
+  svn delete/del/remove/rm
+  
+
+  svn delete, svn del,
+svn remove, or svn rm.
+This does what it says: remove (a) file(s) from the repository on 
belgarath.
+Again, the file will not be deleted from the server until you do a
+svn commit.
+  
+

Modified: branches/editor-manual-git/chapter03/introduction.xml

[lfs-book] r12090 - branches/editor-manual-git/chapter02

2021-01-05 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Jan  5 09:08:28 2021
New Revision: 12090

Log:
editor-manual-git: finish chapter 2

Modified:
   branches/editor-manual-git/chapter02/chapter02.xml
   branches/editor-manual-git/chapter02/gitssh.xml

Modified: branches/editor-manual-git/chapter02/chapter02.xml
==
--- branches/editor-manual-git/chapter02/chapter02.xml  Tue Jan  5 08:08:25 
2021(r12089)
+++ branches/editor-manual-git/chapter02/chapter02.xml  Tue Jan  5 09:08:28 
2021(r12090)
@@ -4,9 +4,9 @@
   %general-entities;
 ]>
 
-
+
 
-Subversion Access
+Git Access
 
 
   http://www.w3.org/2003/XInclude; 
href="introduction.xml"/>

Modified: branches/editor-manual-git/chapter02/gitssh.xml
==
--- branches/editor-manual-git/chapter02/gitssh.xml Tue Jan  5 08:08:25 
2021(r12089)
+++ branches/editor-manual-git/chapter02/gitssh.xml Tue Jan  5 09:08:28 
2021(r12090)
@@ -4,59 +4,77 @@
   %general-entities;
 ]>
 
-
-Subversion SSH Access (for editors)
-
+
+Git SSH Access (for editors)
+
 
 For editors, access is slightly more complicated. You first of all need
 to generate an ssh key-pair. You then need to upload your public key into your
 ~/.ssh directory on belgarath. To generate the keys run:
 
 
-ssh-keygen -t dsa
+ssh-keygen
 
 When prompted as to where to save them, it's probably best to leave
-them in .ssh (as id_dsa and
-id_dsa.pub) unless you already have ssh keys there.
+them in .ssh (as id_rsa and
+id_rsa.pub) unless you already have ssh keys there.
 When prompted for a passphrase just press enter (unless you want to have
-to give the phrase every time you perform a subversion
-operation.  But, since the same passphrase will be used when you log in to
-belgarath over ssh, it may be advisable to have some
+to give the phrase every time you synchronize to the
+server.  But, since the same passphrase will be used when you log in to
+gimli over ssh, it may be advisable to have some
 security in place.   Having generated your keys, upload
-~/.ssh/id_dsa.pub to belgarath and move it to
+~/.ssh/id_rsa.pub to gimli and move it to
 ~/.ssh/authorized_keys2 on
-belgarath.  (Your local copy of id_dsa
-and id_dsa.pub should remain untouched by
-this.) Make sure that the ~/.ssh directory on belgarath is mode 700:
+gimli.  (Your local copy of id_rsa
+and id_rsa.pub should remain untouched by
+this.) Make sure that the ~/.ssh directory on gimli is mode 700:
 
 chmod -R 700 ~/.ssh
 
 Once you have this setup, try to checkout the latest LFS book revision by
 running:
 
-svn checkout 
svn+ssh://svn.linuxfromscratch.org/LFS/trunk/BOOK lfs-trunk
-
+git clone g...@gimli.linuxfromscratch.org/LFS 
lfs-trunk
 
-If this works, you'll checkout a copy of the current book to
-lfs-trunk and you will have your own
-local working copy.  You will also have write access so from now on be extra
+If this works, you'll download a copy of the current repository to
+lfs-trunk/.git and you will check out 
+the master branch. You will also have write access so from now on be extra
 careful, but note that no changes will be made until you
-issue a svn commit command.
+issue a git push command.
 
-The above is fine for working in trunk, and you can checkout an 
individual
-branch in a similar manner.  But, merging changes between branches is much
-easier if you check out the whole tree by running:
+The above is fine for getting the master branch, but you may
+want to work on a public branch. To set up a local branch that tracks
+the public branch just issue:
+
+git checkout --track 
origin/branchname
+
+
+Note to Subversion Users
+Contrary to Subversion, where you need to check out a new working
+copy of the remote branch, with Git almost nothing is downloaded.
+The local directory now reflects the new branch, but the old branch directory
+does not exist anymore.
+
+
+
+If you need to work on the master branch, just commit your changes (if any)
+to the new branch (the commit is local), and switch back to the master
+copy with:
+
+
+git checkout master
 
-svn checkout svn+ssh://svn.linuxfromscratch.org/LFS LFS
-
+
+Since the new branch is already set up, if you want to work on the new branch,
+just do:
+
 
-The drawback to checking out the whole tree is that you will currently
-get about 102M of data instead of 5M.
+git checkout 
branchname
 
 As with anonymous access, you can update your local copy by simply
 cd'ing into the LFS directory and running:
 
-svn update
+git pull
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12089 - in branches/editor-manual-git: . chapter01 stylesheets

2021-01-05 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Jan  5 08:08:25 2021
New Revision: 12089

Log:
Remove stylesheets and fix Makefile

Deleted:
   branches/editor-manual-git/stylesheets/
Modified:
   branches/editor-manual-git/Makefile
   branches/editor-manual-git/chapter01/changelog.xml

Modified: branches/editor-manual-git/Makefile
==
--- branches/editor-manual-git/Makefile Tue Jan  5 07:22:37 2021(r12088)
+++ branches/editor-manual-git/Makefile Tue Jan  5 08:08:25 2021(r12089)
@@ -2,21 +2,22 @@
 CHUNK_QUIET=1
 PDF_OUTPUT=LFS-EDITORS-GUIDE.pdf
 NOCHUNKS_OUTPUT=LFS-EDITORS-GUIDE.html
-XSLROOTDIR=/usr/share/xml/docbook/stylesheet/docbook-xsl
+LFSTRUNK=../BOOK
+LFSXSL=$(LFSTRUNK)/stylesheets
 
 lfs:
xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
-   -stringparam base.dir $(BASEDIR)/ ../BOOK/stylesheets/lfs-chunked.xsl 
index.xml
+   -stringparam base.dir $(BASEDIR)/ $(LFSXSL)/lfs-chunked.xsl index.xml
 
if [ ! -e $(BASEDIR)/stylesheets ]; then \
  mkdir -p $(BASEDIR)/stylesheets; \
fi;
-   cp ../BOOK/stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets
+   cp ../BOOK/$(LFSXSL)/lfs-xsl/*.css $(BASEDIR)/stylesheets
 
if [ ! -e $(BASEDIR)/images ]; then \
  mkdir -p $(BASEDIR)/images; \
fi;
-   cp ../BOOK/images/*.png \
+   cp $(LFSTRUNK)/images/*.png \
  $(BASEDIR)/images
cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" \
  *.html
@@ -34,15 +35,15 @@
 
 pdf:
xsltproc --xinclude --nonet --output $(BASEDIR)/lfs-pdf.fo \
-   stylesheets/lfs-pdf.xsl index.xml
+   $(LFSXSL)/lfs-pdf.xsl index.xml
sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
-   fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
+   fop $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
rm $(BASEDIR)/lfs-pdf.fo
 
 nochunks:
xsltproc --xinclude --nonet -stringparam profile.condition html \
--output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
- stylesheets/lfs-nochunks.xsl index.xml
+ $(LFSXSL)/lfs-nochunks.xsl index.xml
 
tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
 

Modified: branches/editor-manual-git/chapter01/changelog.xml
==
--- branches/editor-manual-git/chapter01/changelog.xml  Tue Jan  5 07:22:37 
2021(r12088)
+++ branches/editor-manual-git/chapter01/changelog.xml  Tue Jan  5 08:08:25 
2021(r12089)
@@ -24,10 +24,28 @@
  
  
  Removed:
+  
+   Removed Stylesheets.
+  
  
 
  Changelog Entries:
   
+   January 5, 2021 [pierre]
+ 
+   
+ Stylesheets: Remove and use those of the lfs book.
+   
+   
+ Makefile: Create variables so that using a local layout is
+ easier. Also fix some obsolete commands.
+   
+   
+ Chapter 2: Change filenames, rewrite things so that the
+ commands refer to git instead of svn. Also fix hostnames.
+   
+ 
+   
    January 4, 2021 [pierre]
  

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


[lfs-book] r12088 - in branches/editor-manual-git: chapter01 chapter02

2021-01-05 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Jan  5 07:22:37 2021
New Revision: 12088

Log:
editor-manual-git: changes for chapter 2

Added:
   branches/editor-manual-git/chapter02/anongit.xml
  - copied, changed from r12087, 
branches/editor-manual-git/chapter02/anonsvn.xml
   branches/editor-manual-git/chapter02/gitssh.xml
  - copied unchanged from r12087, 
branches/editor-manual-git/chapter02/svnssh.xml
Deleted:
   branches/editor-manual-git/chapter02/anonsvn.xml
   branches/editor-manual-git/chapter02/svnssh.xml
Modified:
   branches/editor-manual-git/chapter01/introduction.xml
   branches/editor-manual-git/chapter02/chapter02.xml
   branches/editor-manual-git/chapter02/introduction.xml

Modified: branches/editor-manual-git/chapter01/introduction.xml
==
--- branches/editor-manual-git/chapter01/introduction.xml   Mon Jan  4 
11:56:30 2021(r12087)
+++ branches/editor-manual-git/chapter01/introduction.xml   Tue Jan  5 
07:22:37 2021(r12088)
@@ -10,14 +10,14 @@
 
   
 LFS development takes place using three main systems. Firstly,
-the mailing lists lfs-b...@gimli.linuxfromscratch.org,
-lfs-...@gimli.linuxfromscratch.org and (to a lesser extent) 
-lfs-supp...@gimli.linuxfromscratch.org. Secondly the Trac
+the mailing lists lfs-book@lists.linuxfromscratch.org,
+lfs-...@lists.linuxfromscratch.org and (to a lesser extent) 
+lfs-supp...@lists.linuxfromscratch.org. Secondly the Trac
 bug tracking system, and thirdly the Git server where the book itself is
 stored. All of these services are provided by the server
 linuxfromscratch.org also known as
-gimli.linuxfromscratch.org or more usually,
-gimli. This single server provides mailing
+lists.linuxfromscratch.org or more usually,
+lists. This single server provides mailing
 lists, web hosting, Git hosting, Trac and
 basically everything we use to work on the LFS project.
   
@@ -38,9 +38,9 @@
 you are logged in whenever you wish to perform such an action.  You can
 query and read the trac database without logging in or creating a user.
 Note that all ticket messages are copied to the
-lfs-b...@gimli.linuxfromscratch.org mailing list and that
+lfs-book@lists.linuxfromscratch.org mailing list and that
 all editors should be subscribed to this and the
-lfs-...@gimli.linuxfromscratch.org list at a minimum.
+lfs-...@lists.linuxfromscratch.org list at a minimum.
   
 
   

Copied and modified: branches/editor-manual-git/chapter02/anongit.xml (from 
r12087, branches/editor-manual-git/chapter02/anonsvn.xml)
==
--- branches/editor-manual-git/chapter02/anonsvn.xmlMon Jan  4 11:56:30 
2021(r12087, copy source)
+++ branches/editor-manual-git/chapter02/anongit.xmlTue Jan  5 07:22:37 
2021(r12088)
@@ -4,20 +4,22 @@
   %general-entities;
 ]>
 
-
+
 Anonymous Access
-
+
 
 To get anonymous access, simply use the following commands (note
 that these assume you are using bash or a similar shell:
 
-svn checkout svn://svn.linuxfromscratch.org/LFS/trunk/BOOK 
lfs-trunk
+git clone git://gimli.linuxfromscratch.org/LFS/ 
lfs-git
 
-This will check out the current revision of the LFS book
-into a directory named lfs-trunk.  When
-you wish to update your local copy (often called a working copy), simply
-cd into the directory and run:
+This will copy the public repository to a subdirectory of the lfs-git directory, then checkout the master
+branch to that directory. It will also set the local repository to track
+the master branch of the public repository, so that you can
+update your local repository by simply running (after changing directory to
+lfs-git):
 
-svn update
+git pull
 
 

Modified: branches/editor-manual-git/chapter02/chapter02.xml
==
--- branches/editor-manual-git/chapter02/chapter02.xml  Mon Jan  4 11:56:30 
2021(r12087)
+++ branches/editor-manual-git/chapter02/chapter02.xml  Tue Jan  5 07:22:37 
2021(r12088)
@@ -10,8 +10,8 @@
 
 
   http://www.w3.org/2003/XInclude; 
href="introduction.xml"/>
-  http://www.w3.org/2003/XInclude; href="anonsvn.xml"/>
-  http://www.w3.org/2003/XInclude; href="svnssh.xml"/>
+  http://www.w3.org/2003/XInclude; href="anongit.xml"/>
+  http://www.w3.org/2003/XInclude; href="gitssh.xml"/>
 
 
 

Copied: branches/editor-manual-git/chapter02/gitssh.xml (from r12087, 
branches/editor-manual-git/chapter02/svnssh.xml)
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ branches/editor-manual-git/chapter02/gitssh.xml Tue Jan  5 07:22:37 
2021(r12088, copy of r12087, 
branches/editor-manual-git/chapter02/s

[lfs-book] r12086 - branches/editor-manual-git/chapter01

2021-01-04 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jan  4 11:55:08 2021
New Revision: 12086

Log:
Fix style in introduction

Modified:
   branches/editor-manual-git/chapter01/introduction.xml

Modified: branches/editor-manual-git/chapter01/introduction.xml
==
--- branches/editor-manual-git/chapter01/introduction.xml   Mon Jan  4 
11:47:25 2021(r12085)
+++ branches/editor-manual-git/chapter01/introduction.xml   Mon Jan  4 
11:55:08 2021(r12086)
@@ -5,39 +5,47 @@
 ]>
 
 
-Introduction
-
+  Introduction
+  
 
-LFS development takes place using three main systems. Firstly,
-the mailing lists lfs-b...@gimli.linuxfromscratch.org,
-lfs-...@gimli.linuxfromscratch.org and (to a lesser extent) 
-lfs-supp...@gimli.linuxfromscratch.org. Secondly the Trac bug
-tracking system, and thirdly the Git server where the book itself is
-stored. All of these services are provided by the server
-linuxfromscratch.org also known as
-gimli.linuxfromscratch.org or more usually,
-gimli. This single server provides mailing
-lists, web hosting, Git hosting, Trac and
-basically everything we use to work on the LFS project.
-
-The LFS book is written using Docbook-XML and is split into a number of
-XML files.  The directories in the source tree represent the chapters of the
-book, and each XML file within a directory typically contains the text for a
-section within that chapter.  This structure is designed to enable a 
contributor
-to quickly locate the particular area of the book they are wanting to edit.
-
-
-The Trac ticketing system for LFS can be found at
-http://wiki.linuxfromscratch.org/lfs"/>. In order to be able to
-add, remove and edit tickets, you need to add an account and make sure you
-are logged in whenever you wish to perform such an action.  You can
-query and read the trac database without logging in or creating a user.
-Note that all ticket messages are copied to the
-lfs-b...@gimli.linuxfromscratch.org mailing list and that all
-editors should be subscribed to this and the
-lfs-...@gimli.linuxfromscratch.org list at a minimum.
-
-Finally, there is the Git server which will be discussed in the
-following chapters.
+  
+LFS development takes place using three main systems. Firstly,
+the mailing lists lfs-b...@gimli.linuxfromscratch.org,
+lfs-...@gimli.linuxfromscratch.org and (to a lesser extent) 
+lfs-supp...@gimli.linuxfromscratch.org. Secondly the Trac
+bug tracking system, and thirdly the Git server where the book itself is
+stored. All of these services are provided by the server
+linuxfromscratch.org also known as
+gimli.linuxfromscratch.org or more usually,
+gimli. This single server provides mailing
+lists, web hosting, Git hosting, Trac and
+basically everything we use to work on the LFS project.
+  
+
+  
+The LFS book is written using Docbook-XML and is split into a number of
+XML files. The directories in the source tree represent the chapters of
+the book, and each XML file within a directory typically contains the
+text for a section within that chapter.  This structure is designed to
+enable a contributor to quickly locate the particular area of the book
+they are wanting to edit.
+  
+
+  
+The Trac ticketing system for LFS can be found at
+http://wiki.linuxfromscratch.org/lfs"/>. In order to be able
+to add, remove and edit tickets, you need to add an account and make sure
+you are logged in whenever you wish to perform such an action.  You can
+query and read the trac database without logging in or creating a user.
+Note that all ticket messages are copied to the
+lfs-b...@gimli.linuxfromscratch.org mailing list and that
+all editors should be subscribed to this and the
+lfs-...@gimli.linuxfromscratch.org list at a minimum.
+  
+
+  
+Finally, there is the Git server which will be discussed in the following
+chapters.
+  
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12087 - branches/editor-manual-git/chapter01

2021-01-04 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jan  4 11:56:30 2021
New Revision: 12087

Log:
typo

Modified:
   branches/editor-manual-git/chapter01/changelog.xml

Modified: branches/editor-manual-git/chapter01/changelog.xml
==
--- branches/editor-manual-git/chapter01/changelog.xml  Mon Jan  4 11:55:08 
2021(r12086)
+++ branches/editor-manual-git/chapter01/changelog.xml  Mon Jan  4 11:56:30 
2021(r12087)
@@ -31,7 +31,7 @@
January 4, 2021 [pierre]
  

- Makefile: adapt to the new LFS book stylecheets.
+ Makefile: adapt to the new LFS book stylesheets.

  

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


[lfs-book] r12085 - branches/editor-manual-git/chapter01

2021-01-04 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jan  4 11:47:25 2021
New Revision: 12085

Log:
Fix hostnames and change subversion to Git in the introduction

Modified:
   branches/editor-manual-git/chapter01/introduction.xml

Modified: branches/editor-manual-git/chapter01/introduction.xml
==
--- branches/editor-manual-git/chapter01/introduction.xml   Mon Jan  4 
11:46:28 2021(r12084)
+++ branches/editor-manual-git/chapter01/introduction.xml   Mon Jan  4 
11:47:25 2021(r12085)
@@ -9,15 +9,15 @@
 
 
 LFS development takes place using three main systems. Firstly,
-the mailing lists lfs-b...@linuxfromscratch.org,
-lfs-...@linuxfromscratch.org and (to a lesser extent) 
-lfs-supp...@linuxfromscratch.org. Secondly the Trac bug tracking
-system, and thirdly the Subversion server where the book itself is
+the mailing lists lfs-b...@gimli.linuxfromscratch.org,
+lfs-...@gimli.linuxfromscratch.org and (to a lesser extent) 
+lfs-supp...@gimli.linuxfromscratch.org. Secondly the Trac bug
+tracking system, and thirdly the Git server where the book itself is
 stored. All of these services are provided by the server
 linuxfromscratch.org also known as
-belgarath.linuxfromscratch.org or more usually,
-belgarath. This single server provides mailing
-lists, web hosting, Subversion hosting, Trac and
+gimli.linuxfromscratch.org or more usually,
+gimli. This single server provides mailing
+lists, web hosting, Git hosting, Trac and
 basically everything we use to work on the LFS project.
 
 The LFS book is written using Docbook-XML and is split into a number of
@@ -33,11 +33,11 @@
 are logged in whenever you wish to perform such an action.  You can
 query and read the trac database without logging in or creating a user.
 Note that all ticket messages are copied to the
-lfs-b...@linuxfromscratch.org mailing list and that all editors
-should be subscribed to this and the 
lfs-...@linuxfromscratch.org
-list at a minimum.
+lfs-b...@gimli.linuxfromscratch.org mailing list and that all
+editors should be subscribed to this and the
+lfs-...@gimli.linuxfromscratch.org list at a minimum.
 
-Finally, there is the Subversion server which will be discussed in the
+Finally, there is the Git server which will be discussed in the
 following chapters.
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12084 - branches/editor-manual-git/chapter01

2021-01-04 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jan  4 11:46:28 2021
New Revision: 12084

Log:
Changelog for preeding commits

Modified:
   branches/editor-manual-git/chapter01/changelog.xml

Modified: branches/editor-manual-git/chapter01/changelog.xml
==
--- branches/editor-manual-git/chapter01/changelog.xml  Mon Jan  4 10:14:21 
2021(r12083)
+++ branches/editor-manual-git/chapter01/changelog.xml  Mon Jan  4 11:46:28 
2021(r12084)
@@ -28,6 +28,13 @@
 
  Changelog Entries:
   
+   January 4, 2021 [pierre]
+ 
+   
+ Makefile: adapt to the new LFS book stylecheets.
+   
+ 
+   
May 16, 2006 [ken]
  
stylesheets: Updated to 1.69.1.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12083 - in branches/editor-manual-git: . prologue

2021-01-04 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jan  4 10:14:21 2021
New Revision: 12083

Log:
prologue slight rewrite and mainly change layout to the what is used in
other books

Modified:
   branches/editor-manual-git/general.ent
   branches/editor-manual-git/prologue/bookinfo.xml
   branches/editor-manual-git/prologue/dedication.xml
   branches/editor-manual-git/prologue/legalnotice.xml
   branches/editor-manual-git/prologue/preface.xml

Modified: branches/editor-manual-git/general.ent
==
--- branches/editor-manual-git/general.ent  Mon Jan  4 09:57:08 2021
(r12082)
+++ branches/editor-manual-git/general.ent  Mon Jan  4 10:14:21 2021
(r12083)
@@ -1,5 +1,8 @@
 
-
-
+
+
+
+
+
 
 http://www.linuxfromscratch.org/;>

Modified: branches/editor-manual-git/prologue/bookinfo.xml
==
--- branches/editor-manual-git/prologue/bookinfo.xmlMon Jan  4 09:57:08 
2021(r12082)
+++ branches/editor-manual-git/prologue/bookinfo.xmlMon Jan  4 10:14:21 
2021(r12083)
@@ -5,27 +5,36 @@
 ]>
 
 
-Linux From Scratch Editor's Manual
-Version 
+  Linux From Scratch Editor's Manual
+  Version 
 
-
+  
 
-GerardBeekmans
+
+  Initial Version: Gerard
+  Beekmans
+
+
+  Git Version: Pierre
+  Labastie
+
 
-
+  
 
 
-
+  
 
-   2004
+   2004-
Gerard Beekmans
 
-
+  
 
-http://www.w3.org/2003/XInclude; href="legalnotice.xml"/>
+  http://www.w3.org/2003/XInclude; 
href="legalnotice.xml"/>
 
-
-This manual teaches you how to properly edit the LFS-Book.
-
+  
+
+  This manual teaches you how to properly edit the LFS-Book.
+
+  
 
 

Modified: branches/editor-manual-git/prologue/dedication.xml
==
--- branches/editor-manual-git/prologue/dedication.xml  Mon Jan  4 09:57:08 
2021(r12082)
+++ branches/editor-manual-git/prologue/dedication.xml  Mon Jan  4 10:14:21 
2021(r12083)
@@ -7,7 +7,9 @@
 
   Dedication
 
-  This book is dedicated to my loving and supportive wife
-Beverly Beekmans.
+  
+This book is dedicated to all the LFS editors, who have maintained
+the LFS project alive over all those years.
   
+
 

Modified: branches/editor-manual-git/prologue/legalnotice.xml
==
--- branches/editor-manual-git/prologue/legalnotice.xml Mon Jan  4 09:57:08 
2021(r12082)
+++ branches/editor-manual-git/prologue/legalnotice.xml Mon Jan  4 10:14:21 
2021(r12083)
@@ -6,7 +6,7 @@
 
 
 
-Copyright (c) 2004, Gerard Beekmans
+Copyright (c) 2004, Gerard Beekmans
 
 All rights reserved.
 

Modified: branches/editor-manual-git/prologue/preface.xml
==
--- branches/editor-manual-git/prologue/preface.xml Mon Jan  4 09:57:08 
2021(r12082)
+++ branches/editor-manual-git/prologue/preface.xml Mon Jan  4 10:14:21 
2021(r12083)
@@ -5,20 +5,24 @@
 ]>
 
 
-
-Welcome to the LFS Editor's Manual
-
+  
+  Welcome to the LFS Editor's Manual
+  
 
-This manual will teach you all that you need to know in order to
-properly edit the LFS-Book. It will cover some basic issues like accessing
-Subversion over SSH and the Subversion commands you will use. It will also 
discuss
-the proper sequence of doing things like upgrading a package and how to work 
with
-the bug tracking database.
+  
+This manual will teach you all that you need to know in order to
+properly edit the LFS-Book. It will cover some basic issues like accessing
+Git over SSH and the Git commands you will use. It will also discuss the
+proper sequence of doing things like upgrading a package and how to work
+with the bug tracking database.
+  
 
-
+  
 -- 
 Gerard Beekmans
 ger...@linuxfromscratch.org
-
+Pierre Labastie
+pie...@linuxfromscratch.org
+  
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12082 - branches/editor-manual-git

2021-01-04 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jan  4 09:57:08 2021
New Revision: 12082

Log:
Fix Makefile to build with the new LFS stylesheets layout

Modified:
   branches/editor-manual-git/Makefile

Modified: branches/editor-manual-git/Makefile
==
--- branches/editor-manual-git/Makefile Mon Jan  4 09:14:29 2021(r12081)
+++ branches/editor-manual-git/Makefile Mon Jan  4 09:57:08 2021(r12082)
@@ -11,12 +11,12 @@
if [ ! -e $(BASEDIR)/stylesheets ]; then \
  mkdir -p $(BASEDIR)/stylesheets; \
fi;
-   cp stylesheets/*.css $(BASEDIR)/stylesheets
+   cp ../BOOK/stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets
 
if [ ! -e $(BASEDIR)/images ]; then \
  mkdir -p $(BASEDIR)/images; \
fi;
-   cp $(XSLROOTDIR)/images/*.png \
+   cp ../BOOK/images/*.png \
  $(BASEDIR)/images
cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" \
  *.html
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12081 - branches/editor-manual-git

2021-01-04 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jan  4 09:14:29 2021
New Revision: 12081

Log:
Initial commit for the git editor manual

Added:
   branches/editor-manual-git/
  - copied from r12080, trunk/editor-manual/
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-11-17 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Nov 17 06:50:35 2020
New Revision: 12061

Log:
Adapt libcap instruction to the new libpsx.so shared library (was only static
before)

Modified:
   trunk/BOOK/chapter08/libcap.xml

Modified: trunk/BOOK/chapter08/libcap.xml
==
--- trunk/BOOK/chapter08/libcap.xml Sun Nov 15 08:44:17 2020(r12060)
+++ trunk/BOOK/chapter08/libcap.xml Tue Nov 17 06:50:35 2020(r12061)
@@ -43,9 +43,9 @@
   
 Installation of Libcap
 
-Prevent a static library from being installed:
+Prevent static libraries from being installed:
 
-sed -i '/install -m.*STACAPLIBNAME/d' 
libcap/Makefile
+sed -i '/install -m.*STA/d' 
libcap/Makefile
 
 Compile the package:
 
@@ -72,10 +72,11 @@
 Install the package and do some cleanup:
 
 make lib=lib 
PKGCONFIGDIR=/usr/lib/pkgconfig install
-chmod -v 755 /lib/libcap.so.
-mv -v /lib/libpsx.a /usr/lib
-rm -v /lib/libcap.so
-ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so
+for libname in cap psx; do
+chmod -v 755 /lib/lib${libname}.so.
+rm -v /lib/lib${libname}.so
+ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
+done
 
   
 
@@ -88,7 +89,7 @@
 
   
 capsh, getcap, getpcaps, and setcap
-libcap.so and libpsx.a
+libcap.so and libpsx.so
   
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12056 - trunk/BOOK/part3intro

2020-10-27 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Oct 27 02:47:21 2020
New Revision: 12056

Log:
Remove an inaccuracy in toolchain technical notes:
packages used for tests are now installed in chapter 8

Modified:
   trunk/BOOK/part3intro/toolchaintechnotes.xml

Modified: trunk/BOOK/part3intro/toolchaintechnotes.xml
==
--- trunk/BOOK/part3intro/toolchaintechnotes.xmlMon Oct 19 21:27:37 
2020(r12055)
+++ trunk/BOOK/part3intro/toolchaintechnotes.xmlTue Oct 27 02:47:21 
2020(r12056)
@@ -328,8 +328,7 @@
 Upon entering the chroot environment in , the first task is to install
 libstdc++. Then temporary installations of programs needed for the proper
-operation of the toolchain are performed. Programs needed for testing
-other programs are also built. From this point onwards, the
+operation of the toolchain are performed. From this point onwards, the
 core toolchain is self-contained and self-hosted.  In 
 , final versions of all the
 packages needed for a fully functional system are built, tested and
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12039 - in trunk/BOOK: . chapter10

2020-08-29 Thread pierre--- via lfs-book
Author: pierre
Date: Sat Aug 29 00:17:20 2020
New Revision: 12039

Log:
Update kernel figures + explain
how to launch the menu interface before telling what to tick in the
menu...

Modified:
   trunk/BOOK/chapter10/kernel.xml
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/chapter10/kernel.xml
==
--- trunk/BOOK/chapter10/kernel.xml Fri Aug 28 09:26:18 2020(r12038)
+++ trunk/BOOK/chapter10/kernel.xml Sat Aug 29 00:17:20 2020(r12039)
@@ -54,10 +54,41 @@
 kernel compilation. Do not rely on the source tree being clean after
 un-tarring.
 
+There are several ways to configure the kernel options. Usually,
+This is done through a menu-driven interface, for example:
+
+make menuconfig
+
+
+  The meaning of optional make environment variables:
+
+  
+LANG=host_LANG_value 
LC_ALL=
+
+  This establishes the locale setting to the one used on the
+  host.  This may be needed for a proper menuconfig ncurses interface
+  line drawing on a UTF-8 linux text console.
+
+  If used, be sure to replace
+  host_LANG_value by the value of
+  the $LANG variable from your host.  You can
+  alternatively use instead the host's value of $LC_ALL
+  or $LC_CTYPE.
+
+  
+
+  
+make menuconfig
+
+  This launches an ncurses menu-driven interface. For other
+  (graphical) interfaces, type make help.
+
+  
+
+
 
 
-Configure the kernel via a menu-driven interface. For general
-information on kernel configuration see For general information on kernel configuration see .  BLFS has some information
 regarding particular kernel configuration requirements of packages outside
 of LFS at 
   
 
-
-
-make menuconfig
-
-
-  The meaning of optional make environment variables:
-
-  
-LANG=host_LANG_value 
LC_ALL=
-
-  This establishes the locale setting to the one used on the
-  host.  This may be needed for a proper menuconfig ncurses interface
-  line drawing on a UTF-8 linux text console.
-
-  If used, be sure to replace
-  host_LANG_value by the value of
-  the $LANG variable from your host.  You can
-  alternatively use instead the host's value of $LC_ALL
-  or $LC_CTYPE.
-
-  
-
 
 
 Alternatively, make oldconfig may be more

Modified: trunk/BOOK/packages.ent
==
--- trunk/BOOK/packages.ent Fri Aug 28 09:26:18 2020(r12038)
+++ trunk/BOOK/packages.ent Sat Aug 29 00:17:20 2020(r12039)
@@ -424,11 +424,11 @@
 
 
 https://www.kernel.org/;>
-
-
-
+ max is allmodconfig which requires openssl -->
+
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12026 - trunk/BOOK/bootscripts/lfs/init.d

2020-08-17 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Aug 17 01:14:56 2020
New Revision: 12026

Log:
Fix spacing in checkfs after DJ's modification

Modified:
   trunk/BOOK/bootscripts/lfs/init.d/checkfs

Modified: trunk/BOOK/bootscripts/lfs/init.d/checkfs
==
--- trunk/BOOK/bootscripts/lfs/init.d/checkfs   Sun Aug 16 23:24:10 2020
(r12025)
+++ trunk/BOOK/bootscripts/lfs/init.d/checkfs   Mon Aug 17 01:14:56 2020
(r12026)
@@ -94,7 +94,7 @@
   if [ "${error_value}" = 1 ]; then
  msg="\nWARNING:\n\nFile system errors "
  msg="${msg}were found and have been corrected.\n"
- msg="${msg} You may want to double-check that "
+ msg="${msg}  You may want to double-check that "
  msg="${msg}everything was fixed properly."
  log_warning_msg "$msg"
   fi
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12008 - trunk/BOOK

2020-08-04 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Aug  4 13:50:11 2020
New Revision: 12008

Log:
Fixed libpipeline patch

Modified:
   trunk/BOOK/patches.ent

Modified: trunk/BOOK/patches.ent
==
--- trunk/BOOK/patches.ent  Tue Aug  4 13:14:32 2020(r12007)
+++ trunk/BOOK/patches.ent  Tue Aug  4 13:50:11 2020(r12008)
@@ -44,9 +44,9 @@
 
 
 
-
-
-
+
+
+
 

[lfs-book] r11996 - in trunk/BOOK: . chapter01 chapter08

2020-07-07 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Jul  7 08:22:39 2020
New Revision: 11996

Log:
Install libelf into /lib, since it may be needed before /usr is mounted

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter08/libelf.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Mon Jul  6 21:54:33 2020(r11995)
+++ trunk/BOOK/chapter01/changelog.xml  Tue Jul  7 08:22:39 2020(r11996)
@@ -43,6 +43,18 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-07-07
+  
+
+  [pierre] - Make libelf install in /lib, since it may be
+  needed by iproute2 before /usr is mounted (report by
+  http://lists.linuxfromscratch.org/pipermail/lfs-dev/2020-July/073903.html;>
+  Roger).
+
+  
+
+
+
   2020-07-06
   
 

Modified: trunk/BOOK/chapter08/libelf.xml
==
--- trunk/BOOK/chapter08/libelf.xml Mon Jul  6 21:54:33 2020(r11995)
+++ trunk/BOOK/chapter08/libelf.xml Tue Jul  7 08:22:39 2020(r11996)
@@ -46,7 +46,7 @@
 
 Prepare Libelf for compilation:
 
-./configure --prefix=/usr 
--disable-debuginfod
+./configure --prefix=/usr 
--disable-debuginfod --libdir=/lib
 
 Compile the package:
 
@@ -62,7 +62,7 @@
 
 make -C libelf install
 install -vm644 config/libelf.pc /usr/lib/pkgconfig
-rm /usr/lib/libelf.a
+rm /lib/libelf.a
 
   
 

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Mon Jul  6 21:54:33 2020(r11995)
+++ trunk/BOOK/general.ent  Tue Jul  7 08:22:39 2020(r11996)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11994 - in trunk/BOOK: . chapter01 chapter06

2020-07-06 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jul  6 13:47:01 2020
New Revision: 11994

Log:
Match ncurses chapter 6 to what is done in chapter 8, and add explanations

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/ncurses.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sun Jul  5 01:58:46 2020(r11993)
+++ trunk/BOOK/chapter01/changelog.xml  Mon Jul  6 13:47:01 2020(r11994)
@@ -43,6 +43,16 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-07-06
+  
+
+  [pierre] - Change chapter 6 ncurses so that it matches
+  what is done in chapter 8, and add explanations.
+
+  
+
+
+
   2020-07-04
   
 

Modified: trunk/BOOK/chapter06/ncurses.xml
==
--- trunk/BOOK/chapter06/ncurses.xmlSun Jul  5 01:58:46 2020(r11993)
+++ trunk/BOOK/chapter06/ncurses.xmlMon Jul  6 13:47:01 2020(r11994)
@@ -120,9 +120,33 @@
 make
 
 Install the package:
-
+
 make DESTDIR=$LFS 
TIC_PATH=$(pwd)/build/progs/tic install
-ln -s libncursesw.so $LFS/usr/lib/libncurses.so
+echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so
+
+
+  The meaning of the install options:
+
+  
+TIC_PATH=$(pwd)/build/progs/tic
+
+  We need to pass the path of the just built
+  tic able to run on the building machine, so that
+  the terminal database can be created without errors.
+
+  
+
+  
+echo "INPUT(-lncursesw)" > 
$LFS/usr/lib/libncurses.so
+
+  The libncurses.so library is needed by
+  a few packages we will build soon. We create this small linker
+  script, as this is what is done in .
+
+  
+
+
 
 Move the shared libraries to the
 /lib directory, where they are

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Sun Jul  5 01:58:46 2020(r11993)
+++ trunk/BOOK/general.ent  Mon Jul  6 13:47:01 2020(r11994)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-07-05 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Jul  5 01:58:46 2020
New Revision: 11993

Log:
Change the cleaning of x86_64-lfs* files because some are directly in /usr

Modified:
   trunk/BOOK/chapter08/revisedchroot.xml

Modified: trunk/BOOK/chapter08/revisedchroot.xml
==
--- trunk/BOOK/chapter08/revisedchroot.xml  Sat Jul  4 14:14:57 2020
(r11992)
+++ trunk/BOOK/chapter08/revisedchroot.xml  Sun Jul  5 01:58:46 2020
(r11993)
@@ -66,9 +66,7 @@
 is still partially
installed, and not needed anymore. Remove it with:
 
-find /usr/{bin,lib,libexec,include} \
- -depth \
- -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf
+find /usr -depth -name $(uname -m)-lfs-linux-gnu\* | xargs 
rm -rf
 
The /tools directory can also
be removed to further gain some place:
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11992 - in trunk/BOOK: . chapter01 chapter07 chapter08

2020-07-04 Thread pierre--- via lfs-book
Author: pierre
Date: Sat Jul  4 14:14:57 2020
New Revision: 11992

Log:
Various clean up:
- prevent static python libraries to be installed in chapter 7 since it
  is not overwrittent in chapter 8
- have libstdc++-pass2 install its host specific headers into a host
  specific directory
- clean the temporary compiler and the cros compiler at the end of chapter 8

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter07/libstdc++-pass2.xml
   trunk/BOOK/chapter07/python.xml
   trunk/BOOK/chapter08/revisedchroot.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Wed Jul  1 04:23:05 2020(r11991)
+++ trunk/BOOK/chapter01/changelog.xml  Sat Jul  4 14:14:57 2020(r11992)
@@ -43,6 +43,24 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-07-04
+  
+
+  [pierre] - Remove /tools and files containing
+  {i686,x86_64}-lfs in their name at the end of chapter 8.
+
+
+  [pierre] - Add --host= to libstdc++-pass2, so that host
+  specific headers are installed in a host specific directory.
+
+
+  [pierre] - Fix temporary Python so that static libraries
+  are not installed.
+
+  
+
+
+
   
   2020-07-01
 

Modified: trunk/BOOK/chapter07/libstdc++-pass2.xml
==
--- trunk/BOOK/chapter07/libstdc++-pass2.xmlWed Jul  1 04:23:05 2020
(r11991)
+++ trunk/BOOK/chapter07/libstdc++-pass2.xmlSat Jul  4 14:14:57 2020
(r11992)
@@ -62,11 +62,12 @@
 
 Prepare libstdc++ for compilation:
 
-../libstdc++-v3/configure   \
-CXXFLAGS="-g -O2 -D_GNU_SOURCE" \
---prefix=/usr   \
---disable-multilib  \
---disable-nls   \
+../libstdc++-v3/configure\
+CXXFLAGS="-g -O2 -D_GNU_SOURCE"  \
+--prefix=/usr\
+--disable-multilib   \
+--disable-nls\
+--host=$(uname -m)-lfs-linux-gnu \
 --disable-libstdcxx-pch
 
 
@@ -80,6 +81,15 @@
 
   
 
+  
+--host=$(uname -m)-lfs-linux-gnu
+
+  We have to mimic what would happen if this package were built
+  as part of a full compiler build. This switch would be passed to
+  configure by GCC's build machinery.
+
+  
+
   
 --disable-libstdcxx-pch
 

Modified: trunk/BOOK/chapter07/python.xml
==
--- trunk/BOOK/chapter07/python.xml Wed Jul  1 04:23:05 2020(r11991)
+++ trunk/BOOK/chapter07/python.xml Sat Jul  4 14:14:57 2020(r11992)
@@ -52,12 +52,21 @@
 
 Prepare Python for compilation:
 
-./configure --prefix=/usr 
--without-ensurepip
+./configure --prefix=/usr   \
+--enable-shared \
+--without-ensurepip
 
 
   The meaning of the configure option:
 
   
+--enable-shared
+
+  This switch prevents installation of static libraries.
+
+  
+
+  
 --without-ensurepip
 
   This switch disables the Python package installer, which is not

Modified: trunk/BOOK/chapter08/revisedchroot.xml
==
--- trunk/BOOK/chapter08/revisedchroot.xml  Wed Jul  1 04:23:05 2020
(r11991)
+++ trunk/BOOK/chapter08/revisedchroot.xml  Sat Jul  4 14:14:57 2020
(r11992)
@@ -62,6 +62,19 @@
url="/introduction/la-files.html">BLFS section "About Libtool
Archive (.la) files".
 
+   The compiler built in  and
+is still partially
+   installed, and not needed anymore. Remove it with:
+
+find /usr/{bin,lib,libexec,include} \
+ -depth \
+ -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf
+
+   The /tools directory can also
+   be removed to further gain some place:
+
+rm -rf /tools
+
Finally, remove the temporary 'tester' user account created at the 
beginning of the previous chapter.
 

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Wed Jul  1 04:23:05 2020(r11991)
+++ trunk/BOOK/general.ent  Sat Jul  4 14:14:57 2020(r11992)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11980 - in trunk/BOOK: chapter02 chapter07 chapter08

2020-06-22 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun 22 13:51:45 2020
New Revision: 11980

Log:
remove last ch-system-xxx id's in chapter 7

Modified:
   trunk/BOOK/chapter02/stages.xml
   trunk/BOOK/chapter07/chroot.xml
   trunk/BOOK/chapter07/kernfs.xml
   trunk/BOOK/chapter08/revisedchroot.xml

Modified: trunk/BOOK/chapter02/stages.xml
==
--- trunk/BOOK/chapter02/stages.xml Mon Jun 22 09:45:31 2020(r11979)
+++ trunk/BOOK/chapter02/stages.xml Mon Jun 22 13:51:45 2020(r11980)
@@ -80,8 +80,8 @@
   The virtual file systems must be mounted.  This can be done
  before or after entering chroot by changing to a host virtual terminal
  and, as root, running the commands in 
-  and 
- .
+  and 
+ .
   
 
   

Modified: trunk/BOOK/chapter07/chroot.xml
==
--- trunk/BOOK/chapter07/chroot.xml Mon Jun 22 09:45:31 2020(r11979)
+++ trunk/BOOK/chapter07/chroot.xml Mon Jun 22 13:51:45 2020(r11980)
@@ -58,8 +58,8 @@
 chapter and the following chapters are run from within the chroot
 environment. If you leave this environment for any reason (rebooting for
 example), ensure that the virtual kernel filesystems are mounted as
-explained in  and  and enter chroot again before continuing
+explained in  and  and enter chroot again before continuing
 with the installation.
   
 

Modified: trunk/BOOK/chapter07/kernfs.xml
==
--- trunk/BOOK/chapter07/kernfs.xml Mon Jun 22 09:45:31 2020(r11979)
+++ trunk/BOOK/chapter07/kernfs.xml Mon Jun 22 13:51:45 2020(r11980)
@@ -42,7 +42,7 @@
 
   
 
-  
+  
 Mounting and Populating /dev
 
   The recommended method of populating the 
 
-  
+  
 Mounting Virtual Kernel File Systems
 
   Now mount the remaining virtual kernel filesystems:

Modified: trunk/BOOK/chapter08/revisedchroot.xml
==
--- trunk/BOOK/chapter08/revisedchroot.xml  Mon Jun 22 09:45:31 2020
(r11979)
+++ trunk/BOOK/chapter08/revisedchroot.xml  Mon Jun 22 13:51:45 2020
(r11980)
@@ -33,8 +33,8 @@
   If the virtual kernel file systems have been unmounted, either manually
   or through a reboot, ensure that the virtual kernel file systems are mounted
   when reentering the chroot. This process was explained in  and .
+  linkend="ch-tools-bindmount"/> and .
 
   There were several static libraries that were not suppressed earlier
   in the chapter in order to satisfy the regression tests in several packages. 
These 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11979 - trunk/BOOK/chapter07

2020-06-22 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun 22 09:45:31 2020
New Revision: 11979

Log:
Change id of Python and texinfo in chapter 7 to be of the form
ch-tools-xxx

Modified:
   trunk/BOOK/chapter07/python.xml
   trunk/BOOK/chapter07/texinfo.xml

Modified: trunk/BOOK/chapter07/python.xml
==
--- trunk/BOOK/chapter07/python.xml Mon Jun 22 06:58:18 2020(r11978)
+++ trunk/BOOK/chapter07/python.xml Mon Jun 22 09:45:31 2020(r11979)
@@ -5,8 +5,8 @@
   %general-entities;
 ]>
 
-
-  
+
+  
 
   
 Python
@@ -16,7 +16,7 @@
 
   Python-
 
-  
+  
 Python
 temporary
   

Modified: trunk/BOOK/chapter07/texinfo.xml
==
--- trunk/BOOK/chapter07/texinfo.xmlMon Jun 22 06:58:18 2020(r11978)
+++ trunk/BOOK/chapter07/texinfo.xmlMon Jun 22 09:45:31 2020(r11979)
@@ -5,8 +5,8 @@
   %general-entities;
 ]>
 
-
-  
+
+  
 
   
 texinfo
@@ -16,7 +16,7 @@
 
   Texinfo-
 
-  
+  
 Texinfo
 temporary
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11975 - trunk/BOOK/chapter04

2020-06-22 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun 22 01:11:36 2020
New Revision: 11975

Log:
Typo

Modified:
   trunk/BOOK/chapter04/settingenviron.xml

Modified: trunk/BOOK/chapter04/settingenviron.xml
==
--- trunk/BOOK/chapter04/settingenviron.xml Mon Jun 22 00:52:44 2020
(r11974)
+++ trunk/BOOK/chapter04/settingenviron.xml Mon Jun 22 01:11:36 2020
(r11975)
@@ -159,7 +159,7 @@
  of /etc/bash.bashrc to the initialization of
  bash. This file has the potential to modify the
  lfs
- user's envirnment in ways that can affect the building of critical LFS
+ user's environment in ways that can affect the building of critical LFS
  packages. To make sure the lfs
  user's envronment is clean, check for the
  presence of /etc/bash.bashrc and, if present, move it
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11971 - trunk/BOOK/chapter04

2020-06-21 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Jun 21 09:12:37 2020
New Revision: 11971

Log:
Remove an unneeded file

Deleted:
   trunk/BOOK/chapter04/creatingtoolsdir.xml
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11961 - in trunk/BOOK: . chapter08 part3intro

2020-06-19 Thread pierre--- via lfs-book
Author: pierre
Date: Fri Jun 19 01:13:06 2020
New Revision: 11961

Log:
Various text fixes:
- a wrong chapter in toolchain notes, and various text precisions
the option explanations of chapter 8 glibc (was labelled WIP)

Modified:
   trunk/BOOK/chapter08/glibc.xml
   trunk/BOOK/general.ent
   trunk/BOOK/part3intro/toolchaintechnotes.xml

Modified: trunk/BOOK/chapter08/glibc.xml
==
--- trunk/BOOK/chapter08/glibc.xml  Thu Jun 18 22:29:09 2020(r11960)
+++ trunk/BOOK/chapter08/glibc.xml  Fri Jun 19 01:13:06 2020(r11961)
@@ -65,27 +65,24 @@
  --with-headers=/usr/include  \
  libc_cv_slibdir=/lib
 
-  
 
-  The meaning of the options and new configure parameters:
-
+
   
---disable-werror
+--enable-kernel=
 
-  This option disables the -Werror option passed to 
-  GCC.  This is necessary for running the test suite.
+  This option tells the build system that this glibc may
+  be used with kernels as old as . This means generating
+  workarounds in case a system call introduced in a later version
+  cannot be used.
 
   
 

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Thu Jun 18 22:29:09 2020(r11960)
+++ trunk/BOOK/general.ent  Fri Jun 19 01:13:06 2020(r11961)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 

Modified: trunk/BOOK/part3intro/toolchaintechnotes.xml
==
--- trunk/BOOK/part3intro/toolchaintechnotes.xmlThu Jun 18 22:29:09 
2020(r11960)
+++ trunk/BOOK/part3intro/toolchaintechnotes.xmlFri Jun 19 01:13:06 
2020(r11961)
@@ -309,15 +309,15 @@
 and generally does not rely on toolchain defaults.
 
 As said above, the standard C++ library is compiled next, followed in
- by all the programs that need
-themselves to be built. The install
-step of libstdc++ uses the DESTDIR variable to have the
+ by all the programs that need
+themselves to be built. The install step of all those packages uses the
+DESTDIR variable to have the
 programs land into the LFS filesystem.
 
-In  the native lfs
-compiler is built. First binutils-pass2,
-with the same DESTDIR install as the other programs is
-built, and then the second pass of GCC is constructed, omitting libstdc++
+At the end of  the native
+lfs compiler is installed. First binutils-pass2 is built,
+with the same DESTDIR install as the other programs,
+then the second pass of GCC is constructed, omitting libstdc++
 and other non-important libraries.  Due to some weird logic in GCC's
 configure script, CC_FOR_TARGET ends up as
 cc when the host is the same as the target, but is
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-06-18 Thread pierre--- via lfs-book
Author: pierre
Date: Thu Jun 18 09:08:59 2020
New Revision: 11956

Log:
do not use $LFS in chapter08 (looks like a command pasted from chapter 6)
It's harmless since the LFS variable is not set, but ugly!

Modified:
   trunk/BOOK/chapter08/bzip2.xml

Modified: trunk/BOOK/chapter08/bzip2.xml
==
--- trunk/BOOK/chapter08/bzip2.xml  Thu Jun 18 03:00:48 2020(r11955)
+++ trunk/BOOK/chapter08/bzip2.xml  Thu Jun 18 09:08:59 2020(r11956)
@@ -90,7 +90,7 @@
 
 cp -v bzip2-shared /bin/bzip2
 cp -av libbz2.so* /lib
-ln -sv ../../lib/libbz2.so.1.0 $LFS/usr/lib/libbz2.so
+ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
 rm -v /usr/bin/{bunzip2,bzcat,bzip2}
 ln -sv bzip2 /bin/bunzip2
 ln -sv bzip2 /bin/bzcat
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11955 - trunk/BOOK/part3intro

2020-06-18 Thread pierre--- via lfs-book
Author: pierre
Date: Thu Jun 18 03:00:48 2020
New Revision: 11955

Log:
Fix several typos in toolchaintechnotes

Modified:
   trunk/BOOK/part3intro/toolchaintechnotes.xml

Modified: trunk/BOOK/part3intro/toolchaintechnotes.xml
==
--- trunk/BOOK/part3intro/toolchaintechnotes.xmlThu Jun 18 01:42:46 
2020(r11954)
+++ trunk/BOOK/part3intro/toolchaintechnotes.xmlThu Jun 18 03:00:48 
2020(r11955)
@@ -65,10 +65,11 @@
 
 
 
-As an example, let us imagine the following scenario: we may have a
+As an example, let us imagine the following scenario (sometimes
+referred to as Canadian Cross): we may have a
 compiler on a slow machine only, let's call the machine A, and the compiler
 ccA. We may have also a fast machine (B), but with no compiler, and we may
-want to produce code for a another slow machine (C). Then, to build a
+want to produce code for another slow machine (C). To build a
 compiler for machine C, we would have three stages:
 
 
@@ -88,7 +89,7 @@
 build cross-compiler cc1 using ccA on machine A
   
   
-2ABB
+2ABC
 build cross-compiler cc2 using cc1 on machine A
   
   
@@ -215,9 +216,9 @@
 instructions not available in the assembler instruction set. This
 internal library is named libgcc, and must be linked to the glibc
 library to be fully functional! Furthermore, the standard library for
-C++ (libstdc++) also needs being linked to glibc. The solution
-to this chicken and egg problem is to first build a degraded cc1 based 
libgcc,
-lacking some fuctionalities such as threads and exception handling, then
+C++ (libstdc++) also needs being linked to glibc. The solution to this
+chicken and egg problem is to first build a degraded cc1 based libgcc,
+lacking some functionalities such as threads and exception handling, then
 build glibc using this degraded compiler (glibc itself is not
 degraded), then build libstdc++. But this last library will lack the
 same functionalities as libgcc.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11953 - in trunk/BOOK: . chapter07

2020-06-18 Thread pierre--- via lfs-book
Author: pierre
Date: Thu Jun 18 00:14:06 2020
New Revision: 11953

Log:
Some finishing (?) touch in chapter
7

Modified:
   trunk/BOOK/chapter07/chapter07.xml
   trunk/BOOK/chapter07/stripping.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter07/chapter07.xml
==
--- trunk/BOOK/chapter07/chapter07.xml  Wed Jun 17 21:22:40 2020(r11952)
+++ trunk/BOOK/chapter07/chapter07.xml  Thu Jun 18 00:14:06 2020(r11953)
@@ -9,7 +9,7 @@
   
   
 
-  Entering Chroot and Building Additional Tools
+  Entering Chroot and Building Additional Temporary Tools
 
   http://www.w3.org/2001/XInclude; 
href="introduction.xml"/>
   http://www.w3.org/2001/XInclude; 
href="changingowner.xml"/>

Modified: trunk/BOOK/chapter07/stripping.xml
==
--- trunk/BOOK/chapter07/stripping.xml  Wed Jun 17 21:22:40 2020(r11952)
+++ trunk/BOOK/chapter07/stripping.xml  Thu Jun 18 00:14:06 2020(r11953)
@@ -8,13 +8,16 @@
 
   
 
-  Finishing Temporary Tools
+  Cleaning up and Saving the Temporary System
   
-  
-The steps in this section are optional. Skip this section entirely
-if you are not really short on disk space and do not want to create
-a backup of the temporary tools.
-  
+  
+All the steps in this section are optional. Nevertheless, as soon
+as you begin installing packages in , the temporary tools will be
+overwritten. So it may be a good idea to do a backup of the temporary
+tools as described below. The other steps are only needed if you are
+really short on disk space.
+  
 
   
 The following steps are performed from outside the chroot
@@ -115,7 +118,7 @@
   built packages, your temporary tools are in a good state and might be
   backed up for later reuse. In case of fatal failures in the subsequent
   chapters, it often turns out that removing everything and starting over
-  (more carefully) is the best option to recover. Unfortunatly, all the
+  (more carefully) is the best option to recover. Unfortunately, all the
   temporary tools will be removed, too. To avoid spending extra time to
   redo something which has been built successfully, prepare a backup.
 
@@ -175,7 +178,7 @@
 
   
 If you left the chroot environment either to strip off debug
-symbols, create a backup or restart building using a restore, 
+symbols, create a backup, or restart building using a restore, 
 remember to mount the kernel virtual filesystems now again as 
 described in  and re-enter
 the chroot environment (see )

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Wed Jun 17 21:22:40 2020(r11952)
+++ trunk/BOOK/general.ent  Thu Jun 18 00:14:06 2020(r11953)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
- 
+ 
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11949 - in trunk/BOOK: . chapter05 part3intro stylesheets/lfs-xsl

2020-06-17 Thread pierre--- via lfs-book
Author: pierre
Date: Wed Jun 17 13:50:25 2020
New Revision: 11949

Log:
Slightly change the layout in part III, so that the preliminary material
appear separated. Minor rewrites for accounting for the new layout

Added:
   trunk/BOOK/part3intro/
   trunk/BOOK/part3intro/generalinstructions.xml
   trunk/BOOK/part3intro/introduction.xml
   trunk/BOOK/part3intro/part3intro.xml
   trunk/BOOK/part3intro/toolchaintechnotes.xml
Deleted:
   trunk/BOOK/chapter05/generalinstructions.xml
   trunk/BOOK/chapter05/toolchaintechnotes.xml
Modified:
   trunk/BOOK/chapter05/binutils-pass1.xml
   trunk/BOOK/chapter05/chapter05.xml
   trunk/BOOK/chapter05/introduction.xml
   trunk/BOOK/index.xml
   trunk/BOOK/stylesheets/lfs-xsl/lfs.css

Modified: trunk/BOOK/chapter05/binutils-pass1.xml
==
--- trunk/BOOK/chapter05/binutils-pass1.xml Tue Jun 16 09:31:58 2020
(r11948)
+++ trunk/BOOK/chapter05/binutils-pass1.xml Wed Jun 17 13:50:25 2020
(r11949)
@@ -43,8 +43,9 @@
   
 Installation of Cross Binutils
 
-Go back and re-read the notes in the previous section.
-Understanding the notes labeled important will save you a lot
+Go back and re-read the notes in the section titled .
+Understanding the notes labeled important can save you a lot
 of problems later.
 
 It is important that Binutils be the first package compiled

Modified: trunk/BOOK/chapter05/chapter05.xml
==
--- trunk/BOOK/chapter05/chapter05.xml  Tue Jun 16 09:31:58 2020(r11948)
+++ trunk/BOOK/chapter05/chapter05.xml  Wed Jun 17 13:50:25 2020(r11949)
@@ -12,8 +12,6 @@
   Compiling a Cross-Toolchain
 
   http://www.w3.org/2001/XInclude; 
href="introduction.xml"/>
-  http://www.w3.org/2001/XInclude; 
href="toolchaintechnotes.xml"/>
-  http://www.w3.org/2001/XInclude; 
href="generalinstructions.xml"/>
   http://www.w3.org/2001/XInclude; 
href="binutils-pass1.xml"/>
   http://www.w3.org/2001/XInclude; href="gcc-pass1.xml"/>
   http://www.w3.org/2001/XInclude; 
href="linux-headers.xml"/>

Modified: trunk/BOOK/chapter05/introduction.xml
==
--- trunk/BOOK/chapter05/introduction.xml   Tue Jun 16 09:31:58 2020
(r11948)
+++ trunk/BOOK/chapter05/introduction.xml   Wed Jun 17 13:50:25 2020
(r11949)
@@ -12,8 +12,7 @@
 
   This chapter shows how to build a cross-compiler and its associated
   tools. Although here cross-compilation is faked, the principles are
-  the same as for a real cross-toolchain, and are detailed in the next
-  section.
+  the same as for a real cross-toolchain.
 
   The programs compiled in this chapter will be installed under the
   $LFS/tools directory to keep them

Modified: trunk/BOOK/index.xml
==
--- trunk/BOOK/index.xmlTue Jun 16 09:31:58 2020(r11948)
+++ trunk/BOOK/index.xmlWed Jun 17 13:50:25 2020(r11949)
@@ -28,6 +28,7 @@
 
 Building the LFS Cross Toolchain and Temporary Tools
 
+http://www.w3.org/2001/XInclude; 
href="part3intro/part3intro.xml"/>
 http://www.w3.org/2001/XInclude; 
href="chapter05/chapter05.xml"/>
 http://www.w3.org/2001/XInclude; 
href="chapter06/chapter06.xml"/>
 http://www.w3.org/2001/XInclude; 
href="chapter07/chapter07.xml"/>

Added: trunk/BOOK/part3intro/generalinstructions.xml
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/part3intro/generalinstructions.xml   Wed Jun 17 13:50:25 
2020(r11949)
@@ -0,0 +1,121 @@
+
+http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd; [
+  
+  %general-entities;
+]>
+
+
+  
+
+  General Compilation Instructions
+
+  When building packages there are several assumptions made within
+  the instructions:
+
+  
+
+  
+Several of the packages are patched before compilation, but only when
+the patch is needed to circumvent a problem. A patch is often needed in
+both this and the following chapters, but sometimes in only one location.
+Therefore, do not be concerned if instructions for a downloaded patch seem
+to be missing.  Warning messages about offset or
+fuzz may also be encountered when applying a patch. Do
+not worry about these warnings, as the patch was still successfully
+applied.
+  
+
+  
+During the compilation of most packages, there will be several
+warnings that scroll by on the screen. These are normal and can safely be
+ignored.  These warnings are as they appearwarnings about
+deprecated, but not invalid, use of the C or C++ syntax. C standards change
+fairly

[lfs-book] r11945 - in branches/cross2: . chapter08

2020-06-16 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Jun 16 03:22:47 2020
New Revision: 11945

Log:
Add a tip for meson and ninja in the SysV book, telling that those packages
are optional for lfs, but required for blfs

Modified:
   branches/cross2/chapter08/meson.xml
   branches/cross2/chapter08/ninja.xml
   branches/cross2/general.ent

Modified: branches/cross2/chapter08/meson.xml
==
--- branches/cross2/chapter08/meson.xml Mon Jun 15 12:56:23 2020(r11944)
+++ branches/cross2/chapter08/meson.xml Tue Jun 16 03:22:47 2020(r11945)
@@ -35,6 +35,14 @@
   
 
 
+
+  This section is not strictly required for LFS if not using
+  systemd. On the other hand, meson/ninja is a powerful build system,
+  which is expected to be used more and more often. It is required for
+  several packages in the BLFS
+  book.
+
+
   
 
   

Modified: branches/cross2/chapter08/ninja.xml
==
--- branches/cross2/chapter08/ninja.xml Mon Jun 15 12:56:23 2020(r11944)
+++ branches/cross2/chapter08/ninja.xml Tue Jun 16 03:22:47 2020(r11945)
@@ -35,6 +35,15 @@
   
 
 
+
+  This section is not strictly required for LFS if not using
+  systemd. On the other hand, ninja associated to meson makes
+  a powerful build system combination,
+  which is expected to be used more and more often. It is required for
+  several packages in the BLFS
+  book.
+
+
   
 
   

Modified: branches/cross2/general.ent
==
--- branches/cross2/general.ent Mon Jun 15 12:56:23 2020(r11944)
+++ branches/cross2/general.ent Tue Jun 16 03:22:47 2020(r11945)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
- 
+ 
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11944 - branches/cross2/chapter06

2020-06-15 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun 15 12:56:23 2020
New Revision: 11944

Log:
Add explanations for new configure switches in binutils pass 2

Modified:
   branches/cross2/chapter06/binutils-pass2.xml

Modified: branches/cross2/chapter06/binutils-pass2.xml
==
--- branches/cross2/chapter06/binutils-pass2.xmlMon Jun 15 12:32:24 
2020(r11943)
+++ branches/cross2/chapter06/binutils-pass2.xmlMon Jun 15 12:56:23 
2020(r11944)
@@ -63,12 +63,19 @@
   The meaning of the new configure options:
 
   
---host=$LFS_TGT
+--enable-shared
 
-  This tells the configure script that we want to build
-  this pass of binutils for the $LFS_TGT machine, using our just
-  built cross-compiler.  This prevents the linker from searching
-  through library directories on the host.
+  Builds libbfd as a shared library.
+
+  
+
+
+  
+--enable-64-bit-bfd
+
+  Enables 64-bit support (on hosts with narrower word sizes).
+  May not be needed on 64-bit systems, but does no harm.
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11943 - in branches/cross2: . chapter06

2020-06-15 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun 15 12:32:24 2020
New Revision: 11943

Log:
add --enable-64-bit-bfd to binutils pass 2 to prevent an abi mismatch when
reintalling binutils in chpater 8

Modified:
   branches/cross2/chapter06/binutils-pass2.xml
   branches/cross2/general.ent

Modified: branches/cross2/chapter06/binutils-pass2.xml
==
--- branches/cross2/chapter06/binutils-pass2.xmlSun Jun 14 22:23:47 
2020(r11942)
+++ branches/cross2/chapter06/binutils-pass2.xmlMon Jun 15 12:32:24 
2020(r11943)
@@ -56,7 +56,8 @@
 --host=$LFS_TGT\
 --disable-nls  \
 --enable-shared\
---disable-werror
+--disable-werror   \
+--enable-64-bit-bfd
 
 
   The meaning of the new configure options:

Modified: branches/cross2/general.ent
==
--- branches/cross2/general.ent Sun Jun 14 22:23:47 2020(r11942)
+++ branches/cross2/general.ent Mon Jun 15 12:32:24 2020(r11943)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
- 
+ 
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11942 - branches/cross2/chapter05

2020-06-14 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Jun 14 22:23:47 2020
New Revision: 11942

Log:
Add forgotten "case" in glibc chapter 5

Modified:
   branches/cross2/chapter05/glibc.xml

Modified: branches/cross2/chapter05/glibc.xml
==
--- branches/cross2/chapter05/glibc.xml Sun Jun 14 14:03:26 2020(r11941)
+++ branches/cross2/chapter05/glibc.xml Sun Jun 14 22:23:47 2020(r11942)
@@ -43,11 +43,17 @@
   
 Installation of Glibc
 
-First, create two symbolic links, which are needed for proper
+First, create a symbolic link for LSB compliance. Additionally,
+for x86_64, create a compatibility symbolic link required for proper
 operation of the dynamic library loader:
 
-ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64
-ln -sfv ../lib/ld-linux-x86-64.so.2 
$LFS/lib64/ld-lsb-x86-64.so.3
+case $(uname -m) in
+i?86)   ln -sfv ld-linux.so.2 $LFS/lib/ld-lsb.so.3
+;;
+x86_64) ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64
+ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3
+;;
+esac
 
 Some of the Glibc programs use the non-FHS compliant
 /var/db directory to store their
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11940 - in branches/cross2: . chapter07 chapter08

2020-06-14 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Jun 14 13:03:03 2020
New Revision: 11940

Log:
Move iana-etc and the creation of a test /etc/hosts earier in the build, so
that 2 more gcc tests pass.

Modified:
   branches/cross2/chapter07/createfiles.xml
   branches/cross2/chapter08/chapter08.xml
   branches/cross2/chapter08/gcc.xml
   branches/cross2/chapter08/perl.xml
   branches/cross2/general.ent

Modified: branches/cross2/chapter07/createfiles.xml
==
--- branches/cross2/chapter07/createfiles.xml   Sun Jun 14 08:24:09 2020
(r11939)
+++ branches/cross2/chapter07/createfiles.xml   Sun Jun 14 13:03:03 2020
(r11940)
@@ -43,6 +43,12 @@
 
 ln -sv /proc/self/mounts /etc/mtab
 
+  Create a basic /etc/hosts file to be
+  referenced in some test suites, and in one of Perl's configuration files
+  as well:
+
+echo "127.0.0.1 localhost $(hostname)"  
/etc/hosts
+
   In order for user root to be
   able to login and for the name root to be recognized, there
   must be relevant entries in the /etc/passwd and

Modified: branches/cross2/chapter08/chapter08.xml
==
--- branches/cross2/chapter08/chapter08.xml Sun Jun 14 08:24:09 2020
(r11939)
+++ branches/cross2/chapter08/chapter08.xml Sun Jun 14 13:03:03 2020
(r11940)
@@ -14,6 +14,7 @@
   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="iana-etc.xml"/>
   http://www.w3.org/2001/XInclude; href="glibc.xml"/>
   http://www.w3.org/2001/XInclude; href="zlib.xml"/>
   http://www.w3.org/2001/XInclude; href="bzip2.xml"/>
@@ -37,7 +38,6 @@
   http://www.w3.org/2001/XInclude; href="ncurses.xml"/>
   http://www.w3.org/2001/XInclude; href="sed.xml"/>
   http://www.w3.org/2001/XInclude; href="psmisc.xml"/>
-  http://www.w3.org/2001/XInclude; href="iana-etc.xml"/>
   http://www.w3.org/2001/XInclude; href="gettext.xml"/>
   http://www.w3.org/2001/XInclude; href="bison.xml"/>
   http://www.w3.org/2001/XInclude; href="grep.xml"/>

Modified: branches/cross2/chapter08/gcc.xml
==
--- branches/cross2/chapter08/gcc.xml   Sun Jun 14 08:24:09 2020(r11939)
+++ branches/cross2/chapter08/gcc.xml   Sun Jun 14 13:03:03 2020(r11940)
@@ -124,10 +124,11 @@
 Six tests related to get_time are known to fail.  These are
 apparently related to the en_HK locale.
 
+
 A few unexpected failures cannot always be avoided. The GCC 
developers
 are usually aware of these issues, but have not resolved them yet.
 Unless the test results are vastly different from those at the above URL,

Modified: branches/cross2/chapter08/perl.xml
==
--- branches/cross2/chapter08/perl.xml  Sun Jun 14 08:24:09 2020(r11939)
+++ branches/cross2/chapter08/perl.xml  Sun Jun 14 13:03:03 2020(r11940)
@@ -41,12 +41,6 @@
   
 Installation of Perl
 
-First create a basic /etc/hosts file to be
-referenced in one of Perl's configuration files as well as the optional
-test suite:
-
-echo "127.0.0.1 localhost $(hostname)"  
/etc/hosts
-
 This version of Perl now builds the Compress::Raw::Zlib and 
 Compress::Raw::BZip2 modules. By
 default Perl will use an internal copy of the sources for the build.

Modified: branches/cross2/general.ent
==
--- branches/cross2/general.ent Sun Jun 14 08:24:09 2020(r11939)
+++ branches/cross2/general.ent Sun Jun 14 13:03:03 2020(r11940)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
- 
+ 
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11938 - branches/cross2/stylesheets/lfs-xsl

2020-06-14 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Jun 14 06:00:39 2020
New Revision: 11938

Log:
Slightly modify lfs.css so that the Dependencies page renders Ok on epiphany
with default fonts

Modified:
   branches/cross2/stylesheets/lfs-xsl/lfs.css

Modified: branches/cross2/stylesheets/lfs-xsl/lfs.css
==
--- branches/cross2/stylesheets/lfs-xsl/lfs.css Sun Jun 14 05:58:30 2020
(r11937)
+++ branches/cross2/stylesheets/lfs-xsl/lfs.css Sun Jun 14 06:00:39 2020
(r11938)
@@ -433,7 +433,7 @@
 .segtitle {
   float: left;
   padding-left: 1em;
-  width: 14em;
+  width: 14.5em;
 }
 
 .content .segtitle {
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11937 - branches/cross2/chapter06

2020-06-14 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Jun 14 05:58:30 2020
New Revision: 11937

Log:
Do not install .pc files for ncurses in chapter 6: they are not needed,
and it may generate errors if pkg-config is not installed on the host

Modified:
   branches/cross2/chapter06/ncurses.xml

Modified: branches/cross2/chapter06/ncurses.xml
==
--- branches/cross2/chapter06/ncurses.xml   Sat Jun 13 16:03:37 2020
(r11936)
+++ branches/cross2/chapter06/ncurses.xml   Sun Jun 14 05:58:30 2020
(r11937)
@@ -68,8 +68,7 @@
 --without-debug  \
 --without-ada\
 --without-normal \
---enable-widec   \
---enable-pc-files
+--enable-widec
 
 
   The meaning of the new configure options:
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11934 - in branches/cross2: chapter05 chapter06 chapter08

2020-06-13 Thread pierre--- via lfs-book
Author: pierre
Date: Sat Jun 13 01:55:55 2020
New Revision: 11934

Log:
- fix some gcc->GCC
- remove commented text in glibc (chap 5), and fix a directory location

Modified:
   branches/cross2/chapter05/gcc-pass1.xml
   branches/cross2/chapter05/glibc.xml
   branches/cross2/chapter05/toolchaintechnotes.xml
   branches/cross2/chapter06/gcc-pass2.xml
   branches/cross2/chapter08/libffi.xml
   branches/cross2/chapter08/strippingagain.xml

Modified: branches/cross2/chapter05/gcc-pass1.xml
==
--- branches/cross2/chapter05/gcc-pass1.xml Sat Jun 13 01:37:05 2020
(r11933)
+++ branches/cross2/chapter05/gcc-pass1.xml Sat Jun 13 01:55:55 2020
(r11934)
@@ -193,7 +193,7 @@
 headers.  Normally one of them, limits.h, would in 
turn
 include the corresponding system limits.h header, in
 this case, $LFS/usr/include/limits.h. However, at the
-time of this build of gcc $LFS/usr/include/limits.h
+time of this build of GCC $LFS/usr/include/limits.h
 does not exist, so the internal header that has just been installed is a
 partial, self-contained file and does not include the extended features of
 the system header. This is adequate for building glibc, but the full

Modified: branches/cross2/chapter05/glibc.xml
==
--- branches/cross2/chapter05/glibc.xml Sat Jun 13 01:37:05 2020(r11933)
+++ branches/cross2/chapter05/glibc.xml Sat Jun 13 01:55:55 2020(r11934)
@@ -99,9 +99,10 @@
   
 --with-headers=$LFS/usr/include
 
-  This tells Glibc to compile itself against the headers recently
-  installed to the usr/include directory, so that it knows exactly what
-  features the kernel has and can optimize itself accordingly.
+  This tells Glibc to compile itself against the headers
+  recently installed to the $LFS/usr/include directory, so that
+  it knows exactly what features the kernel has and can optimize
+  itself accordingly.
 
   
 
@@ -112,24 +113,6 @@
   of the default /lib64 on 64 bit machines.
 
   
-
 
 
 

Modified: branches/cross2/chapter05/toolchaintechnotes.xml
==
--- branches/cross2/chapter05/toolchaintechnotes.xmlSat Jun 13 01:37:05 
2020(r11933)
+++ branches/cross2/chapter05/toolchaintechnotes.xmlSat Jun 13 01:55:55 
2020(r11934)
@@ -227,7 +227,7 @@
 this is the only compiler available for building the C/C++ libraries
 during stage 2! Of course, the compiler built during stage 2, cc-lfs,
 would be able to build those libraries, but (1) the build system of
-gcc does not know that it is usable on pc, and (2) using it on pc
+GCC does not know that it is usable on pc, and (2) using it on pc
 would be at risk of linking to the pc libraries, since cc-lfs is a native
 compiler. So we have to build libstdc++ later, in chroot.
 

Modified: branches/cross2/chapter06/gcc-pass2.xml
==
--- branches/cross2/chapter06/gcc-pass2.xml Sat Jun 13 01:37:05 2020
(r11933)
+++ branches/cross2/chapter06/gcc-pass2.xml Sat Jun 13 01:55:55 2020
(r11934)
@@ -109,7 +109,7 @@
 -with-build-sysroot=$LFS
 
   Normally, using --host ensures that
-  a cross-compiler is used for building gcc, and that compiler knows
+  a cross-compiler is used for building GCC, and that compiler knows
   that it has to look for headers and libraries in $LFS. But the build system of GCC uses
   other tools, which are not aware of this location. This switch is

Modified: branches/cross2/chapter08/libffi.xml
==
--- branches/cross2/chapter08/libffi.xmlSat Jun 13 01:37:05 2020
(r11933)
+++ branches/cross2/chapter08/libffi.xmlSat Jun 13 01:55:55 2020
(r11934)
@@ -60,14 +60,14 @@
   
 --with-gcc-arch=native
 
-  Ensure gcc optimizes for the current system.  If this
+  Ensure GCC optimizes for the current system.  If this
   is not specified, the system is guessed and the code generated
   may not be correct for some systems.  If the generated code
   will be copied from the native system to a less capable 
   system, use the less capable system as a parameter. For details 
   about alternative system types, see 
-  the x86 options in the gcc manual.
+  the x86 options in the GCC manual.
 
   
 

Modified: branches/cross2/chapter08/strippingagain.xml
==
--- branches/cross2/chapte

[lfs-book] r11933 - in branches/cross2: . chapter08

2020-06-13 Thread pierre--- via lfs-book
Author: pierre
Date: Sat Jun 13 01:37:05 2020
New Revision: 11933

Log:
- Fix SBUs in libpipeline
- Update the disk usage gain in "Stripping Again"
- mention SSD gain in e2fsprogs tests

Modified:
   branches/cross2/chapter08/e2fsprogs.xml
   branches/cross2/chapter08/strippingagain.xml
   branches/cross2/packages.ent

Modified: branches/cross2/chapter08/e2fsprogs.xml
==
--- branches/cross2/chapter08/e2fsprogs.xml Fri Jun 12 23:13:02 2020
(r11932)
+++ branches/cross2/chapter08/e2fsprogs.xml Sat Jun 13 01:37:05 2020
(r11933)
@@ -108,14 +108,16 @@
 To run the tests, issue:
 
 make check
-
+
+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

Modified: branches/cross2/chapter08/strippingagain.xml
==
--- branches/cross2/chapter08/strippingagain.xmlFri Jun 12 23:13:02 
2020(r11932)
+++ branches/cross2/chapter08/strippingagain.xmlSat Jun 13 01:37:05 
2020(r11933)
@@ -13,7 +13,7 @@
   This section is optional.  If the intended user is not a 
   programmer and does not plan to do
   any debugging on the system software, the system size can be decreased
-  by about 90 MB by removing the debugging symbols from binaries and
+  by about 2 GB by removing the debugging symbols from binaries and
   libraries. This causes no inconvenience other than not being able to
   debug the software fully anymore.
 

Modified: branches/cross2/packages.ent
==
--- branches/cross2/packages.entFri Jun 12 23:13:02 2020(r11932)
+++ branches/cross2/packages.entSat Jun 13 01:37:05 2020(r11933)
@@ -160,7 +160,7 @@
 
 http://e2fsprogs.sourceforge.net/;>
 
-
+
 
 
 
@@ -426,7 +426,7 @@
 
 http://libpipeline.nongnu.org/;>
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11932 - in branches/cross2: . chapter06

2020-06-13 Thread pierre--- via lfs-book
Author: pierre
Date: Fri Jun 12 23:13:02 2020
New Revision: 11932

Log:
Add a switch to chapter 6 ncurses' configure so that it does not install
compressed manpages if the host distro has compressed manpages

Modified:
   branches/cross2/chapter06/ncurses.xml
   branches/cross2/general.ent

Modified: branches/cross2/chapter06/ncurses.xml
==
--- branches/cross2/chapter06/ncurses.xml   Fri Jun 12 15:03:30 2020
(r11931)
+++ branches/cross2/chapter06/ncurses.xml   Fri Jun 12 23:13:02 2020
(r11932)
@@ -59,21 +59,31 @@
 
 Prepare Ncurses for compilation:
 
-./configure --prefix=/usr \
---host=$LFS_TGT   \
---build=$(./config.guess) \
---mandir=/usr/share/man   \
---with-shared \
---without-debug   \
---without-ada \
---without-normal  \
---enable-widec\
+./configure --prefix=/usr\
+--host=$LFS_TGT  \
+--build=$(./config.guess)\
+--mandir=/usr/share/man  \
+--with-manpage-format=normal \
+--with-shared\
+--without-debug  \
+--without-ada\
+--without-normal \
+--enable-widec   \
 --enable-pc-files
 
 
   The meaning of the new configure options:
 
   
+--with-manpage-format=normal
+
+  This prevents Ncurses installing compressed manual
+  pages, which may happen if the host distribution itself
+  has compressed manual pages.
+
+  
+
+  
 --without-ada
 
   This ensures that Ncurses does not build support for the Ada

Modified: branches/cross2/general.ent
==
--- branches/cross2/general.ent Fri Jun 12 15:03:30 2020(r11931)
+++ branches/cross2/general.ent Fri Jun 12 23:13:02 2020(r11932)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
- 
+ 
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11927 - branches/cross2

2020-06-12 Thread pierre--- via lfs-book
Author: pierre
Date: Fri Jun 12 06:13:54 2020
New Revision: 11927

Log:
Update dbus and systemd figures (last ones)

Modified:
   branches/cross2/packages.ent

Modified: branches/cross2/packages.ent
==
--- branches/cross2/packages.entFri Jun 12 05:26:56 2020(r11926)
+++ branches/cross2/packages.entFri Jun 12 06:13:54 2020(r11927)
@@ -651,7 +651,7 @@
 
 
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11926 - branches/cross2/chapter08

2020-06-12 Thread pierre--- via lfs-book
Author: pierre
Date: Fri Jun 12 05:26:56 2020
New Revision: 11926

Log:
typo

Modified:
   branches/cross2/chapter08/coreutils.xml

Modified: branches/cross2/chapter08/coreutils.xml
==
--- branches/cross2/chapter08/coreutils.xml Fri Jun 12 01:40:02 2020
(r11925)
+++ branches/cross2/chapter08/coreutils.xml Fri Jun 12 05:26:56 2020
(r11926)
@@ -141,7 +141,7 @@
 mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
 mv -v /usr/bin/chroot /usr/sbin
 mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
-sed -i 's/"1"/"8"' /usr/share/man/man8/chroot.8
+sed -i 's/"1"/"8"/' /usr/share/man/man8/chroot.8
 
 Some of the scripts in the LFS-Bootscripts package
 depend on head, nice,
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11925 - in branches/cross2: . chapter05 chapter07

2020-06-12 Thread pierre--- via lfs-book
Author: pierre
Date: Fri Jun 12 01:40:02 2020
New Revision: 11925

Log:
Update sbu-du for cross2 branch

Modified:
   branches/cross2/chapter05/libstdc++.xml
   branches/cross2/chapter07/libstdc++-pass2.xml
   branches/cross2/general.ent
   branches/cross2/packages.ent

Modified: branches/cross2/chapter05/libstdc++.xml
==
--- branches/cross2/chapter05/libstdc++.xml Thu Jun 11 21:40:07 2020
(r11924)
+++ branches/cross2/chapter05/libstdc++.xml Fri Jun 12 01:40:02 2020
(r11925)
@@ -37,8 +37,8 @@
   
 
   
-
-
+
+
   
 
 

Modified: branches/cross2/chapter07/libstdc++-pass2.xml
==
--- branches/cross2/chapter07/libstdc++-pass2.xml   Thu Jun 11 21:40:07 
2020(r11924)
+++ branches/cross2/chapter07/libstdc++-pass2.xml   Fri Jun 12 01:40:02 
2020(r11925)
@@ -35,8 +35,8 @@
   
 
   
-
-
+
+
   
 
 

Modified: branches/cross2/general.ent
==
--- branches/cross2/general.ent Thu Jun 11 21:40:07 2020(r11924)
+++ branches/cross2/general.ent Fri Jun 12 01:40:02 2020(r11925)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
- 
+ 
 
-
+
 
 
 

Modified: branches/cross2/packages.ent
==
--- branches/cross2/packages.entThu Jun 11 21:40:07 2020(r11924)
+++ branches/cross2/packages.entFri Jun 12 01:40:02 2020(r11925)
@@ -18,7 +18,7 @@
 
 
 
-
+
 
 
 
@@ -35,7 +35,7 @@
 
 
 
-
+
 
 
 
@@ -45,24 +45,24 @@
 
 
 
-
+
 
 
 
 
 
 
-
+
 
-
-
+
+
 
 
 
 https://github.com/gavinhoward/bc/releases/download//bc-.tar.xz;>
 
 https://github.com/gavinhoward/bc;>
-
+
 
 
 
@@ -70,32 +70,35 @@
 
 
 
-
+
 
-
-
-
-
+
+
+
+
 
 
 
 
 
 
-
+
 
-
-
+
+
 
 
 
 https://www.sourceware.org/pub/bzip2/bzip2-.tar.gz;>
 
+
 
+
 
 
+
 
 
 
 
 https://libcheck.github.io/check;>
-
-
+
+
 
 
 
 
 
 
-
-
-
-
+
+
+
+
 
 
 
@@ -138,7 +141,7 @@
 
 
 
-
+
 
 
 
@@ -148,7 +151,7 @@
 
 
 
-
+
 
 
 
@@ -156,22 +159,22 @@
 https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v/e2fsprogs-.tar.gz;>
 
 http://e2fsprogs.sourceforge.net/;>
-
-
+
+
 
 
 
 https://sourceware.org/ftp/elfutils//elfutils-.tar.bz2;>
 
 https://sourceware.org/ftp/elfutils/;>
-
-
+
+
 
 
 
 https://dev.gentoo.org/~blueness/eudev/eudev-.tar.gz;>
 
-
+
 
 
 
@@ -179,7 +182,7 @@
 
 
 https://libexpat.github.io/;>
-
+
 
 
 
@@ -188,7 +191,7 @@
 
 
 https://core.tcl.tk/expect/;>
-
+
 
 
 
@@ -198,7 +201,7 @@
 https://www.darwinsys.com/file/;>
 
 
-
+
 
 
 
@@ -206,9 +209,9 @@
 
 
 
-
-
-
+
+
+
 
 
 
@@ -216,8 +219,9 @@
 
 
 
+
 
 
 
@@ -228,7 +232,7 @@
 
 
 
-
+
 
 
 
@@ -236,11 +240,11 @@
 
 
 https://gcc.gnu.org/;>
-
-
-
-
-
+
+
+
+
+
 
 
 
@@ -250,8 +254,10 @@
 
 
 
-
-
+
+
+
+
 
 
 
@@ -266,19 +272,19 @@
 
 
 
-
-
-
-
+
+
+
+
 
 
 
 
 
 
-
-
-
+
+
+
 
 
 
@@ -295,7 +301,7 @@
 
 
 
-
+
 
 
 
@@ -303,9 +309,9 @@
 
 
 
-
+
 
-
+
 
 
 
@@ -313,7 +319,7 @@
 
 
 
-
+
 
 
 
@@ -321,7 +327,7 @@
 https://ftp.gnu.org/gnu/grub/grub-.tar.xz;>
 
 
-
+
 
 
 
@@ -331,7 +337,7 @@
 
 
 
-
+
 
 
 
@@ -403,7 +409,7 @@
 
 
 https://sites.google.com/site/fullycapable/;>
-
+
 
 
 
@@ -419,8 +425,8 @@
 
 
 http://libpipeline.nongnu.org/;>
-
-
+
+
 
 
 
@@ -428,7 +434,7 @@
 
 
 
-
+
 
 
 
@@ -447,17 +453,18 @@
 
 
 
+
 
 
 
 
 
 
-
-
-
+
+
+
 
 
 
@@ -467,7 +474,7 @@
 
 
 
-
+
 
 
 
@@ -491,7 +498,7 @@
 
 
 https://mesonbuild.com;>
-
+
 
 
 
@@ -499,7 +506,7 @@
 https://ftp.gnu.org/gnu/mpc/mpc-.tar.gz;>
 
 http://www.multiprecision.org/;>
-
+
 
 
 
@@ -507,7 +514,7 @@
 http://www.mpfr.org/mpfr-/mpfr-.tar.xz;>
 
 https://www.mpfr.org/;>
-
+
 
 
 
@@ -515,9 +522,9 @@
 
 
 
-
-
-
+
+
+
 
 
 
@@ -525,7 +532,7 @@
 
 
 https://ninja-build.org/;>
-
+
 
 
 
@@ -533,8 +540,8 @@
 https://www.openssl.org/source/openssl-.tar.gz;>
 
 https://www.openssl.org/;>
-
-
+
+
 
 
 
@@ -542,8 +549,8 @@
 
 https://savannah.gnu.org/projects/patch/;>
 
-
-
+
+
 
 
 
@@ -551,10 +558,10 @@
 https://www.cpan.org/src/5.0/perl-.tar.xz;>
 
 https://www.perl.org/;>
-
+
 
-
-
+
+
 
 
 
@@ -562,14 +569,14 @@
 
 https://www.freedesktop.org/wiki/Software/pkg-config;>
 
-
+
 
 
 
 https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-.tar.xz;>
 
 https://sourceforge.net/projects/procps-ng;>
-
+
 
 
 
@@ -577,7 +584,7 @@
 https://sourceforge.net/projects/psmisc/files/psmisc/psmisc-.tar.xz;>
 
 http://psmisc.sourceforge.net/;>
-
+
 
 
 

[lfs-book] r11910 - in branches/cross2: chapter06 chapter07

2020-06-09 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Jun  9 06:35:39 2020
New Revision: 11910

Log:
Add an introduction to chapter 6 and 7

Modified:
   branches/cross2/chapter06/chapter06.xml
   branches/cross2/chapter06/introduction.xml
   branches/cross2/chapter07/chapter07.xml
   branches/cross2/chapter07/introduction.xml

Modified: branches/cross2/chapter06/chapter06.xml
==
--- branches/cross2/chapter06/chapter06.xml Tue Jun  9 00:57:40 2020
(r11909)
+++ branches/cross2/chapter06/chapter06.xml Tue Jun  9 06:35:39 2020
(r11910)
@@ -11,6 +11,7 @@
 
   Cross Compiling Temporary Tools
 
+  http://www.w3.org/2001/XInclude; 
href="introduction.xml"/>
   http://www.w3.org/2001/XInclude; href="m4.xml"/>
   http://www.w3.org/2001/XInclude; href="ncurses.xml"/>
   http://www.w3.org/2001/XInclude; href="bash.xml"/>

Modified: branches/cross2/chapter06/introduction.xml
==
--- branches/cross2/chapter06/introduction.xml  Tue Jun  9 00:57:40 2020
(r11909)
+++ branches/cross2/chapter06/introduction.xml  Tue Jun  9 06:35:39 2020
(r11910)
@@ -5,25 +5,26 @@
   %general-entities;
 ]>
 
-
+
   
 
   Introduction
 
-  This chapter shows how to build a minimal Linux system.
-  This system will contain just enough tools to start constructing the final
-  LFS system in  and allow a working
-  environment with more user convenience than a minimum environment 
would.
-
-  There are two steps in building this minimal system. The first step
-  is to build a new and host-independent toolchain (compiler, assembler,
-  linker, libraries, and a few useful utilities).  The second step uses this
-  toolchain to build the other essential tools.
-
+  This chapter shows how to cross-compile basic utilities using
+  the just built cross-toolchain. Those utilities are installed into
+  their final location, but cannot be used yet. Basic tasks still rely on
+  the hosts tools. Nevertheless, the installed libraries are used when
+  linking.
+
+  Using the utilities will be possible in next chapter after entering
+  the chroot environment. But all the packages built in the
+  present chapter need themselves to be built. So we cannot be independent
+  on the build system yet.
+
+  Once again, let us recall that improper setting of LFS
+  together with building as root, may render your computer unusable.
+  This whole chapter must be done as user lfs, with the enviroment as described in
+  .
+
 

Modified: branches/cross2/chapter07/chapter07.xml
==
--- branches/cross2/chapter07/chapter07.xml Tue Jun  9 00:57:40 2020
(r11909)
+++ branches/cross2/chapter07/chapter07.xml Tue Jun  9 06:35:39 2020
(r11910)
@@ -11,6 +11,7 @@
 
   Entering Chroot and Building Additional Tools
 
+  http://www.w3.org/2001/XInclude; 
href="introduction.xml"/>
   http://www.w3.org/2001/XInclude; 
href="changingowner.xml"/>
   http://www.w3.org/2001/XInclude; href="kernfs.xml"/>
   http://www.w3.org/2001/XInclude; href="chroot.xml"/>

Modified: branches/cross2/chapter07/introduction.xml
==
--- branches/cross2/chapter07/introduction.xml  Tue Jun  9 00:57:40 2020
(r11909)
+++ branches/cross2/chapter07/introduction.xml  Tue Jun  9 06:35:39 2020
(r11910)
@@ -5,25 +5,33 @@
   %general-entities;
 ]>
 
-
+
   
 
   Introduction
 
-  This chapter shows how to build a minimal Linux system.
-  This system will contain just enough tools to start constructing the final
-  LFS system in  and allow a working
-  environment with more user convenience than a minimum environment 
would.
-
-  There are two steps in building this minimal system. The first step
-  is to build a new and host-independent toolchain (compiler, assembler,
-  linker, libraries, and a few useful utilities).  The second step uses this
-  toolchain to build the other essential tools.
-
+  This chapter shows how to build the last missing bits of the
+  temporary system: first, the tools needed by the build machinery of
+  various packages, then three packages needed to run tests.
+  Now that all circular dependencies have been resolved,
+  we can use a chroot environment, completely isolated
+  from the computer used for the build, except for the running kernel.
+
+  For proper operation of the isolated environment, some communication
+  with the running kernel must be established. This is done through the
+  so-called Virtual Kernel File Systems, which must be
+  mounted when entering the chroot environment. You may want to check
+  that they are mounted by issuing ls $LFS/dev,
+  ls $LFS/proc, or ls $LFS/sys.
+  Note that mounting the virtual kernel file

[lfs-book] r11909 - branches/cross2/chapter08

2020-06-09 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Jun  9 00:57:40 2020
New Revision: 11909

Log:
Add an explanation for LD=ld in the final gcc configure parameters

Modified:
   branches/cross2/chapter08/gcc.xml

Modified: branches/cross2/chapter08/gcc.xml
==
--- branches/cross2/chapter08/gcc.xml   Mon Jun  8 15:40:40 2020(r11908)
+++ branches/cross2/chapter08/gcc.xml   Tue Jun  9 00:57:40 2020(r11909)
@@ -71,7 +71,16 @@
 for instructions on how to build all of GCC's supported languages.
 
 
-  The meaning of the new configure parameter:
+  The meaning of the new configure parameters:
+
+  
+LD=ld
+
+  This parameter makes the configure script use the ld installed
+  by the binutils installed earlier in this chapter, rather than
+  the cross-built version which would otherwise be used.
+
+  
 
   
 --with-system-zlib
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11907 - branches/cross2/chapter05

2020-06-08 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  8 13:42:12 2020
New Revision: 11907

Log:
Add a warning before installation of glibc-chapter5

Modified:
   branches/cross2/chapter05/glibc.xml

Modified: branches/cross2/chapter05/glibc.xml
==
--- branches/cross2/chapter05/glibc.xml Mon Jun  8 13:24:56 2020(r11906)
+++ branches/cross2/chapter05/glibc.xml Mon Jun  8 13:42:12 2020(r11907)
@@ -157,6 +157,12 @@
 
 Install the package:
 
+If LFS is not proprly set, and despite the
+recommendations, you are building as root, the next command will install
+the newly built glibc to your host system, which most likely will render it
+unusable. So double check that the environment is correctly set for user
+lfs.
+
 make DESTDIR=$LFS 
install
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11906 - branches/cross2/chapter05

2020-06-08 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  8 13:24:56 2020
New Revision: 11906

Log:
Rewrite chapter 5 title and introduction

Modified:
   branches/cross2/chapter05/chapter05.xml
   branches/cross2/chapter05/introduction.xml

Modified: branches/cross2/chapter05/chapter05.xml
==
--- branches/cross2/chapter05/chapter05.xml Mon Jun  8 12:44:56 2020
(r11905)
+++ branches/cross2/chapter05/chapter05.xml Mon Jun  8 13:24:56 2020
(r11906)
@@ -9,7 +9,7 @@
   
   
 
-  Cross Compiling a Toolchain
+  Compiling a Cross-Toolchain
 
   http://www.w3.org/2001/XInclude; 
href="introduction.xml"/>
   http://www.w3.org/2001/XInclude; 
href="toolchaintechnotes.xml"/>

Modified: branches/cross2/chapter05/introduction.xml
==
--- branches/cross2/chapter05/introduction.xml  Mon Jun  8 12:44:56 2020
(r11905)
+++ branches/cross2/chapter05/introduction.xml  Mon Jun  8 13:24:56 2020
(r11906)
@@ -10,20 +10,15 @@
 
   Introduction
 
-  This chapter shows how to build a minimal Linux system.
-  This system will contain just enough tools to start constructing the final
-  LFS system in  and allow a working
-  environment with more user convenience than a minimum environment 
would.
+  This chapter shows how to build a cross-compiler and its associated
+  tools. Although here cross-compilation is faked, the principles are
+  the same as for a real cross-toolchain, and are detailed in the next
+  section.
+
+  The programs compiled in this chapter will be installed under the
+  $LFS/tools directory to keep them
+  separate from the files installed in the following chapters. The libraries,
+  on the other hand, are installed into their final place, since they pertain
+  to the system we want to build.
 
-  There are two steps in building this minimal system. The first step
-  is to build a new and host-independent toolchain (compiler, assembler,
-  linker, libraries, and a few useful utilities).  The second step uses this
-  toolchain to build the other essential tools.
-
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11904 - branches/cross2/chapter02

2020-06-08 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  8 12:36:30 2020
New Revision: 11904

Log:
Update "building LFS in Stages" for the new layout

Modified:
   branches/cross2/chapter02/stages.xml

Modified: branches/cross2/chapter02/stages.xml
==
--- branches/cross2/chapter02/stages.xmlMon Jun  8 01:23:39 2020
(r11903)
+++ branches/cross2/chapter02/stages.xmlMon Jun  8 12:36:30 2020
(r11904)
@@ -33,7 +33,7 @@
   
   
   
-  Chapter5
+  Chapter56
 
 
   
@@ -41,16 +41,10 @@
   
 
   
-This chapter includes three parts. The first one, from
-Binutils Pass1 to Stripping
-   must be done by user lfs. A
-   su - lfs needs to be done before any task in this
-   part. The second part, from Changing Ownership to
-   Entering the Chroot Environment must be done as the
-   root user, with LFS set for the root user. The third part, from
-   Creating Directories to the end of the chapter, is done
-   in the chroot environment. The same procedures as for chapter 6
-   apply.
+Those two chapters must be done as user lfs.
+   A su - lfs needs to be done before any task in this
+   part. Failing to do that, you are at risk of installing packages to the
+host, and render it unusable.
   
 
   
@@ -64,7 +58,7 @@
   
 
   
-  Chapters68
+  Chapter710
 
 
   
@@ -72,8 +66,14 @@
   
 
   
+A few operations, from Changing Ownership to
+   Entering the Chroot Environment must be done as the
+   root user, with LFS set for the root user.
+  
+
+  
   When entering chroot, the LFS environment variable must be set
- for root.  The LFS variable is not used otherwise.
+ for root. The LFS variable is not used afterwards.
   
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11903 - branches/cross2/chapter08

2020-06-08 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  8 01:23:39 2020
New Revision: 11903

Log:
Fix a chapter number

Modified:
   branches/cross2/chapter08/introduction.xml

Modified: branches/cross2/chapter08/introduction.xml
==
--- branches/cross2/chapter08/introduction.xml  Mon Jun  8 01:17:16 2020
(r11902)
+++ branches/cross2/chapter08/introduction.xml  Mon Jun  8 01:23:39 2020
(r11903)
@@ -44,7 +44,8 @@
   descriptions of these) that the package installs.
 
   The SBU values and required disk space includes
-  test suite data for all applicable packages in Chapter6.
+  test suite data for all applicable packages in
+  .
 
   
 About libraries
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11902 - branches/cross2/chapter07

2020-06-08 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  8 01:17:16 2020
New Revision: 11902

Log:
Remove unneeded files in chapter 7

Deleted:
   branches/cross2/chapter07/bash.xml
   branches/cross2/chapter07/binutils-pass1.xml
   branches/cross2/chapter07/binutils-pass2.xml
   branches/cross2/chapter07/bzip2.xml
   branches/cross2/chapter07/changingowner.xml
   branches/cross2/chapter07/coreutils.xml
   branches/cross2/chapter07/diffutils.xml
   branches/cross2/chapter07/file.xml
   branches/cross2/chapter07/findutils.xml
   branches/cross2/chapter07/flex.xml
   branches/cross2/chapter07/gawk.xml
   branches/cross2/chapter07/gcc-pass1.xml
   branches/cross2/chapter07/gcc-pass2.xml
   branches/cross2/chapter07/generalinstructions.xml
   branches/cross2/chapter07/glibc.xml
   branches/cross2/chapter07/grep.xml
   branches/cross2/chapter07/gzip.xml
   branches/cross2/chapter07/libstdc++.xml
   branches/cross2/chapter07/linux-headers.xml
   branches/cross2/chapter07/m4.xml
   branches/cross2/chapter07/make.xml
   branches/cross2/chapter07/ncurses.xml
   branches/cross2/chapter07/patch.xml
   branches/cross2/chapter07/sed.xml
   branches/cross2/chapter07/stripping.xml
   branches/cross2/chapter07/tar.xml
   branches/cross2/chapter07/toolchaintechnotes.xml
   branches/cross2/chapter07/xz.xml
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11901 - in branches/cross2: chapter06 chapter07

2020-06-08 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  8 01:12:16 2020
New Revision: 11901

Log:
Remove unneeded files in chapter 6, and fix href' in chapter 7

Deleted:
   branches/cross2/chapter06/binutils-pass1.xml
   branches/cross2/chapter06/bison.xml
   branches/cross2/chapter06/bzip2.xml
   branches/cross2/chapter06/chroot.xml
   branches/cross2/chapter06/createfiles.xml
   branches/cross2/chapter06/creatingdirs.xml
   branches/cross2/chapter06/dejagnu.xml
   branches/cross2/chapter06/expect.xml
   branches/cross2/chapter06/flex.xml
   branches/cross2/chapter06/gcc-pass1.xml
   branches/cross2/chapter06/generalinstructions.xml
   branches/cross2/chapter06/gettext.xml
   branches/cross2/chapter06/glibc.xml
   branches/cross2/chapter06/kernfs.xml
   branches/cross2/chapter06/libstdc++-pass2.xml
   branches/cross2/chapter06/libstdc++.xml
   branches/cross2/chapter06/linux-headers.xml
   branches/cross2/chapter06/perl.xml
   branches/cross2/chapter06/python.xml
   branches/cross2/chapter06/tcl.xml
   branches/cross2/chapter06/texinfo.xml
   branches/cross2/chapter06/toolchaintechnotes.xml
   branches/cross2/chapter06/util-linux.xml
Modified:
   branches/cross2/chapter07/bash.xml
   branches/cross2/chapter07/binutils-pass1.xml
   branches/cross2/chapter07/binutils-pass2.xml
   branches/cross2/chapter07/bison.xml
   branches/cross2/chapter07/bzip2.xml
   branches/cross2/chapter07/coreutils.xml
   branches/cross2/chapter07/diffutils.xml
   branches/cross2/chapter07/file.xml
   branches/cross2/chapter07/findutils.xml
   branches/cross2/chapter07/flex.xml
   branches/cross2/chapter07/gawk.xml
   branches/cross2/chapter07/gcc-pass1.xml
   branches/cross2/chapter07/gcc-pass2.xml
   branches/cross2/chapter07/gettext.xml
   branches/cross2/chapter07/glibc.xml
   branches/cross2/chapter07/grep.xml
   branches/cross2/chapter07/gzip.xml
   branches/cross2/chapter07/m4.xml
   branches/cross2/chapter07/make.xml
   branches/cross2/chapter07/ncurses.xml
   branches/cross2/chapter07/patch.xml
   branches/cross2/chapter07/python.xml
   branches/cross2/chapter07/sed.xml
   branches/cross2/chapter07/tar.xml
   branches/cross2/chapter07/texinfo.xml
   branches/cross2/chapter07/xz.xml

Modified: branches/cross2/chapter07/bash.xml
==
--- branches/cross2/chapter07/bash.xml  Mon Jun  8 00:49:58 2020(r11900)
+++ branches/cross2/chapter07/bash.xml  Mon Jun  8 01:12:16 2020(r11901)
@@ -25,7 +25,7 @@
 
 
 http://www.w3.org/2001/XInclude;
-href="../chapter06/bash.xml"
+href="../chapter08/bash.xml"
 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
 
 

Modified: branches/cross2/chapter07/binutils-pass1.xml
==
--- branches/cross2/chapter07/binutils-pass1.xmlMon Jun  8 00:49:58 
2020(r11900)
+++ branches/cross2/chapter07/binutils-pass1.xmlMon Jun  8 01:12:16 
2020(r11901)
@@ -25,7 +25,7 @@
 
 
 http://www.w3.org/2001/XInclude;
-href="../chapter06/binutils.xml"
+href="../chapter08/binutils.xml"
 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
 
 

Modified: branches/cross2/chapter07/binutils-pass2.xml
==
--- branches/cross2/chapter07/binutils-pass2.xmlMon Jun  8 00:49:58 
2020(r11900)
+++ branches/cross2/chapter07/binutils-pass2.xmlMon Jun  8 01:12:16 
2020(r11901)
@@ -25,7 +25,7 @@
 
 
 http://www.w3.org/2001/XInclude;
-href="../chapter06/binutils.xml"
+href="../chapter08/binutils.xml"
 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
 
 

Modified: branches/cross2/chapter07/bison.xml
==
--- branches/cross2/chapter07/bison.xml Mon Jun  8 00:49:58 2020(r11900)
+++ branches/cross2/chapter07/bison.xml Mon Jun  8 01:12:16 2020(r11901)
@@ -25,7 +25,7 @@
 
 
 http://www.w3.org/2001/XInclude;
-href="../chapter06/bison.xml"
+href="../chapter08/bison.xml"
 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
 
 

Modified: branches/cross2/chapter07/bzip2.xml
==
--- branches/cross2/chapter07/bzip2.xml Mon Jun  8 00:49:58 2020(r11900)
+++ branches/cross2/chapter07/bzip2.xml Mon Jun  8 01:12:16 2020(r11901)
@@ -25,7 +25,7 @@
 
 
 http://www.w3.org/2001/XInclude;
-href="../chapter06/bzip2.xml"
+href="../chapter08/bzip2.xml"
 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
 
 

Modified: branches/cross2/chapter07/coreutils.xml
==
--- branches/

[lfs-book] r11900 - branches/cross2/chapter05

2020-06-08 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  8 00:49:58 2020
New Revision: 11900

Log:
Remove unneeded files in chapter 5

Deleted:
   branches/cross2/chapter05/bash.xml
   branches/cross2/chapter05/binutils-pass2.xml
   branches/cross2/chapter05/bison.xml
   branches/cross2/chapter05/bzip2.xml
   branches/cross2/chapter05/changingowner.xml
   branches/cross2/chapter05/chroot.xml
   branches/cross2/chapter05/coreutils.xml
   branches/cross2/chapter05/createfiles.xml
   branches/cross2/chapter05/creatingdirs.xml
   branches/cross2/chapter05/dejagnu.xml
   branches/cross2/chapter05/diffutils.xml
   branches/cross2/chapter05/expect.xml
   branches/cross2/chapter05/file.xml
   branches/cross2/chapter05/findutils.xml
   branches/cross2/chapter05/flex.xml
   branches/cross2/chapter05/gawk.xml
   branches/cross2/chapter05/gcc-pass2.xml
   branches/cross2/chapter05/gettext.xml
   branches/cross2/chapter05/grep.xml
   branches/cross2/chapter05/gzip.xml
   branches/cross2/chapter05/kernfs.xml
   branches/cross2/chapter05/libstdc++-pass2.xml
   branches/cross2/chapter05/m4.xml
   branches/cross2/chapter05/make.xml
   branches/cross2/chapter05/ncurses.xml
   branches/cross2/chapter05/patch.xml
   branches/cross2/chapter05/perl.xml
   branches/cross2/chapter05/python.xml
   branches/cross2/chapter05/sed.xml
   branches/cross2/chapter05/stripping.xml
   branches/cross2/chapter05/tar.xml
   branches/cross2/chapter05/tcl.xml
   branches/cross2/chapter05/texinfo.xml
   branches/cross2/chapter05/util-linux.xml
   branches/cross2/chapter05/xz.xml
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11899 - branches/cross2/chapter05

2020-06-08 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  8 00:18:58 2020
New Revision: 11899

Log:
Fix a reference in toolchain notes

Modified:
   branches/cross2/chapter05/toolchaintechnotes.xml

Modified: branches/cross2/chapter05/toolchaintechnotes.xml
==
--- branches/cross2/chapter05/toolchaintechnotes.xmlSun Jun  7 18:33:14 
2020(r11898)
+++ branches/cross2/chapter05/toolchaintechnotes.xmlMon Jun  8 00:18:58 
2020(r11899)
@@ -321,12 +321,12 @@
 the configure options.
 
 Upon entering the chroot environment in , the first task is to install
+linkend="chapter-chroot-temporary-tools"/>, the first task is to install
 libstdc++. Then temporary installations of programs needed for the proper
 operation of the toolchain are performed. Programs needed for testing
 other programs are also built. From this point onwards, the
-core toolchain is self-contained and self-hosted.  In the remainder of
-the , final versions of all the
+core toolchain is self-contained and self-hosted.  In 
+, final versions of all the
 packages needed for a fully functional system are built, tested and
 installed.
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11896 - in branches/cross-chap5: . appendices chapter01 chapter03 chapter06

2020-06-04 Thread pierre--- via lfs-book
Author: pierre
Date: Wed Jun  3 23:51:00 2020
New Revision: 11896

Log:
Update to upstream r11895

Modified:
   branches/cross-chap5/appendices/dependencies.xml
   branches/cross-chap5/chapter01/changelog.xml
   branches/cross-chap5/chapter03/patches.xml
   branches/cross-chap5/chapter06/libelf.xml
   branches/cross-chap5/chapter06/systemd.xml
   branches/cross-chap5/general.ent
   branches/cross-chap5/packages.ent
   branches/cross-chap5/patches.ent

Modified: branches/cross-chap5/appendices/dependencies.xml
==
--- branches/cross-chap5/appendices/dependencies.xmlWed Jun  3 19:34:40 
2020(r11895)
+++ branches/cross-chap5/appendices/dependencies.xmlWed Jun  3 23:51:00 
2020(r11896)
@@ -1303,8 +1303,8 @@
 
 
 
- Bash, Bison, Coreutils, Flex, GCC, Glibc, Make,
- and Linux API Headers
+ Bash, Bison, Coreutils, Flex, GCC, Glibc, Make, Libcap,
+ Libelf, and Linux API Headers
 
   
 
@@ -1328,7 +1328,7 @@
 
 
 
-  None
+  Berkeley DB and Iptables
 
   
 
@@ -1464,7 +1464,7 @@
 
 
 
-  Shadow
+  IProute2 and Shadow
 
   
 
@@ -1499,7 +1499,7 @@
 
 
 
-  Linux Kernel
+  IProute2 and Linux Kernel
 
   
 

Modified: branches/cross-chap5/chapter01/changelog.xml
==
--- branches/cross-chap5/chapter01/changelog.xmlWed Jun  3 19:34:40 
2020(r11895)
+++ branches/cross-chap5/chapter01/changelog.xmlWed Jun  3 23:51:00 
2020(r11896)
@@ -42,6 +42,37 @@
  or  as
 appropriate for the entry or if needed the entire day's listitem.
 -->
+
+
+  2020-06-03
+  
+
+  [renodr] - Fix systemd's build with GCC-10 with a patch instead
+  of CFLAGS.
+
+
+  [renodr] - Update to perl-5.30.3 (security update). Fixes
+  #4664.
+
+
+  [renodr] - Update to dbus-1.12.18 (security update). Fixes
+  #4665.
+
+
+  [renodr] - Update to man-db-2.9.2. Fixes
+  #4663.
+
+
+  [renodr] - Update to libcap-2.36. Fixes
+  #4666.
+
+
+  [renodr] - Update to bison-3.6.3. Fixes
+  #4667.
+
+  
+
+
 
   2020-05-31
   

Modified: branches/cross-chap5/chapter03/patches.xml
==
--- branches/cross-chap5/chapter03/patches.xml  Wed Jun  3 19:34:40 2020
(r11895)
+++ branches/cross-chap5/chapter03/patches.xml  Wed Jun  3 23:51:00 2020
(r11896)
@@ -133,6 +133,15 @@
   
 
 -->
+
+
+  Systemd GCC-10 Patch - 
:
+  
+Download: 
+MD5 sum: 
+  
+
+
   
 
   Total size of these patches: about 

Modified: branches/cross-chap5/chapter06/libelf.xml
==
--- branches/cross-chap5/chapter06/libelf.xml   Wed Jun  3 19:34:40 2020
(r11895)
+++ branches/cross-chap5/chapter06/libelf.xml   Wed Jun  3 23:51:00 2020
(r11896)
@@ -56,7 +56,7 @@
 
 make check
 
-One test, run-elfclassify.sh, is known to fail.
+
 
 Install only Libelf:
 

Modified: branches/cross-chap5/chapter06/systemd.xml
==
--- branches/cross-chap5/chapter06/systemd.xml  Wed Jun  3 19:34:40 2020
(r11895)
+++ branches/cross-chap5/chapter06/systemd.xml  Wed Jun  3 23:51:00 2020
(r11896)
@@ -39,12 +39,11 @@
 
   
 Installation of systemd
-
+First, apply a patch to fix the build with GCC-10:
+
+patch -Np1 -i 
../systemd--gcc_10-fixes-1.patch
+
 
 Create a symlink to work around missing xsltproc:
 
@@ -73,7 +72,6 @@
 meson --prefix=/usr \
   --sysconfdir=/etc \
   --localstatedir=/var  \
-  -Dc_args=-Wno-format-overflow \
   -Dblkid=true  \
   -Dbuildtype=release   \
   -Ddefault-dnssec=no   \
@@ -98,6 +96,7 @@
 
   The meaning of the meson options:
 
+
 
   
 -D*-path=*

Modified: branches/cross-chap5/general.ent
==
--- branches/cross-chap5/general.entWed Jun  3 19:34:40 2020(r11895)
+++ branches/cross-chap5/general.entWed Jun  3 23:51:00 2020(r11896)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 

Modified: branches/cross-chap5/packages.ent
==
--- branches/cross-chap5/packages.ent   Wed Jun  3 19:34:40 2020(r11895)
+++ branches/cross-chap5/packages.ent   Wed Jun  3 23

[lfs-book] r11893 - in branches/cross-chap5: chapter03 chapter07

2020-06-02 Thread pierre--- via lfs-book
Author: pierre
Date: Tue Jun  2 21:57:46 2020
New Revision: 11893

Log:
Update to upstream r11892

Modified:
   branches/cross-chap5/chapter03/introduction.xml
   branches/cross-chap5/chapter07/network.xml
   branches/cross-chap5/chapter07/networkd.xml

Modified: branches/cross-chap5/chapter03/introduction.xml
==
--- branches/cross-chap5/chapter03/introduction.xml Mon Jun  1 13:38:04 
2020(r11892)
+++ branches/cross-chap5/chapter03/introduction.xml Tue Jun  2 21:57:46 
2020(r11893)
@@ -49,9 +49,28 @@
 
 chmod -v a+wt 
$LFS/sources
 
-  An easy way to download all of the packages and patches is by using
-  wget-list as an input to
-  wget. For example:
+  There are several ways to optain all the necessary packages and patches
+  to build LFS:
+
+  
+
+  The files can be downloaded individually as described in the 
+  next two sections.
+
+
+  For stable versions of the book, a tarball of all the needed files 
+  can be downloaded from one of the LFS files mirrors listed at
+  http://www.linuxfromscratch.org/mirrors.html#files"/>.
+
+
+  The files can be downloaded using wget and
+  a wget-list as described below.
+
+  
+
+  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
 
@@ -61,7 +80,10 @@
   $LFS/sources and run:
 
 pushd $LFS/sources
-md5sum -c md5sums
+  md5sum -c md5sums
 popd
 
+  This check can be used after retrieving the needed files with any of 
the 
+  methods listed above.
+
 

Modified: branches/cross-chap5/chapter07/network.xml
==
--- branches/cross-chap5/chapter07/network.xml  Mon Jun  1 13:38:04 2020
(r11892)
+++ branches/cross-chap5/chapter07/network.xml  Tue Jun  2 21:57:46 2020
(r11893)
@@ -208,7 +208,7 @@
 cat  /etc/hosts  "EOF"
 # Begin /etc/hosts
 
-127.0.0.1 localhost
+127.0.0.1 localhost.localdomain localhost
 127.0.1.1 FQDN 
HOSTNAME
 192.168.1.1 
FQDN 
HOSTNAME [alias1] [alias2 
...]
 ::1   localhost ip6-localhost ip6-loopback

Modified: branches/cross-chap5/chapter07/networkd.xml
==
--- branches/cross-chap5/chapter07/networkd.xml Mon Jun  1 13:38:04 2020
(r11892)
+++ branches/cross-chap5/chapter07/networkd.xml Tue Jun  2 21:57:46 2020
(r11893)
@@ -294,7 +294,7 @@
 cat  /etc/hosts  "EOF"
 # Begin /etc/hosts
 
-127.0.0.1 localhost
+127.0.0.1 localhost.localdomain localhost
 127.0.1.1 FQDN 
HOSTNAME
 ::1   localhost ip6-localhost ip6-loopback
 ff02::1   ip6-allnodes
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11888 - branches/cross-chap5/chapter01

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 07:35:49 2020
New Revision: 11888

Log:
Rewrite "How to Build an LFS System" for cross chapter 5

Modified:
   branches/cross-chap5/chapter01/how.xml

Modified: branches/cross-chap5/chapter01/how.xml
==
--- branches/cross-chap5/chapter01/how.xml  Mon Jun  1 07:30:32 2020
(r11887)
+++ branches/cross-chap5/chapter01/how.xml  Mon Jun  1 07:35:49 2020
(r11888)
@@ -52,31 +52,36 @@
   or to unpack the tar package, you need tar.
 
also shows you how to
-  build a first pass of the toolchain, including Binutils and GCC (first pass
-  basically means these two core packages will be reinstalled).
+  build a C cross-compiling toolchain as a first step, including binutils
+  and GCC. Cross-compiling is not absolutely needed since the machine we'll
+  run LFS on is the same as the one we build on, but it has the advantage
+  of clearly separating the already installed system and the future LFS one.
   The next step is to build Glibc, the C library. Glibc will be compiled by
-  the toolchain programs built in the first pass. Then, a second pass of the
-  toolchain will be built. This time, the toolchain will be dynamically linked
-  against the newly built Glibc. The remaining  packages are built using this second
-  pass toolchain. When this is done, the LFS installation process will no
-  longer depend on the host distribution, with the exception of the running
-  kernel. 
+  the toolchain programs built previously. Then, the missing bits for a
+  C++ cross-compiling toolchain will be built. It is then possible to build
+  packages that are needed to resolve circular dependencies in such a way
+  that the produced executables and libraries are completely independent
+  from the installed distribution.
+
+  The remainder of  adds
+  the packages necessary to get a complete build environment. This is done
+  after running the chroot (change root) program to enter
+  a virtual environment and start a new shell whose root directory will be
+  set to the LFS partition. This is very similar to rebooting and instructing
+  the kernel to mount the LFS partition as the root partition. The system
+  does not actually reboot, but instead uses chroot
+  because creating a bootable system requires additional work which is not 
+  ecessary just yet. The major advantage is that chrooting
+  allows to isolate the build process from the installed distribution, while
+  using the installed kernel.
 
   This effort to isolate the new system from the host distribution may
   seem excessive. A full technical explanation as to why this is done is
   provided in .
 
-   begins with installing the
-  remaining packages needed to build and test the final toolchain. Then, the
-  full LFS system is built. But first, the chroot (change
-  root) program is used to enter a virtual environment and start a new shell
-  whose root directory will be set to the LFS partition. This is very similar
-  to rebooting and instructing the kernel to mount the LFS partition as the
-  root partition. The system does not actually reboot, but instead uses
-  chroot because creating a bootable system requires
-  additional work which is not necessary just yet. The major advantage is
-  that chrooting allows you to continue using the host system
+  In , The
+  full LFS system is built. Another advantage provided by the chroot
+  environment is that it allows you to continue using the host system
   while LFS is being built. While waiting for package compilations to
   complete, you can continue using your computer as normal.
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11889 - in branches/cross-chap5: chapter01 chapter06

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 07:38:33 2020
New Revision: 11889

Log:
Update to upstream r11887

Modified:
   branches/cross-chap5/chapter01/changelog.xml
   branches/cross-chap5/chapter06/bash.xml

Modified: branches/cross-chap5/chapter01/changelog.xml
==
--- branches/cross-chap5/chapter01/changelog.xmlMon Jun  1 07:35:49 
2020(r11888)
+++ branches/cross-chap5/chapter01/changelog.xmlMon Jun  1 07:38:33 
2020(r11889)
@@ -58,6 +58,17 @@
   2020-05-29
   
 
+  [xry111] - Move flex earlier in chapter 6, so that binutils
+  can use it.
+
+
+  [xry111] - Remove bzip2 and flex from chapter 5.
+
+
+  [xry111] - Move zstd earlier in chapter 6, so that file and
+  GCC can use it.
+
+
   [bdubbs] - Run sed and findutils tests as an
   unprivileged user. Fixes
   #4661.

Modified: branches/cross-chap5/chapter06/bash.xml
==
--- branches/cross-chap5/chapter06/bash.xml Mon Jun  1 07:35:49 2020
(r11888)
+++ branches/cross-chap5/chapter06/bash.xml Mon Jun  1 07:38:33 2020
(r11889)
@@ -83,14 +83,14 @@
 su tester  EOF
 PATH=$PATH make tests  $(tty)
 EOF
-
+
 Install the package and move the main executable to
 /bin:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 07:30:32 2020
New Revision: 11887

Log:
Document xry111 changes in changelog, and remove the paragraph about bash test
results (they all pass now)

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/bash.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Mon Jun  1 05:21:38 2020(r11886)
+++ trunk/BOOK/chapter01/changelog.xml  Mon Jun  1 07:30:32 2020(r11887)
@@ -58,6 +58,17 @@
   2020-05-29
   
 
+  [xry111] - Move flex earlier in chapter 6, so that binutils
+  can use it.
+
+
+  [xry111] - Remove bzip2 and flex from chapter 5.
+
+
+  [xry111] - Move zstd earlier in chapter 6, so that file and
+  GCC can use it.
+
+
   [bdubbs] - Run sed and findutils tests as an
   unprivileged user. Fixes
   #4661.

Modified: trunk/BOOK/chapter06/bash.xml
==
--- trunk/BOOK/chapter06/bash.xml   Mon Jun  1 05:21:38 2020(r11886)
+++ trunk/BOOK/chapter06/bash.xml   Mon Jun  1 07:30:32 2020(r11887)
@@ -83,14 +83,14 @@
 su tester  EOF
 PATH=$PATH make tests  $(tty)
 EOF
-
+
 Install the package and move the main executable to
 /bin:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11886 - branches/cross-chap5/stylesheets/lfs-xsl

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 05:21:38 2020
New Revision: 11886

Log:
Update to upstream r11885

Modified:
   branches/cross-chap5/stylesheets/lfs-xsl/lfs.css

Modified: branches/cross-chap5/stylesheets/lfs-xsl/lfs.css
==
--- branches/cross-chap5/stylesheets/lfs-xsl/lfs.cssMon Jun  1 02:45:53 
2020(r11885)
+++ branches/cross-chap5/stylesheets/lfs-xsl/lfs.cssMon Jun  1 05:21:38 
2020(r11886)
@@ -162,6 +162,8 @@
 
 div.navheader {
   border-bottom: 1px solid #dbddec;
+   position: sticky;
+   top: 0;
 }
 
 div.navfooter {
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11885 - in branches/cross-chap5: chapter05 chapter06

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 02:45:53 2020
New Revision: 11885

Log:
Fixes due to the new layout

Modified:
   branches/cross-chap5/chapter05/chapter05.xml
   branches/cross-chap5/chapter06/bzip2.xml

Modified: branches/cross-chap5/chapter05/chapter05.xml
==
--- branches/cross-chap5/chapter05/chapter05.xmlSun May 31 13:15:18 
2020(r11884)
+++ branches/cross-chap5/chapter05/chapter05.xmlMon Jun  1 02:45:53 
2020(r11885)
@@ -44,7 +44,7 @@
   http://www.w3.org/2001/XInclude; 
href="createfiles.xml"/>
   http://www.w3.org/2001/XInclude; 
href="libstdc++-pass2.xml"/>
   http://www.w3.org/2001/XInclude; href="bison.xml"/>
-  http://www.w3.org/2001/XInclude; href="flex.xml"/>
+
   http://www.w3.org/2001/XInclude; href="gettext.xml"/>
   http://www.w3.org/2001/XInclude; href="perl.xml"/>
   http://www.w3.org/2001/XInclude; href="python.xml"/>

Modified: branches/cross-chap5/chapter06/bzip2.xml
==
--- branches/cross-chap5/chapter06/bzip2.xmlSun May 31 13:15:18 2020
(r11884)
+++ branches/cross-chap5/chapter06/bzip2.xmlMon Jun  1 02:45:53 2020
(r11885)
@@ -90,7 +90,10 @@
 
 cp -v bzip2-shared /bin/bzip2
 cp -av libbz2.so* /lib
-rm -v /usr/bin/{bunzip2,bzcat,bzip2}
+ln -sv ../../lib/libbz2.so.1.0 $LFS/usr/lib/libbz2.so
+rm -v /usr/bin/{bunzip2,bzcat,bzip2}
+ln -sv bzip2 /bin/bunzip2
+ln -sv bzip2 /bin/bzcat
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11883 - in branches/cross-chap5: . chapter01 chapter05 chapter06

2020-05-31 Thread pierre--- via lfs-book
Author: pierre
Date: Sun May 31 13:01:42 2020
New Revision: 11883

Log:
Update to upstream r11882

Modified:
   branches/cross-chap5/chapter01/changelog.xml
   branches/cross-chap5/chapter05/createfiles.xml
   branches/cross-chap5/chapter06/bash.xml
   branches/cross-chap5/chapter06/coreutils.xml
   branches/cross-chap5/general.ent

Modified: branches/cross-chap5/chapter01/changelog.xml
==
--- branches/cross-chap5/chapter01/changelog.xmlSun May 31 12:38:18 
2020(r11882)
+++ branches/cross-chap5/chapter01/changelog.xmlSun May 31 13:01:42 
2020(r11883)
@@ -43,6 +43,18 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-05-31
+  
+
+  [pierre] - Fix bash tests: add a couple of symlinks
+  from /bin to /tools, create the tester user with the uid of
+  the tty owner, run the bash tests with su  EOF, and
+  explicitely defining stdin (with help from thomas and bdubbs).
+
+  
+
+
+
   2020-05-29
   
 

Modified: branches/cross-chap5/chapter05/createfiles.xml
==
--- branches/cross-chap5/chapter05/createfiles.xml  Sun May 31 12:38:18 
2020(r11882)
+++ branches/cross-chap5/chapter05/createfiles.xml  Sun May 31 13:01:42 
2020(r11883)
@@ -160,7 +160,7 @@
   user. We add this user here and delete this account at the end of that
   chapter.
 
-echo "tester:x:101:101::/home/tester:/bin/bash"  
/etc/passwd
+echo "tester:x:$(ls -n $(tty) | cut -d" " 
-f3):101::/home/tester:/bin/bash"  /etc/passwd
 echo "tester:x:101:"  /etc/group
 install -o tester -d /home/tester
 

Modified: branches/cross-chap5/chapter06/bash.xml
==
--- branches/cross-chap5/chapter06/bash.xml Sun May 31 12:38:18 2020
(r11882)
+++ branches/cross-chap5/chapter06/bash.xml Sun May 31 13:01:42 2020
(r11883)
@@ -80,7 +80,9 @@
 Now, run the tests as the tester user:
 
-su tester -c "PATH=$PATH make 
tests"
+su tester  EOF
+PATH=$PATH make tests  $(tty)
+EOF
 
 The tester
 user does not have enough permissions for all the tests to pass. This shows

Modified: branches/cross-chap5/chapter06/coreutils.xml
==
--- branches/cross-chap5/chapter06/coreutils.xmlSun May 31 12:38:18 
2020(r11882)
+++ branches/cross-chap5/chapter06/coreutils.xmlSun May 31 13:01:42 
2020(r11883)
@@ -116,7 +116,7 @@
 these tests are not skipped we'll add a temporary group and make the
 user tester a part of it:
 
-echo "dummy:x:1000:tester"  
/etc/group
+echo "dummy:x:102:tester"  
/etc/group
 
 Fix some of the permissions so that the non-root user can compile and
 run the tests:

Modified: branches/cross-chap5/general.ent
==
--- branches/cross-chap5/general.entSun May 31 12:38:18 2020(r11882)
+++ branches/cross-chap5/general.entSun May 31 13:01:42 2020(r11883)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11881 - in trunk/BOOK: . chapter01 chapter06

2020-05-31 Thread pierre--- via lfs-book
Author: pierre
Date: Sun May 31 10:33:35 2020
New Revision: 11881

Log:
Fixes for bash tests

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/bash.xml
   trunk/BOOK/chapter06/coreutils.xml
   trunk/BOOK/chapter06/createfiles.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sat May 30 21:10:51 2020(r11880)
+++ trunk/BOOK/chapter01/changelog.xml  Sun May 31 10:33:35 2020(r11881)
@@ -43,6 +43,18 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-05-31
+  
+
+  [pierre] - Fix bash tests: add a couple of symlinks
+  from /bin to /tools, create the tester user with the uid of
+  the tty owner, run the bash tests with su  EOF, and
+  explicitely defining stdin (with help from thomas and bdubbs).
+
+  
+
+
+
   2020-05-29
   
 

Modified: trunk/BOOK/chapter06/bash.xml
==
--- trunk/BOOK/chapter06/bash.xml   Sat May 30 21:10:51 2020(r11880)
+++ trunk/BOOK/chapter06/bash.xml   Sun May 31 10:33:35 2020(r11881)
@@ -80,7 +80,9 @@
 Now, run the tests as the tester user:
 
-su tester -c "PATH=$PATH make 
tests"
+su tester  EOF
+PATH=$PATH make tests  $(tty)
+EOF
 
 The tester
 user does not have enough permissions for all the tests to pass. This shows

Modified: trunk/BOOK/chapter06/coreutils.xml
==
--- trunk/BOOK/chapter06/coreutils.xml  Sat May 30 21:10:51 2020(r11880)
+++ trunk/BOOK/chapter06/coreutils.xml  Sun May 31 10:33:35 2020(r11881)
@@ -116,7 +116,7 @@
 these tests are not skipped we'll add a temporary group and make the
 user tester a part of it:
 
-echo "dummy:x:1000:tester"  
/etc/group
+echo "dummy:x:102:tester"  
/etc/group
 
 Fix some of the permissions so that the non-root user can compile and
 run the tests:

Modified: trunk/BOOK/chapter06/createfiles.xml
==
--- trunk/BOOK/chapter06/createfiles.xmlSat May 30 21:10:51 2020
(r11880)
+++ trunk/BOOK/chapter06/createfiles.xmlSun May 31 10:33:35 2020
(r11881)
@@ -39,7 +39,7 @@
   will be replaced by real files throughout the course of this chapter after 
the
   software has been installed:
 
-ln -sv 
/tools/bin/{bash,cat,chmod,dd,echo,ln,mkdir,pwd,rm,stty,touch} /bin
+ln -sv 
/tools/bin/{bash,cat,chmod,dd,echo,false,ln,ls,mkdir,pwd,rm,stty,touch} /bin
 ln -sv /tools/bin/{env,install,perl,printf} /usr/bin
 ln -sv /tools/lib/libgcc_s.so{,.1}  /usr/lib
 ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib
@@ -334,7 +334,7 @@
   Some tests later in the chapter need a regular user. We add this
   user here and delete this account at the end of the chapter.
 
-echo "tester:x:101:101::/home/tester:/bin/bash"  
/etc/passwd
+echo "tester:x:$(ls -n $(tty) | cut -d" " 
-f3):101::/home/tester:/bin/bash"  /etc/passwd
 echo "tester:x:101:"  /etc/group
 install -o tester -d /home/tester
 

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Sat May 30 21:10:51 2020(r11880)
+++ trunk/BOOK/general.ent  Sun May 31 10:33:35 2020(r11881)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11878 - in branches/cross-chap5: . appendices chapter01 chapter03 chapter05 chapter06 chapter08

2020-05-30 Thread pierre--- via lfs-book
Author: pierre
Date: Sat May 30 11:22:47 2020
New Revision: 11878

Log:
Update to trunk r11877

Modified:
   branches/cross-chap5/appendices/dependencies.xml
   branches/cross-chap5/chapter01/changelog.xml
   branches/cross-chap5/chapter01/whatsnew.xml
   branches/cross-chap5/chapter03/patches.xml
   branches/cross-chap5/chapter05/chapter05.xml
   branches/cross-chap5/chapter05/createfiles.xml
   branches/cross-chap5/chapter05/kernfs.xml
   branches/cross-chap5/chapter06/automake.xml
   branches/cross-chap5/chapter06/bash.xml
   branches/cross-chap5/chapter06/binutils.xml
   branches/cross-chap5/chapter06/chapter06.xml
   branches/cross-chap5/chapter06/coreutils.xml
   branches/cross-chap5/chapter06/findutils.xml
   branches/cross-chap5/chapter06/gcc.xml
   branches/cross-chap5/chapter06/make.xml
   branches/cross-chap5/chapter06/revisedchroot.xml
   branches/cross-chap5/chapter06/sed.xml
   branches/cross-chap5/chapter06/util-linux.xml
   branches/cross-chap5/chapter06/vim.xml
   branches/cross-chap5/chapter08/kernel.xml
   branches/cross-chap5/general.ent
   branches/cross-chap5/packages.ent
   branches/cross-chap5/patches.ent

Modified: branches/cross-chap5/appendices/dependencies.xml
==
--- branches/cross-chap5/appendices/dependencies.xmlSat May 30 11:14:52 
2020(r11877)
+++ branches/cross-chap5/appendices/dependencies.xmlSat May 30 11:22:47 
2020(r11878)
@@ -780,7 +780,7 @@
 
 
 
-  None
+  Binutils, IProute2, Kbd, Kmod, and Man-DB
 
   
 
@@ -837,7 +837,7 @@
 
  Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC,
  Gettext, Glibc, GMP, Grep, M4, Make, MPC, MPFR, Patch, Perl, Sed, Tar,
- and Texinfo
+ Texinfo, and Zstd
 
   
 
@@ -911,7 +911,7 @@
 
 
  Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make,
- Sed, and Texinfo
+ Ncurses, Sed, and Texinfo
 
   
 
@@ -2786,7 +2786,7 @@
 
 
 
-  None
+  GCC
 
   
 

Modified: branches/cross-chap5/chapter01/changelog.xml
==
--- branches/cross-chap5/chapter01/changelog.xmlSat May 30 11:14:52 
2020(r11877)
+++ branches/cross-chap5/chapter01/changelog.xmlSat May 30 11:22:47 
2020(r11878)
@@ -43,6 +43,84 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-05-29
+  
+
+  [bdubbs] - Run sed and findutils tests as an
+  unprivileged user. Fixes
+  #4661.
+
+  
+
+
+
+  2020-05-28
+  
+
+  [bdubbs] - Add an unprivileged user, tester, at the 
+  beginning of Chapter 6 for running some tests.  This
+  user is then removed at the end of the chapter.
+
+
+  [bdubbs] - Update to zstd-1.4.5. Fixes
+  #4660.
+
+
+  [bdubbs] - Update to util-linux-2.35.2. Fixes
+  #4659.
+
+
+  [bdubbs] - Update to bison-3.6.2. Fixes
+  #4657.
+
+
+  [pierre] - Update to linux-5.6.15. Fixes
+  #4658.
+
+  
+
+
+
+  2020-05-27
+  
+
+  [pierre] - Bash: document test results.
+
+  
+
+
+
+  2020-05-26
+  
+
+  [pierre] - Bash: do not use "su -c command" to change user
+  to nobody: it removes the controlling terminal and makes some
+  tests fail. Use "su  EOF" instead.
+
+
+  [pierre] - Mount /dev/pts with "--bind", so that "tty"
+  knows there is a terminal. Fixes a test in coreutils.
+
+
+  [pierre] - Add a patch to fix a failure in gold test suite,
+  which really needs -fcommon in some tests.
+
+
+  [pierre] - Fix a failure in automake test suite.
+
+
+  [pierre] - Update to vim-8.2.0814.
+
+
+  [pierre] - Add a symlink from /tools/lib/locale
+  to /usr/lib/locale/locale-archive, to allow some programs
+  to find the installed locales. Fixes test failures in bison
+  and man-db.
+
+  
+
+
+
   2020-05-21
   
 

Modified: branches/cross-chap5/chapter01/whatsnew.xml
==
--- branches/cross-chap5/chapter01/whatsnew.xml Sat May 30 11:14:52 2020
(r11877)
+++ branches/cross-chap5/chapter01/whatsnew.xml Sat May 30 11:22:47 2020
(r11878)
@@ -242,9 +242,9 @@
 
   Tzdata-
 
-
+
 
   Vim-
 
@@ -257,9 +257,9 @@
 
-
+
   
 
   
+
 
   Bzip2 Documentation Patch -

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

2020-05-30 Thread pierre--- via lfs-book
Author: pierre
Date: Sat May 30 11:14:52 2020
New Revision: 11877

Log:
Fix groups for user tester, and a forgotten tester in sed tests

Modified:
   trunk/BOOK/chapter06/coreutils.xml
   trunk/BOOK/chapter06/createfiles.xml
   trunk/BOOK/chapter06/sed.xml

Modified: trunk/BOOK/chapter06/coreutils.xml
==
--- trunk/BOOK/chapter06/coreutils.xml  Sat May 30 07:44:59 2020(r11876)
+++ trunk/BOOK/chapter06/coreutils.xml  Sat May 30 11:14:52 2020(r11877)
@@ -116,7 +116,7 @@
 these tests are not skipped we'll add a temporary group and make the
 user tester a part of it:
 
-echo "tester:x:1000:nogroup"  
/etc/group
+echo "dummy:x:1000:tester"  
/etc/group
 
 Fix some of the permissions so that the non-root user can compile and
 run the tests:
@@ -132,11 +132,11 @@
 partially built system environment like the chroot environment here, but
 passes if run at the end of this chapter.  The test program tty.sh is
 also known to fail.
+-->
 
 Remove the temporary group:
 
 sed -i '/dummy/d' 
/etc/group
--->
 Install the package:
 
 make install

Modified: trunk/BOOK/chapter06/createfiles.xml
==
--- trunk/BOOK/chapter06/createfiles.xmlSat May 30 07:44:59 2020
(r11876)
+++ trunk/BOOK/chapter06/createfiles.xmlSat May 30 11:14:52 2020
(r11877)
@@ -346,7 +346,7 @@
   user here and delete this account at the end of the chapter.
 
 echo "tester:x:101:101::/home/tester:/bin/bash"  
/etc/passwd
-echo "tester:x:101:dummy"  /etc/group
+echo "tester:x:101:"  /etc/group
 install -o tester -d /home/tester
 
   To remove the I have no name! prompt, start a new

Modified: trunk/BOOK/chapter06/sed.xml
==
--- trunk/BOOK/chapter06/sed.xmlSat May 30 07:44:59 2020(r11876)
+++ trunk/BOOK/chapter06/sed.xmlSat May 30 11:14:52 2020(r11877)
@@ -56,7 +56,7 @@
 To test the results, issue:
 
 chown -Rv tester .
-su -c "PATH=$PATH make check"
+su tester -c "PATH=$PATH make check"
 
 Install the package and its documentation:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-05-29 Thread pierre--- via lfs-book
Author: pierre
Date: Fri May 29 06:26:19 2020
New Revision: 11867

Log:
Merge the 2 role="installation" sections in util-linux, using the same layout
as for glibc to explain the FHS compliance. Note also that /var/lib/hwclock
only contains adjtime, so it is not a "storage location" IMHO.

Modified:
   trunk/BOOK/chapter06/util-linux.xml

Modified: trunk/BOOK/chapter06/util-linux.xml
==
--- trunk/BOOK/chapter06/util-linux.xml Fri May 29 05:01:17 2020(r11866)
+++ trunk/BOOK/chapter06/util-linux.xml Fri May 29 06:26:19 2020(r11867)
@@ -40,27 +40,16 @@
   
 
   
-FHS compliance notes
+Installation of Util-linux
 
 The FHS recommends using the /var/lib/hwclock directory instead of the
 usual /etc directory as the
-location for the adjtime file.  First create a 
directory
-to enable storage for the hwclock program:
+location for the adjtime file. Create this directory
+with:
 
 mkdir -pv /var/lib/hwclock
 
-  
-
-  
-Installation of Util-linux
-
-
 Remove the earlier created symlinks and files:
 
 rm -vf 
/usr/include/{blkid,libfdisk,libmount,uuid}
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-05-29 Thread pierre--- via lfs-book
Author: pierre
Date: Fri May 29 05:01:17 2020
New Revision: 11866

Log:
revert commit 11865: the book has really been updated to linux-5.6.15

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Fri May 29 01:07:41 2020(r11865)
+++ trunk/BOOK/chapter01/changelog.xml  Fri May 29 05:01:17 2020(r11866)
@@ -62,6 +62,10 @@
   [bdubbs] - Update to bison-3.6.2. Fixes
   #4657.
 
+
+  [pierre] - Update to linux-5.6.15. Fixes
+  #4658.
+
   
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-05-28 Thread pierre--- via lfs-book
Author: pierre
Date: Thu May 28 06:44:58 2020
New Revision: 11863

Log:
Changelog: fix a wrong directory, and a typo

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Thu May 28 00:47:18 2020(r11862)
+++ trunk/BOOK/chapter01/changelog.xml  Thu May 28 06:44:58 2020(r11863)
@@ -84,10 +84,10 @@
   [pierre] - Update to vim-8.2.0814.
 
 
-  [pierre] - Add a symlink from /tools/share/locale
-  to /usr/share/locale/locale-archive, to allow some programs
+  [pierre] - Add a symlink from /tools/lib/locale
+  to /usr/lib/locale/locale-archive, to allow some programs
   to find the installed locales. Fixes test failures in bison
-  and man-db;
+  and man-db.
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11862 - in trunk/BOOK: . chapter01 chapter08

2020-05-28 Thread pierre--- via lfs-book
Author: pierre
Date: Thu May 28 00:47:18 2020
New Revision: 11862

Log:
Update to linux-5.6.15

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter08/kernel.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Wed May 27 12:36:20 2020(r11861)
+++ trunk/BOOK/chapter01/changelog.xml  Thu May 28 00:47:18 2020(r11862)
@@ -43,6 +43,16 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-05-28
+  
+
+  [pierre] - Update to linux-5.6.15. Fixes
+  #4658.
+
+  
+
+
+
   2020-05-27
   
 

Modified: trunk/BOOK/chapter08/kernel.xml
==
--- trunk/BOOK/chapter08/kernel.xml Wed May 27 12:36:20 2020(r11861)
+++ trunk/BOOK/chapter08/kernel.xml Thu May 28 00:47:18 2020(r11862)
@@ -54,16 +54,6 @@
 kernel compilation. Do not rely on the source tree being clean after
 un-tarring.
 
-
-When using CONFIG_STACKPROTECTOR_STRONG=y, and
-compiling with GCC 10 and later, the default optimization is too
-aggressive, and generates a kernel panic when booting. This can be
-fixed with:
-
-sed -e '/cpu_startup/a asm("");' \
--i arch/x86/{kernel/smpboot.c,xen/smp_pv.c}
-
 
 
 Configure the kernel via a menu-driven interface. For general

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Wed May 27 12:36:20 2020(r11861)
+++ trunk/BOOK/general.ent  Thu May 28 00:47:18 2020(r11862)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 

Modified: trunk/BOOK/packages.ent
==
--- trunk/BOOK/packages.ent Wed May 27 12:36:20 2020(r11861)
+++ trunk/BOOK/packages.ent Thu May 28 00:47:18 2020(r11862)
@@ -425,12 +425,12 @@
 
 
 
-
+
 
 
-
+
 
-
+
 https://www.kernel.org/;>
 

[lfs-book] r11861 - in trunk/BOOK: . chapter01 chapter06

2020-05-27 Thread pierre--- via lfs-book
Author: pierre
Date: Wed May 27 12:36:20 2020
New Revision: 11861

Log:
Document bash test results

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/bash.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Wed May 27 00:51:55 2020(r11860)
+++ trunk/BOOK/chapter01/changelog.xml  Wed May 27 12:36:20 2020(r11861)
@@ -43,6 +43,15 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-05-27
+  
+
+  [pierre] - Bash: document test results.
+
+  
+
+
+
   2020-05-26
   
 

Modified: trunk/BOOK/chapter06/bash.xml
==
--- trunk/BOOK/chapter06/bash.xml   Wed May 27 00:51:55 2020(r11860)
+++ trunk/BOOK/chapter06/bash.xml   Wed May 27 12:36:20 2020(r11861)
@@ -89,6 +89,10 @@
 reason is that the -c option runs the command without
 a controlling terminal, while the bash test suite needs one.
 
+Nevertheless, the nobody
+user does not have enough permissions for all the tests to pass. This shows
+up in some diff output in four test results.
+
 Install the package and move the main executable to
 /bin:
 

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Wed May 27 00:51:55 2020(r11860)
+++ trunk/BOOK/general.ent  Wed May 27 12:36:20 2020(r11861)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11859 - in trunk/BOOK: . chapter01 chapter03 chapter06

2020-05-26 Thread pierre--- via lfs-book
Author: pierre
Date: Tue May 26 05:25:21 2020
New Revision: 11859

Log:
Fix various test failures:
- bison and man-db: use a symlink:
   tools/share/locale->/usr/share/locale/locale-archive
  so that the installed locales are found by programs not yet installed
  in /usr
- vim: upstade to 8.2.0814 (used for testing by several persons)
- sed in automake, fixes one test
- patch for gold: allows its testsuite to run
- mount /dev/pts as --bind: foxes a test in coreutils
- bash: use su << EOF instead of su -c, to keep a controlling terminal

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter06/automake.xml
   trunk/BOOK/chapter06/bash.xml
   trunk/BOOK/chapter06/binutils.xml
   trunk/BOOK/chapter06/coreutils.xml
   trunk/BOOK/chapter06/createfiles.xml
   trunk/BOOK/chapter06/kernfs.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent
   trunk/BOOK/patches.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sun May 24 08:34:40 2020(r11858)
+++ trunk/BOOK/chapter01/changelog.xml  Tue May 26 05:25:21 2020(r11859)
@@ -43,6 +43,37 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-05-26
+  
+
+  [pierre] - Bash: do not use "su -c command" to change user
+ to nobody: it removes the controlling terminal and makes some
+ tests fail. Use "su  EOF" instead.
+    
+
+  [pierre] - Mount /dev/pts with "--bind", so that "tty"
+  knows there is a terminal. Fixes a test in coreutils.
+
+
+  [pierre] - Add a patch to fix a failure in gold test suite,
+  which really needs -fcommon in some tests.
+
+
+  [pierre] - Fix a failure in automake test suite.
+
+
+  [pierre] - Update to vim-8.2.0814.
+
+
+  [pierre] - Add a symlink from /tools/share/locale
+  to /usr/share/locale/locale-archive, to allow some programs
+  to find the installed locales. Fixes test failures in bison
+  and man-db;
+
+  
+
+
+
   2020-05-21
   
 

Modified: trunk/BOOK/chapter03/patches.xml
==
--- trunk/BOOK/chapter03/patches.xmlSun May 24 08:34:40 2020(r11858)
+++ trunk/BOOK/chapter03/patches.xmlTue May 26 05:25:21 2020(r11859)
@@ -26,15 +26,15 @@
   
 
 
-
+
 
   Bzip2 Documentation Patch - 
:
   

Modified: trunk/BOOK/chapter06/automake.xml
==
--- trunk/BOOK/chapter06/automake.xml   Sun May 24 08:34:40 2020(r11858)
+++ trunk/BOOK/chapter06/automake.xml   Tue May 26 05:25:21 2020(r11859)
@@ -41,6 +41,10 @@
   
 Installation of Automake
 
+Fix a failing test:
+
+sed -i "s/''/etags/"  
t/tags-lisp-space.sh
+
 Prepare Automake for compilation:
 
 ./configure --prefix=/usr 
--docdir=/usr/share/doc/automake-

Modified: trunk/BOOK/chapter06/bash.xml
==
--- trunk/BOOK/chapter06/bash.xml   Sun May 24 08:34:40 2020(r11858)
+++ trunk/BOOK/chapter06/bash.xml   Tue May 26 05:25:21 2020(r11859)
@@ -80,7 +80,14 @@
 Now, run the tests as the nobody user:
 
-su nobody -s /bin/bash -c "PATH=$PATH 
HOME=/home make tests"
+su nobody -s /bin/bash  EOF
+PATH=$PATH HOME=/home make tests
+EOF
+
+The su command above is slightly different from
+other places in the book. The
+reason is that the -c option runs the command without
+a controlling terminal, while the bash test suite needs one.
 
 Install the package and move the main executable to
 /bin:

Modified: trunk/BOOK/chapter06/binutils.xml
==
--- trunk/BOOK/chapter06/binutils.xml   Sun May 24 08:34:40 2020(r11858)
+++ trunk/BOOK/chapter06/binutils.xml   Tue May 26 05:25:21 2020(r11859)
@@ -58,9 +58,11 @@
 Ask your system administrator to create more.
 
 Now remove one test that prevents the tests from running
-to completion:
+to completion, and fix other tests in the gold test suite, which
+need to be adjusted for GCC 10:
 
-sed -i '/@\tincremental_copy/d' 
gold/testsuite/Makefile.in
+sed -i '/@\tincremental_copy/d' 
gold/testsuite/Makefile.in
+patch -Np1 -i 
../binutils--gcc10_gold_test_fix-1.patch
 
 The Binutils documentation recommends building Binutils 
 in a dedicated build directory:
@@ -157,7 +159,7 @@
 
 make -k check
 
-The ver_test_pr16504.sh test is known to fail.
+
 
 

[lfs-book] r11857 - in branches/cross-chap5: appendices chapter01

2020-05-23 Thread pierre--- via lfs-book
Author: pierre
Date: Sat May 23 04:35:18 2020
New Revision: 11857

Log:
merge trunk up to r11856

Modified:
   branches/cross-chap5/appendices/dependencies.xml
   branches/cross-chap5/chapter01/changelog.xml

Modified: branches/cross-chap5/appendices/dependencies.xml
==
--- branches/cross-chap5/appendices/dependencies.xmlSat May 23 04:13:07 
2020(r11856)
+++ branches/cross-chap5/appendices/dependencies.xmlSat May 23 04:35:18 
2020(r11857)
@@ -285,7 +285,7 @@
 
 
 
-  None
+  Debuginfod
 
   
 

Modified: branches/cross-chap5/chapter01/changelog.xml
==
--- branches/cross-chap5/chapter01/changelog.xmlSat May 23 04:13:07 
2020(r11856)
+++ branches/cross-chap5/chapter01/changelog.xmlSat May 23 04:35:18 
2020(r11857)
@@ -98,6 +98,9 @@
   2020-05-08
   
 
+  [bdubbs] - Update to vim-8.2.0716.
+
+
   [bdubbs] - Update to bison-3.6. Fixes
   #4652.
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-05-23 Thread pierre--- via lfs-book
Author: pierre
Date: Sat May 23 04:13:07 2020
New Revision: 11856

Log:
Add missing changelog entry

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Thu May 21 21:16:30 2020(r11855)
+++ trunk/BOOK/chapter01/changelog.xml  Sat May 23 04:13:07 2020(r11856)
@@ -88,6 +88,9 @@
   2020-05-08
   
 
+  [bdubbs] - Update to vim-8.2.0716.
+
+
   [bdubbs] - Update to bison-3.6. Fixes
   #4652.
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11853 - in branches/cross-chap5: . chapter01 chapter08

2020-05-21 Thread pierre--- via lfs-book
Author: pierre
Date: Thu May 21 03:02:22 2020
New Revision: 11853

Log:
Merge trunk r11852

Modified:
   branches/cross-chap5/chapter01/changelog.xml
   branches/cross-chap5/chapter08/kernel.xml
   branches/cross-chap5/general.ent

Modified: branches/cross-chap5/chapter01/changelog.xml
==
--- branches/cross-chap5/chapter01/changelog.xmlThu May 21 00:40:38 
2020(r11852)
+++ branches/cross-chap5/chapter01/changelog.xmlThu May 21 03:02:22 
2020(r11853)
@@ -43,6 +43,16 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-05-21
+  
+
+  [pierre] - Fix a crash at early boot when using
+  CONFIG_STACK_PROTECTOR_STRONG=y in kernel configuration.
+
+  
+
+
+
   2020-05-16
   
 

Modified: branches/cross-chap5/chapter08/kernel.xml
==
--- branches/cross-chap5/chapter08/kernel.xml   Thu May 21 00:40:38 2020
(r11852)
+++ branches/cross-chap5/chapter08/kernel.xml   Thu May 21 03:02:22 2020
(r11853)
@@ -54,6 +54,16 @@
 kernel compilation. Do not rely on the source tree being clean after
 un-tarring.
 
+
+When using CONFIG_STACKPROTECTOR_STRONG=y, and
+compiling with GCC 10 and later, the default optimization is too
+aggressive, and generates a kernel panic when booting. This can be
+fixed with:
+
+sed -e '/cpu_startup/a asm("");' \
+-i arch/x86/{kernel/smpboot.c,xen/smp_pv.c}
+
 
 
 Configure the kernel via a menu-driven interface. For general

Modified: branches/cross-chap5/general.ent
==
--- branches/cross-chap5/general.entThu May 21 00:40:38 2020(r11852)
+++ branches/cross-chap5/general.entThu May 21 03:02:22 2020(r11853)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11852 - in trunk/BOOK: . chapter01 chapter08

2020-05-21 Thread pierre--- via lfs-book
Author: pierre
Date: Thu May 21 00:40:38 2020
New Revision: 11852

Log:
Fix kernel crash when using STACK_PROTECTOR_STRONG=y

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter08/kernel.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sun May 17 07:18:04 2020(r11851)
+++ trunk/BOOK/chapter01/changelog.xml  Thu May 21 00:40:38 2020(r11852)
@@ -43,6 +43,16 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-05-21
+  
+
+  [pierre] - Fix a crash at early boot when using
+  CONFIG_STACK_PROTECTOR_STRONG=y in kernel configuration.
+
+  
+
+
+
   2020-05-16
   
 

Modified: trunk/BOOK/chapter08/kernel.xml
==
--- trunk/BOOK/chapter08/kernel.xml Sun May 17 07:18:04 2020(r11851)
+++ trunk/BOOK/chapter08/kernel.xml Thu May 21 00:40:38 2020(r11852)
@@ -54,6 +54,16 @@
 kernel compilation. Do not rely on the source tree being clean after
 un-tarring.
 
+
+When using CONFIG_STACKPROTECTOR_STRONG=y, and
+compiling with GCC 10 and later, the default optimization is too
+aggressive, and generates a kernel panic when booting. This can be
+fixed with:
+
+sed -e '/cpu_startup/a asm("");' \
+-i arch/x86/{kernel/smpboot.c,xen/smp_pv.c}
+
 
 
 Configure the kernel via a menu-driven interface. For general

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Sun May 17 07:18:04 2020(r11851)
+++ trunk/BOOK/general.ent  Thu May 21 00:40:38 2020(r11852)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11851 - in branches/cross-chap5: . chapter01

2020-05-17 Thread pierre--- via lfs-book
Author: pierre
Date: Sun May 17 07:18:04 2020
New Revision: 11851

Log:
Update to upstream r11850

Modified:
   branches/cross-chap5/chapter01/changelog.xml
   branches/cross-chap5/general.ent
   branches/cross-chap5/packages.ent

Modified: branches/cross-chap5/chapter01/changelog.xml
==
--- branches/cross-chap5/chapter01/changelog.xmlSat May 16 06:56:05 
2020(r11850)
+++ branches/cross-chap5/chapter01/changelog.xmlSun May 17 07:18:04 
2020(r11851)
@@ -42,6 +42,28 @@
  or  as
 appropriate for the entry or if needed the entire day's listitem.
 -->
+
+  2020-05-16
+  
+
+  [bdubbs] - Update to meson-0.54.2. Fixes
+  #4656.
+
+
+  [bdubbs] - Update to Python-3.8.3. Fixes
+  #4655.
+
+
+  [bdubbs] - Update to bison-3.6.1. Fixes
+  #4654.
+
+
+  [bdubbs] - Update to linux-5.6.13. Fixes
+  #4653.
+
+  
+
+
 
   2020-05-09
   

Modified: branches/cross-chap5/general.ent
==
--- branches/cross-chap5/general.entSat May 16 06:56:05 2020(r11850)
+++ branches/cross-chap5/general.entSun May 17 07:18:04 2020(r11851)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 

Modified: branches/cross-chap5/packages.ent
==
--- branches/cross-chap5/packages.ent   Sat May 16 06:56:05 2020(r11850)
+++ branches/cross-chap5/packages.ent   Sun May 17 07:18:04 2020(r11851)
@@ -70,10 +70,10 @@
 
 
 
-
-
+
+
 
-
+
 
 
 
@@ -425,12 +425,12 @@
 
 
 
-
+
 
 
-
+
 
-
+
 https://www.kernel.org/;>
 
 
-
+
 
-
+
 https://www.python.org/ftp/python//Python-.tar.xz;>
-
+
 https://www.python.org/;>
 
 
 
 
 https://www.python.org/ftp/python/doc//python--docs-html.tar.bz2;>
-
-
+
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11849 - in branches/cross-chap5: . appendices chapter06

2020-05-13 Thread pierre--- via lfs-book
Author: pierre
Date: Wed May 13 14:00:59 2020
New Revision: 11849

Log:
Merge Upstream up to 11848

Modified:
   branches/cross-chap5/appendices/dependencies.xml
   branches/cross-chap5/chapter06/libcap.xml
   branches/cross-chap5/lfs-latest.php

Modified: branches/cross-chap5/appendices/dependencies.xml
==
--- branches/cross-chap5/appendices/dependencies.xmlWed May 13 13:57:13 
2020(r11848)
+++ branches/cross-chap5/appendices/dependencies.xmlWed May 13 14:00:59 
2020(r11849)
@@ -946,7 +946,7 @@
 
 
 
- Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext,
+ Bash, Binutils, Bison, Coreutils, Diffutils, Gawk, GCC, Gettext,
  Grep, Gzip, Linux API Headers, Make, Perl, Python, Sed, and 
Texinfo
 
   

Modified: branches/cross-chap5/chapter06/libcap.xml
==
--- branches/cross-chap5/chapter06/libcap.xml   Wed May 13 13:57:13 2020
(r11848)
+++ branches/cross-chap5/chapter06/libcap.xml   Wed May 13 14:00:59 2020
(r11849)
@@ -71,7 +71,7 @@
 
 Install the package and do some cleanup:
 
-make lib=lib install
+make lib=lib 
PKGCONFIGDIR=/usr/lib/pkgconfig install
 chmod -v 755 /lib/libcap.so.
 mv -v /lib/libpsx.a /usr/lib
 rm -v /lib/libcap.so

Modified: branches/cross-chap5/lfs-latest.php
==
--- branches/cross-chap5/lfs-latest.php Wed May 13 13:57:13 2020(r11848)
+++ branches/cross-chap5/lfs-latest.php Wed May 13 14:00:59 2020(r11849)
@@ -280,7 +280,7 @@
   }
 
   if ( $package == "procps-ng" )
- return find_max( $lines, "/release/", "/^.* ([\d\.]+).*$/" );
+ return find_max( $lines, "/v\d/", "/^.*v([\d\.]+).*$/" );
 
   if ( $package == "psmisc" )
  return find_max( $lines, "/^v/", "/^v([\d\.]+).*$/" );
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-05-13 Thread pierre--- via lfs-book
Author: pierre
Date: Wed May 13 13:57:13 2020
New Revision: 11848

Log:
Commit 48f44c6f2b48e45e has modified the defition of PKGCONFIGDIR to use
LIBDIR, which is /lib in our case, so that .pc files are wrongly installed
in /lib/pkgconfig. Explcitely set PKGCONFIGDIR so that the files land
at the right place.

Modified:
   trunk/BOOK/chapter06/libcap.xml

Modified: trunk/BOOK/chapter06/libcap.xml
==
--- trunk/BOOK/chapter06/libcap.xml Tue May 12 03:09:43 2020(r11847)
+++ trunk/BOOK/chapter06/libcap.xml Wed May 13 13:57:13 2020(r11848)
@@ -71,7 +71,7 @@
 
 Install the package and do some cleanup:
 
-make lib=lib install
+make lib=lib 
PKGCONFIGDIR=/usr/lib/pkgconfig install
 chmod -v 755 /lib/libcap.so.
 mv -v /lib/libpsx.a /usr/lib
 rm -v /lib/libcap.so
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11844 - in branches/cross-chap5: . chapter01 chapter06

2020-05-09 Thread pierre--- via lfs-book
Author: pierre
Date: Sat May  9 13:54:03 2020
New Revision: 11844

Log:
merge trunk r11843

Modified:
   branches/cross-chap5/chapter01/changelog.xml
   branches/cross-chap5/chapter06/systemd.xml
   branches/cross-chap5/general.ent

Modified: branches/cross-chap5/chapter01/changelog.xml
==
--- branches/cross-chap5/chapter01/changelog.xmlSat May  9 13:20:21 
2020(r11843)
+++ branches/cross-chap5/chapter01/changelog.xmlSat May  9 13:54:03 
2020(r11844)
@@ -42,6 +42,16 @@
  or  as
 appropriate for the entry or if needed the entire day's listitem.
 -->
+
+  2020-05-09
+  
+
+  [pierre] - Pass -Wno-format-overflow to systemd to
+  prevent an error with GCC 10.
+
+  
+
+
 
   2020-05-09
   

Modified: branches/cross-chap5/chapter06/systemd.xml
==
--- branches/cross-chap5/chapter06/systemd.xml  Sat May  9 13:20:21 2020
(r11843)
+++ branches/cross-chap5/chapter06/systemd.xml  Sat May  9 13:54:03 2020
(r11844)
@@ -69,35 +69,46 @@
 mkdir -p build
 cd   build
 
-LANG=en_US.UTF-8   \
-meson --prefix=/usr\
-  --sysconfdir=/etc\
-  --localstatedir=/var \
-  -Dblkid=true \
-  -Dbuildtype=release  \
-  -Ddefault-dnssec=no  \
-  -Dfirstboot=false\
-  -Dinstall-tests=false\
-  -Dkmod-path=/bin/kmod\
-  -Dldconfig=false \
-  -Dmount-path=/bin/mount  \
-  -Drootprefix=\
-  -Drootlibdir=/lib\
-  -Dsplit-usr=true \
-  -Dsulogin-path=/sbin/sulogin \
-  -Dsysusers=false \
-  -Dumount-path=/bin/umount\
-  -Db_lto=false\
-  -Drpmmacrosdir=no\
-  -Dhomed=false\
-  -Duserdb=false   \
-  -Dman=true   \
+LANG=en_US.UTF-8\
+meson --prefix=/usr \
+  --sysconfdir=/etc \
+  --localstatedir=/var  \
+  -Dc_args=-Wno-format-overflow \
+  -Dblkid=true  \
+  -Dbuildtype=release   \
+  -Ddefault-dnssec=no   \
+  -Dfirstboot=false \
+  -Dinstall-tests=false \
+  -Dkmod-path=/bin/kmod \
+  -Dldconfig=false  \
+  -Dmount-path=/bin/mount   \
+  -Drootprefix= \
+  -Drootlibdir=/lib \
+  -Dsplit-usr=true  \
+  -Dsulogin-path=/sbin/sulogin  \
+  -Dsysusers=false  \
+  -Dumount-path=/bin/umount \
+  -Db_lto=false \
+  -Drpmmacrosdir=no \
+  -Dhomed=false \
+  -Duserdb=false\
+  -Dman=true\
   ..
 
 
   The meaning of the meson options:
 
   
+-Dc_args=-Wno-format-overflow
+
+  The defaults flags passed to gcc contain
+  -Werror=format-overflow, which generates
+ an error with GCC 10. Passing this parameter prevents the error
+ from occuring.
+
+  
+
+  
 -D*-path=*
 
   These switches provide location of binaries needed by

Modified: branches/cross-chap5/general.ent
==
--- branches/cross-chap5/general.entSat May  9 13:20:21 2020(r11843)
+++ branches/cross-chap5/general.entSat May  9 13:54:03 2020(r11844)
@@ -3,11 +3,11 @@
   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] r11843 - in trunk/BOOK: . chapter01 chapter06

2020-05-09 Thread pierre--- via lfs-book
Author: pierre
Date: Sat May  9 13:20:21 2020
New Revision: 11843

Log:
Fix building systemd with GCC 10

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/systemd.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sat May  9 03:49:56 2020(r11842)
+++ trunk/BOOK/chapter01/changelog.xml  Sat May  9 13:20:21 2020(r11843)
@@ -42,6 +42,16 @@
  or  as
 appropriate for the entry or if needed the entire day's listitem.
 -->
+
+  2020-05-09
+  
+
+  [pierre] - Pass -Wno-format-overflow to systemd to
+  prevent an error with GCC 10.
+
+  
+
+
 
   2020-05-08
   

Modified: trunk/BOOK/chapter06/systemd.xml
==
--- trunk/BOOK/chapter06/systemd.xmlSat May  9 03:49:56 2020(r11842)
+++ trunk/BOOK/chapter06/systemd.xmlSat May  9 13:20:21 2020(r11843)
@@ -69,35 +69,46 @@
 mkdir -p build
 cd   build
 
-LANG=en_US.UTF-8   \
-meson --prefix=/usr\
-  --sysconfdir=/etc\
-  --localstatedir=/var \
-  -Dblkid=true \
-  -Dbuildtype=release  \
-  -Ddefault-dnssec=no  \
-  -Dfirstboot=false\
-  -Dinstall-tests=false\
-  -Dkmod-path=/bin/kmod\
-  -Dldconfig=false \
-  -Dmount-path=/bin/mount  \
-  -Drootprefix=\
-  -Drootlibdir=/lib\
-  -Dsplit-usr=true \
-  -Dsulogin-path=/sbin/sulogin \
-  -Dsysusers=false \
-  -Dumount-path=/bin/umount\
-  -Db_lto=false\
-  -Drpmmacrosdir=no\
-  -Dhomed=false\
-  -Duserdb=false   \
-  -Dman=true   \
+LANG=en_US.UTF-8\
+meson --prefix=/usr \
+  --sysconfdir=/etc \
+  --localstatedir=/var  \
+  -Dc_args=-Wno-format-overflow \
+  -Dblkid=true  \
+  -Dbuildtype=release   \
+  -Ddefault-dnssec=no   \
+  -Dfirstboot=false \
+  -Dinstall-tests=false \
+  -Dkmod-path=/bin/kmod \
+  -Dldconfig=false  \
+  -Dmount-path=/bin/mount   \
+  -Drootprefix= \
+  -Drootlibdir=/lib \
+  -Dsplit-usr=true  \
+  -Dsulogin-path=/sbin/sulogin  \
+  -Dsysusers=false  \
+  -Dumount-path=/bin/umount \
+  -Db_lto=false \
+  -Drpmmacrosdir=no \
+  -Dhomed=false \
+  -Duserdb=false\
+  -Dman=true\
   ..
 
 
   The meaning of the meson options:
 
   
+-Dc_args=-Wno-format-overflow
+
+  The defaults flags passed to gcc contain
+  -Werror=format-overflow, which generates
+ an error with GCC 10. Passing this parameter prevents the error
+ from occuring.
+
+  
+
+  
 -D*-path=*
 
   These switches provide location of binaries needed by

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Sat May  9 03:49:56 2020(r11842)
+++ trunk/BOOK/general.ent  Sat May  9 13:20:21 2020(r11843)
@@ -3,11 +3,11 @@
   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] r11839 - branches/cross-chap5/chapter04

2020-05-06 Thread pierre--- via lfs-book
Author: pierre
Date: Wed May  6 07:58:26 2020
New Revision: 11839

Log:
Fix test for symlink when setting PATH

Modified:
   branches/cross-chap5/chapter04/settingenviron.xml

Modified: branches/cross-chap5/chapter04/settingenviron.xml
==
--- branches/cross-chap5/chapter04/settingenviron.xml   Wed May  6 06:04:34 
2020(r11838)
+++ branches/cross-chap5/chapter04/settingenviron.xml   Wed May  6 07:58:26 
2020(r11839)
@@ -44,7 +44,7 @@
 LC_ALL=POSIX
 LFS_TGT=$(uname -m)-lfs-linux-gnu
 PATH=/usr/bin
-if [ ! -l /bin ]; then PATH=/bin:$PATH; fi
+if [ ! -L /bin ]; then PATH=/bin:$PATH; fi
 PATH=$LFS/tools/bin:$PATH
 export LFS LC_ALL LFS_TGT PATH
 EOF
@@ -124,7 +124,7 @@
 
 
 
-   if [ ! -l /bin ]; then PATH=/bin:$PATH; 
fi
+  if [ ! -L /bin ]; then PATH=/bin:$PATH; 
fi
   
   If /bin is not a symbolic
   link, then it has to be added to the PATH variable.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11837 - branches/cross-chap5/chapter04

2020-05-06 Thread pierre--- via lfs-book
Author: pierre
Date: Wed May  6 06:02:47 2020
New Revision: 11837

Log:
Avoid having /bin in lfs' PATH if the build distro has merged
/bin and /usr/bin

Modified:
   branches/cross-chap5/chapter04/settingenviron.xml

Modified: branches/cross-chap5/chapter04/settingenviron.xml
==
--- branches/cross-chap5/chapter04/settingenviron.xml   Wed May  6 05:59:54 
2020(r11836)
+++ branches/cross-chap5/chapter04/settingenviron.xml   Wed May  6 06:02:47 
2020(r11837)
@@ -43,7 +43,9 @@
 LFS=/mnt/lfs
 LC_ALL=POSIX
 LFS_TGT=$(uname -m)-lfs-linux-gnu
-PATH=$LFS/tools/bin:/bin:/usr/bin
+PATH=/usr/bin
+if [ ! -l /bin ]; then PATH=/bin:$PATH; fi
+PATH=$LFS/tools/bin:$PATH
 export LFS LC_ALL LFS_TGT PATH
 EOF
 
@@ -108,14 +110,36 @@
 
 
 
-  PATH=$LFS/tools/bin:/bin:/usr/bin
+  PATH=/usr/bin
+  
+  Many modern linux distributions have merged /bin and /usr/bin. When this is the case, the standard
+  PATH variable needs just to be set to /usr/bin/ for the  environment. When this is not the
+  case, the following line adds /bin
+  to the path.
+  
+
+
+
+   if [ ! -l /bin ]; then PATH=/bin:$PATH; 
fi
+  
+  If /bin is not a symbolic
+  link, then it has to be added to the PATH variable.
+  
+
+
+
+  PATH=$LFS/tools/bin:$PATH
   
   By putting $LFS/tools/bin ahead 
of the
-  standard PATH, all the programs installed in  are picked up by the shell immediately 
after
-  their installation. This, combined with turning off hashing, limits the risk
-  that old programs are used from the host when the same programs are 
available in
-  the Chapter 5 environment.
+  standard PATH, the cross-compiler installed at the beginning
+  of  is picked up by the shell
+  immediately after its installation. This, combined with turning off hashing,
+  limits the risk that the compiler from the host be used instead of the
+  cross-compiler.
   
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11836 - branches/cross-chap5/chapter05

2020-05-06 Thread pierre--- via lfs-book
Author: pierre
Date: Wed May  6 05:59:54 2020
New Revision: 11836

Log:
Build tic on build host and use it to generate /usr/share/terminfo

Modified:
   branches/cross-chap5/chapter05/ncurses.xml

Modified: branches/cross-chap5/chapter05/ncurses.xml
==
--- branches/cross-chap5/chapter05/ncurses.xml  Wed May  6 04:46:06 2020
(r11835)
+++ branches/cross-chap5/chapter05/ncurses.xml  Wed May  6 05:59:54 2020
(r11836)
@@ -47,6 +47,16 @@
 
 sed -i s/mawk// configure
 
+Then, run the following commands to build the tic
+program on the build host:
+
+mkdir build
+cd build
+../configure
+make -C include
+make -C progs tic
+cd ..
+
 Prepare Ncurses for compilation:
 
 ./configure --prefix=/usr \
@@ -57,7 +67,6 @@
 --without-debug   \
 --without-ada \
 --without-normal  \
---disable-db-install  \
 --enable-widec\
 --enable-pc-files
 
@@ -102,16 +111,16 @@
   
 
   
-
+  
 
 
 Compile the package:
@@ -120,8 +129,8 @@
 
 Install the package:
 
-make DESTDIR=$LFS install
-  ln -s libncursesw.so $LFS/usr/lib/libncurses.so
+make DESTDIR=$LFS 
TIC_PATH=$(pwd)/build/progs/tic install
+ln -s libncursesw.so $LFS/usr/lib/libncurses.so
 
 Move the shared libraries to the
 /lib directory, where they are
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-05-04 Thread pierre--- via lfs-book
Author: pierre
Date: Mon May  4 05:11:00 2020
New Revision: 11833

Log:
Remove useless commands in chap6 flex

Modified:
   trunk/BOOK/chapter06/flex.xml

Modified: trunk/BOOK/chapter06/flex.xml
==
--- trunk/BOOK/chapter06/flex.xml   Mon May  4 03:16:36 2020(r11832)
+++ trunk/BOOK/chapter06/flex.xml   Mon May  4 05:11:00 2020(r11833)
@@ -41,17 +41,20 @@
   
 Installation of Flex
 
+
 
-HELP2MAN=/tools/bin/true \
-./configure --prefix=/usr 
--docdir=/usr/share/doc/flex-
+Prepare Flex for compilation:
+
+
+./configure --prefix=/usr 
--docdir=/usr/share/doc/flex-
 
 Compile the package:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11832 - branches/cross-chap5

2020-05-04 Thread pierre--- via lfs-book
Author: pierre
Date: Mon May  4 03:16:36 2020
New Revision: 11832

Log:
Change version names so that ti si clear what the book does

Modified:
   branches/cross-chap5/general.ent

Modified: branches/cross-chap5/general.ent
==
--- branches/cross-chap5/general.entSun May  3 14:02:51 2020(r11831)
+++ branches/cross-chap5/general.entMon May  4 03:16:36 2020(r11832)
@@ -1,9 +1,9 @@
-
+
   
  
 
-
+
 
  
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11830 - branches/cross-chap5

2020-05-03 Thread pierre--- via lfs-book
Author: pierre
Date: Sun May  3 13:04:45 2020
New Revision: 11830

Log:
Branching for using cross compilation in chapter 5

initial commit from trunk

Added:
   branches/cross-chap5/
  - copied from r11829, trunk/BOOK/
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11824 - trunk/BOOK

2020-04-24 Thread pierre--- via lfs-book
Author: pierre
Date: Fri Apr 24 00:42:42 2020
New Revision: 11824

Log:
Fix openssl MD5

Modified:
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/packages.ent
==
--- trunk/BOOK/packages.ent Thu Apr 23 18:58:02 2020(r11823)
+++ trunk/BOOK/packages.ent Fri Apr 24 00:42:42 2020(r11824)
@@ -524,7 +524,7 @@
 
 
 https://www.openssl.org/source/openssl-.tar.gz;>
-
+
 https://www.openssl.org/;>
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-book] r11823 - trunk/BOOK/appendices

2020-04-24 Thread Pierre Labastie via lfs-book
On Fri, 2020-04-24 at 01:58 +, xry111--- via lfs-book wrote:
> Author: xry111
> Date: Thu Apr 23 18:58:02 2020
> New Revision: 11823
> 
> Log:
> update dependencies page for ICA changes
> 

Thanks a lot for doing that: I meant to do it, but you beat me to it.

Pierre

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


[lfs-book] r11819 - in trunk/BOOK: . chapter01 chapter06

2020-04-20 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Apr 20 05:50:49 2020
New Revision: 11819

Log:
Change -isystem to -idirafter in "adjusting". Fix most of #4641.

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/adjusting.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Mon Apr 20 00:23:56 2020(r11818)
+++ trunk/BOOK/chapter01/changelog.xml  Mon Apr 20 05:50:49 2020(r11819)
@@ -43,6 +43,20 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
+  2020-04-20
+  
+
+  [pierre] - Change -isystem to -idirafter in "Adjusting the
+  toolchain". This allows to search g++ private headers before
+  the public ones, which is the normal search order, with the
+ drawback that it includes the headers in /tools if they exist
+ in both /usr and /tools. Fix most of
+  #4641.
+
+  
+
+
+
   2020-04-19
   
 

Modified: trunk/BOOK/chapter06/adjusting.xml
==
--- trunk/BOOK/chapter06/adjusting.xml  Mon Apr 20 00:23:56 2020(r11818)
+++ trunk/BOOK/chapter06/adjusting.xml  Mon Apr 20 05:50:49 2020(r11819)
@@ -24,15 +24,17 @@
 mv -v /tools/bin/{ld-new,ld}
 ln -sv /tools/bin/ld /tools/$(uname 
-m)-pc-linux-gnu/bin/ld
 
-  Next, amend the GCC specs file so that it points to the new
-  dynamic linker. Simply deleting all instances of /tools should
-  leave us with the correct path to the dynamic linker. Also adjust the specs 
file
-  so that GCC knows where to find the correct headers and Glibc start files.
+  the next command amends the GCC specs file to achieve three goals:
+  first point GCC to the new dynamic linker. Simply deleting all instances of
+  /tools should leave us with the correct path to the dynamic
+  linker. Second, let GCC know where to find the Glibc start files. Third,
+  add the /usr/include directory at the end of the default search path, so
+  that header files added in chapter 6 are found.
   A sed command accomplishes this:
 
 gcc -dumpspecs | sed -e 's@/tools@@g'   \
 -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \
--e '/\*cpp:/{n;s@$@ -isystem /usr/include@}'   \
+-e '/\*cpp:/{n;s@$@ -idirafter /usr/include@}'   \
 `dirname $(gcc --print-libgcc-file-name)`/specs
 
   It is a good idea to visually inspect the specs file to verify the
@@ -72,13 +74,18 @@
   Verify that the compiler is searching for the correct header
   files:
 
-grep -B1 '^ /usr/include' dummy.log
+grep -B4 '^ /usr/include' dummy.log
 
   This command should return the following output:
 
 #include ... search starts here:
+ /tools/lib/gcc/x86_64-pc-linux-gnu//include
+ /tools/include
+ /tools/lib/gcc/x86_64-pc-linux-gnu//include-fixed
  /usr/include
 
+  On a 32 bit system, x86_64 is replaced with i686.
+
   Next, verify that the new linker is being used with the correct 
search paths:
 
 grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; 
|\n|g'

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Mon Apr 20 00:23:56 2020(r11818)
+++ trunk/BOOK/general.ent  Mon Apr 20 05:50:49 2020(r11819)
@@ -1,13 +1,13 @@
-
+
   
  
 
-
+
 
  
 
-
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-04-20 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Apr 20 00:23:56 2020
New Revision: 11818

Log:
Remove a spurious  at the end of a line

Modified:
   trunk/BOOK/chapter06/util-linux.xml

Modified: trunk/BOOK/chapter06/util-linux.xml
==
--- trunk/BOOK/chapter06/util-linux.xml Sun Apr 19 07:45:08 2020(r11817)
+++ trunk/BOOK/chapter06/util-linux.xml Mon Apr 20 00:23:56 2020(r11818)
@@ -112,7 +112,7 @@
 coverage, other BLFS packages must be installed.  If desired, this test can
 be run after rebooting into the completed LFS system and running:
 
-bash tests/run.sh --srcdir=$PWD 
--builddir=$PWD 
+bash tests/run.sh --srcdir=$PWD 
--builddir=$PWD
 
 
 chown -Rv nobody .
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11816 - in trunk/BOOK: . chapter01 chapter05 chapter06

2020-04-19 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Apr 19 07:06:50 2020
New Revision: 11816

Log:
Reinstate flex in chapter 5, for the sake on ar and ranlib.
This allows to reinstate bison's tests.

Added:
   trunk/BOOK/chapter05/flex.xml
Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/chapter05.xml
   trunk/BOOK/chapter06/bison.xml
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sun Apr 19 01:14:10 2020(r11815)
+++ trunk/BOOK/chapter01/changelog.xml  Sun Apr 19 07:06:50 2020(r11816)
@@ -46,6 +46,12 @@
   2020-04-19
   
 
+  [pierre] - Reinstate flex in chapter 5, so that ar and ranlib
+  (binutils) link against libfl. This allows to run tests for bison,
+  too. Fixes
+  #4631.
+
+
   [pierre] - Prevent readline.pc from referencing termcap as
   a private library by adding --with-curses to configure switches.
   Fixes #4635.

Modified: trunk/BOOK/chapter05/chapter05.xml
==
--- trunk/BOOK/chapter05/chapter05.xml  Sun Apr 19 01:14:10 2020(r11815)
+++ trunk/BOOK/chapter05/chapter05.xml  Sun Apr 19 07:06:50 2020(r11816)
@@ -28,6 +28,7 @@
   http://www.w3.org/2001/XInclude; href="ncurses.xml"/>
   http://www.w3.org/2001/XInclude; href="bash.xml"/>
   http://www.w3.org/2001/XInclude; href="bison.xml"/>
+  http://www.w3.org/2001/XInclude; href="flex.xml"/>
   http://www.w3.org/2001/XInclude; href="bzip2.xml"/>
   http://www.w3.org/2001/XInclude; href="coreutils.xml"/>
   http://www.w3.org/2001/XInclude; href="diffutils.xml"/>

Added: trunk/BOOK/chapter05/flex.xml
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/chapter05/flex.xml   Sun Apr 19 07:06:50 2020(r11816)
@@ -0,0 +1,72 @@
+
+http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd; [
+  
+  %general-entities;
+]>
+
+
+  
+
+  
+flex
+
+
+  
+
+  Flex-
+
+  
+Flex
+tools
+  
+
+  
+
+
+http://www.w3.org/2001/XInclude;
+href="../chapter06/flex.xml"
+xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+
+  
+  
+
+  
+
+
+  
+
+
+  
+
+  
+Installation of Flex
+
+Prepare Flex for compilation:
+
+./configure 
--prefix=/tools
+
+Compile the package:
+
+make
+
+To test the results, issue:
+
+make check
+
+Install the package:
+
+make install
+
+  
+
+  
+
+
+Details on this package are located in
+
+
+  
+
+

Modified: trunk/BOOK/chapter06/bison.xml
==
--- trunk/BOOK/chapter06/bison.xml  Sun Apr 19 01:14:10 2020(r11815)
+++ trunk/BOOK/chapter06/bison.xml  Sun Apr 19 07:06:50 2020(r11816)
@@ -58,16 +58,19 @@
 
 make
 
-
 
+13 tests fail in the "Diagnostics" section, probably because of
+missing locales.
+
+
 
 Install the package:
 

Modified: trunk/BOOK/packages.ent
==
--- trunk/BOOK/packages.ent Sun Apr 19 01:14:10 2020(r11815)
+++ trunk/BOOK/packages.ent Sun Apr 19 07:06:50 2020(r11816)
@@ -77,8 +77,8 @@
 
 
 
-
-
+
+
 
 
 
@@ -209,6 +209,8 @@
 
 
 
+
+
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11815 - in trunk/BOOK: chapter05 chapter06

2020-04-19 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Apr 19 01:14:10 2020
New Revision: 11815

Log:
Add remarks about .la files telling that they are potentially harmful

Modified:
   trunk/BOOK/chapter05/stripping.xml
   trunk/BOOK/chapter06/revisedchroot.xml

Modified: trunk/BOOK/chapter05/stripping.xml
==
--- trunk/BOOK/chapter05/stripping.xml  Sun Apr 19 00:54:14 2020(r11814)
+++ trunk/BOOK/chapter05/stripping.xml  Sun Apr 19 01:14:10 2020(r11815)
@@ -31,7 +31,10 @@
 
 rm -rf /tools/{,share}/{info,man,doc}
 
-  Remove unneeded files:
+  The libtool .la files are only useful when linking with static
+  libraries. They are unneeded, and potentially harmful, when using dynamic
+  shared libraries, specially when using also non-autotools build systems.
+  Remove those files now:
 
 find /tools/{lib,libexec} -name \*.la 
-delete
 

Modified: trunk/BOOK/chapter06/revisedchroot.xml
==
--- trunk/BOOK/chapter06/revisedchroot.xml  Sun Apr 19 00:54:14 2020
(r11814)
+++ trunk/BOOK/chapter06/revisedchroot.xml  Sun Apr 19 01:14:10 2020
(r11815)
@@ -59,8 +59,10 @@
 
   There are also several files installed in the /usr/lib and /usr/libexec
   directories with a file name extention of .la. These are "libtool archive"
-  files and generally unneeded on a linux system. None of these are necessary
-  at this point. To remove them, run:
+  files. As already said, they are only useful when linking with static
+  libraries. They are unneeded, and potentially harmful, when using dynamic
+  shared libraries, specially when using also non-autotools build systems.
+  To remove them, run:
 
 find /usr/lib /usr/libexec -name \*.la 
-delete
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-04-19 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Apr 19 00:54:14 2020
New Revision: 11814

Log:
Fix readline.pc that incorrectly referenced termcap

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/readline.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sun Apr 19 00:42:38 2020(r11813)
+++ trunk/BOOK/chapter01/changelog.xml  Sun Apr 19 00:54:14 2020(r11814)
@@ -46,6 +46,11 @@
   2020-04-19
   
 
+  [pierre] - Prevent readline.pc from referencing termcap as
+  a private library by adding --with-curses to configure switches.
+  Fixes #4635.
+
+
   [pierre] - Allow bison to use the libtextstyle.so library from
   gettext, by moving gettext before bison. Fixes
   #4634.

Modified: trunk/BOOK/chapter06/readline.xml
==
--- trunk/BOOK/chapter06/readline.xml   Sun Apr 19 00:42:38 2020(r11813)
+++ trunk/BOOK/chapter06/readline.xml   Sun Apr 19 00:54:14 2020(r11814)
@@ -53,8 +53,24 @@
 
 ./configure --prefix=/usr\
 --disable-static \
+--with-curses\
 
--docdir=/usr/share/doc/readline-
 
+ 
+  The meaning of the configure option:
+
+  
+--with-curses"
+
+  This option tells Readline that it can find the termcap
+  library functions in the curses library, rather than a separate
+  termcap library. It allows generating a correct
+  readline.pc file.
+
+  
+
+
+
 Compile the package:
 
 make SHLIB_LIBS="-L/tools/lib 
-lncursesw"
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-04-19 Thread pierre--- via lfs-book
Author: pierre
Date: Sun Apr 19 00:42:38 2020
New Revision: 11813

Log:
Allow bison to use libtextstyle from gettext by moving gettext before bison

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/chapter06.xml
   trunk/BOOK/chapter06/gettext.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sat Apr 18 23:25:04 2020(r11812)
+++ trunk/BOOK/chapter01/changelog.xml  Sun Apr 19 00:42:38 2020(r11813)
@@ -46,6 +46,11 @@
   2020-04-19
   
 
+  [pierre] - Allow bison to use the libtextstyle.so library from
+  gettext, by moving gettext before bison. Fixes
+  #4634.
+
+
   [pierre] - Allow some shadow programs to use "setcap" by
   moving libcap before shadow. Fixes
   #4633.

Modified: trunk/BOOK/chapter06/chapter06.xml
==
--- trunk/BOOK/chapter06/chapter06.xml  Sat Apr 18 23:25:04 2020(r11812)
+++ trunk/BOOK/chapter06/chapter06.xml  Sun Apr 19 00:42:38 2020(r11813)
@@ -42,6 +42,7 @@
   http://www.w3.org/2001/XInclude; href="sed.xml"/>
   http://www.w3.org/2001/XInclude; href="psmisc.xml"/>
   http://www.w3.org/2001/XInclude; href="iana-etc.xml"/>
+  http://www.w3.org/2001/XInclude; href="gettext.xml"/>
   http://www.w3.org/2001/XInclude; href="bison.xml"/>
   http://www.w3.org/2001/XInclude; href="flex.xml"/>
   http://www.w3.org/2001/XInclude; href="grep.xml"/>
@@ -57,7 +58,6 @@
   http://www.w3.org/2001/XInclude; href="autoconf.xml"/>
   http://www.w3.org/2001/XInclude; href="automake.xml"/>
   http://www.w3.org/2001/XInclude; href="kmod.xml"/>
-  http://www.w3.org/2001/XInclude; href="gettext.xml"/>
   http://www.w3.org/2001/XInclude; href="libelf.xml"/>
   http://www.w3.org/2001/XInclude; href="libffi.xml"/>
   http://www.w3.org/2001/XInclude; href="openssl.xml"/>

Modified: trunk/BOOK/chapter06/gettext.xml
==
--- trunk/BOOK/chapter06/gettext.xmlSat Apr 18 23:25:04 2020(r11812)
+++ trunk/BOOK/chapter06/gettext.xmlSun Apr 19 00:42:38 2020(r11813)
@@ -76,7 +76,22 @@
 
 Compile the package:
 
-make
+make 
BISON_LOCALEDIR=/usr/share/locale
+
+   
+  The meaning of the make parameter:
+
+  
+BISON_LOCALEDIR=/usr/share/locale
+
+  Since bison is not yet installed in /usr, configure hardcodes
+  the directory containing translations for the bison program (the
+ "locale" directory) as /tools/share/locale. Passing this variable
+   to make allows overriding the choice made by configure.
+
+  
+
+
 
 To test the results (this takes a long time, around 3 SBUs),
 issue:
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-04-19 Thread pierre--- via lfs-book
Author: pierre
Date: Sat Apr 18 23:25:04 2020
New Revision: 11812

Log:
Move libcap before shadow so that new{u,g}idmap can use setcap. ticket #4633

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/chapter06.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sat Apr 18 23:08:50 2020(r11811)
+++ trunk/BOOK/chapter01/changelog.xml  Sat Apr 18 23:25:04 2020(r11812)
@@ -46,6 +46,11 @@
   2020-04-19
   
 
+  [pierre] - Allow some shadow programs to use "setcap" by
+  moving libcap before shadow. Fixes
+  #4633.
+
+
       [pierre] - Fix a wrong hardcoded path in some programs
   from the shadow package. Fixes
   #4632.

Modified: trunk/BOOK/chapter06/chapter06.xml
==
--- trunk/BOOK/chapter06/chapter06.xml  Sat Apr 18 23:08:50 2020(r11811)
+++ trunk/BOOK/chapter06/chapter06.xml  Sat Apr 18 23:25:04 2020(r11812)
@@ -34,11 +34,11 @@
   http://www.w3.org/2001/XInclude; href="mpc.xml"/>
   http://www.w3.org/2001/XInclude; href="attr.xml"/>
   http://www.w3.org/2001/XInclude; href="acl.xml"/>
+  http://www.w3.org/2001/XInclude; href="libcap.xml"/>
   http://www.w3.org/2001/XInclude; href="shadow.xml"/>
   http://www.w3.org/2001/XInclude; href="gcc.xml"/>
   http://www.w3.org/2001/XInclude; href="pkgconfig.xml"/>
   http://www.w3.org/2001/XInclude; href="ncurses.xml"/>
-  http://www.w3.org/2001/XInclude; href="libcap.xml"/>
   http://www.w3.org/2001/XInclude; href="sed.xml"/>
   http://www.w3.org/2001/XInclude; href="psmisc.xml"/>
   http://www.w3.org/2001/XInclude; href="iana-etc.xml"/>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


  1   2   >