Re: [lfs-book] [LFS Trac] #4649: linux-5.6.11

2020-05-06 Thread LFS Trac via lfs-book
#4649: linux-5.6.11
+---
 Reporter:  bdubbs  |   Owner:  lfs-book
 Type:  task|  Status:  new
 Priority:  normal  |   Milestone:  9.2
Component:  Book| Version:  SVN
 Severity:  normal  |  Resolution:
 Keywords:  |
+---

Comment (by renodr):

 It looks like 5.6.10 was a revert of some code for the meson SoC due to an
 invalid backport

--
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] 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] r11838 - branches/cross-chap5/chapter05

2020-05-06 Thread pierre--- via lfs-book
Author: pierre
Date: Wed May  6 06:04:34 2020
New Revision: 11838

Log:
Move bison and flex to chroot, they do not need themselves for being built

Modified:
   branches/cross-chap5/chapter05/bison.xml
   branches/cross-chap5/chapter05/chapter05.xml
   branches/cross-chap5/chapter05/flex.xml

Modified: branches/cross-chap5/chapter05/bison.xml
==
--- branches/cross-chap5/chapter05/bison.xmlWed May  6 06:02:47 2020
(r11837)
+++ branches/cross-chap5/chapter05/bison.xmlWed May  6 06:04:34 2020
(r11838)
@@ -46,8 +46,6 @@
 Prepare Bison for compilation:
 
 ./configure --prefix=/usr 
\
---build=$(build-aux/config.guess) \
---host=$LFS_TGT   \
 --docdir=/usr/share/doc/bison-&bison-version;
 
 
@@ -69,7 +67,7 @@
 
 Install the package:
 
-make DESTDIR=$LFS 
install
+make install
 
   
 

Modified: branches/cross-chap5/chapter05/chapter05.xml
==
--- branches/cross-chap5/chapter05/chapter05.xmlWed May  6 06:02:47 
2020(r11837)
+++ branches/cross-chap5/chapter05/chapter05.xmlWed May  6 06:04:34 
2020(r11838)
@@ -22,8 +22,6 @@
   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"/>
-  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"/>
@@ -46,6 +44,8 @@
   http://www.w3.org/2001/XInclude"; 
href="creatingdirs.xml"/>
   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/chapter05/flex.xml
==
--- branches/cross-chap5/chapter05/flex.xml Wed May  6 06:02:47 2020
(r11837)
+++ branches/cross-chap5/chapter05/flex.xml Wed May  6 06:04:34 2020
(r11838)
@@ -46,36 +46,34 @@
 Prepare Flex for compilation:
 
 ./configure --prefix=/usr 
\
---host=$LFS_TGT   \
---build=$(build-aux/config.guess) \
---disable-bootstrap   \
 --docdir=/usr/share/doc/flex-&flex-version;
 
+
 Compile the package:
 
 make
 
 Install the package:
 
-make DESTDIR=$LFS 
install
+make install
 
   
 
-- 
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] r11835 - branches/cross-chap5/chapter05

2020-05-06 Thread pierre--- via lfs-book
Author: pierre
Date: Wed May  6 04:46:06 2020
New Revision: 11835

Log:
Prevent "make" from using guile from the build host

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

Modified: branches/cross-chap5/chapter05/make.xml
==
--- branches/cross-chap5/chapter05/make.xml Mon May  4 17:55:08 2020
(r11834)
+++ branches/cross-chap5/chapter05/make.xml Wed May  6 04:46:06 2020
(r11835)
@@ -45,9 +45,23 @@
 Prepare Make for compilation:
 
 ./configure --prefix=/usr   \
+--without-guile \
 --host=$LFS_TGT \
 --build=$(build-aux/config.guess)
 
+
+  The meaning of the new configure option:
+
+  
+--without-guile
+
+  Although we are cross-compiling, configure tries to use
+  guile from the build host if it finds it. This makes compilation
+  fail, so this switch prevents using it.
+
+  
+
+
 Compile the package:
 
 make
-- 
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] #4649: linux-5.6.11 (was: linux-5.6.10)

2020-05-06 Thread LFS Trac via lfs-book
#4649: linux-5.6.11
+---
 Reporter:  bdubbs  |   Owner:  lfs-book
 Type:  task|  Status:  new
 Priority:  normal  |   Milestone:  9.2
Component:  Book| Version:  SVN
 Severity:  normal  |  Resolution:
 Keywords:  |
+---

Comment (by bdubbs):

 Now version 5.6.11.  Seems to be a lot more churn lately -- even more than
 normal.

--
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] LFS Package Currency Check - 2020-05-06 10:50:01 GMT

2020-05-06 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.6.1  2.7.1  *
binutils2.34   2.34   
bison   3.5.4  3.5.4  
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 9.3.0  9.3.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.33   2.34   *
libffi  3.33.3
libpipeline 1.5.2  1.5.2  
libtool 2.4.6  2.4.6  
linux   5.6.8  5.6.11 *
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.1 0.54.1 
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.2  3.8.2  
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.1 2.35.1 
vim 8.2.0486   8.2.0701   *
XML-Parser  2.46   2.46   
xz  5.2.5  5.2.5  
zlib1.2.11 1.2.11 
zstd1.4.4  1.4.4  

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