Commit Graph

852 Commits

Author SHA1 Message Date
Xi Ruoyao
308ec7a37f
dbus: Add --enable-user-session like BLFS
This will install dbus.service and dbus.socket into
/usr/lib/systemd/user.  In a base LFS installation the systemd per-user
daemon is not usable at all, so they may seem useless.  But if we
install them, we can start to use them once systemd is rebuilt with PAM
in BLFS (without rebuilding dbus).
2023-08-03 15:07:06 +08:00
Xi Ruoyao
264a80d60f
udev: Use --no-same-owner for man pages, like systemd
By the way, fix a minor formatting issue in udev-hwdb.8.
2023-08-03 10:10:11 +08:00
Xi Ruoyao
e65bfc4f69
procps: The "free with commit" test failure is fixed now
Link: https://gitlab.com/procps-ng/procps/-/commit/414e33a8afb6
2023-08-02 18:54:42 +08:00
Xi Ruoyao
f40b2e7be5
gcc: Document new test failures with Glibc-2.38
Well, the analyzer failures are introduced by literally *my* Glibc
change [1] and I'll sort them out for GCC 14...

And the ASAN failures seem caused by the introduction of
__isoc23_strtol (the libsanitizer does not know to intercept it).  I'll
test with LLVM once I reach it in BLFS (LLVM is the upstream of
libsanitizer) and make a bug report.

limits-exprparen.c also fails to me, it needs "ulimit -s 65536" instead
of "ulimit -s 32768" in my build but maybe it's caused by my custom
*FLAGS.

