[lfs-book] r11870 - trunk/BOOK/appendices

2020-05-29 Thread xry111--- via lfs-book
Author: xry111
Date: Fri May 29 21:57:12 2020
New Revision: 11870

Log:
dependencies: gettext depends on ncurses

Modified:
   trunk/BOOK/appendices/dependencies.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Fri May 29 17:03:55 2020
(r11869)
+++ trunk/BOOK/appendices/dependencies.xml  Fri May 29 21:57:12 2020
(r11870)
@@ -911,7 +911,7 @@
 
 
  Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make,
- Sed, and Texinfo
+ Ncurses, Sed, and Texinfo
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] (no subject)

2020-05-29 Thread Andreas Buslehner via lfs-book


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


Re: [lfs-book] [LFS Trac] #4661: Testsuite failures from running as root

2020-05-29 Thread LFS Trac via lfs-book
#4661: Testsuite failures from running as root
+-
 Reporter:  ken@…   |   Owner:  ken@…
 Type:  task|  Status:  closed
 Priority:  normal  |   Milestone:  9.2
Component:  Book| Version:  SVN
 Severity:  normal  |  Resolution:  fixed
 Keywords:  |
+-
Changes (by bdubbs):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 I went ahead and fixed this using the new user 'tester'.  Fixed at
 revision 11869.

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


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

2020-05-29 Thread bdubbs--- via lfs-book
Author: bdubbs
Date: Fri May 29 17:03:55 2020
New Revision: 11869

Log:
Run sed and findutils tests as an unprivileged user.

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

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Fri May 29 15:05:38 2020(r11868)
+++ trunk/BOOK/chapter01/changelog.xml  Fri May 29 17:03:55 2020(r11869)
@@ -43,6 +43,17 @@
 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
   
 

Modified: trunk/BOOK/chapter06/findutils.xml
==
--- trunk/BOOK/chapter06/findutils.xml  Fri May 29 15:05:38 2020(r11868)
+++ trunk/BOOK/chapter06/findutils.xml  Fri May 29 17:03:55 2020(r11869)
@@ -67,10 +67,8 @@
 
 To test the results, issue:
 
-make check
-
-Two tests are known to fail in the chroot environment:
-sv-bug-54171.old-O3 and sv-bug-54171.new-O3.
+chown -Rv tester .
+su tester -c "PATH=$PATH make check"
 
 Install the package:
 

Modified: trunk/BOOK/chapter06/sed.xml
==
--- trunk/BOOK/chapter06/sed.xmlFri May 29 15:05:38 2020(r11868)
+++ trunk/BOOK/chapter06/sed.xmlFri May 29 17:03:55 2020(r11869)
@@ -40,26 +40,14 @@
   
 Installation of Sed
 
-First fix an issue in the LFS environment and remove a failing 
test:
+First fix an issue in the LFS environment:
 
-sed -i 's/usr/tools/' 
build-aux/help2man
-sed -i 's/testsuite.panic-tests.sh//' Makefile.in
+sed -i 's/usr/tools/' 
build-aux/help2man
 
 Prepare Sed for compilation:
 
 ./configure --prefix=/usr 
--bindir=/bin
-
+
 Compile the package and generate the HTML documentation:
 
 make
@@ -67,7 +55,8 @@
 
 To test the results, issue:
 
-make check
+chown -Rv tester .
+su -c "PATH=$PATH make check"
 
 Install the package and its documentation:
 

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Fri May 29 15:05:38 2020(r11868)
+++ trunk/BOOK/general.ent  Fri May 29 17:03:55 2020(r11869)
@@ -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] (no subject)

2020-05-29 Thread Andreas Buslehner via lfs-book


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


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

2020-05-29 Thread bdubbs--- via lfs-book
Author: bdubbs
Date: Fri May 29 15:05:38 2020
New Revision: 11868

Log:
Tweak additions and deletion of tester user.
Explain test filures in bash.

Modified:
   trunk/BOOK/chapter06/bash.xml
   trunk/BOOK/chapter06/createfiles.xml
   trunk/BOOK/chapter06/revisedchroot.xml

Modified: trunk/BOOK/chapter06/bash.xml
==
--- trunk/BOOK/chapter06/bash.xml   Fri May 29 06:26:19 2020(r11867)
+++ trunk/BOOK/chapter06/bash.xml   Fri May 29 15:05:38 2020(r11868)
@@ -81,15 +81,13 @@
 class="username">tester user:
 
 su tester -c "PATH=$PATH make 
tests"
-
+
 The tester
 user does not have enough permissions for all the tests to pass. This shows
-up in some diff output in four test results.
+up in some diff output in four test results. Portions of 
the 
+run-execscript, run-lastpipe, run-read, and run-test programs
+are known to fail in the LFS chroot environment, but pass if the tests
+are run in a full system.
 
 Install the package and move the main executable to
 /bin:

