use more unique var names

This commit is contained in:
tux 2023-05-07 15:26:58 +02:00
parent 879f21e338
commit 7a24dd9153
6 changed files with 731 additions and 730 deletions

View File

@ -25,6 +25,7 @@ edit vars.sh to set the desired parallel JOBS for compiling
proceed with the LFS chapters:
- 2.4. Creating a New Partition
- 2.5. Creating a File System on the Partition
- 2.6. Setting The $LFS Variable
- 2.7. Mounting the New Partition
@ -49,5 +50,5 @@ when prompted continue with the LFS chapters:
- 10.2. Creating the /etc/fstab File
- 10.3. Linux-6.1.11
- 10.4. Using GRUB to Set Up the Boot Process
- 10.4. Using LFS_GRUB to Set Up the Boot Process
- 11.1. The End

View File

@ -2,9 +2,9 @@
source vars.sh
echo "5.2. ""$BINUTILS"" - Pass 1"
tar xf "$BINUTILS".tar.xz &&
cd "$BINUTILS" &&
echo "5.2. ""$LFS_BINUTILS"" - Pass 1"
tar xf "$LFS_BINUTILS".tar.xz &&
cd "$LFS_BINUTILS" &&
mkdir -v build &&
cd build &&
../configure --prefix=$LFS/tools \
@ -16,18 +16,18 @@ cd build &&
make &&
make install &&
cd ../.. &&
rm -rf "$BINUTILS" &&
echo "Finished 5.2. ""$BINUTILS"" - Pass 1" >> build.log
rm -rf "$LFS_BINUTILS" &&
echo "Finished 5.2. ""$LFS_BINUTILS"" - Pass 1" >> build.log
echo "5.3. ""$GCC"" - Pass 1"
tar xf "$GCC".tar.xz &&
cd "$GCC" &&
tar -xf ../"$MPFR".tar.xz &&
mv -v "$MPFR" mpfr &&
tar -xf ../"$GMP".tar.xz &&
mv -v "$GMP" gmp &&
tar -xf ../"$MPC".tar.gz &&
mv -v "$MPC" mpc &&
echo "5.3. ""$LFS_GCC"" - Pass 1"
tar xf "$LFS_GCC".tar.xz &&
cd "$LFS_GCC" &&
tar -xf ../"$LFS_MPFR".tar.xz &&
mv -v "$LFS_MPFR" mpfr &&
tar -xf ../"$LFS_GMP".tar.xz &&
mv -v "$LFS_GMP" gmp &&
tar -xf ../"$LFS_MPC".tar.gz &&
mv -v "$LFS_MPC" mpc &&
case $(uname -m) in
x86_64)
sed -e '/m64=/s/lib64/lib/' \
@ -62,22 +62,22 @@ cd .. &&
cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/install-tools/include/limits.h &&
cd ../.. &&
rm -rf "$GCC" &&
echo "Finished 5.3. ""$GCC"" - Pass 1" >> build.log
rm -rf "$LFS_GCC" &&
echo "Finished 5.3. ""$LFS_GCC"" - Pass 1" >> build.log
echo "5.4. ""$LINUX"" API Headers"
tar xf "$LINUX".tar.xz &&
cd "$LINUX" &&
echo "5.4. ""$LFS_LINUX"" API Headers"
tar xf "$LFS_LINUX".tar.xz &&
cd "$LFS_LINUX" &&
make mrproper &&
make headers &&
find usr/include -type f ! -name '*.h' -delete &&
cp -rv usr/include $LFS/usr &&
cd .. &&
rm -rf "$LINUX"
rm -rf "$LFS_LINUX"
echo "5.5. ""$GLIBC"""
tar xf "$GLIBC".tar.xz &&
cd "$GLIBC" &&
echo "5.5. ""$LFS_GLIBC"""
tar xf "$LFS_GLIBC".tar.xz &&
cd "$LFS_GLIBC" &&
case $(uname -m) in
i?86) ln -sfv ld-linux.so.2 $LFS/lib/ld-lsb.so.3
;;
@ -85,7 +85,7 @@ case $(uname -m) in
ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3
;;
esac &&
patch -Np1 -i ../"$GLIBC"-fhs-1.patch &&
patch -Np1 -i ../"$LFS_GLIBC"-fhs-1.patch &&
mkdir -v build &&
cd build &&
echo "rootsbindir=/usr/sbin" > configparms &&
@ -107,12 +107,12 @@ sleep 10
rm -v a.out &&
$LFS/tools/libexec/gcc/$LFS_TGT/12.2.0/install-tools/mkheaders &&
cd ../.. &&
rm -rf "$GLIBC" &&
echo "Finished 5.5. ""$GLIBC""" >> build.log
rm -rf "$LFS_GLIBC" &&
echo "Finished 5.5. ""$LFS_GLIBC""" >> build.log
echo "5.6. Libstdc++ from ""$GCC"""
tar xf "$GCC".tar.xz &&
cd "$GCC" &&
echo "5.6. Libstdc++ from ""$LFS_GCC"""
tar xf "$LFS_GCC".tar.xz &&
cd "$LFS_GCC" &&
mkdir -v build &&
cd build &&
../libstdc++-v3/configure \
@ -127,20 +127,20 @@ make &&
make DESTDIR=$LFS install &&
rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la &&
cd ../.. &&
rm -rf "$GCC" &&
echo "Finished 5.6. Libstdc++ from ""$GCC""" >> build.log
rm -rf "$LFS_GCC" &&
echo "Finished 5.6. Libstdc++ from ""$LFS_GCC""" >> build.log
echo "6.2. ""$M4"""
tar xf "$M4".tar.xz &&
cd "$M4" &&
echo "6.2. ""$LFS_M4"""
tar xf "$LFS_M4".tar.xz &&
cd "$LFS_M4" &&
./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(build-aux/config.guess) &&
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$M4" &&
echo "Finished 6.2. ""$M4""" >> build.log
rm -rf "$LFS_M4" &&
echo "Finished 6.2. ""$LFS_M4""" >> build.log
echo '6.3. Ncurses-6.4'
tar xf ncurses-6.4.tar.gz &&
@ -172,9 +172,9 @@ cd .. &&
rm -rf ncurses-6.4 &&
echo 'Finished 6.3. Ncurses-6.4' >> build.log
echo "6.4. ""$BASH"""
tar xf "$BASH".tar.gz &&
cd "$BASH" &&
echo "6.4. ""$LFS_BASH"""
tar xf "$LFS_BASH".tar.gz &&
cd "$LFS_BASH" &&
./configure --prefix=/usr \
--build=$(sh support/config.guess) \
--host=$LFS_TGT \
@ -183,12 +183,12 @@ make &&
make DESTDIR=$LFS install &&
ln -sv bash $LFS/bin/sh &&
cd .. &&
rm -rf "$BASH" &&
echo "Finished 6.4. ""$BASH""" >> build.log
rm -rf "$LFS_BASH" &&
echo "Finished 6.4. ""$LFS_BASH""" >> build.log
echo "6.5. ""$COREUTILS"""
tar xf "$COREUTILS".tar.xz &&
cd "$COREUTILS" &&
echo "6.5. ""$LFS_COREUTILS"""
tar xf "$LFS_COREUTILS".tar.xz &&
cd "$LFS_COREUTILS" &&
./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(build-aux/config.guess) \
@ -201,22 +201,22 @@ mkdir -pv $LFS/usr/share/man/man8 &&
mv -v $LFS/usr/share/man/man1/chroot.1 $LFS/usr/share/man/man8/chroot.8 &&
sed -i 's/"1"/"8"/' $LFS/usr/share/man/man8/chroot.8 &&
cd .. &&
rm -rf "$COREUTILS" &&
echo "Finished 6.5. ""$COREUTILS""" >> build.log
rm -rf "$LFS_COREUTILS" &&
echo "Finished 6.5. ""$LFS_COREUTILS""" >> build.log
echo "6.6. "$DIFFUTILS""
tar xf "$DIFFUTILS".tar.xz &&
cd "$DIFFUTILS" &&
echo "6.6. "$LFS_DIFFUTILS""
tar xf "$LFS_DIFFUTILS".tar.xz &&
cd "$LFS_DIFFUTILS" &&
./configure --prefix=/usr --host=$LFS_TGT &&
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$DIFFUTILS" &&
echo "Finished 6.6. ""$DIFFUTILS""" >> build.log
rm -rf "$LFS_DIFFUTILS" &&
echo "Finished 6.6. ""$LFS_DIFFUTILS""" >> build.log
echo "6.7. ""$FILE"""
tar xf "$FILE".tar.gz &&
cd "$FILE" &&
echo "6.7. ""$LFS_FILE"""
tar xf "$LFS_FILE".tar.gz &&
cd "$LFS_FILE" &&
mkdir build &&
pushd build
../configure --disable-bzlib \
@ -230,12 +230,12 @@ make FILE_COMPILE=$(pwd)/build/src/file &&
make DESTDIR=$LFS install &&
rm -v $LFS/usr/lib/libmagic.la &&
cd .. &&
rm -rf "$FILE" &&
echo "Finished 6.7. ""$FILE""" >> build.log
rm -rf "$LFS_FILE" &&
echo "Finished 6.7. ""$LFS_FILE""" >> build.log
echo "6.8. ""$FINDUTILS"""
tar xf "$FINDUTILS".tar.xz &&
cd "$FINDUTILS" &&
echo "6.8. ""$LFS_FINDUTILS"""
tar xf "$LFS_FINDUTILS".tar.xz &&
cd "$LFS_FINDUTILS" &&
./configure --prefix=/usr \
--localstatedir=/var/lib/locate \
--host=$LFS_TGT \
@ -244,12 +244,12 @@ cd "$FINDUTILS" &&
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$FINDUTILS" &&
echo "Finished 6.8. ""$FINDUTILS""" >> build.log
rm -rf "$LFS_FINDUTILS" &&
echo "Finished 6.8. ""$LFS_FINDUTILS""" >> build.log
echo "6.9. ""$GAWK"""
tar xf "$GAWK".tar.xz &&
cd "$GAWK" &&
echo "6.9. ""$LFS_GAWK"""
tar xf "$LFS_GAWK".tar.xz &&
cd "$LFS_GAWK" &&
sed -i 's/extras//' Makefile.in &&
./configure --prefix=/usr \
--host=$LFS_TGT \
@ -258,33 +258,33 @@ sed -i 's/extras//' Makefile.in &&
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$GAWK" &&
echo "Finished 6.9. ""$GAWK""" >> build.log
rm -rf "$LFS_GAWK" &&
echo "Finished 6.9. ""$LFS_GAWK""" >> build.log
echo "6.10. ""$GREP"""
tar xf "$GREP".tar.xz &&
cd "$GREP" &&
echo "6.10. ""$LFS_GREP"""
tar xf "$LFS_GREP".tar.xz &&
cd "$LFS_GREP" &&
./configure --prefix=/usr \
--host=$LFS_TGT &&
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$GREP" &&
echo "Finished 6.10. ""$GREP""" >> build.log
rm -rf "$LFS_GREP" &&
echo "Finished 6.10. ""$LFS_GREP""" >> build.log
echo "6.11. ""$GZIP"""
tar xf "$GZIP".tar.xz &&
cd "$GZIP" &&
echo "6.11. ""$LFS_GZIP"""
tar xf "$LFS_GZIP".tar.xz &&
cd "$LFS_GZIP" &&
./configure --prefix=/usr --host=$LFS_TGT &&
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$GZIP" &&
echo "Finished 6.11. ""$GZIP""" >> build.log
rm -rf "$LFS_GZIP" &&
echo "Finished 6.11. ""$LFS_GZIP""" >> build.log
echo "6.12. ""$MAKE"""
tar xf "$MAKE".tar.gz &&
cd "$MAKE" &&
echo "6.12. ""$LFS_MAKE"""
tar xf "$LFS_MAKE".tar.gz &&
cd "$LFS_MAKE" &&
sed -e '/ifdef SIGPIPE/,+2 d' \
-e '/undef FATAL_SIG/i FATAL_SIG (SIGPIPE);' \
-i src/main.c &&
@ -295,35 +295,35 @@ sed -e '/ifdef SIGPIPE/,+2 d' \
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$MAKE" &&
echo "Finished 6.12. ""$MAKE""" >> build.log
rm -rf "$LFS_MAKE" &&
echo "Finished 6.12. ""$LFS_MAKE""" >> build.log
echo "6.13. ""$PATCH"""
tar xf "$PATCH".tar.xz &&
cd "$PATCH" &&
echo "6.13. ""$LFS_PATCH"""
tar xf "$LFS_PATCH".tar.xz &&
cd "$LFS_PATCH" &&
./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(build-aux/config.guess) &&
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$PATCH" &&
echo "Finished 6.13. ""$PATCH""" >> build.log
rm -rf "$LFS_PATCH" &&
echo "Finished 6.13. ""$LFS_PATCH""" >> build.log
echo "6.14. ""$SED"""
tar xf "$SED".tar.xz &&
cd "$SED" &&
echo "6.14. ""$LFS_SED"""
tar xf "$LFS_SED".tar.xz &&
cd "$LFS_SED" &&
./configure --prefix=/usr \
--host=$LFS_TGT &&
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$SED" &&
echo "Finished 6.14. ""$SED""" >> build.log
rm -rf "$LFS_SED" &&
echo "Finished 6.14. ""$LFS_SED""" >> build.log
echo "6.15. ""$TAR"""
tar xf "$TAR".tar.xz &&
cd "$TAR" &&
echo "6.15. ""$LFS_TAR"""
tar xf "$LFS_TAR".tar.xz &&
cd "$LFS_TAR" &&
./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(build-aux/config.guess) &&
@ -331,28 +331,28 @@ cd "$TAR" &&
make &&
make DESTDIR=$LFS install &&
cd .. &&
rm -rf "$TAR" &&
echo "Finished 6.15. ""$TAR""" >> build.log
rm -rf "$LFS_TAR" &&
echo "Finished 6.15. ""$LFS_TAR""" >> build.log
echo "6.16. ""$XZ"""
tar xf "$XZ".tar.xz &&
cd "$XZ" &&
echo "6.16. ""$LFS_XZ"""
tar xf "$LFS_XZ".tar.xz &&
cd "$LFS_XZ" &&
./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(build-aux/config.guess) \
--disable-static \
--docdir=/usr/share/doc/"$XZ" &&
--docdir=/usr/share/doc/"$LFS_XZ" &&
make &&
make DESTDIR=$LFS install &&
rm -v $LFS/usr/lib/liblzma.la &&
cd .. &&
rm -rf "$XZ" &&
echo "Finished 6.16. ""$XZ""" >> build.log
rm -rf "$LFS_XZ" &&
echo "Finished 6.16. ""$LFS_XZ""" >> build.log
echo "6.17. ""$BINUTILS"" - Pass 2"
tar xf "$BINUTILS" &&
cd "$BINUTILS" &&
echo "6.17. ""$LFS_BINUTILS"" - Pass 2"
tar xf "$LFS_BINUTILS" &&
cd "$LFS_BINUTILS" &&
sed '6009s/$add_dir//' -i ltmain.sh &&
mkdir -v build &&
cd build &&
@ -369,18 +369,18 @@ make &&
make DESTDIR=$LFS install &&
rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.{a,la} &&
cd .. &&
rm -rf "$BINUTILS" &&
echo "Finished 6.17. ""$BINUTILS"" - Pass 2" >> build.log
rm -rf "$LFS_BINUTILS" &&
echo "Finished 6.17. ""$LFS_BINUTILS"" - Pass 2" >> build.log
echo "6.18. ""$GCC"" - Pass 2"
tar xf "$GCC" &&
cd "$GCC" &&
tar -xf ../"$MPFR".tar.xz &&
mv -v "$MPFR" mpfr &&
tar -xf ../"$GMP".tar.xz &&
mv -v "$GMP" gmp &&
tar -xf ../"$MPC".tar.gz &&
mv -v "$MPC" mpc &&
echo "6.18. ""$LFS_GCC"" - Pass 2"
tar xf "$LFS_GCC" &&
cd "$LFS_GCC" &&
tar -xf ../"$LFS_MPFR".tar.xz &&
mv -v "$LFS_MPFR" mpfr &&
tar -xf ../"$LFS_GMP".tar.xz &&
mv -v "$LFS_GMP" gmp &&
tar -xf ../"$LFS_MPC".tar.gz &&
mv -v "$LFS_MPC" mpc &&
case $(uname -m) in
x86_64)
sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
@ -411,7 +411,7 @@ make &&
make DESTDIR=$LFS install &&
ln -sv gcc $LFS/usr/bin/cc &&
cd ../.. &&
rm -rf "$GCC" &&
echo "Finished 6.18. ""$GCC"" - Pass 2" >> build.log
rm -rf "$LFS_GCC" &&
echo "Finished 6.18. ""$LFS_GCC"" - Pass 2" >> build.log
echo "Continue chapter 7 p1 as the root user"

