Commit Graph

604 Commits

Author SHA1 Message Date
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
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
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
Xi Ruoyao
f99a7eb572
systemd: disable systemd-sysupdate 2022-05-29 14:12:11 +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
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
Xi Ruoyao
3d722b94dc
procps: fix typo
How did I copied "FAIL:" along with the test name? :(
2022-05-09 22:28:48 +08:00
Pierre Labastie
80760d4ed1 Minor grammar fix 2022-05-08 09:07:14 +02: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
bd08757bab
gcc-12: remove unnecessary workaround for PR91085
Reference: https://gcc.gnu.org/r12-1924
2022-05-07 05:20:53 +08:00
Bruce Dubbs
8cab730a5b Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-04-30 09:40:46 -05:00
Bruce Dubbs
813ab55675 Package updates and nobody uid change.
Change nobody/nogroup uid/git to 65534.
Update to meson-0.62.1.
Update to libpipeline-1.5.6.
Update to elfutils-0.187.
Update to Jinja2-3.1.2.
Update to vim-8.2.4814.
Update to sysvinit-3.03.
Update to linux-5.17.5.
Update to gcc-11.3.0.
Update to coreutils-9.1.
Update to bc-5.2.4.
2022-04-30 09:38:48 -05:00
Xi Ruoyao
93db1e614e
python: fix a typo 2022-04-21 23:28:35 +08:00
Bruce Dubbs
dd9987c5ab Minor rewording of pip3 recommendations 2022-04-21 08:43:49 -05:00
Xi Ruoyao
720c0bd9fb
python: add a <important> for pip3 usage 2022-04-21 14:23:07 +08:00
Xi Ruoyao
e286d8db14
decorate the references to root and lfs user
The references already correctly decorated are not changed because "if
it's not broken don't fix it".
2022-04-21 14:12:43 +08:00
Xi Ruoyao
4b51d83b3e
wheel: capitalize the first letter of the title, like all other packages 2022-04-18 20:44:35 +08:00
Xi Ruoyao
ee16e55d20
text fixes for wheel change
* Add description for "wheel" command
* Explain why pip3 warning does not matter for us
* Format and typo fixes
2022-04-18 12:59:52 +08:00
Bruce Dubbs
9749744481 Use pip3 to install Python modules and programs
meson, Markupsafe, and Jinja2
2022-04-17 23:08:16 -05:00
Bruce Dubbs
5a2aca5626 Add wheel.xml 2022-04-17 19:04:53 -05:00
Bruce Dubbs
032d88fc75 Add wheel-0.37.1 (Python module). 2022-04-17 17:11:27 -05:00
Bruce Dubbs
7a0687cbbf Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-04-17 14:19:34 -05:00
Bruce Dubbs
e9538133fa Suppress a waring if running pip3 as root.
In serveral places we use the pip3 command to install Python 3 programs
and modules for all users as root. This conflicts with the Python
developers' recommendation to build packages in a virtual environment as
a regular user. To this end, a multi-line warning is written when using
pip3 as the root user.

This change shows users how to avoid this warning.
2022-04-17 12:55:48 -05:00
Ken Moffat
1d694184b3 Patch xz for the xzgrep vulnerability. 2022-04-15 20:01:35 +01:00
Xi Ruoyao
75bab32f83
procps: update library and include directory name 2022-04-15 10:32:55 +08:00
Bruce Dubbs
62b66860b3 Package updates.
Update to libcap-2.64.
Update to linux-5.17.3.
Update to gzip-1.12.
2022-04-14 11:17:20 -05:00
Bruce Dubbs
b861051f19 Typos 2022-04-12 14:31:26 -05:00
Xi Ruoyao
d70fd55a87
procps-ng: remove an outdated note
It now just untars into procps-ng-4.0.0 directory, as we expect.
2022-04-05 01:30:19 +08:00
Bruce Dubbs
f30c2e8029 Add in the patch needed for systemd with the 5.17 kernel 2022-03-31 12:39:23 -05:00
Bruce Dubbs
676f0fdcec Package updates.
Update to sysvinit-3.02.
Update to zlib-1.2.12.
Update to expat-2.4.8.
Update to Jinja2-3.1.1.
Update to Python-3.10.4.
Update to procps-ng-4.0.0.
Update to iproute2-5.17.0.
Update to meson-0.62.0.
Update to linux-5.17.1.
Update to util-linux-2.38.
2022-03-30 16:13:26 -05:00
Bruce Dubbs
f23beb1acf Remove refereces to Russia 2022-03-27 11:46:00 -05:00
Xi Ruoyao
ab7af9e6f0
libffi: reword the note about "building for another system"
Telling the user to override CFLAGS and CXXFLAGS may cause two problems:

1. We've added --with-gcc-arch=native, so the configure script will add
   "-march=native" into CFLAGS.  Then we've not really verified which
   -march= value is the last one in the GCC command line and being really
   used.
2. User may just export CFLAGS="-march=x86_64", without "-O2".  This
   will produce unoptimized binaries.
2022-03-26 23:25:36 +08:00
Bruce Dubbs
bcb20b4701 Speling 2022-03-24 12:11:57 -05:00
Xi Ruoyao
d54813bc0c
zstd: add prefix=/usr for make
libzstd.pc is created during "make", so without prefix=/usr here
"-L/usr/local/lib" will show up in libzstd.pc.

Thanks Ryan Marsaw for the report.
2022-03-21 21:59:45 +08:00
Xi Ruoyao
0a993870cf
libffi: update the desc for --disable-exec-static-tramp
Now BLFS has gobject-introspection-1.72, which is already fixed.  GJS
fix will be released in GNOME 43 (not 42).
2022-03-21 14:39:47 +08:00
Xi Ruoyao
43149b904b
markupsafe: mention the suffix "-linux-<arch>" in installed directories 2022-03-16 19:47:09 +08:00
Xi Ruoyao
ccb08fafc8
pkgmgmt: for systemd revision, add how to restart systemd without reboot 2022-03-16 15:49:35 +08:00
Xi Ruoyao
9c7e6ff853
systemd: remove --strip-compoents=1 from man page installation command
systemd-man-pages-250.tar.xz has no additional leading components.

An errata is required.
2022-03-16 00:13:35 +08:00