Modified: trunk/BOOK/chapter06/createfiles.xml
==
--- trunk/BOOK/chapter06/createfiles.xmlFri May 29 06:26:19 2020
(r11867)
+++ trunk/BOOK/chapter06/createfiles.xmlFri May 29 15:05:38 2020
(r11868)
@@ -345,8 +345,9 @@
   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::/tmp:/bin/bash"  /etc/passwd
-echo "tester:x:101:dummy"  /etc/group
+echo "tester:x:101:101::/home/tester:/bin/bash"  
/etc/passwd
+echo "tester:x:101:dummy"  /etc/group
+install -o tester -d /home/tester
 
   To remove the I have no name! prompt, start a new
   shell. Since a full Glibc was installed in Finally, remove the temporary 'tester' usr account created at the 
beginning of this chapter.
 
-sed -i '/tester/d' /etc/passwd 
/etc/group
+sed -i '/tester/d' /etc/passwd /etc/group
+rm -rf /home/tester
 
-- 
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] LFS Package Currency Check - 2020-05-29 10:50:01 GMT

2020-05-29 Thread bdubbs--- via lfs-book
Package LFS  Upstream  Flag

acl 2.2.53 2.2.53 
attr2.4.48 2.4.48 
autoconf2.69   2.69   
automake1.16.2 1.16.2 
bash5.05.0
bc  2.7.2  2.7.2  
binutils2.34   2.34   
bison   3.6.2  3.6.2  
bzip2   1.0.8  1.0.8  
check   0.14.0 0.14.0 
coreutils   8.32   8.32   
dbus1.12.161.12.16
dejagnu 1.6.2  1.6.2  
diffutils   3.73.7
e2fsprogs   1.45.6 1.45.6 
elfutils0.179  0.179  
eudev   3.2.9  3.2.9  
expat   2.2.9  2.2.9  
expect  5.45.4 5.45.4 
file5.38   5.38   
findutils   4.7.0  4.7.0  
flex2.6.4  2.6.4  
gawk5.1.0  5.1.0  
gcc 10.1.0 10.1.0 
gdbm1.18.1 1.18.1 
gettext 0.20.2 0.20.2 
glibc   2.31   2.31   
gmp 6.2.0  6.2.0  
gperf   3.13.1
grep3.43.4
groff   1.22.4 1.22.4 
grub2.04   2.04   
gzip1.10   1.10   
iana-etc20200429   20200429   
inetutils   1.9.4  1.9.4  
intltool0.51.0 0.51.0 
iproute25.6.0  5.6.0  
kbd 2.2.0  2.2.0  
kmod27 27 
less551551
lfs-bootscripts 20191031   20191031   
libcap  2.34   2.34   
libffi  3.33.3
libpipeline 1.5.2  1.5.2  
libtool 2.4.6  2.4.6  
linux   5.6.15 5.6.15 
m4  1.4.18 1.4.18 
make4.34.3
man-db  2.9.1  2.9.1  
man-pages   5.06   5.06   
meson   0.54.2 0.54.2 
mpc 1.1.0  1.1.0  
mpfr4.0.2  4.0.2  
ninja   1.10.0 1.10.0 
ncurses 6.26.2
openssl 1.1.1g 1.1.1g 
patch   2.7.6  2.7.6  
perl5.30.2 5.30.2 
pkg-config  0.29.2 0.29.2 
procps-ng   3.3.16 3.3.16 
psmisc  23.3   23.3   
Python  3.8.3  3.8.3  
readline8.08.0
sed 4.84.8
shadow  4.8.1  4.8.1  
sysklogd1.5.1  1.5.1  
systemd 245245
sysvinit2.96   2.96   
tar 1.32   1.32   
tcl 8.6.10 8.6.10 
texinfo 6.76.7
tzdata  2020a  2020a  
udev-lfs20171102   20171102   
util-linux  2.35.2 2.35.2 
vim 8.2.0814   8.2.0836   *
XML-Parser  2.46   2.46   
xz  5.2.5  5.2.5  
zlib1.2.11 1.2.11 
zstd1.4.5  1.4.5  

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


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

2020-05-29 Thread bdubbs--- via lfs-book
Author: bdubbs
Date: Fri May 29 01:07:41 2020
New Revision: 11865

Log:
Correct changelog

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Fri May 29 01:06:18 2020(r11864)
+++ trunk/BOOK/chapter01/changelog.xml  Fri May 29 01:07:41 2020(r11865)
@@ -62,10 +62,6 @@
   [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] [LFS Trac] Batch modify: #4657, #4659, #4660

2020-05-29 Thread LFS Trac via lfs-book
Batch modification to #4657, #4659, #4660 by bdubbs:


Action: resolve

Comment:
Fixed at revision 11864.

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