Commit Graph

8233 Commits

Author SHA1 Message Date
Xi Ruoyao
b5a316b060
texinfo: remove unneeded sed
It works out of box with glibc-2.35.  I think this issue is already
fixed at glibc side, by the commit:

commit 0b5ca7c3e551e5502f3be3b06453324fe8604e82
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Sep 21 07:47:45 2021 -0700

    regex: copy back from Gnulib

    Copy regex-related files back from Gnulib, to fix a problem with
    static checking of regex calls noted by Martin Sebor.  This merges the
    following changes:

    * New macro __attribute_nonnull__ in misc/sys/cdefs.h, for use later
    when copying other files back from Gnulib.

    ... ... (unrelated things trimmed)
2022-07-02 11:31:13 +08:00
Bruce Dubbs
4172b2128a Fix vim doc directory 2022-06-30 16:27:49 -05:00
Bruce Dubbs
0d80e532d2 Package updates.
Update to vim-9.0.0006.
Update to iana-etc-20220610.
Update to OpenSSL-3.0.4.
Update to kbd-2.5.1.
Update to linux-5.18.8.
Update to bc-5.3.3.
+
2022-06-30 15:12:37 -05:00
Pierre Labastie
f8b27abcda Generate shared C++ bindings for ncurses
Presently we let the build system generate static C++ bindings, and
then we remove them. Note that we could also prevent generating
any C++ binding, since nothing in LFS/BLFS use them, but it seems to
me that generating the shared ones is closer to what is done for
other packages.
2022-06-29 14:08:29 +02:00
Xi Ruoyao
bfc6495520
bootscripts: change obsoleted egrep to grep -E 2022-06-23 18:12:37 +08:00
Xi Ruoyao
40488bd037
grep: mark egrep and fgrep obsolete
They are deprecated since 2007, and the next grep release (3.8 or 4.0)
will print a warning if they are used.

Url: https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a951562
2022-06-23 18:11:46 +08:00
Xi Ruoyao
0b0fa07cd4
openssl: mark c_rehash obsolete
The c_rehash script, shipped by OpenSSL versions in current LFS trunk
and all previous LFS releases, is vulnerable to CVE-2022-2068.  It's
fixed in 3.0.4, but OpenSSL 3.0.4 is completely broken on CPU models with
AVX-512 extension [1]. So we'd like to defer OpenSSL update and wait for
upstream consensus about "would 3.0.5 be released in urgency".

But, the upstream has announced that use of c_rehash is obsolete now [2].
So we can tell people not to use it.

[1]: https://github.com/openssl/openssl/issues/18625
[2]: https://www.openssl.org/news/secadv/20220621.txt
2022-06-23 12:23:06 +08:00
Xi Ruoyao
e909a1ebdf
bc: enable readline
Using readline can improve line editing feature of bc, but it's not
enabled by default.

As readline is already installed before bc, let's pick up this
improvement with no cost.
2022-06-22 15:16:03 +08:00
Xi Ruoyao
c500323f9b
document some newly reported test failures 2022-06-21 19:53:05 +08:00
Xi Ruoyao
0c0b88293b
minor reword for glibc test failures on slow systems
I've observed some failures building LFS on my old i3-3217U (at 1.8 GHz
with -j4), but forgot to update the book.  Just got reminded by a
lfs-support post.
2022-06-21 17:12:06 +08:00
Xi Ruoyao
ca22630e6a
provide revision-specific wget-list-$(REV) file
It's irrational to force a sysv builder to download systemd, or vice
versa.  But we cannot simply make wget-list specific for revision: IIRC
the wget-list file with all packages in either revision is used by some
scripts on rivendell.  So we keep wget-list as is, and provide a new
wget-list-$(REV) file which only contains the packages for one revision.
2022-06-21 15:22:27 +08:00
Bruce Dubbs
c7b29be1c1 Package Updates
Update to python3-3.10.5.
Update to meson-0.62.2.
Update to kbd-2.5.0.
Update to file-5.42.
Update to linux-5.18.3.
Update to bc-5.3.1.
2022-06-14 14:28:38 -05:00
Xi Ruoyao
51494bf947
dbus: remove --with-console-auth-dir
BLFS no longer contains ConsoleKit, and ConsoleKit can be considered
dead now (the ConsoleKit2 fork has no action in the recent year).

In BLFS systemd (with PAM) or elogind provide a similar functionality.

I can see no reason to mention ConsoleKit in the book now.
2022-06-10 15:50:27 +08:00
Bruce Dubbs
9bc47a117d Package updates.
Update to iana-etc-20220524.
Update to iproute2-5.18.0.
Update to linux-5.18.1.
Update to perl-6.36.0.
2022-05-31 14:44:22 -05:00
Xi Ruoyao
9b73f94474
revise the note about "already created" directories
Q: Why not just move the note after the creation of root-level
directories?
A: Root-level directories may be already created as well: if a
root-level directory is a mount point it should have been created in
section "Mounting the New Partition".

