Commit Graph

1263 Commits

Author SHA1 Message Date
Thomas Trepl
f32a712f28 Automatic merge of trunk into multilib 2023-11-12 00:30:21 +01:00
Xi Ruoyao
f6bf77de74
udev: Remove four udev rules belonging to logind
They are not really useful without logind.  BLFS elogind package will
provide them too, so we should remove them and avoid a package manager
conflict.
2023-11-11 18:07:05 +08:00
Thomas Trepl
a161ad9dfc Automatic merge of trunk into multilib 2023-11-09 00:30:19 +01:00
Xi Ruoyao
d11686c6f0
pkgmgt: Update the desc for "separate directories"
There seems some guy overusing this method so we should add more
caveats.

- Use /opt/foo-x.y instead of /usr/pkg/foo-x.y.  /opt/foo-x.y is used in
  BLFS for Rustc, Qt5, etc. and /usr/pkg is not FHS-compliant.
- Use /etc/ld.so.conf and LDFLAGS instead of LD_LIBRARY_PATH.  Relying
  on LD_LIBRARY_PATH is generally a bad idea, and we also don't use it
  in BLFS for /opt packages.
- Discourage this method for general use, mention it may not work for
  vital packages like Glibc.
2023-11-08 17:30:59 +08:00
Thomas Trepl
1fe1b6e2bf Automatic merge of trunk into multilib 2023-11-04 00:30:19 +01:00
Xi Ruoyao
93311f4abb
gawk: "rm -f ..." is a command, not an envar 2023-11-03 14:38:55 +08:00
Xi Ruoyao
5f8327e633
gawk: Fix "gawk-&gawk-version; is a remnant from Chapter 7" again
We'd fixed #5180 by forcing LN='ln -f'.  But this has stopped to work
with gawk-5.2.2 (and 5.3.0) because now the building system explicitly
checks the existence of gawk-&gawk-version; and refuses to update it if
it exists.

Now removing the file before "make install" seems the easiest solution.

Link: https://git.savannah.gnu.org/cgit/gawk.git/commit/?id=11762f4c0685
2023-11-03 14:35:09 +08:00
Thomas Trepl
d9dec9bd75 Automatic merge of trunk into multilib 2023-11-02 00:30:18 +01:00
Xi Ruoyao
23d67d844b
python: Remove --with-system-ffi
This option is removed by upstream in 3.12.