View File

@ -86,30 +86,30 @@ chmod -v 664 /var/log/lastlog &&
chmod -v 600 /var/log/btmp &&
cd /sources &&
echo "7.7. ""$GETTEXT"""
tar xf "$GETTEXT".tar.xz &&
cd "$GETTEXT" &&
echo "7.7. ""$LFS_GETTEXT"""
tar xf "$LFS_GETTEXT".tar.xz &&
cd "$LFS_GETTEXT" &&
./configure --disable-shared &&
make &&
cp -v gettext-tools/src/{msgfmt,msgmerge,xgettext} /usr/bin &&
cd .. &&
rm -rf "$GETTEXT" &&
echo "Finished 7.7. ""$GETTEXT""" >> build.log
rm -rf "$LFS_GETTEXT" &&
echo "Finished 7.7. ""$LFS_GETTEXT""" >> build.log
echo "7.8 ""$BISON"""
tar xf "$BISON".tar.xz &&
cd "$BISON" &&
echo "7.8 ""$LFS_BISON"""
tar xf "$LFS_BISON".tar.xz &&
cd "$LFS_BISON" &&
./configure --prefix=/usr \
--docdir=/usr/share/doc/bison-3.8.2 &&
make &&
make install &&
cd .. &&
rm -rf "$BISON" &&
echo "Finished 7.8 ""$BISON""" >> build.log
rm -rf "$LFS_BISON" &&
echo "Finished 7.8 ""$LFS_BISON""" >> build.log
echo "7.9 ""$PERL"""
tar xf "$PERL".tar.xz &&
cd "$PERL" &&
echo "7.9 ""$LFS_PERL"""
tar xf "$LFS_PERL".tar.xz &&
cd "$LFS_PERL" &&
sh Configure -des \
-Dprefix=/usr \
-Dvendorprefix=/usr \
@ -122,34 +122,34 @@ sh Configure -des \
make &&
make install &&
cd .. &&
rm -rf "$PERL" &&
echo "Finished 7.9 ""$PERL""" >> build.log
rm -rf "$LFS_PERL" &&
echo "Finished 7.9 ""$LFS_PERL""" >> build.log
echo "7.10 ""$PYTHON"""
tar xf "$PYTHON".tar.xz &&
cd "$PYTHON" &&
echo "7.10 ""$LFS_PYTHON"""
tar xf "$LFS_PYTHON".tar.xz &&
cd "$LFS_PYTHON" &&
./configure --prefix=/usr \
--enable-shared \
--without-ensurepip &&
make &&
make install &&
cd .. &&
rm -rf "$PYTHON" &&
echo "Finished 7.10 ""$PYTHON""" >> build.log
rm -rf "$LFS_PYTHON" &&
echo "Finished 7.10 ""$LFS_PYTHON""" >> build.log
echo "7.11 ""$TEXINFO"""
tar xf "$TEXINFO".tar.xz &&
cd "$TEXINFO" &&
echo "7.11 ""$LFS_TEXINFO"""
tar xf "$LFS_TEXINFO".tar.xz &&
cd "$LFS_TEXINFO" &&
./configure --prefix=/usr &&
make &&
make install &&
cd .. &&
rm -rf "$TEXINFO" &&
echo "Finished 7.11 ""$TEXINFO""" >> build.log
rm -rf "$LFS_TEXINFO" &&
echo "Finished 7.11 ""$LFS_TEXINFO""" >> build.log
echo "7.12 ""$UTILLINUX"""
tar xf "$UTILLINUX".tar.xz &&
cd "$UTILLINUX" &&
echo "7.12 ""$LFS_UTILLINUX"""
tar xf "$LFS_UTILLINUX".tar.xz &&
cd "$LFS_UTILLINUX" &&
mkdir -pv /var/lib/hwclock &&
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--libdir=/usr/lib \
@ -167,8 +167,8 @@ mkdir -pv /var/lib/hwclock &&
make &&
make install &&
cd .. &&
rm -rf "$UTILLINUX" &&
echo "Finished 7.12 ""$UTILLINUX""" >> build.log
rm -rf "$LFS_UTILLINUX" &&
echo "Finished 7.12 ""$LFS_UTILLINUX""" >> build.log
rm -rf /usr/share/{info,man,doc}/* &&
find /usr/{lib,libexec} -name \*.la -delete &&

View File

@ -2,27 +2,27 @@
source vars.sh
echo "8.3 ""$MANPAGES"""
tar xf "$MANPAGES".tar.xz &&
cd "$MANPAGES" &&
echo "8.3 ""$LFS_MANPAGES"""
tar xf "$LFS_MANPAGES".tar.xz &&
cd "$LFS_MANPAGES" &&
make prefix=/usr install &&
cd .. &&
rm -rf "$MANPAGES" &&
echo "Finished 8.3 ""$MANPAGES""" >> build.log &&
echo "$MANPAGES" >> /installed.txt
rm -rf "$LFS_MANPAGES" &&
echo "Finished 8.3 ""$LFS_MANPAGES""" >> build.log &&
echo "$LFS_MANPAGES" >> /installed.txt
echo "8.4 ""$IANAETC"""
tar xz "$IANAETC".tar.gz &&
cd "$IANAETC" &&
echo "8.4 ""$LFS_IANAETC"""
tar xz "$LFS_IANAETC".tar.gz &&
cd "$LFS_IANAETC" &&
cp services protocols /etc &&
cd .. &&
rm -rf "$IANAETC" &&
echo "Finished 8.4 ""$IANAETC""" >> build.log
echo "$IANAETC" >> /installed.txt
rm -rf "$LFS_IANAETC" &&
echo "Finished 8.4 ""$LFS_IANAETC""" >> build.log
echo "$LFS_IANAETC" >> /installed.txt
echo "8.5 ""$GLIBC"""
tar xf "$GLIBC".tar.xz &&
cd "$GLIBC" &&
echo "8.5 ""$LFS_GLIBC"""
tar xf "$LFS_GLIBC".tar.xz &&
cd "$LFS_GLIBC" &&
patch -Np1 -i ../glibc-2.37-fhs-1.patch &&
sed '/width -=/s/workend - string/number_length/' \
-i stdio-common/vfprintf-process-arg.c &&
@ -36,9 +36,9 @@ echo "rootsbindir=/usr/sbin" > configparms &&
--with-headers=/usr/include \
libc_cv_slibdir=/usr/lib &&
make &&
make check | tee ../../check-log_"$GLIBC".log;
make check | tee ../../check-log_"$LFS_GLIBC".log;
touch /etc/ld.so.conf &&
sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile &&
sed '/test-installation/s@$(LFS_PERL)@echo not running@' -i ../Makefile &&
make install &&
sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd &&
cp -v ../nscd/nscd.conf /etc/nscd.conf &&
@ -91,26 +91,26 @@ include /etc/ld.so.conf.d/*.conf
EOF
mkdir -pv /etc/ld.so.conf.d &&
cd ../.. &&
rm -rf "$GLIBC" &&
echo "Finished 8.5 ""$GLIBC""" >> build.log &&
echo "$GLIBC" >> /installed.txt
rm -rf "$LFS_GLIBC" &&
echo "Finished 8.5 ""$LFS_GLIBC""" >> build.log &&
echo "$LFS_GLIBC" >> /installed.txt
echo "8.6 ""$ZLIB"""
tar xf "$ZLIB".tar.xz &&
cd "$ZLIB" &&
echo "8.6 ""$LFS_ZLIB"""
tar xf "$LFS_ZLIB".tar.xz &&
cd "$LFS_ZLIB" &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$ZLIB".log;
make check | tee ../check-log_"$LFS_ZLIB".log;
make install &&
rm -fv /usr/lib/libz.a &&
cd .. &&
rm -rf "$ZLIB" &&
echo "Finished 8.6 ""$ZLIB""" >> build.log &&
echo "$ZLIB" >> /installed.txt
rm -rf "$LFS_ZLIB" &&
echo "Finished 8.6 ""$LFS_ZLIB""" >> build.log &&
echo "$LFS_ZLIB" >> /installed.txt
echo "8.7 ""$BZIP2"""
tar xf "$BZIP2".tar.gz &&
cd "$BZIP2" &&
echo "8.7 ""$LFS_BZIP2"""
tar xf "$LFS_BZIP2".tar.gz &&
cd "$LFS_BZIP2" &&
patch -Np1 -i ../bzip2-1.0.8-install_docs-1.patch &&
sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile &&
sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile &&
@ -126,51 +126,51 @@ for i in /usr/bin/{bzcat,bunzip2}; do
done &&
rm -fv /usr/lib/libbz2.a &&
cd .. &&
rm -rf "$BZIP2" &&
echo " Finished 8.7 ""$BZIP2""" >> build.log &&
echo "$BZIP2" >> /installed.txt
rm -rf "$LFS_BZIP2" &&
echo " Finished 8.7 ""$LFS_BZIP2""" >> build.log &&
echo "$LFS_BZIP2" >> /installed.txt
echo "8.8 ""$XZ"""
tar xf "$XZ".tar.xz &&
cd "$XZ" &&
echo "8.8 ""$LFS_XZ"""
tar xf "$LFS_XZ".tar.xz &&
cd "$LFS_XZ" &&
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/xz-5.4.1 &&
make &&
make check | tee ../check-log_"$XZ".log;
make check | tee ../check-log_"$LFS_XZ".log;
make install &&
cd .. &&
rm -rf "XZ" &&
echo "Finished 8.8 ""$XZ""" >> build.log &&
echo "$XZ" >> /installed.txt
rm -rf "LFS_XZ" &&
echo "Finished 8.8 ""$LFS_XZ""" >> build.log &&
echo "$LFS_XZ" >> /installed.txt
echo "8.9 ""$ZSTD"""
tar xf "$ZSTD".tar.gz &&
cd "$ZSTD" &&
echo "8.9 ""$LFS_ZSTD"""
tar xf "$LFS_ZSTD".tar.gz &&
cd "$LFS_ZSTD" &&
make prefix=/usr &&
make check | tee ../check-log_"$ZSTD".log;
make check | tee ../check-log_"$LFS_ZSTD".log;
make prefix=/usr install &&
rm -v /usr/lib/libzstd.a &&
cd .. &&
rm -rf "$ZSTD" &&
echo "Finished 8.9 ""$ZSTD""" >> build.log &&
echo "$ZSTD" >> /installed.txt
rm -rf "$LFS_ZSTD" &&
echo "Finished 8.9 ""$LFS_ZSTD""" >> build.log &&
echo "$LFS_ZSTD" >> /installed.txt
echo "8.10 ""$FILE"""
tar xf "$FILE".tar.gz &&
cd "$FILE" &&
echo "8.10 ""$LFS_FILE"""
tar xf "$LFS_FILE".tar.gz &&
cd "$LFS_FILE" &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$FILE".log;
make check | tee ../check-log_"$LFS_FILE".log;
make install &&
cd .. &&
rm -rf "$FILE" &&
echo "Finished 8.10 ""$FILE""" >> build.log &&
echo "$FILE" >> /installed.txt
rm -rf "$LFS_FILE" &&
echo "Finished 8.10 ""$LFS_FILE""" >> build.log &&
echo "$LFS_FILE" >> /installed.txt
echo "8.11 ""$READLINE"""
tar xf "$READLINE".tar.gz &&
cd "$READLINE" &&
echo "8.11 ""$LFS_READLINE"""
tar xf "$LFS_READLINE".tar.gz &&
cd "$LFS_READLINE" &&
sed -i '/MV.*old/d' Makefile.in &&
sed -i '/{OLDSUFF}/c:' support/shlib-install &&
patch -Np1 -i ../readline-8.2-upstream_fix-1.patch &&
@ -182,52 +182,52 @@ make SHLIB_LIBS="-lncursesw" &&
make SHLIB_LIBS="-lncursesw" install &&
install -v -m644 doc/*.{ps,pdf,html,dvi} /usr/share/doc/readline-8.2 &&
cd .. &&
rm -rf "$READLINE" &&
echo "Finished 8.11 ""$READLINE""" >> build.log &&
echo "$READLINE" >> /installed.txt
rm -rf "$LFS_READLINE" &&
echo "Finished 8.11 ""$LFS_READLINE""" >> build.log &&
echo "$LFS_READLINE" >> /installed.txt
echo "8.12 ""$M4"""
tar xf "$M4".tar.xz &&
cd "$M4" &&
echo "8.12 ""$LFS_M4"""
tar xf "$LFS_M4".tar.xz &&
cd "$LFS_M4" &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$M4".log;
make check | tee ../check-log_"$LFS_M4".log;
make install &&
cd .. &&
rm -rf "$M4" &&
echo "Finished 8.12 ""$M4""" >> build.log &&
echo "$M4" >> /installed.txt
rm -rf "$LFS_M4" &&
echo "Finished 8.12 ""$LFS_M4""" >> build.log &&
echo "$LFS_M4" >> /installed.txt
echo "8.13 ""$BC"""
tar xf "$BC".tar.xz &&
cd "$BC" &&
echo "8.13 ""$LFS_BC"""
tar xf "$LFS_BC".tar.xz &&
cd "$LFS_BC" &&
CC=gcc ./configure --prefix=/usr -G -O3 -r &&
make &&
make test | tee ../check-log_"$BC".log;
make test | tee ../check-log_"$LFS_BC".log;
make install &&
cd .. &&
rm -rf "$BC" &&
echo "Finished 8.13 ""$BC""" >> build.log
echo "$BC" >> /installed.txt
rm -rf "$LFS_BC" &&
echo "Finished 8.13 ""$LFS_BC""" >> build.log
echo "$LFS_BC" >> /installed.txt
echo "8.14 ""$FLEX"""
tar xf "$FLEX".tar.gz &&
cd "$FLEX" &&
echo "8.14 ""$LFS_FLEX"""
tar xf "$LFS_FLEX".tar.gz &&
cd "$LFS_FLEX" &&
./configure --prefix=/usr \
--docdir=/usr/share/doc/flex-2.6.4 \
--disable-static &&
make &&
make check | tee ../check-log_"$FLEX".log;
make check | tee ../check-log_"$LFS_FLEX".log;
make install &&
ln -sv flex /usr/bin/lex &&
cd .. &&
rm -rf "$FLEX" &&
echo "Finished 8.14 ""$FLEX""" >> build.log &&
echo "$FLEX" >> /installed.txt
rm -rf "$LFS_FLEX" &&
echo "Finished 8.14 ""$LFS_FLEX""" >> build.log &&
echo "$LFS_FLEX" >> /installed.txt
echo "8.15 ""$TCL"""
tar xf "$TCL"-src.tar.gz &&
cd "$TCL" &&
echo "8.15 ""$LFS_TCL"""
tar xf "$LFS_TCL"-src.tar.gz &&
cd "$LFS_TCL" &&
SRCDIR=$(pwd) &&
cd unix &&
./configure --prefix=/usr \
@ -246,7 +246,7 @@ sed -e "s|$SRCDIR/unix/pkgs/itcl4.2.3|/usr/lib/itcl4.2.3|" \
-e "s|$SRCDIR/pkgs/itcl4.2.3|/usr/include|" \
-i pkgs/itcl4.2.3/itclConfig.sh &&
unset SRCDIR &&
make test | tee ../../check-log_"$TCL".log;
make test | tee ../../check-log_"$LFS_TCL".log;
make install &&
chmod -v u+w /usr/lib/libtcl8.6.so &&
make install-private-headers &&
@ -257,29 +257,29 @@ tar -xf ../tcl8.6.13-html.tar.gz --strip-components=1 &&
mkdir -v -p /usr/share/doc/tcl-8.6.13 &&
cp -v -r ./html/* /usr/share/doc/tcl-8.6.13 &&
cd .. &&
rm -rf "$TCL" &&
echo "Finished 8.15 ""$TCL""" >> build.log &&
echo "$TCL" >> /installed.txt
rm -rf "$LFS_TCL" &&
echo "Finished 8.15 ""$LFS_TCL""" >> build.log &&
echo "$LFS_TCL" >> /installed.txt
echo "8.16 ""$EXPECT"""
tar xf "$EXPECT".tar.gz &&
cd "$EXPECT" &&
echo "8.16 ""$LFS_EXPECT"""
tar xf "$LFS_EXPECT".tar.gz &&
cd "$LFS_EXPECT" &&
./configure --prefix=/usr \
--with-tcl=/usr/lib \
--enable-shared \
--mandir=/usr/share/man \
--with-tclinclude=/usr/include &&
make &&
make test | tee ../check-log_"$EXPECT".log;
make test | tee ../check-log_"$LFS_EXPECT".log;
make install &&
ln -svf expect5.45.4/libexpect5.45.4.so /usr/lib &&
cd .. && rm -rf "$EXPECT" &&
echo "Finished 8.16 ""$EXPECT""" >> build.log &&
echo "$EXPECT" >> /installed.txt
cd .. && rm -rf "$LFS_EXPECT" &&
echo "Finished 8.16 ""$LFS_EXPECT""" >> build.log &&
echo "$LFS_EXPECT" >> /installed.txt
echo "8.17 ""$DEJAGNU"""
tar xf "$DEJAGNU".tar.gz &&
cd "$DEJAGNU" &&
echo "8.17 ""$LFS_DEJAGNU"""
tar xf "$LFS_DEJAGNU".tar.gz &&
cd "$LFS_DEJAGNU" &&
mkdir -v build &&
cd build &&
../configure --prefix=/usr &&
@ -288,15 +288,15 @@ makeinfo --plaintext -o doc/dejagnu.txt ../doc/dejagnu.texi &&
make install &&
install -v -dm755 /usr/share/doc/dejagnu-1.6.3 &&
install -v -m644 doc/dejagnu.{html,txt} /usr/share/doc/dejagnu-1.6.3 &&
make check | tee ../../check-log_"$DEJAGNU".log;
make check | tee ../../check-log_"$LFS_DEJAGNU".log;
cd .. &&
rm -rf "$DEJAGNU" &&
echo "Finished 8.17 ""$DEJAGNU""" >> build.log &&
echo "$DEJAGNU" >> /installed.txt
rm -rf "$LFS_DEJAGNU" &&
echo "Finished 8.17 ""$LFS_DEJAGNU""" >> build.log &&
echo "$LFS_DEJAGNU" >> /installed.txt
echo "8.18 ""$BINUTILS"""
tar xf "$BINUTILS".tar.xz &&
cd "$BINUTILS" &&
echo "8.18 ""$LFS_BINUTILS"""
tar xf "$LFS_BINUTILS".tar.xz &&
cd "$LFS_BINUTILS" &&
echo "Verify that the PTYs are working properly inside the chroot environment"
echo "The output should be: spawn ls"
expect -c "spawn ls"
@ -313,19 +313,19 @@ cd build &&
--enable-64-bit-bfd \
--with-system-zlib &&
make tooldir=/usr &&
make -k check | tee ../../check-log_"$BINUTILS".log;
make -k check | tee ../../check-log_"$LFS_BINUTILS".log;
grep '^FAIL:' $(find -name '*.log') &&
make tooldir=/usr install &&
rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,sframe,opcodes}.a &&
rm -fv /usr/share/man/man1/{gprofng,gp-*}.1 &&
cd ../.. &&
rm -rf "$BINUTILS" &&
echo "Finished 8.18 ""$BINUTILS""" >> build.log &&
echo "$BINUTILS" >> /installed.txt
rm -rf "$LFS_BINUTILS" &&
echo "Finished 8.18 ""$LFS_BINUTILS""" >> build.log &&
echo "$LFS_BINUTILS" >> /installed.txt
echo "8.19 ""$GMP"""
tar xf "$GMP".tar.xz &&
cd "$GMP" &&
echo "8.19 ""$LFS_GMP"""
tar xf "$LFS_GMP".tar.xz &&
cd "$LFS_GMP" &&
./configure --prefix=/usr \
--enable-cxx \
--disable-static \
@ -334,17 +334,17 @@ make &&
make html &&
make check 2>&1 | tee gmp-check-log;
awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log &&
cp gmp-check-log ../check-log_"$GMP".log &&
cp gmp-check-log ../check-log_"$LFS_GMP".log &&
make install &&
make install-html &&
cd .. &&
rm -rf "$GMP" &&
echo "Finished 8.19 ""$GMP""" >> build.txt &&
echo "$GMP" >> /installed.txt
rm -rf "$LFS_GMP" &&
echo "Finished 8.19 ""$LFS_GMP""" >> build.txt &&
echo "$LFS_GMP" >> /installed.txt
echo "8.20 ""$MPFR"""
tar xf "$MPFR".tar.xz &&
cd "$MPFR" &&
echo "8.20 ""$LFS_MPFR"""
tar xf "$LFS_MPFR".tar.xz &&
cd "$LFS_MPFR" &&
sed -e 's/+01,234,567/+1,234,567 /' \
-e 's/13.10Pd/13Pd/' \
-i tests/tsprintf.c &&
@ -354,73 +354,73 @@ sed -e 's/+01,234,567/+1,234,567 /' \
--docdir=/usr/share/doc/mpfr-4.2.0 &&
make &&
make html &&
make check | tee ../check-log_"$MPFR".log;
make check | tee ../check-log_"$LFS_MPFR".log;
make install &&
make install-html &&
cd .. &&
rm -rf "$MPFR" &&
echo "Finished 8.20 ""$MPFR""" >> build.log &&
echo "$MPFR" >> /installed.txt
rm -rf "$LFS_MPFR" &&
echo "Finished 8.20 ""$LFS_MPFR""" >> build.log &&
echo "$LFS_MPFR" >> /installed.txt
echo "8.21 ""$MPC"""
tar xf "$MPC".tar,gz &&
cd "$MPC" &&
echo "8.21 ""$LFS_MPC"""
tar xf "$LFS_MPC".tar,gz &&
cd "$LFS_MPC" &&
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/mpc-1.3.1 &&
make &&
make html &&
make check | tee ../check-log_"$MPC".log;
make check | tee ../check-log_"$LFS_MPC".log;
make install &&
make install-html &&
cd .. &&
rm -rf "$MPC" &&
echo "Finished 8.21 ""$MPC""" >> build.log &&
echo "$MPC" >> /installed.txt
rm -rf "$LFS_MPC" &&
echo "Finished 8.21 ""$LFS_MPC""" >> build.log &&
echo "$LFS_MPC" >> /installed.txt
echo "8.22 ""$ATTR"""
tar xf "$ATTR".tar.gz &&
cd "$ATTR" &&
echo "8.22 ""$LFS_ATTR"""
tar xf "$LFS_ATTR".tar.gz &&
cd "$LFS_ATTR" &&
./configure --prefix=/usr \
--disable-static \
--sysconfdir=/etc \
--docdir=/usr/share/doc/attr-2.5.1 &&
make &&
make check | tee ../check-log_"$ATTR".log;
make check | tee ../check-log_"$LFS_ATTR".log;
make install &&
cd .. &&
rm -rf "$ATTR" &&
echo "Finished 8.22 ""$ATTR""" >> build.log &&
echo "$ATTR" >> /installed.txt
rm -rf "$LFS_ATTR" &&
echo "Finished 8.22 ""$LFS_ATTR""" >> build.log &&
echo "$LFS_ATTR" >> /installed.txt
echo "8.23 ""$ACL"""
tar xf "$ACL".tar.xz &&
cd "$ACL" &&
echo "8.23 ""$LFS_ACL"""
tar xf "$LFS_ACL".tar.xz &&
cd "$LFS_ACL" &&
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/acl-2.3.1 &&
make &&
make install &&
cd .. &&
rm -rf "$ACL" &&
echo "Finished 8.23 ""$ACL""" >> build.log &&
echo "$ACL" >> /installed.txt
rm -rf "$LFS_ACL" &&
echo "Finished 8.23 ""$LFS_ACL""" >> build.log &&
echo "$LFS_ACL" >> /installed.txt
echo "8.24 ""$LIBCAP"""
tar xf "$LIBCAP".tar.xz &&
cd "$LIBCAP" &&
echo "8.24 ""$LFS_LIBCAP"""
tar xf "$LFS_LIBCAP".tar.xz &&
cd "$LFS_LIBCAP" &&
sed -i '/install -m.*STA/d' libcap/Makefile &&
make prefix=/usr lib=lib &&
make test | tee ../check-log_"$LIBCAP".log;
make test | tee ../check-log_"$LFS_LIBCAP".log;
make prefix=/usr lib=lib install &&
cd .. &&
rm -rf "$LIBCAP" &&
echo "Finished 8.24 ""$LIBCAP""" >> build.log &&
echo "$LIBCAP" >> /installed.txt
rm -rf "$LFS_LIBCAP" &&
echo "Finished 8.24 ""$LFS_LIBCAP""" >> build.log &&
echo "$LFS_LIBCAP" >> /installed.txt
echo "8.25 ""$SHADOW"""
tar xf "$SHADOW".tar.xz &&
cd "$SHADOW" &&
echo "8.25 ""$LFS_SHADOW"""
tar xf "$LFS_SHADOW".tar.xz &&
cd "$LFS_SHADOW" &&
sed -i 's/groups$(EXEEXT) //' src/Makefile.in &&
find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
@ -446,13 +446,13 @@ echo root:root | chpasswd #Set the root password
echo "The password for the user root has been set to 'root'"
sleep 5
cd .. &&
rm -rf "$SHADOW" &&
echo "Finished 8.25 ""$SHADOW""" >> build.log &&
echo "$SHADOW" >> /installed.txt
rm -rf "$LFS_SHADOW" &&
echo "Finished 8.25 ""$LFS_SHADOW""" >> build.log &&
echo "$LFS_SHADOW" >> /installed.txt
echo "8.26 ""$GCC"""
tar xf "$GCC".tar.xz &&
cd "$GCC" &&
echo "8.26 ""$LFS_GCC"""
tar xf "$LFS_GCC".tar.xz &&
cd "$LFS_GCC" &&
case $(uname -m) in
x86_64)
sed -e '/m64=/s/lib64/lib/' \
@ -473,7 +473,7 @@ make &&
ulimit -s 32768 &&
chown -Rv tester . &&
su tester -c "PATH=$PATH make -k -j""$JOBS"" check";
../contrib/test_summary | tee ../../check-log_"$GCC".log &&
../contrib/test_summary | tee ../../check-log_"$LFS_GCC".log &&
../contrib/test_summary | grep -A7 Summ &&
make install &&
chown -v -R root:root \
@ -516,7 +516,7 @@ echo "Next make sure that we're using the correct libc"
echo "The output should be:"
echo "attempt to open /usr/lib/libc.so.6 succeeded"
grep "/lib.*/libc.so.6 " dummy.log
echo "Make sure GCC is using the correct dynamic linker"
echo "Make sure LFS_GCC is using the correct dynamic linker"
echo "The output should be (allowing for platform-specific differences in dynamic linker name):"
echo "found ld-linux-x86-64.so.2 at /usr/lib/ld-linux-x86-64.so.2"
grep found dummy.log
@ -525,28 +525,28 @@ rm -v dummy.c a.out dummy.log &&
mkdir -pv /usr/share/gdb/auto-load/usr/lib &&
mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib &&
cd ../.. &&
rm -rf "$GCC" &&
echo "Finished 8.26 ""$GCC""" >> build.log &&
echo "$GCC" >> /installed.txt
rm -rf "$LFS_GCC" &&
echo "Finished 8.26 ""$LFS_GCC""" >> build.log &&
echo "$LFS_GCC" >> /installed.txt
echo "8.27 ""$PKGCONFIG"""
echo "8.27 ""$LFS_PKGCONFIG"""
tar xf "$PKGONFIG".tar.gz
cd "$PKGCONFIG" &&
cd "$LFS_PKGCONFIG" &&
./configure --prefix=/usr \
--with-internal-glib \
--disable-host-tool \
--docdir=/usr/share/doc/pkg-config-0.29.2 &&
make &&
make check | tee ../check-log_"$PKGCONFIG".log;
make check | tee ../check-log_"$LFS_PKGCONFIG".log;
make install &&
cd .. &&
rm -rf "$PKGCONFIG" &&
echo "Finished 8.27 ""$PKGCONFIG""" >> build.log &&
echo "$PKGCONFIG" >> /installed.txt
rm -rf "$LFS_PKGCONFIG" &&
echo "Finished 8.27 ""$LFS_PKGCONFIG""" >> build.log &&
echo "$LFS_PKGCONFIG" >> /installed.txt
echo "8.28 ""$NCURSES"""
tar xf "$NCURSES".tar.gz &&
cd "$NCURSES" &&
echo "8.28 ""$LFS_NCURSES"""
tar xf "$LFS_NCURSES".tar.gz &&
cd "$LFS_NCURSES" &&
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-shared \
@ -572,87 +572,87 @@ ln -sfv libncurses.so /usr/lib/libcurses.so &&
mkdir -pv /usr/share/doc/ncurses-6.4 &&
cp -v -R doc/* /usr/share/doc/ncurses-6.4 &&
cd .. &&
rm -rf "$NCURSES" &&
echo "Finished 8.28 ""$NCURSES""" >> build.log &&
echo "$NCURSES" >> /installed.txt
rm -rf "$LFS_NCURSES" &&
echo "Finished 8.28 ""$LFS_NCURSES""" >> build.log &&
echo "$LFS_NCURSES" >> /installed.txt
echo "8.29 ""$SED"""
tar xf "$SED".tar.xz &&
cd "$SED" &&
echo "8.29 ""$LFS_SED"""
tar xf "$LFS_SED".tar.xz &&
cd "$LFS_SED" &&
./configure --prefix=/usr &&
make &&
make html &&
chown -Rv tester . &&
su tester -c "PATH=$PATH make check" | tee ../check-log_"$GCC".log;
su tester -c "PATH=$PATH make check" | tee ../check-log_"$LFS_GCC".log;
make install &&
install -d -m755 /usr/share/doc/sed-4.9 &&
install -m644 doc/sed.html /usr/share/doc/sed-4.9 &&
cd .. &&
rm -rf "$SED" &&
echo "Finished 8.29 ""$SED""" >> build.txt &&
echo "$SED" >> /installed.txt
rm -rf "$LFS_SED" &&
echo "Finished 8.29 ""$LFS_SED""" >> build.txt &&
echo "$LFS_SED" >> /installed.txt
echo "8.30 ""$PSMISC"""
tar xf "$PSMISC".tar.xz &&
cd "$PSMISC" &&
echo "8.30 ""$LFS_PSMISC"""
tar xf "$LFS_PSMISC".tar.xz &&
cd "$LFS_PSMISC" &&
./configure --prefix=/usr &&
make &&
make install &&
cd .. &&
rm -rf "$PSMISC" &&
echo "Finished 8.30 ""$PSMISC""" >> build.txt &&
echo "$PSMISC" >> /installed.txt
rm -rf "$LFS_PSMISC" &&
echo "Finished 8.30 ""$LFS_PSMISC""" >> build.txt &&
echo "$LFS_PSMISC" >> /installed.txt
echo "8.31 ""$GETTEXT"""
tar xf "$GETTEXT".tar.xz &&
cd "$GETTEXT" &&
echo "8.31 ""$LFS_GETTEXT"""
tar xf "$LFS_GETTEXT".tar.xz &&
cd "$LFS_GETTEXT" &&
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/gettext-0.21.1 &&
make &&
make check | tee ../check-log_"$GCC".log;
make check | tee ../check-log_"$LFS_GCC".log;
make install &&
chmod -v 0755 /usr/lib/preloadable_libintl.so &&
cd .. &&
rm -rf "$GETTEXT" &&
echo "Finished 8.31 ""$GETTEXT""" >> build.log &&
echo "$GETTEXT" >> /installed.txt
rm -rf "$LFS_GETTEXT" &&
echo "Finished 8.31 ""$LFS_GETTEXT""" >> build.log &&
echo "$LFS_GETTEXT" >> /installed.txt
echo "8.32 ""$BISON"""
tar xf "$BISON".tar.xz &&
cd "$BISON" &&
echo "8.32 ""$LFS_BISON"""
tar xf "$LFS_BISON".tar.xz &&
cd "$LFS_BISON" &&
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.2 &&
make &&
make check | tee ../check-log_"$BISON".log;
make check | tee ../check-log_"$LFS_BISON".log;
make install &&
cd .. &&
rm -rf "$BISON" &&
echo "Finished 8.32 ""$BISON""" >> build.log &&
echo "$BISON" >> /installed.txt
rm -rf "$LFS_BISON" &&
echo "Finished 8.32 ""$LFS_BISON""" >> build.log &&
echo "$LFS_BISON" >> /installed.txt
echo "8.33 ""$GREP"""
tar xf "$GREP".tar.xz &&
cd "$GREP" &&
echo "8.33 ""$LFS_GREP"""
tar xf "$LFS_GREP".tar.xz &&
cd "$LFS_GREP" &&
sed -i "s/echo/#echo/" src/egrep.sh &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$GREP".log;
make check | tee ../check-log_"$LFS_GREP".log;
make install &&
cd .. &&
rm -rf "$GREP" &&
echo "Finished 8.33 ""$GREP""" >> build.log &&
echo "$GREP" >> /installed.txt
rm -rf "$LFS_GREP" &&
echo "Finished 8.33 ""$LFS_GREP""" >> build.log &&
echo "$LFS_GREP" >> /installed.txt
echo "8.34 ""$BASH"""
tar xf "$BASH".tar.gz &&
cd "$BASH" &&
echo "8.34 ""$LFS_BASH"""
tar xf "$LFS_BASH".tar.gz &&
cd "$LFS_BASH" &&
./configure --prefix=/usr \
--without-bash-malloc \
--with-installed-readline \
--docdir=/usr/share/doc/bash-5.2.15 &&
make &&
chown -Rv tester . &&
su -s /usr/bin/expect tester << EOF | tee ../check-log_"$BASH".log;
su -s /usr/bin/expect tester << EOF | tee ../check-log_"$LFS_BASH".log;
set timeout -1
spawn make tests
expect eof
@ -661,8 +661,8 @@ exit $value
EOF
make install &&
cd .. &&
rm -rf "$BASH" &&
echo "Finished 8.34 ""$BASH""" &&
echo "$GREP" >> /installed.txt
rm -rf "$LFS_BASH" &&
echo "Finished 8.34 ""$LFS_BASH""" &&
echo "$LFS_GREP" >> /installed.txt
echo "Executing new bash, continue with chapter 8 p2"
exec /usr/bin/bash --login

View File

@ -2,63 +2,63 @@
source vars.sh
echo "8.35 ""$LIBTOOL"""
tar xf "$LIBTOOL".tar.xz &&
cd "$LIBTOOL" &&
echo "8.35 ""$LFS_LIBTOOL"""
tar xf "$LFS_LIBTOOL".tar.xz &&
cd "$LFS_LIBTOOL" &&
./configure --prefix=/usr &&
make &&
TESTSUITEFLAGS=-j"$JOBS" make -k check | tee ../check-log_"$LIBTOOL".log;
TESTSUITEFLAGS=-j"$JOBS" make -k check | tee ../check-log_"$LFS_LIBTOOL".log;
make install &&
rm -fv /usr/lib/libltdl.a &&
cd .. &&
rm -rf "$LIBTOOL" &&
echo "Finished 8.35 ""$LIBTOOL""" >> build.log &&
echo "$LIBTOOL" >> /installed.txt
rm -rf "$LFS_LIBTOOL" &&
echo "Finished 8.35 ""$LFS_LIBTOOL""" >> build.log &&
echo "$LFS_LIBTOOL" >> /installed.txt
echo "8.36 ""$GDBM"""
tar xf "$GDBM".tar.gz &&
cd "$GDBM" &&
echo "8.36 ""$LFS_GDBM"""
tar xf "$LFS_GDBM".tar.gz &&
cd "$LFS_GDBM" &&
./configure --prefix=/usr \
--disable-static \
--enable-libgdbm-compat &&
make &&
make check | tee ../check-log_"$GDBM".log;
make check | tee ../check-log_"$LFS_GDBM".log;
make install &&
cd .. &&
rm -rf "$GDBM" &&
echo "Finished 8.36 ""$GDBM""" >> build.log &&
echo "$GDBM" >> /installed.txt
rm -rf "$LFS_GDBM" &&
echo "Finished 8.36 ""$LFS_GDBM""" >> build.log &&
echo "$LFS_GDBM" >> /installed.txt
echo "8.37 ""$GPERF"""
tar xf "$GPERF".tar.gz &&
cd "$GPERF" &&
echo "8.37 ""$LFS_GPERF"""
tar xf "$LFS_GPERF".tar.gz &&
cd "$LFS_GPERF" &&
./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1 &&
make &&
make -j1 check | tee ../check-log_"$GPERF".log;
make -j1 check | tee ../check-log_"$LFS_GPERF".log;
make install &&
cd .. &&
rm -rf "$GPERF" &&
echo "Finished 8.37 ""$GPERF""" >> build.log &&
echo "$GPERF" >> /installed.txt
rm -rf "$LFS_GPERF" &&
echo "Finished 8.37 ""$LFS_GPERF""" >> build.log &&
echo "$LFS_GPERF" >> /installed.txt
echo "8.38 ""$EXPAT"""
tar xf "$EXPAT".tar.xz &&
cd "$EXPAT" &&
echo "8.38 ""$LFS_EXPAT"""
tar xf "$LFS_EXPAT".tar.xz &&
cd "$LFS_EXPAT" &&
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/expat-2.5.0 &&
make &&
make check | tee ../check-log_"$EXPAT".log;
make check | tee ../check-log_"$LFS_EXPAT".log;
make install &&
install -v -m644 doc/*.{html,css} /usr/share/doc/expat-2.5.0 &&
cd .. &&
rm -rf "$EXPAT" &&
echo "Finished 8.38 ""$EXPAT""" >> build.log &&
echo "$EXPAT" >> /installed.txt
rm -rf "$LFS_EXPAT" &&
echo "Finished 8.38 ""$LFS_EXPAT""" >> build.log &&
echo "$LFS_EXPAT" >> /installed.txt
echo "8.39 ""$INETUTILS"""
tar xf "$INETUTILS".tar.xz &&
cd "$INETUTILS" &&
echo "8.39 ""$LFS_INETUTILS"""
tar xf "$LFS_INETUTILS".tar.xz &&
cd "$LFS_INETUTILS" &&
if [ "$TELNETD" = TRUE ]; then
./configure --prefix=/usr \
--bindir=/usr/bin \
@ -84,7 +84,7 @@ else
--disable-servers
fi &&
make &&
make check | tee ../check-log_"$INETUTILS".log;
make check | tee ../check-log_"$LFS_INETUTILS".log;
make install &&
mv -v /usr/{,s}bin/ifconfig &&
if [ "$TELNETD" = TRUE ]; then
@ -110,24 +110,24 @@ StandardInput=socket
EOF
fi &&
cd .. &&
rm -rf "$INETUTILS" &&
echo "Finished 8.39 ""$INETUTILS""" >> build.log &&
echo "$INETUTILS" >> /installed.txt
rm -rf "$LFS_INETUTILS" &&
echo "Finished 8.39 ""$LFS_INETUTILS""" >> build.log &&
echo "$LFS_INETUTILS" >> /installed.txt
echo "8.40 ""$LESS"""
tar xf "$LESS".tar.gz &&
cd "$LESS" &&
echo "8.40 ""$LFS_LESS"""
tar xf "$LFS_LESS".tar.gz &&
cd "$LFS_LESS" &&
./configure --prefix=/usr --sysconfdir=/etc &&
make &&
make install &&
cd .. &&
rm -rf "$LESS" &&
echo "Finished 8.40 ""$LESS""" >> build.log &&
echo "$LESS" >> /installed.txt
rm -rf "$LFS_LESS" &&
echo "Finished 8.40 ""$LFS_LESS""" >> build.log &&
echo "$LFS_LESS" >> /installed.txt
echo "8.41 ""$PERL"""
tar xf "$PERL".tar.xz &&
cd "$PERL" &&
echo "8.41 ""$LFS_PERL"""
tar xf "$LFS_PERL".tar.xz &&
cd "$LFS_PERL" &&
export BUILD_ZLIB=False &&
export BUILD_BZIP2=0 &&
sh Configure -des \
@ -145,89 +145,89 @@ sh Configure -des \
-Duseshrplib \
-Dusethreads &&
make &&
make test | tee ../check-log_"$PERL".log;
make test | tee ../check-log_"$LFS_PERL".log;
make install &&
unset BUILD_ZLIB BUILD_BZIP2 &&
cd .. &&
rm -rf "$PERL" &&
echo "Finished 8.41 ""$PERL""" >> build.log &&
echo "$PERL" >> /installed.txt
rm -rf "$LFS_PERL" &&
echo "Finished 8.41 ""$LFS_PERL""" >> build.log &&
echo "$LFS_PERL" >> /installed.txt
echo "8.42 ""$XMLPARSER"""
tar xf "$XMLPARSER".tar.gz &&
cd "$XMLPARSER" &&
echo "8.42 ""$LFS_XMLPARSER"""
tar xf "$LFS_XMLPARSER".tar.gz &&
cd "$LFS_XMLPARSER" &&
perl Makefile.PL &&
make &&
make test | tee ../check-log_"$XMLPARSER".log;
make test | tee ../check-log_"$LFS_XMLPARSER".log;
make install &&
cd .. &&
rm -rf "$XMLPARSER" &&
echo "Finished 8.42 ""$XMLPARSER""" >> build.log &&
echo "$PERL" >> /installed.txt
rm -rf "$LFS_XMLPARSER" &&
echo "Finished 8.42 ""$LFS_XMLPARSER""" >> build.log &&
echo "$LFS_PERL" >> /installed.txt
echo "8.43 ""$INTLTOOL"""
tar xf "$INTLTOOL".tar.gz &&
cd "$INTLTOOL" &&
echo "8.43 ""$LFS_INTLTOOL"""
tar xf "$LFS_INTLTOOL".tar.gz &&
cd "$LFS_INTLTOOL" &&
sed -i 's:\\\${:\\\$\\{:' intltool-update.in &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$INTLTOOL".log;
make check | tee ../check-log_"$LFS_INTLTOOL".log;
make install &&
install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-0.51.0/I18N-HOWTO &&
cd .. &&
rm -rf "$INTLTOOL" &&
echo "Finished 8.43 ""$INTLTOOL""" >> build.log &&
echo "$INTLTOOL" >> /installed.txt
rm -rf "$LFS_INTLTOOL" &&
echo "Finished 8.43 ""$LFS_INTLTOOL""" >> build.log &&
echo "$LFS_INTLTOOL" >> /installed.txt
echo "8.44 ""$AUTOCONF"""
tar xf "$AUTOCONF".tar.xz &&
cd "$AUTOCONF" &&
echo "8.44 ""$LFS_AUTOCONF"""
tar xf "$LFS_AUTOCONF".tar.xz &&
cd "$LFS_AUTOCONF" &&
sed -e 's/SECONDS|/&SHLVL|/' \
-e '/BASH_ARGV=/a\ /^SHLVL=/ d' \
-i.orig tests/local.at &&
./configure --prefix=/usr &&
make &&
TESTSUITEFLAGS=-j"$JOBS" make check | tee ../check-log_"$AUTOCONF".log;
TESTSUITEFLAGS=-j"$JOBS" make check | tee ../check-log_"$LFS_AUTOCONF".log;
make install &&
cd .. &&
rm -rf "$AUTOCONF" &&
echo "Finished 8.44 ""$AUTOCONF""" >> build.log &&
echo "$AUTOCONF" >> /installed.txt
rm -rf "$LFS_AUTOCONF" &&
echo "Finished 8.44 ""$LFS_AUTOCONF""" >> build.log &&
echo "$LFS_AUTOCONF" >> /installed.txt
echo "8.45 ""$AUTOMAKE"""
tar xf "$AUTOMAKE".tar.xz &&
cd "$AUTOMAKE" &&
echo "8.45 ""$LFS_AUTOMAKE"""
tar xf "$LFS_AUTOMAKE".tar.xz &&
cd "$LFS_AUTOMAKE" &&
./configure --prefix=/usr --docdir=/usr/share/doc/automake-1.16.5 &&
make &&
make -j4 check | tee ../check-log_"$AUTOMAKE".log;
make -j4 check | tee ../check-log_"$LFS_AUTOMAKE".log;
make install &&
cd .. &&
rm -rf "$AUTOMAKE" &&
echo "8.45 ""$AUTOMAKE""" >> build.log &&
echo "$AUTOMAKE" >> /installed.txt
rm -rf "$LFS_AUTOMAKE" &&
echo "8.45 ""$LFS_AUTOMAKE""" >> build.log &&
echo "$LFS_AUTOMAKE" >> /installed.txt
echo "8.46 ""$OPENSSL"""
tar xf "$OPENSSL".tar.gz &&
cd "$OPENSSL" &&
echo "8.46 ""$LFS_OPENSSL"""
tar xf "$LFS_OPENSSL".tar.gz &&
cd "$LFS_OPENSSL" &&
./config --prefix=/usr \
--openssldir=/etc/ssl \
--libdir=lib \
shared \
zlib-dynamic &&
make &&
make test | tee ../check-log_"$OPENSSL".log;
make test | tee ../check-log_"$LFS_OPENSSL".log;
sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile &&
make MANSUFFIX=ssl install &&
mv -v /usr/share/doc/openssl /usr/share/doc/openssl-3.0.8 &&
cp -vfr doc/* /usr/share/doc/openssl-3.0.8 &&
cd .. &&
rm -rf "$OPENSSL" &&
echo "Finished 8.46 ""$OPENSSL""" >> build.log &&
echo "$OPENSSL" >> /installed.txt
rm -rf "$LFS_OPENSSL" &&
echo "Finished 8.46 ""$LFS_OPENSSL""" >> build.log &&
echo "$LFS_OPENSSL" >> /installed.txt
echo "8.47 ""$KMOD"""
tar xf "$KMOD".tar.xz &&
cd "$KMOD" &&
echo "8.47 ""$LFS_KMOD"""
tar xf "$LFS_KMOD".tar.xz &&
cd "$LFS_KMOD" &&
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-openssl \
@ -241,43 +241,43 @@ for target in depmod insmod modinfo modprobe rmmod; do
done &&
ln -sfv kmod /usr/bin/lsmod &&
cd .. &&
rm -rf "$KMOD" &&
echo "Finished 8.47 ""$KMOD""" >> build.log &&
echo "$KMOD" >> /installed.txt
rm -rf "$LFS_KMOD" &&
echo "Finished 8.47 ""$LFS_KMOD""" >> build.log &&
echo "$LFS_KMOD" >> /installed.txt
echo "8.48 Libelf from ""$ELFUTILS"""
tar xf "$ELFUTILS".tar.bz2 &&
cd "$ELFUTILS" &&
echo "8.48 Libelf from ""$LFS_ELFUTILS"""
tar xf "$LFS_ELFUTILS".tar.bz2 &&
cd "$LFS_ELFUTILS" &&
./configure --prefix=/usr \
--disable-debuginfod \
--enable-libdebuginfod=dummy &&
make &&
make check | tee ../check-log_"$ELFUTILS".log;
make check | tee ../check-log_"$LFS_ELFUTILS".log;
make -C libelf install &&
install -vm644 config/libelf.pc /usr/lib/pkgconfig &&
rm /usr/lib/libelf.a &&
cd .. &&
rm -rf "$ELFUTILS" &&
echo "Finished 8.48 Libelf from ""$ELFUTILS""" >> build.log &&
echo "Libelf from $ELFUTILS" >> /installed.txt
rm -rf "$LFS_ELFUTILS" &&
echo "Finished 8.48 Libelf from ""$LFS_ELFUTILS""" >> build.log &&
echo "Libelf from $LFS_ELFUTILS" >> /installed.txt
echo "8.49 ""$LIBFFI"""
tar xf "$LIBFFI" &&
cd "$LIBFFI" &&
echo "8.49 ""$LFS_LIBFFI"""
tar xf "$LFS_LIBFFI" &&
cd "$LFS_LIBFFI" &&
./configure --prefix=/usr \
--disable-static \
--with-gcc-arch=native &&
make &&
make check | tee ../check-log_"$LIBFFI".log;
make check | tee ../check-log_"$LFS_LIBFFI".log;
make install &&
cd .. &&
rm -rf "$LIBFFI" &&
echo "Finished 8.49 ""$LIBFFI""" >> build.log &&
echo "$LIBFFI" >> /installed.txt
rm -rf "$LFS_LIBFFI" &&
echo "Finished 8.49 ""$LFS_LIBFFI""" >> build.log &&
echo "$LFS_LIBFFI" >> /installed.txt
echo "8.50 ""$PYTHON"""
tar xf "$PYTHON".tar.xz &&
cd "$PYTHON" &&
echo "8.50 ""$LFS_PYTHON"""
tar xf "$LFS_PYTHON".tar.xz &&
cd "$LFS_PYTHON" &&
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
@ -297,23 +297,23 @@ tar --strip-components=1 \
-C /usr/share/doc/python-3.11.2/html \
-xvf ../python-3.11.2-docs-html.tar.bz2 &&
cd .. &&
rm -rf "$PYTHON" &&
echo "Finished 8.50 ""$PYTHON""" >> build.log &&
echo "$PYTHON" >> /installed.txt
rm -rf "$LFS_PYTHON" &&
echo "Finished 8.50 ""$LFS_PYTHON""" >> build.log &&
echo "$LFS_PYTHON" >> /installed.txt
echo "8.51 ""$WHEEL"""
tar xf "$WHEEL".tar.gz &&
cd "$WHEEL" &&
echo "8.51 ""$LFS_WHEEL"""
tar xf "$LFS_WHEEL".tar.gz &&
cd "$LFS_WHEEL" &&
PYTHONPATH=src pip3 wheel -w dist --no-build-isolation --no-deps $PWD &&
pip3 install --no-index --find-links=dist wheel &&
cd .. &&
rm -rf "$WHEEL" &&
echo "Finished 8.51 ""$WHEEL""" >> build.log &&
echo "$WHEEL" >> /installed.txt
rm -rf "$LFS_WHEEL" &&
echo "Finished 8.51 ""$LFS_WHEEL""" >> build.log &&
echo "$LFS_WHEEL" >> /installed.txt
echo "8.52 ""$NINJA"""
echo "8.52 ""$LFS_NINJA"""
tar xf "$NINA".tar.gz &&
cd "$NINJA" &&
cd "$LFS_NINJA" &&
sed -i '/int Guess/a \
int j = 0;\
char* jobs = getenv( "NINJAJOBS" );\
@ -321,31 +321,31 @@ sed -i '/int Guess/a \
if ( j > 0 ) return j;\
' src/ninja.cc &&
python3 configure.py --bootstrap &&
./ninja ninja_test | tee ../check-log_"$NINJA".log;
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots | tee -a ../check-log_"$NINJA".log;
./ninja ninja_test | tee ../check-log_"$LFS_NINJA".log;
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots | tee -a ../check-log_"$LFS_NINJA".log;
install -vm755 ninja /usr/bin/ &&
install -vDm644 misc/bash-completion /usr/share/bash-completion/completions/ninja &&
install -vDm644 misc/zsh-completion /usr/share/zsh/site-functions/_ninja &&
cd .. &&
rm -rf "$NINJA" &&
echo "Finished 8.52 ""$NINJA""" >> build.log &&
echo "$NINJA" >> /installed.txt
rm -rf "$LFS_NINJA" &&
echo "Finished 8.52 ""$LFS_NINJA""" >> build.log &&
echo "$LFS_NINJA" >> /installed.txt
echo "8.53 ""$MESON"""
tar xf "$MESON" &&
cd "$MESON" &&
echo "8.53 ""$LFS_MESON"""
tar xf "$LFS_MESON" &&
cd "$LFS_MESON" &&
pip3 wheel -w dist --no-build-isolation --no-deps $PWD &&
pip3 install --no-index --find-links dist meson &&
install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson &&
install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson &&
cd .. &&
rm -rf "$MESON" &&
echo "Finished 8.53 ""$MESON""" >> build.log &&
echo "$MESON" >> /installed.txt
rm -rf "$LFS_MESON" &&
echo "Finished 8.53 ""$LFS_MESON""" >> build.log &&
echo "$LFS_MESON" >> /installed.txt
echo "8.54 ""$COREUTILS"
tar xf "$COREUTILS".tar.xz &&
cd "$COREUTILS" &&
echo "8.54 ""$LFS_COREUTILS"
tar xf "$LFS_COREUTILS".tar.xz &&
cd "$LFS_COREUTILS" &&
patch -Np1 -i ../coreutils-9.1-i18n-1.patch &&
autoreconf -fiv &&
FORCE_UNSAFE_CONFIGURE=1 ./configure \
@ -355,86 +355,86 @@ make &&
make NON_ROOT_USERNAME=tester check-root &&
echo "dummy:x:102:tester" >> /etc/group &&
chown -Rv tester . &&
su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" | tee ../check-log_"$COREUTILS".log;
su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" | tee ../check-log_"$LFS_COREUTILS".log;
sed -i '/dummy/d' /etc/group &&
make install &&
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 &&
cd .. &&
rm -rf "$COREUTILS" &&
echo "Finished 8.54 ""$COREUTILS" >> build.log &&
echo "$COREUTILS" >> /installed.txt
rm -rf "$LFS_COREUTILS" &&
echo "Finished 8.54 ""$LFS_COREUTILS" >> build.log &&
echo "$LFS_COREUTILS" >> /installed.txt
echo "8.55 ""$CHECK"""
tar xf "$CHECK".tar.gz &&
cd "$CHECK" &&
echo "8.55 ""$LFS_CHECK"""
tar xf "$LFS_CHECK".tar.gz &&
cd "$LFS_CHECK" &&
./configure --prefix=/usr --disable-static &&
make &&
make check | tee ../check-log_"$CHECK".log;
make check | tee ../check-log_"$LFS_CHECK".log;
make docdir=/usr/share/doc/check-0.15.2 install &&
cd .. &&
rm -rf "$CHECK" &&
echo "Finished 8.55 ""$CHECK""" >> build.log &&
echo "$CHECK" >> /installed.txt
rm -rf "$LFS_CHECK" &&
echo "Finished 8.55 ""$LFS_CHECK""" >> build.log &&
echo "$LFS_CHECK" >> /installed.txt
echo "8.56 ""$DIFFUTILS"""
tar xf "$DIFFUTILS".tar.xz &&
cd "$DIFFUTILS" &&
echo "8.56 ""$LFS_DIFFUTILS"""
tar xf "$LFS_DIFFUTILS".tar.xz &&
cd "$LFS_DIFFUTILS" &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$DIFFUTILS".log;
make check | tee ../check-log_"$LFS_DIFFUTILS".log;
make install &&
cd .. &&
rm -rf "$DIFFUTILS" &&
echo "Finished 8.56 ""$DIFFUTILS""" >> build.log &&
echo "$DIFFUTILS" >> /installed.txt
rm -rf "$LFS_DIFFUTILS" &&
echo "Finished 8.56 ""$LFS_DIFFUTILS""" >> build.log &&
echo "$LFS_DIFFUTILS" >> /installed.txt
echo "8.57 ""$GAWK"""
tar xf "$GAWK".tar.xz &&
cd "$GAWK" &&
echo "8.57 ""$LFS_GAWK"""
tar xf "$LFS_GAWK".tar.xz &&
cd "$LFS_GAWK" &&
sed -i 's/extras//' Makefile.in &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$GAWK".log;
make check | tee ../check-log_"$LFS_GAWK".log;
make LN='ln -f' install &&
mkdir -pv /usr/share/doc/gawk-5.2.1 &&
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-5.2.1 &&
cd .. &&
rm -rf "$GAWK" &&
echo "Finished 8.57 ""$GAWK""" >> build.log &&
echo "$GAWK" >> /installed.txt
rm -rf "$LFS_GAWK" &&
echo "Finished 8.57 ""$LFS_GAWK""" >> build.log &&
echo "$LFS_GAWK" >> /installed.txt
echo "8.58 ""$FINDUTILS"""
tar xf "$FINDUTILS".tar.xz &&
cd "$FINDUTILS" &&
echo "8.58 ""$LFS_FINDUTILS"""
tar xf "$LFS_FINDUTILS".tar.xz &&
cd "$LFS_FINDUTILS" &&
case $(uname -m) in
i?86) TIME_T_32_BIT_OK=yes ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
x86_64) ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
esac &&
make &&
chown -Rv tester . &&
su tester -c "PATH=$PATH make check" | tee ../check-log_"$FINDUTILS".log;
su tester -c "PATH=$PATH make check" | tee ../check-log_"$LFS_FINDUTILS".log;
make install &&
cd .. &&
rm -rf "$FINDUTILS" &&
echo "Finished 8.58 ""$FINDUTILS""" >> build.log &&
echo "$FINDUTILS" >> /installed.txt
rm -rf "$LFS_FINDUTILS" &&
echo "Finished 8.58 ""$LFS_FINDUTILS""" >> build.log &&
echo "$LFS_FINDUTILS" >> /installed.txt
echo "8.59 ""$GROFF"""
tar xf "$GROFF".tar.gz &&
cd "$GROFF" &&
echo "8.59 ""$LFS_GROFF"""
tar xf "$LFS_GROFF".tar.gz &&
cd "$LFS_GROFF" &&
PAGE="$PAPERSIZE" ./configure --prefix=/usr &&
make &&
make install &&
cd .. &&
rm -rf "$GROFF" &&
echo "Finished 8.59 ""$GROFF""" >> build.log &&
echo "$GROFF" >> /installed.txt
rm -rf "$LFS_GROFF" &&
echo "Finished 8.59 ""$LFS_GROFF""" >> build.log &&
echo "$LFS_GROFF" >> /installed.txt
echo "8.60 ""$GRUB"""
tar xf "$GRUB".tar.xz &&
cd "$GRUB" &&
echo "8.60 ""$LFS_GRUB"""
tar xf "$LFS_GRUB".tar.xz &&
cd "$LFS_GRUB" &&
unset {C,CPP,CXX,LD}FLAGS &&
patch -Np1 -i ../grub-2.06-upstream_fixes-1.patch &&
./configure --prefix=/usr \
@ -445,25 +445,25 @@ make &&
make install &&
mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions &&
cd .. &&
rm -rf "$GRUB" &&
echo "Finished 8.60 ""$GRUB""" >> build.log &&
echo "$GRUB" >> /installed.txt
rm -rf "$LFS_GRUB" &&
echo "Finished 8.60 ""$LFS_GRUB""" >> build.log &&
echo "$LFS_GRUB" >> /installed.txt
echo "8.61 ""$GZIP"""
tar xf "$GZIP".tar.xz &&
cd "$GZIP" &&
echo "8.61 ""$LFS_GZIP"""
tar xf "$LFS_GZIP".tar.xz &&
cd "$LFS_GZIP" &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$GZIP".log;
make check | tee ../check-log_"$LFS_GZIP".log;
make install &&
cd .. &&
rm -rf "$GZIP" &&
echo "Finished 8.61 ""$GZIP""" >> build.log &&
echo "$GZIP" >> /installed.txt
rm -rf "$LFS_GZIP" &&
echo "Finished 8.61 ""$LFS_GZIP""" >> build.log &&
echo "$LFS_GZIP" >> /installed.txt
echo "8.62 ""$IPROUTE2"""
tar xf "$IPROUTE2".tar.xz &&
cd "$IPROUTE2" &&
echo "8.62 ""$LFS_IPROUTE2"""
tar xf "$LFS_IPROUTE2".tar.xz &&
cd "$LFS_IPROUTE2" &&
sed -i /ARPD/d Makefile &&
rm -fv man/man8/arpd.8 &&
make NETNS_RUN_DIR=/run/netns &&
@ -471,101 +471,101 @@ make SBINDIR=/usr/sbin install &&
mkdir -pv /usr/share/doc/iproute2-6.1.0 &&
cp -v COPYING README* /usr/share/doc/iproute2-6.1.0 &&
cd .. &&
rm -rf "$IPROUTE2" &&
echo "Finished 8.62 ""$IPROUTE2""" >> build.log &&
echo "$IPROUTE2" >> /installed.txt
rm -rf "$LFS_IPROUTE2" &&
echo "Finished 8.62 ""$LFS_IPROUTE2""" >> build.log &&
echo "$LFS_IPROUTE2" >> /installed.txt
echo "8.63 ""$KBD"""
tar xf "$KBD".tar.xz &&
cd "$KBD" &&
echo "8.63 ""$LFS_KBD"""
tar xf "$LFS_KBD".tar.xz &&
cd "$LFS_KBD" &&
patch -Np1 -i ../kbd-2.5.1-backspace-1.patch &&
sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure &&
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in &&
./configure --prefix=/usr --disable-vlock &&
make &&
make check | tee ../check-log_"$KBD".log;
make check | tee ../check-log_"$LFS_KBD".log;
make install &&
mkdir -pv /usr/share/doc/kbd-2.5.1 &&
cp -R -v docs/doc/* /usr/share/doc/kbd-2.5.1 &&
cd .. &&
rm -rf "$KBD" &&
echo "Finished 8.63 ""$KBD""" >> build.log &&
echo "$KBD" >> /installed.txt
rm -rf "$LFS_KBD" &&
echo "Finished 8.63 ""$LFS_KBD""" >> build.log &&
echo "$LFS_KBD" >> /installed.txt
echo "8.64 ""$LIBPIPELINE"""
tar xf "$LIBPIPELINE".tar.gz &&
cd "$LIBPIPELINE" &&
echo "8.64 ""$LFS_LIBPIPELINE"""
tar xf "$LFS_LIBPIPELINE".tar.gz &&
cd "$LFS_LIBPIPELINE" &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$LIBPIPELINE".log;
make check | tee ../check-log_"$LFS_LIBPIPELINE".log;
make install &&
cd .. &&
rm -rf "$LIBPIPELINE" &&
echo "Finished 8.64 ""$LIBPIPELINE""" >> build.log &&
echo "$LIBPIPELINE" >> /installed.txt
rm -rf "$LFS_LIBPIPELINE" &&
echo "Finished 8.64 ""$LFS_LIBPIPELINE""" >> build.log &&
echo "$LFS_LIBPIPELINE" >> /installed.txt
echo "8.65 ""$MAKE"""
tar xf "$MAKE".tar.gz &&
cd "$MAKE" &&
echo "8.65 ""$LFS_MAKE"""
tar xf "$LFS_MAKE".tar.gz &&
cd "$LFS_MAKE" &&
sed -e '/ifdef SIGPIPE/,+2 d' \
-e '/undef FATAL_SIG/i FATAL_SIG (SIGPIPE);' \
-i src/main.c &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$MAKE".log;
make check | tee ../check-log_"$LFS_MAKE".log;
make install &&
cd .. &&
rm -rf "$MAKE" &&
echo "Finished 8.65 ""$MAKE""" >> build.log &&
echo "$MAKE" >> /installed.txt
rm -rf "$LFS_MAKE" &&
echo "Finished 8.65 ""$LFS_MAKE""" >> build.log &&
echo "$LFS_MAKE" >> /installed.txt
echo "8.66 ""$PATCH"""
tar xf "$PATCH".tar.xz &&
cd "$PATCH" &&
echo "8.66 ""$LFS_PATCH"""
tar xf "$LFS_PATCH".tar.xz &&
cd "$LFS_PATCH" &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$PATCH".log;
make check | tee ../check-log_"$LFS_PATCH".log;
make install &&
cd .. &&
rm -rf "$PATCH" &&
echo "FInished 8.66 ""$PATCH""" >> build.log &&
echo "$PATCH" >> /installed.txt
rm -rf "$LFS_PATCH" &&
echo "FInished 8.66 ""$LFS_PATCH""" >> build.log &&
echo "$LFS_PATCH" >> /installed.txt
echo "8.67 ""$TAR"""
tar xf "$TAR".tar.xz &&
cd "$TAR" &&
echo "8.67 ""$LFS_TAR"""
tar xf "$LFS_TAR".tar.xz &&
cd "$LFS_TAR" &&
FORCE_UNSAFE_CONFIGURE=1 \
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$TAR".log;
make check | tee ../check-log_"$LFS_TAR".log;
make install &&
make -C doc install-html docdir=/usr/share/doc/tar-1.34 &&
cd .. &&
rm -rf "$TAR" &&
echo "Finished 8.67 ""$TAR""" >> build.log &&
echo "$TAR" >> /installed.txt
rm -rf "$LFS_TAR" &&
echo "Finished 8.67 ""$LFS_TAR""" >> build.log &&
echo "$LFS_TAR" >> /installed.txt
echo "8.68 ""$TEXINFO"""
tar xf "$TEXINFO" &&
cd "$TEXINFO" &&
echo "8.68 ""$LFS_TEXINFO"""
tar xf "$LFS_TEXINFO" &&
cd "$LFS_TEXINFO" &&
./configure --prefix=/usr &&
make &&
make check | tee ../check-log_"$TEXINFO".log;
make check | tee ../check-log_"$LFS_TEXINFO".log;
make install &&
cd .. &&
rm -rf "$TEXINFO" &&
echo "Finished 8.68 ""$TEXINFO""" >> build.log &&
echo "$TEXINFO" >> /installed.txt
rm -rf "$LFS_TEXINFO" &&
echo "Finished 8.68 ""$LFS_TEXINFO""" >> build.log &&
echo "$LFS_TEXINFO" >> /installed.txt
echo "8.69 ""$VIM"""
tar xf "$VIM".tar.xz &&
cd "$VIM" &&
echo "8.69 ""$LFS_VIM"""
tar xf "$LFS_VIM".tar.xz &&
cd "$LFS_VIM" &&
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h &&
./configure --prefix=/usr &&
make &&
chown -Rv tester . &&
su tester -c "LANG=en_US.UTF-8 make -j1 test" &> vim-test.log;
cp vim-test.log ../check-log_"$VIM".log &&
cp vim-test.log ../check-log_"$LFS_VIM".log &&
make install &&
ln -sv vim /usr/bin/vi &&
for L in /usr/share/man/{,*/}man1/vim.1; do
@ -590,33 +590,33 @@ endif
" End /etc/vimrc
EOF
cd .. &&
rm -rf "$VIM" &&
echo "Finished 8.69 ""$VIM""" >> build.log &&
echo "$VIM" >> /installed.txt
rm -rf "$LFS_VIM" &&
echo "Finished 8.69 ""$LFS_VIM""" >> build.log &&
echo "$LFS_VIM" >> /installed.txt
echo "8.70 ""$MARKUPSAFE"""
tar xf "$MARKUPSAFE".tar.gz &&
cd "$MARKUPSAFE" &&
echo "8.70 ""$LFS_MARKUPSAFE"""
tar xf "$LFS_MARKUPSAFE".tar.gz &&
cd "$LFS_MARKUPSAFE" &&
pip3 wheel -w dist --no-build-isolation --no-deps $PWD &&
pip3 install --no-index --no-user --find-links dist Markupsafe &&
cd .. &&
rm -rf "$MARKUPSAFE" &&
echo "Finished 8.70 ""$MARKUPSAFE""" >> build.log &&
echo "$MARKUPSAFE" >> /installed.txt
rm -rf "$LFS_MARKUPSAFE" &&
echo "Finished 8.70 ""$LFS_MARKUPSAFE""" >> build.log &&
echo "$LFS_MARKUPSAFE" >> /installed.txt
echo "8.71 ""$JINJA2"""
tar xf "$JINJA2".tar.gz &&
cd "$JINJA2" &&
echo "8.71 ""$LFS_JINJA2"""
tar xf "$LFS_JINJA2".tar.gz &&
cd "$LFS_JINJA2" &&
pip3 wheel -w dist --no-build-isolation --no-deps $PWD &&
pip3 install --no-index --no-user --find-links dist Jinja2 &&
cd .. &&
rm -rf "$JINJA2" &&
echo "Finished 8.71 ""$JINJA2""" >> build.log &&
echo "$JINJA2" >> /installed.txt
rm -rf "$LFS_JINJA2" &&
echo "Finished 8.71 ""$LFS_JINJA2""" >> build.log &&
echo "$LFS_JINJA2" >> /installed.txt
echo "8.72 ""$SYSTEMD"""
tar xf "$SYSTEMD".tar.gz
cd "$SYSTEMD" &&
echo "8.72 ""$LFS_SYSTEMD"""
tar xf "$LFS_SYSTEMD".tar.gz
cd "$LFS_SYSTEMD" &&
patch -Np1 -i ../systemd-252-security_fix-1.patch &&
sed -i -e 's/GROUP="render"/GROUP="video"/' \
-e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in &&
@ -647,13 +647,13 @@ if [ "$TELNETD" = TRUE ]; then
systemctl enable telnetd.socket
fi &&
cd ../.. &&
rm -rf "$SYSTEMD" &&
echo "Finished 8.72 ""$SYSTEMD""" >> build.log &&
echo "$SYSTEMD" >> /installed.txt
rm -rf "$LFS_SYSTEMD" &&
echo "Finished 8.72 ""$LFS_SYSTEMD""" >> build.log &&
echo "$LFS_SYSTEMD" >> /installed.txt
echo "8.73 ""$DBUS"""
tar xf "$DBUS".tar.xz &&
cd "$DBUS" &&
echo "8.73 ""$LFS_DBUS"""
tar xf "$LFS_DBUS".tar.xz &&
cd "$LFS_DBUS" &&
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@ -667,13 +667,13 @@ make &&
make install &&
ln -sfv /etc/machine-id /var/lib/dbus &&
cd .. &&
rm -rf "$DBUS" &&
echo "Finished 8.73 ""$DBUS""" >> build.log &&
echo "$DBUS" >> /installed.txt
rm -rf "$LFS_DBUS" &&
echo "Finished 8.73 ""$LFS_DBUS""" >> build.log &&
echo "$LFS_DBUS" >> /installed.txt
echo "8.74 ""$MANDB"""
tar xf "$MANDB".tar.xz &&
cd "$MANDB" &&
echo "8.74 ""$LFS_MANDB"""
tar xf "$LFS_MANDB".tar.xz &&
cd "$LFS_MANDB" &&
./configure --prefix=/usr \
--docdir=/usr/share/doc/man-db-2.11.2 \
--sysconfdir=/etc \
@ -683,32 +683,32 @@ cd "$MANDB" &&
--with-vgrind=/usr/bin/vgrind \
--with-grap=/usr/bin/grap &&
make &&
make check | tee ../check-log_"$MANDB".log;
make check | tee ../check-log_"$LFS_MANDB".log;
make install &&
cd .. &&
rm -rf "$MANDB" &&
echo "Finished 8.74 ""$MANDB""" >> build.log &&
echo "$MANDB" >> /installed.txt
rm -rf "$LFS_MANDB" &&
echo "Finished 8.74 ""$LFS_MANDB""" >> build.log &&
echo "$LFS_MANDB" >> /installed.txt
echo "8.75 ""$PROCPSNG"""
tar xf "$PROCPSNG".tar.xz
cd "$PROCPSNG" &&
echo "8.75 ""$LFS_PROCPSNG"""
tar xf "$LFS_PROCPSNG".tar.xz
cd "$LFS_PROCPSNG" &&
./configure --prefix=/usr \
--docdir=/usr/share/doc/procps-ng-4.0.2 \
--disable-static \
--disable-kill \
--with-systemd &&
make &&
make check | tee ../check-log_"$MANDB".log;
make check | tee ../check-log_"$LFS_MANDB".log;
make install &&
cd .. &&
rm -rf "$PROCPSNG" &&
echo "Finished 8.75 ""$PROCPSNG""" >> build.log &&
echo "$PROCPSNG" >> /installed.txt
rm -rf "$LFS_PROCPSNG" &&
echo "Finished 8.75 ""$LFS_PROCPSNG""" >> build.log &&
echo "$LFS_PROCPSNG" >> /installed.txt
echo "8.76 ""$UTILLINUX"""
tar xf "$UTILLINUX".tar.xz &&
cd "$UTILLINUX" &&
echo "8.76 ""$LFS_UTILLINUX"""
tar xf "$LFS_UTILLINUX".tar.xz &&
cd "$LFS_UTILLINUX" &&
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--bindir=/usr/bin \
--libdir=/usr/lib \
@ -726,13 +726,13 @@ cd "$UTILLINUX" &&
make &&
make install &&
cd .. &&
rm -rf "$UTILLINUX" &&
echo "Finished 8.76 ""$UTILLINUX""" >> build.log &&
echo "$UTILLINUX" >> /installed.txt
rm -rf "$LFS_UTILLINUX" &&
echo "Finished 8.76 ""$LFS_UTILLINUX""" >> build.log &&
echo "$LFS_UTILLINUX" >> /installed.txt
echo "8.77 ""$E2FSPROGS"""
tar xf "$E2FSPROGS".tar.gz &&
cd "$E2FSPROGS" &&
echo "8.77 ""$LFS_E2FSPROGS"""
tar xf "$LFS_E2FSPROGS".tar.gz &&
cd "$LFS_E2FSPROGS" &&
mkdir -v build &&
cd build &&
../configure --prefix=/usr \
@ -743,7 +743,7 @@ cd build &&
--disable-uuidd \
--disable-fsck &&
make &&
make check | tee ../check-log_"$E2FSPROGS".log;
make check | tee ../check-log_"$LFS_E2FSPROGS".log;
make install &&
rm -fv /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a &&
gunzip -v /usr/share/info/libext2fs.info.gz &&
@ -752,9 +752,9 @@ makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo &&
install -v -m644 doc/com_err.info /usr/share/info &&
install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info &&
cd .. &&
rm -rf "$E2FSPROGS" &&
echo "Finished 8.77 ""$E2FSPROGS""" >> build.log &&
echo "$E2FSPROGS" >> /installed.txt
rm -rf "$LFS_E2FSPROGS" &&
echo "Finished 8.77 ""$LFS_E2FSPROGS""" >> build.log &&
echo "$LFS_E2FSPROGS" >> /installed.txt
save_usrlib="$(cd /usr/lib; ls ld-linux*[^g])
libc.so.6