Reported-by: Vladimir Pertsev <info@linuxfromscratch.ru>
2022-05-30 18:30:50 +08:00
Xi Ruoyao
5f3777ab18
disable systemd-networkd-wait-online if ...
systemd-networkd won't be used for network configuration
2022-05-29 14:25:22 +08:00
Xi Ruoyao
f99a7eb572
systemd: disable systemd-sysupdate 2022-05-29 14:12:11 +08:00
Xi Ruoyao
e6e8f00474
update to vim-8.2.5014 (#4500) 2022-05-29 12:29:20 +08:00
Xi Ruoyao
4ad57d4331
update to ninja-1.11.0 (#5062) 2022-05-29 12:29:20 +08:00
Xi Ruoyao
77e340bc4a
systemd: use a better way to disable /usr/lib/pam.d 2022-05-29 12:29:20 +08:00
Xi Ruoyao
f435668903
systemd: remove unnecessary options
-Dblkid is automatically detected, and other three options are meson
defaults.
2022-05-29 12:29:20 +08:00
Xi Ruoyao
b4008bb22c
update to systemd-251 (#5064) 2022-05-29 12:29:20 +08:00
Xi Ruoyao
0d7dbaf24c
openssl: reword upgrading note for versioning scheme change 2022-05-28 21:04:22 +08:00
Xi Ruoyao
0ab908d944
check: remove reference to libcheck.a 2022-05-28 20:37:42 +08:00
Xi Ruoyao
f81a8a4a3c
fix command for removing libncurses++w.a
What was I doing ?!
2022-05-27 21:50:53 +08:00
Xi Ruoyao
2bb813a1e8
ncurses: remove libncurses++w.a from temp ncurses 2022-05-26 19:30:40 +08:00
Pierre Labastie
8731bd1cd0 stripping, chapter 8: prevent stripping ld-*.dbg
With the construct used in save_usrlib, if ld-linux-...dbg already
exists, it is stripped again and a file ld-linux-...dbg.dbg is
created. Prevent this by not listing files ending in "g".
2022-05-22 09:57:28 +02:00
Pierre Labastie
07b9641cac Document the test failure in coreutils
Seems to be fixed upstream, but adding a patch for just a test
is overkill IMO.
2022-05-16 15:30:35 +02:00
Bruce Dubbs
4c2aabba4e Package updates.
Update to linux-5.17.7.
Update to psmisc-23.5.
2022-05-15 23:09:32 -05:00
Pierre Labastie
59d5489ff8 Make clear that run-level definitions are for LFS 2022-05-11 05:56:30 +02:00
Bruce Dubbs
1b491eb061 Rename run level 2 2022-05-10 17:05:42 -05:00
Xi Ruoyao
3d722b94dc
procps: fix typo
How did I copied "FAIL:" along with the test name? :(
2022-05-09 22:28:48 +08:00
Xi Ruoyao
748429cef5
fix a typo in changelog, again 2022-05-09 22:26:47 +08:00
Xi Ruoyao
ed2bec7dd6
kernel: disable CONFIG_WERROR
The help of this options says:

"However, if you have a new compiler with ..., you may need to disable
this config option in order to successfully build the kernel."

As we are having state-of-art GCC-12, and Linux-5.18 release candidate
FTBFS with GCC-12 and CONFIG_WERROR=y [1], and <rant>the kernel developers
are making stupid and meaningless discussion instead of fixing the building
failure</rant> [2], I don't think enabling this option makes any sense
building LFS.

[1]:https://lkml.org/lkml/2022/4/14/1676
[2]:https://lkml.org/lkml/2022/4/21/254
2022-05-09 16:32:19 +08:00
Pierre Labastie
80760d4ed1 Minor grammar fix 2022-05-08 09:07:14 +02:00
Xi Ruoyao
5ea0739a8c
gcc-12: update gcc building stats
The other stats have not changed significantly (usually only
+/- 0.1 SBU).

By the way, the changes for gcc-pass2 also include the change
from merging libstdc++-pass2 into gcc-pass2.
2022-05-08 14:56:39 +08:00
Xi Ruoyao
17215e66cc
update to bc-5.2.5 2022-05-07 21:01:10 +08:00
Xi Ruoyao
0341ecc6cc
util-linux: remove unnecessary test workaround
According to upstream, this issue is fixed:
https://github.com/util-linux/util-linux/issues/1635.

Also tested by Pierre and me.
2022-05-07 12:43:46 +08:00
Xi Ruoyao
b0b37b6852
procps: update testsuite status 2022-05-07 12:25:47 +08:00
Xi Ruoyao
6edc3b46e0
gcc-12: update test status
The analyzer tests fixed at https://gcc.gnu.org/r12-7119.

The PR100400 status is discussed in the thread started with
https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593931.html.
2022-05-07 10:51:21 +08:00
Xi Ruoyao
f2875c3780
gcc-12: bump libstdc++.so version
libstdc++.so.6.0.29 to 6.0.30.  The versions of other GCC runtime libraries
are not bumped.
2022-05-07 05:21:10 +08:00
Xi Ruoyao
bd08757bab
gcc-12: remove unnecessary workaround for PR91085
Reference: https://gcc.gnu.org/r12-1924
2022-05-07 05:20:53 +08:00
Xi Ruoyao
d70e621d8e
gcc-12: remove unneeded sed for PR100017 in pass 2
Reference: https://gcc.gnu.org/r12-6406
2022-05-06 21:13:27 +08:00
Xi Ruoyao
e1d233c8af
gcc-12: remove --enable-initfini-array in pass 1
Reference: https://gcc.gnu.org/r12-1328
2022-05-06 20:31:01 +08:00
Xi Ruoyao
9fec03d69f
gcc-12: update tarball stat 2022-05-06 20:13:24 +08:00
Bruce Dubbs
f164a246c2 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-05-04 20:22:53 -05:00
Bruce Dubbs
d6cba09c7c Update to openssl-3.0.3. 2022-05-04 20:20:27 -05:00
Xi Ruoyao
7c862eac22
GID 5 (for tty) is also special 2022-05-02 16:02:10 +08:00
Xi Ruoyao
0414633793
minor fix for 65534 explanation: it is also used for "unmapped" groups 2022-05-02 15:42:52 +08:00
Xi Ruoyao
8469f02115
make /etc/group sorted by GID 2022-05-02 15:39:45 +08:00