Link: https://github.com/python/cpython/pull/100544
2023-11-01 21:34:44 +08:00
Xi Ruoyao
8223937f4c
setuptools: Fix installed directory list 2023-11-01 16:18:43 +08:00
Thomas Trepl
10bc209e87 Automatic merge of trunk into multilib 2023-11-01 00:30:17 +01:00
Bruce Dubbs
a5de784d14 PAckage updates.
Update to iana-etc-20231019.
Update to wheel-0.41.3.
Update to shadow-4.14.2.
Update to openssl-3.1.4.
Update to texinfo-7.1.
Update to meson-1.2.3.
Update to bc-6.7.2.
Update to linux-6.5.9.
Update to Python-3.12.0.
Add setuptools-68.2.2.
2023-10-31 14:10:03 -05:00
Thomas Trepl
6fbdb3814c Fix some other copy-paste errors 2023-10-27 13:36:33 +02:00
Thomas Trepl
36e70bb572 Automatic merge of trunk into multilib 2023-10-25 00:30:09 +02:00
Xi Ruoyao
7f36b16e72
pkgmgt: Sync the naming of SpiderMonkey with BLFS 2023-10-24 21:10:18 +08:00
Thomas Trepl
5a33506319 Automatic merge of trunk into multilib 2023-10-06 00:30:18 +02:00
Xi Ruoyao
02837798da
man-db: Remove outdated test failure notice 2023-10-05 16:00:48 +08:00
Xi Ruoyao
4d634048a1
pkgmgt: Reinstall the same version of Glibc should be safe 2023-10-05 14:34:07 +08:00
Thomas Trepl
cf9ba3c7fc Automatic merge of trunk into multilib 2023-10-02 08:39:36 +02:00
Xi Ruoyao
09d148dc28
glibc: Remove nscd from contents 2023-10-02 11:32:45 +08:00
Thomas Trepl
f8a76cb8f3 Automatic merge of trunk into multilib 2023-10-02 00:30:19 +02:00
Bruce Dubbs
25b3c0f720 Package updates and one fix.
Disable building nscd in glibc.
Update to iana-etc-20230929.
Update to vim-9.0.1968.
Update to openssl-3.1.3.
Update to meson-1.2.2.
Update to man-db-2.12.0.
Update to linux-6.5.5.
Update to kmod-31.
Update to kbd-2.6.3.
Update to gettext-0.22.2.
Update to bc-6.7.0.
2023-10-01 13:37:57 -05:00
Thomas Trepl
d3aa932043 Automatic merge of trunk into multilib 2023-10-01 00:30:17 +02:00
Xi Ruoyao
c7cd2c71e7
shadow: Remove lastlog from contents
It's deprecated because of Y2038 issue and no longer being built by
default.
2023-09-30 16:14:17 +08:00
Thomas Trepl
85589aaae3 Fix a textual copy/paste error 2023-09-25 16:09:44 +02:00
Thomas Trepl
dc39c7bc12 Automatic merge of trunk into multilib 2023-09-15 00:30:17 +02:00
Xi Ruoyao
ba40e32566
systemd: Use NSS modules provided by systemd in nsswitch.conf
It allows a simplification to /etc/hosts.  Also correct some info about
FQDN in both sysv and systemd.
2023-09-14 16:50:37 +08:00
Xi Ruoyao
efd11134bb
Glibc: Fix CVE-2023-4806 2023-09-14 14:32:37 +08:00
Thomas Trepl
ea6fdf5c3b Automatic merge of trunk into multilib 2023-09-14 00:30:12 +02:00
Xi Ruoyao
80da60f0c0
stripping: Compress the kept debug info with Zlib 2023-09-13 15:39:25 +08:00
Xi Ruoyao
48d8f5a51d
glibc: Fix CVE-2023-4527 2023-09-13 14:32:19 +08:00
Thomas Trepl
b2f0a207d7 Automatic merge of trunk into multilib 2023-09-10 00:30:15 +02:00
Xi Ruoyao
ab31b973c8
chapter08: Make Installed "program(s)/library(ies)/directory(ies)" consistently lowercase 2023-09-09 14:51:24 +08:00
Xi Ruoyao
6c51e5ce7b
perl: Move some explanations from Chapter 8 to Chapter 7
Explain switches once they show up first time.
2023-09-09 14:46:02 +08:00
Douglas R. Reno
1f20176cfb util-linux: minor grammar reword 2023-09-09 01:08:20 -05:00
Xi Ruoyao
c7df34cbc5
mpfr: 4.2.1 has 198 tests 2023-09-09 03:15:32 +08:00
Thomas Trepl
8bc83b9034 Automatic merge of trunk into multilib 2023-09-07 17:06:17 +02:00
Xi Ruoyao
7de7690181
pkgconf: Hotfix for a regression breaking BLFS packages
Link: https://github.com/pkgconf/pkgconf/issues/317
2023-09-07 19:57:19 +08:00
Thomas Trepl
5de5f1be5e Automatic merge of trunk into multilib 2023-09-06 00:30:17 +02:00
Xi Ruoyao
e8f0a1b1da
util-linux: Use 2^128 instead of "340 trillion trillion trillion" 2023-09-05 18:52:14 +08:00
Xi Ruoyao
b1b9182671
chapter08: Move pkgconf before binutils
It allows binutils to link to zstd, so binutils will have
zstd-compressed debug section support (the compression is not enabled
by default but can be enabled via LDFLAGS etc. if wanted).