152
vars.sh
View File

@ -12,79 +12,79 @@ export LOCALE="en_US.utf8"
export LFS="/mnt/lfs"
export BINUTILS="binutils-2.40"
export GCC="gcc-12.2.0"
export LINUX="Linux-6.1.11"
export M4="M4-1.4.19"
export GLIBC="Glibc-2.37"
export BASH="bash-5.2.15"
export COREUTILS="coreutils-9.1"
export DIFFUTILS="diffutils-3.9"
export FILE="file-5.44"
export FINDUTILS="findutils-4.9.0"
export GAWK="gawk-5.2.1"
export GREP="grep-3.8"
export GZIP="gzip-1.12"
export MAKE="make-4.4"
export PATCH="patch-2.7.6"
export SED="sed-4.9"
export TAR="tar-1.34"
export XZ="xz-5.4.1"
export GETTEXT="gettext-0.21.1"
export BISON="bison-3.8.2"
export PERL="perl-5.36.0"
export PYTHON="Python-3.11.2"
export TEXINFO="texinfo-7.0.2"
export UTILLINUX="util-linux-2.38.1"
export MANPAGES="man-pages-6.03"
export IANAETC="iana-etc-20230202"
export ZLIB="zlib-1.2.13"
export BZIP2="bzip2-1.0.8"
export ZSTD="zstd-1.5.4"
export READLINE="readline-8.2"
export BC="bc-6.2.4"
export FLEX="flex-2.6.4"
export TCL="tcl8.6.13"
export EXPECT="expect5.45.4"
export DEJAGNU="dejagnu-1.6.3"
export MPFR="mpfr-4.2.0"
export GMP="gmp-6.2.1"
export MPC="mpc-1.3.1"
export ATTR="attr-2.5.1"
export ACL="acl-2.3.1"
export LIBCAP="libcap-2.67"
export SHADOW="shadow-4.13"
export PKGCONFIG="pkg-config-0.29.2"
export NCURSES="ncurses-6.4"
export PSMISC="psmisc-23.6"
export LIBTOOL="libtool-2.4.7"
export GDBM="gdbm-1.23"
export GPERF="gperf-3.1"
export EXPAT="expat-2.5.0"
export INETUTILS="inetutils-2.4"
export LESS="less-608"
export XMLPARSER="XML-Parser-2.46"
export INTLTOOL="intltool-0.51.0"
export AUTOCONF="autoconf-2.71"
export AUTOMAKE="automake-1.16.5"
export OPENSSL="openssl-3.0.8"
export KMOD="kmod-30"
export ELFUTILS="elfutils-0.188"
export LIBFFI="libffi-3.4.4"
export WHEEL="wheel-0.38.4"
export NINJA="ninja-1.11.1"
export MESON="meson-1.0.0"
export CHECK="check-0.15.2"
export GROFF="groff-1.22.4"
export GRUB="grub-2.06"
export IPROUTE2="iproute2-6.1.0"
export KBD="kbd-2.5.1"
export LIBPIPELINE="libpipeline-1.5.7"
export VIM="vim-9.0.1273"
export MARKUPSAFE="MarkupSafe-2.1.2"
export JINJA2="Jinja2-3.1.2"
export SYSTEMD="systemd-252"
export DBUS="dbus-1.14.6"
export MANDB="man-db-2.11.2"
export PROCPSNG="procps-ng"
export E2FSPROGS="e2fsprogs-1.47.0"
export LFS_BINUTILS="binutils-2.40"
export LFS_GCC="gcc-12.2.0"
export LFS_LINUX="Linux-6.1.11"
export LFS_M4="M4-1.4.19"
export LFS_GLIBC="Glibc-2.37"
export LFS_BASH="bash-5.2.15"
export LFS_COREUTILS="coreutils-9.1"
export LFS_DIFFUTILS="diffutils-3.9"
export LFS_FILE="file-5.44"
export LFS_FINDUTILS="findutils-4.9.0"
export LFS_GAWK="gawk-5.2.1"
export LFS_GREP="grep-3.8"
export LFS_GZIP="gzip-1.12"
export LFS_MAKE="make-4.4"
export LFS_PATCH="patch-2.7.6"
export LFS_SED="sed-4.9"
export LFS_TAR="tar-1.34"
export LFS_XZ="xz-5.4.1"
export LFS_GETTEXT="gettext-0.21.1"
export LFS_BISON="bison-3.8.2"
export LFS_PERL="perl-5.36.0"
export LFS_PYTHON="Python-3.11.2"
export LFS_TEXINFO="texinfo-7.0.2"
export LFS_UTILLINUX="util-linux-2.38.1"
export LFS_MANPAGES="man-pages-6.03"
export LFS_IANAETC="iana-etc-20230202"
export LFS_ZLIB="zlib-1.2.13"
export LFS_BZIP2="bzip2-1.0.8"
export LFS_ZSTD="zstd-1.5.4"
export LFS_READLINE="readline-8.2"
export LFS_BC="bc-6.2.4"
export LFS_FLEX="flex-2.6.4"
export LFS_TCL="tcl8.6.13"
export LFS_EXPECT="expect5.45.4"
export LFS_DEJAGNU="dejagnu-1.6.3"
export LFS_MPFR="mpfr-4.2.0"
export LFS_GMP="gmp-6.2.1"
export LFS_MPC="mpc-1.3.1"
export LFS_ATTR="attr-2.5.1"
export LFS_ACL="acl-2.3.1"
export LFS_LIBCAP="libcap-2.67"
export LFS_SHADOW="shadow-4.13"
export LFS_PKGCONFIG="pkg-config-0.29.2"
export LFS_NCURSES="ncurses-6.4"
export LFS_PSMISC="psmisc-23.6"
export LFS_LIBTOOL="libtool-2.4.7"
export LFS_GDBM="gdbm-1.23"
export LFS_GPERF="gperf-3.1"
export LFS_EXPAT="expat-2.5.0"
export LFS_INETUTILS="inetutils-2.4"
export LFS_LESS="less-608"
export LFS_XMLPARSER="XML-Parser-2.46"
export LFS_INTLTOOL="intltool-0.51.0"
export LFS_AUTOCONF="autoconf-2.71"
export LFS_AUTOMAKE="automake-1.16.5"
export LFS_OPENSSL="openssl-3.0.8"
export LFS_KMOD="kmod-30"
export LFS_ELFUTILS="elfutils-0.188"
export LFS_LIBFFI="libffi-3.4.4"
export LFS_WHEEL="wheel-0.38.4"
export LFS_NINJA="ninja-1.11.1"
export LFS_MESON="meson-1.0.0"
export LFS_CHECK="check-0.15.2"
export LFS_GROFF="groff-1.22.4"
export LFS_GRUB="grub-2.06"
export LFS_IPROUTE2="iproute2-6.1.0"
export LFS_KBD="kbd-2.5.1"
export LFS_LIBPIPELINE="libpipeline-1.5.7"
export LFS_VIM="vim-9.0.1273"
export LFS_MARKUPSAFE="MarkupSafe-2.1.2"
export LFS_JINJA2="Jinja2-3.1.2"
export LFS_SYSTEMD="systemd-252"
export LFS_DBUS="dbus-1.14.6"
export LFS_MANDB="man-db-2.11.2"
export LFS_PROCPSNG="procps-ng"
export LFS_E2FSPROGS="e2fsprogs-1.47.0"