Commit Graph

605 Commits

Author SHA1 Message Date
Xi Ruoyao
abe3fbd7ca python: mention that --force-reinstall needs --no-deps 2022-07-03 09:39:41 -05:00
Xi Ruoyao
9e514d01e4 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-03 09:39:28 -05:00
Bruce Dubbs
90d25084ad 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-07-03 09:39:05 -05:00
Pierre Labastie
e4c820aba7 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-30 10:44:34 -05:00
Xi Ruoyao
995347dad8 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-24 09:07:28 -05:00
Xi Ruoyao
c07d5a87f2 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-24 09:07:14 -05:00
Xi Ruoyao
e8afce4d2d 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-24 09:07:01 -05:00
Xi Ruoyao
4a0172628b document some newly reported test failures 2022-06-24 09:06:47 -05:00
Xi Ruoyao
cd65faa114 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-24 09:06:34 -05:00
Xi Ruoyao
4cfd743467 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-13 08:20:29 -05:00
Xi Ruoyao
3efe578456 systemd: disable systemd-sysupdate 2022-05-30 16:25:40 -05:00
Xi Ruoyao
e343da6e4c systemd: use a better way to disable /usr/lib/pam.d 2022-05-30 16:25:30 -05:00
Xi Ruoyao
3b8d6f51a3 systemd: remove unnecessary options
-Dblkid is automatically detected, and other three options are meson
defaults.
2022-05-30 16:25:26 -05:00
Xi Ruoyao
db3b7226ab update to systemd-251 (#5064) 2022-05-30 16:25:20 -05:00
Xi Ruoyao
1a95e913c7 openssl: reword upgrading note for versioning scheme change 2022-05-30 16:25:06 -05:00
Xi Ruoyao
175a642135 check: remove reference to libcheck.a 2022-05-30 16:24:59 -05:00
Pierre Labastie
350c23eff1 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-25 09:49:12 -05:00
Pierre Labastie
3c51561b4e 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 10:33:13 -05:00
Xi Ruoyao
aa8ab35314 procps: fix typo
How did I copied "FAIL:" along with the test name? :(
2022-05-09 09:37:32 -05:00
Pierre Labastie
38c956bdef Minor grammar fix 2022-05-08 09:32:42 -05:00
Xi Ruoyao
00e2c36dbb 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-08 09:31:11 -05:00
Xi Ruoyao
b9a4516d24 procps: update testsuite status 2022-05-08 09:31:05 -05:00
Xi Ruoyao
0567d859b2 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-08 09:30:58 -05:00
Xi Ruoyao
753d2cd040 gcc-12: remove unnecessary workaround for PR91085
Reference: https://gcc.gnu.org/r12-1924
2022-05-08 09:29:39 -05:00
Bruce Dubbs
f333d753cf 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-05-01 13:30:41 -05:00
Xi Ruoyao
514758d05f python: fix a typo 2022-04-22 09:43:31 -05:00
Bruce Dubbs
8816fe7a9f Minor rewording of pip3 recommendations 2022-04-21 10:24:54 -05:00
Xi Ruoyao
a3a9213f62 python: add a <important> for pip3 usage 2022-04-21 10:24:38 -05:00
Xi Ruoyao
2ad6d43661 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 10:24:28 -05:00
Xi Ruoyao
3e8a788a40 wheel: capitalize the first letter of the title, like all other packages 2022-04-21 10:23:27 -05:00
Xi Ruoyao
23277f0ca1 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-21 10:23:18 -05:00
Bruce Dubbs
8b8ad95ac5 Use pip3 to install Python modules and programs
meson, Markupsafe, and Jinja2
2022-04-21 10:23:07 -05:00
Bruce Dubbs
0cd25fb779 Add wheel.xml 2022-04-21 10:22:58 -05:00
Bruce Dubbs
e68c6d4181 Add wheel-0.37.1 (Python module). 2022-04-21 10:22:49 -05:00
Bruce Dubbs
29a37b4564 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-21 10:22:12 -05:00
Ken Moffat
9721cf88d3 Patch xz for the xzgrep vulnerability. 2022-04-17 13:43:07 -05:00
Xi Ruoyao
2cac68688c procps: update library and include directory name 2022-04-17 13:42:35 -05:00
Bruce Dubbs
33e080d987 Package updates.
Update to libcap-2.64.
Update to linux-5.17.3.
Update to gzip-1.12.
2022-04-17 13:42:22 -05:00
Bruce Dubbs
88cfb6e694 Typos 2022-04-17 13:42:12 -05:00
Xi Ruoyao
865b8c5104 procps-ng: remove an outdated note
It now just untars into procps-ng-4.0.0 directory, as we expect.
2022-04-04 12:48:10 -05:00
Bruce Dubbs
1003b22794 Add in the patch needed for systemd with the 5.17 kernel 2022-04-02 09:52:11 -05:00
Bruce Dubbs
884fd47504 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-31 08:59:35 -05:00
Bruce Dubbs
6c5fc679aa Remove refereces to Russia 2022-03-30 08:35:03 -05:00
Xi Ruoyao
49e8afb0f9 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-30 08:33:18 -05:00
William Harrington
aed14071ff fix typos Suggested-by: rhubarbpieguy <rhubarbpieguy@vivaldi.net> 2022-03-26 17:03:35 -05:00
Xi Ruoyao
fdd0273527 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 09:28:41 -05:00
Xi Ruoyao
5cee6c5a27 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 09:28:24 -05:00
Xi Ruoyao
0e1e253741 markupsafe: mention the suffix "-linux-<arch>" in installed directories 2022-03-16 11:40:18 -05:00
Xi Ruoyao
afe4fcba5e pkgmgmt: for systemd revision, add how to restart systemd without reboot 2022-03-16 11:39:48 -05:00
Xi Ruoyao
9eac91eba6 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 11:38:59 -05:00