We also need to add libzstd.so.&zstd-version; into online_usrlib to
prevent a crash in stripping.
2023-09-05 18:19:55 +08:00
Thomas Trepl
c931e9dedd Automatic merge of trunk into multilib 2023-09-03 00:30:12 +02:00
Xi Ruoyao
ffecb9ef81
systemd: Slightly adjust the desc for -Dnobody-group 2023-09-03 03:40:13 +08:00
Xi Ruoyao
1b807632f6
Add --no-cache-dir into pip3 wheel commands for Python modules 2023-09-03 00:48:20 +08:00
Bruce Dubbs
3864d235cf Package updates and misc upates/typos.
Update to vim-1837.$
Update to zlib-1.3.$
Update to wheel-0.41.2 (Python Module).$
Update to util-linux-2.39.2.$
Update to sysvinit-3.08.$
Update to shadow-4.14.0.$
Update to Python-3.11.5.$
Update to procps-ng-4.0.4.$
Update to pkgconf-2.0.2.$
Update to mpfr-4.2.1.$
Update to kbd-2.6.2.$
Update to gzip-1.13.$
Update to coreutils-9.4.$
Specify the 'nobody-group' for systemd.$
Remove unused usb group.$
2023-09-02 08:54:55 -05:00
Xi Ruoyao
fd409751bf
Revert "openssl: Add a warning about minor version bump and OpenSSH"
This reverts commit ad09ba40a1.
This reverts commit bbaf00d415.

No longer needed with OpenSSH-9.4 or later.
2023-09-02 17:23:57 +08:00
Thomas Trepl
8676c1fa89 Automatic merge of trunk into multilib 2023-08-29 00:30:21 +02:00
Xi Ruoyao
22c36bb8e4
tar: The problematic test can also be skipped if security labels disabled
For example, if CONFIG_EXT4_FS_SECURITY (Ext4 Security Labels) not set
and we are building on an ext4 file system, the test will be skipeed.
2023-08-28 17:01:02 +08:00
Xi Ruoyao
e5455293e3
tar: Mention TESTSUITEFLAGS for testing 2023-08-28 17:01:02 +08:00
Thomas Trepl
b1f6d8de63 Automatic merge of trunk into multilib 2023-08-28 00:30:16 +02:00
Xi Ruoyao
d78b550655
gmp: On some CPUs more than 199 test can pass 2023-08-27 20:23:53 +08:00
Thomas Trepl
9ae9b7b4f7 Enable isl in all modes. Isl makes sence on i686, too but on 32bit systems, the ML options like (ml_all, ml_m32,...) are never set so isl was never built on i686 2023-08-26 13:20:26 +02:00
Thomas Trepl
4d4a2f1f99 Automatic merge of trunk into multilib 2023-08-22 00:30:10 +02:00
Pierre Labastie
b55a1a2614 libxcrypt: typo and misplaced "nodump" 2023-08-21 15:13:37 +02:00
Thomas Trepl
6fd9f0658c Automatic merge of trunk into multilib 2023-08-17 00:30:11 +02:00
Xi Ruoyao
cfcc2fe6cd
gcc: Fix a grammar error in text 2023-08-16 12:26:14 +08:00
Thomas Trepl
974c6b13a1 Automatic merge of trunk into multilib 2023-08-15 00:30:10 +02:00
Douglas R. Reno
355efd11a8 glibc: minor typo fix 2023-08-14 14:12:26 -05:00
Thomas Trepl
2b17a82ddc Merge branch 'trunk' into multilib 2023-08-14 21:02:15 +02:00
Thomas Trepl
fe625c6b3d Add an option to set defaults (commented out) 2023-08-14 21:01:25 +02:00
Bruce Dubbs
bd93ae129e Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-08-14 13:53:30 -05:00
Bruce Dubbs
f7d3b6ed21 Package updates.
Update to xz-5.4.4.
Update to less-643.
Update to meson-1.2.1.
Update to linux-6.4.10.
Update to iana-etc-20230810.
Update to pkgconf-2.0.1.