[1]:https://sourceware.org/git/?p=glibc.git;a=commit;h=71d9e0fe766a
2023-08-02 14:05:51 +08:00
Xi Ruoyao
7a8fcc3918
glibc: Remove sed and option unneeded with 2.38
--disable-crypt is now the default, and the security fix for 2.37 is
included.
2023-08-02 10:54:44 +08:00
Xi Ruoyao
8ada78d73e
binutils: gprofng man pages are OK now 2023-08-02 10:38:14 +08:00
Bruce Dubbs
be5b2e03fc Package updates:
Update to vim-9.0.1677.
Update to openssl-3.1.2.
Update to man-pages-6.05.
Update to binutils-2.41.
Update to gmp-6.3.0.
Update to glibc-2.38.
2023-08-01 13:52:22 -05:00
Xi Ruoyao
c2ccad14a5
systemd: Add two new symlinks into contents 2023-07-29 10:19:04 +08:00
Xi Ruoyao
57f16783ed
systemd: Add --no-same-owner for man page extraction
Well, I forgot to create the man pages tarball as root, so if we don't
use --no-same-owner the man pages will be owned by UID 1000 :(.

Instead of regenerating the tarball again let's just fix this in the
book.
2023-07-29 09:56:55 +08:00
Xi Ruoyao
7dcd8c782b
systemd: Remove sed unneeded with 254 2023-07-29 09:51:28 +08:00
Bruce Dubbs
6de383a262 Package updates.
Update udev-lfs tarball to remove obsolete
       cdrom rules and references to ISDN devices.
Update to wheel-0.41.0 (Python Module).
Update to tar-1.35.
Update to systemd-254.
Update to meson-1.2.0.
Update to linux-6.4.7.
Update to gcc-13.2.0.
Update to file-5.45.
2023-07-28 19:23:11 -05:00
Xi Ruoyao
d0de26cbe0
gmp: (Optionally) use --host=none-linux-gnu for generic library
This is suggested by GCC maintainer Andrew Pinski in
https://gcc.gnu.org/PR110789.  It's easier than what we've suggested
in the book.
2023-07-27 13:12:50 +08:00
Xi Ruoyao
e9619f650f
Partially revert "man-db: Update known test failures, again"
This partially reverts commit 1053282e5f.

There is actually only one test suite in LFS build even with -k, but on
my complete system there are many test failures with "-k".  I guess some
tests depend on non-LFS packages.

The text change is reverted, but the command change is preserved as
generally we should use -k for any make check command known to fail.
2023-07-21 21:10:47 +08:00
Xi Ruoyao
66fbe7b805
meson and ninja: Kill false tips 2023-07-20 01:09:30 +08:00
Xi Ruoyao
b5acea48a7
man-pages: Remove pages conflicting with libxcrypt 2023-07-18 17:47:26 +08:00
Xi Ruoyao
f24a041cd4
udev: Remove two udev rules requiring a full systemd installation
Or they'll produce some error messages saying "cannot execute
systemd-sysctl or systemd-vconsole-setup".
2023-07-17 10:14:18 +08:00
Xi Ruoyao
4ca4e8b1ba
udev: Fix a typo 2023-07-16 23:29:18 +08:00
Xi Ruoyao
f7c36d049f
udev: Create /usr/{lib,share}/pkgconfig
They are not created in chapter 7.5, so we should create them before
installing files into them.
2023-07-16 13:46:20 +08:00
Xi Ruoyao
cce6c92463
udev: Install man pages from systemd man pages tarball 2023-07-16 12:06:37 +08:00
Xi Ruoyao
13288b9165
SysV: Add MarkupSafe and Jinja2
Jinja2 is needed for building udev from systemd.
2023-07-16 11:12:36 +08:00
Xi Ruoyao
a289860668
Replace eudev with udev from systemd 2023-07-16 11:11:12 +08:00
Xi Ruoyao
1053282e5f
man-db: Update known test failures, again
I was too naive: actually a lot of tests fail with groff-1.23.0 and
they'll show up with "-k".
2023-07-16 00:52:41 +08:00
Xi Ruoyao
fcf943d52e
man-db: Document a test failure (started with groff-1.23.0) 2023-07-16 00:40:49 +08:00
Bruce Dubbs
f00e5f980d Package updates.
Update to iana-etc-20230629.
Update to linux-6.4.3.
Update to  libxcrypt-4.4.36.
Update to groff-1.23.0.
Update to perl-5.38.0.
2023-07-14 22:45:12 -05:00
Xi Ruoyao
c2325070af
shadow: Allow using bcrypt and yescrypt, and use yescrypt as the default
Yescrypt is the current default password hashing algorithm of Fedora
and Debian.  See [1] for its advantage.

Now we have libxcrypt providing the implementation of bcrypt and
yescrypt, we can switch to yescrypt as well.  We also don't need to
adjust the rounds for SHA512 anymore.

[1]:https://www.fedoraproject.org/wiki/Changes/yescrypt_as_default_hashing_method_for_shadow#Detailed_Description
2023-07-03 21:28:36 +08:00
Xi Ruoyao
f4313a75c8
libxcrypt: Fix a typo 2023-07-03 19:36:58 +08:00
Xi Ruoyao
ac5f78c4bf
Merge branch 'trunk' into xry111/libxcrypt 2023-07-02 22:11:05 +08:00
Xi Ruoyao
d6e7cda825
kbd: Simplify the instruction for doc installation 2023-07-01 16:00:45 +08:00
Xi Ruoyao
c727d7e7f7
Add libxcrypt 2023-06-30 04:05:51 +08:00
Xi Ruoyao
bbfb090d2a
glibc: Disable obsolete libcrypt implementation
I've not bothered to write an explanation for --disable-crypt because it
will likely be the default of Glibc-2.38, then we may drop it from the
command lines.
2023-06-30 03:19:20 +08:00
Douglas R. Reno
ce9ec4f126 gettext: Use gettext-version instead of a hardcoded version (which is
now out of date) for /usr/share/gettext-0.21.1
2023-06-23 10:48:45 -05:00
Xi Ruoyao
0fe3bb04a7
Create man page symlinks for awk, cc, pkg-config, and lex 2023-06-21 14:35:58 +08:00
Rahul Chandra
36c4569b9f
Replace pkg-config with pkgconf 2023-06-17 15:14:12 +08:00
Xi Ruoyao
a3bd468940
glibc: Reword the reason to skip test-installation.pl
It won't work even on a "complete LFS system".
2023-06-11 21:20:02 +08:00
Xi Ruoyao
0f18f2b121
housekeeping after min-kernel bump
Update the rationale for min-kernel in hostreqs.  Add a note in
general.ent about the EOL of current min-kernel.  Realign the
backslashes in glibc instructions.
2023-06-05 23:20:48 +08:00
Xi Ruoyao
5e7593e6f0
pkgmgmt: Revert some of reword for "dependency hell" from Bruce
Use "library name" (instead of "library version") for SONAME (for now).
And "conflicting locations" may not be a problem if the symbol is at two
locations but they are exactly same (or ABI compatible).

For the details see lfs-dev discussion.

The current word is still not perfect (we've not defined "the name of a
shared library" at all), so I guess we'll need to make a major revision
for the entire "upgrading issue with shared libraries" thing in the
future.
2023-06-04 19:31:59 +08:00
Pierre Labastie
732ce30389 Remove a remap="configure" attribute in eudev
remap="configure" means it is for configuring the build before
running make (or ninja), not for configuring the system
after the package is installed. We don't have a special attribute
for that.
2023-06-01 17:41:32 +02:00
Bruce Dubbs
360371a30f Minor rewording 2023-05-28 19:57:28 -05:00
Bruce Dubbs
d0da969c43 Reword library conflict paragraph. 2023-05-27 17:07:58 -05:00
Xi Ruoyao
55a29ccad2
pkgmgt: Mention the "dependency hell" issue 2023-05-27 19:05:06 +08:00
Ken Moffat
507bf71541 sysv book: Remove unneeded group sgx from eudev. 2023-05-25 21:27:33 +01:00
Bruce Dubbs
0a7df4c5db Skip a problem test in util-linux. 2023-05-18 19:33:31 -05:00
Bruce Dubbs
fb5f62be63 Speling 2023-05-18 15:33:34 -05:00
Bruce Dubbs
1fde5b2617 Package updates.
Update to util-linux-2.39.
Update to linux-6.3.3.
Update to libcap-2.69.
Update to grep-3.11.
Update to flit_core-3.9.0.
Update to eudev-3.2.12.
2023-05-18 13:36:37 -05:00
Xi Ruoyao
8287b51963
glibc: Revive test failure note about old kernel or CPU
But consolidate them into one informative entry as we cannot really test
the instructions on many old systems.
2023-05-16 11:11:01 +08:00
Xi Ruoyao
70927b9964
gawk: Run the test suite as tester
One test named pma fails if running it as root.
2023-05-15 22:56:49 +08:00
Bruce Dubbs
cd8339aa0b Minor grammar fix 2023-05-13 10:46:29 -05:00
Xi Ruoyao
6d4ba5f08a
gcc: Note some additional test failures 2023-05-13 15:09:44 +08:00
Xi Ruoyao
740ee46aef
systemd: Fix runtime issues exploited by GCC 13 (#5254)
Switch to "meson setup" from the plain "meson" by the way.
2023-05-10 16:26:26 +08:00
Xi Ruoyao
8051256700
psmisc: Run the test suite
It seems the package has provided the test suite since some time point.
2023-05-03 11:21:54 +08:00