All build times and sizes were also checked and updated as needed.
2023-08-14 13:47:25 -05:00
Thomas Trepl
1c0eafc71e Automatic merge of trunk into multilib 2023-08-11 00:30:10 +02:00
Xi Ruoyao
f0b518a01e
binutils: Remove libgprofng.a, add libgprofng.so into contents section 2023-08-10 13:45:01 +08:00
Xi Ruoyao
30e0a7b28f
gawk: Move the creation of awk.1 after the explanation of the previous command 2023-08-09 22:39:53 +08:00
Xi Ruoyao
7c306241b6
coreutils: Use groupadd/groupdel for creating/removing dummy group
They look better than "echo >>" and "sed -i".  And I think an example
showing how to use groupadd/groupdel is good anyway.  The format of
/etc/group is already shown in chapter 7.
2023-08-09 22:30:52 +08:00
Thomas Trepl
5c9689cc50 Synchronize instructions dft<-->ML 2023-08-09 09:20:57 +02:00
Xi Ruoyao
91f9a174b5
ncurses: Simplify documentation install command 2023-08-09 12:37:52 +08:00
Thomas Trepl
45708d879e Automatic merge of trunk into multilib 2023-08-09 00:30:10 +02:00
Bruce Dubbs
539f0110b0 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-08-08 16:07:30 -05:00
Bruce Dubbs
45f40e899b Fix sed in pkgconf 2023-08-08 16:07:19 -05:00
Thomas Trepl
5a1f88329c Automatic merge of trunk into multilib 2023-08-08 15:22:00 +02:00
Xi Ruoyao
f4835ed6ad
pkgconf: Reword the reason of sed
Specifying --modversion with multiple packages just does not make sense.
The real problem here is it's erroring out even if the multiple
arguments are for the same package.
2023-08-08 08:35:21 +08:00
Thomas Trepl
3fb162fd28 Automatic merge of trunk into multilib 2023-08-08 00:30:10 +02:00
Bruce Dubbs
fdf01d1943 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-08-07 15:47:37 -05:00
Bruce Dubbs
9b7d651a54 Package updates.
Update to xz-5.4.4.
Update to wheel-0.41.1 (Python Module).
Update to man-pages-6.05.01.
Update to linux-6.4.8.
Update to iana-etc-20230804.
Update to pkgconf 2.0.0.
2023-08-07 15:46:36 -05:00
Xi Ruoyao
4374af9071
dbus: Fix a typo (misusing plural) 2023-08-07 23:00:42 +08:00
Thomas Trepl
741890da01 Merge branch 'trunk' into multilib 2023-08-03 12:29:56 +02:00
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
Thomas Trepl
3b3454a7b2 Automatic merge of trunk into multilib 2023-08-03 00:30:10 +02: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
Thomas Trepl
3a4f80cf24 Merge branch 'trunk' into multilib 2023-08-02 09:54:10 +02: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
Thomas Trepl
3ecf6ae99d Merge branch 'trunk' into multilib 2023-08-01 22:49:01 +02: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
Thomas Trepl
6f86139316 Make sure that pkgconfig files are created properly for x{,x}32 2023-07-29 16:16:56 +02:00
Thomas Trepl
3a01ce9f4c Multilib support in libxcrypt 2023-07-29 12:33:20 +02:00
Thomas Trepl
da2e8cba81 Automatic merge of trunk into multilib 2023-07-29 09:05:05 +02: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
Thomas Trepl
9f0c94b408 Automatic merge of trunk into multilib 2023-07-22 00:30:09 +02: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
Thomas Trepl
2cf3d3ac59 Automatic merge of trunk into multilib 2023-07-20 00:30:14 +02:00
Xi Ruoyao
66fbe7b805
meson and ninja: Kill false tips 2023-07-20 01:09:30 +08:00