1277 Commits
Author SHA1 Message Date
Xi Ruoyao 64a7b203af gcc: remove gcc-testresults reference
99% of the results on the list are against trunk or a release branch,
not really meaningful when comparing with the release (tag).

The test result on linuxfromscratch.org is enough.
2026-09-13 18:53:19 +08:00
Xi Ruoyao fc12864f39 shadow: remove outdated "8-character limitation"
The current default (SHA512) already supports longer passwords.

Realign the backslashes by the way.
2026-08-28 08:47:49 +08:00
Pierre Labastie c26acc0c3d Shadow: default ENCRYPT_METHOD is now SHA512
Use it in the sed for YESCRYPT. Change the text accordingly
2026-08-27 23:17:37 +02:00
Xi Ruoyao 097553588a Revert "glibc: add -k -i for make check"
This reverts commit 8b989da79e.

The issue should be already fixed with the glibc upstream fixes patch.
2026-08-25 00:21:46 +08:00
Xi Ruoyao e4a75cac95 Revert "Update the GMP note about optimization issues."
This reverts commit f336bf33c5.

The configure script suggests to use --disable-assembly instead of
--host=none-linux-gun but it's actually lying: the former indeed
disables assembly but it still passes things like -march=nehalem to GCC
and produce a binary that may crash on processors earlier than nehalem.
But the latter really produces generic binaries.

See my comment at https://gcc.gnu.org/PR110789#c10.  And oops, I even
had added a XML comment below this but it was ignored :(.

Stick to the latter for now (until we find a better solution).
2026-08-24 20:54:53 +08:00
Xi Ruoyao 6cda4a3c77 shadow: stop implying password shadowing was optional (or "potentionally incompatible)
Today everything expects shadowed password and the BLFS PAM
configuration does not work with unshadowed password at all.  I don't
think anyone still really uses an unshadowed configuration for real now.
2026-08-22 15:10:51 +08:00
Xi Ruoyao f273aa929d shadow: drop an unneeded sed
It was an ad-hoc fix for upstream issue in 4.20.0, but the issue is now
fixed with 4.20.2.
2026-08-22 14:55:58 +08:00
zeckma-tech a678738cb2 glibc: Switch from upstream_fix to fixes.
In addition to fixing the tanh issue, it also fixes some issues that
prop up when building and installing glibc using multiple make jobs.
This causes some sed commands to fail to run during installation but
is non-lethal to the make status, while it causes m32 to fail outright
during the build. The only around both issues is to use -j1. For trunk,
-j1 should be used in the install command. for m32/MLFS, -j1 should also
be used for the actual make command.
2026-08-15 14:11:12 -06:00
Xi Ruoyao 6b45269521 util-linux: remove the reference to CONFIG_CRYPTO_USER_API_HASH
Many security bugs have been found with CONFIG_CRYPTO_USER_API_* so they
are now deprecated by upstream.  So I disabled them and the test suite
still works normally.
2026-08-15 14:40:02 +08:00
Bruce Dubbs f336bf33c5 Update the GMP note about optimization issues. 2026-08-14 11:47:36 -05:00
Bruce Dubbs 88e6ea998d Package updates.
Update to expat-2.8.3 (Security Update).
Update to iana-etc-20260805.
Update to libffi-3.8.0.
Update to linux-7.1.8.
Update to meson-1.12.0.
Update to procps-ng-4.0.7.
Update to setuptools-84.0.0 (Python module).
Update to shadow-4.20.2.
Update to vim-9.2.0954.
Update to wheel-0.48.0 (Python module).
2026-08-14 10:01:08 -05:00
Xi Ruoyao 12ef4d4741 findutils: document test-regex-el failure
As reported in #5983 and also confirmed by upstream wiki page.
2026-08-09 02:24:08 +08:00
Bruce Dubbs 60a709bb6d Package updates.
Update to flit_core-4.0.2 (Python module).
Update to gcc-16.2.0.
Update to linux-7.1.7.
Update to packaging-26.3 (Python module).
Update to pkgconf-3.0.5.
Update to Python-3.14.7 (Security Update).
2026-08-07 18:27:08 -05:00
Bruce Dubbs 2127ab5f72 Fix an md5sum and a change in teh libbfd version number. 2026-08-06 20:53:25 -05:00
Xi Ruoyao 73777c84b5 glibc: fix tanh crash on old processors 2026-08-06 12:56:07 +08:00
Xi Ruoyao 8b989da79e glibc: add -k -i for make check
Workaround a testsuite bug (introduced by the changes for 2.44 to
improve the parallism of the test suite, but even -j1 cannot evade the
bug...) causing the test suite to bail out early.

I didn't see the issue in a LFS build but I saw it testing glibc on a
complete system, and IIUC it may occur building LFS too if the luck is
bad.
2026-08-02 03:09:03 +08:00
Bruce Dubbs 60fcba5efa Reword --with-lib-path explanation. 2026-08-01 12:37:53 -05:00
Xi Ruoyao e981d9b10f binutils: add --with-lib-path
Helps to prevent the lib64 puzzle that happened several times.  Also
simplifies the sanity check output in glibc.
2026-08-01 16:00:59 +08:00
Xi Ruoyao 2c63342db4 binutils: add --with-lib-path=/usr/lib 2026-08-01 15:58:14 +08:00
Xi Ruoyao f328c972b6 pkgconf: run the test suite
The 3.0.x release no longer requires the non-LFS packages to run the
test.
2026-08-01 04:14:04 +08:00
Bruce Dubbs f1476cdc33 Package updates.
Update to shadow-4.20.0.
Update to vim-9.2.0858 (Security Update).
Update to systemd-261.2.
Update to sqlite-3.53.4.
Update to pkgconf-3.0.4.
Update to perl-5.44.0.
Update to linux-7.1.5.
Update to libtool-2.6.2.
Update to iana-etc-20260723.
Update to glibc-2.44 (Security Update).
Update to binutils-2.47.
2026-07-31 11:22:04 -05:00
Xi Ruoyao 1c2eb20b24 sqlite: simplify doc installation 2026-07-26 23:22:47 +08:00
Joe Locash 77024b998d Formatting fix for mpdecimal 2026-07-14 17:25:33 -04:00
Bruce Dubbs 8cccf6a12c Package updates.
Add mpdecimal-4.0.1.
Update to tzdata-2026c.
Update to setuptools-83.0.0.
Update to pkgconf-3.0.2.
Update to meson-1.11.2.
Update to libffi-3.7.1.
Update to linux-7.1.3.
Update to gawk-5.4.1.
Update to findutils-4.11.0.
2026-07-14 12:02:51 -05:00
Xi Ruoyao 4426e4ef9c acl: update the failed test name
The suffixes are changed in the 2.4.0 release.
2026-07-13 10:26:26 +08:00
Xi Ruoyao e85ba7494a gmp: use an easier way to get the number of PASSed tests 2026-07-13 09:53:29 +08:00
Xi Ruoyao 4344f6bdea shadow: create empty /etc/sub{u,g}id files
They are databases for subordinate user and group IDs, which are useful
for rootless containers like podman (well, it's beyond BLFS but maybe
users will install it on BLFS anyway).  If those files exist, useradd,
groupadd, and etc. will automatically manage their contents; otherwise
the user will create them (following the podman doc) and manage their
contents for already created users/groups manually.  Doing so would be
more error-prune than the automatic handling, and also inconsistent (the
new user and groups will have the subordinate IDs automatically, but the
existing user and groups will not).

So for convinence and consistency, create them and let the Shadow
utilities to manage them.
2026-07-05 02:03:45 +08:00
Xi Ruoyao 6a42a0e046 openssl: factor out HARNESS_JOBS= as an optional setting
Now the default is to use all available cores (in case we are building
in a cgroup via jhalfs, the number of available cores is counted as the
number of cores assigned to the cgroup).
2026-07-04 00:27:10 +08:00
Bruce Dubbs 4a56fb5d78 Package updates.
Add tar-1.35-acl_fix-1.patch.
Add Python3-3.14.6 consolidated fixes (Security patch).
Update to attr-2.6.0 (Security Update).
Update to acl-2.4.0 (Security Update).
Update to expat-2.8.2 (Security Update).
Update to iana-etc-20260617.
Update to iproute2-7.1.0.
Update to libffi-3.6.0.
Update to linux-7.1.1.
Update to sqlite-autoconf-3.53.3.
Update to systemd-261.
Update to util-linux-2.42.2 (Security Update).
Update to vim-9.2.0752 (Security Update).
2026-06-30 13:37:42 -05:00
Bruce Dubbs 8d6ab56066 Fix stripping libbfd. 2026-06-16 14:08:03 -05:00
Bruce Dubbs ce57a03c21 Package updates.
Update to binutils-2.46.1.
Update to file-5.48.
Update to less-704.
Update to linux-7.0.12.
Update to openssl-4.0.1.
Update to Python3-3.14.6.
Update to sqlite-autoconf-3.53.2.
Update to vim-9.2.0640 (Security Update).
2026-06-14 14:30:58 -05:00
Xi Ruoyao 3520acb415 gcc: disable fixincludes for pass 1 and pass 2 too
Doing so is not strictly needed but it improves the consistency and
saves some CPU cycles building LFS.  It may also potentially avoid a
build failure in case GCC pass 2 fixincludes breaks a pattern in a
header from some release of glibc or kernel.
2026-06-14 16:29:14 +08:00
Xi Ruoyao b28a98b4af gcc: adjust the words of languages with external dependencies
per Rainer's suggestion.
2026-06-02 19:24:05 +08:00
Xi Ruoyao 840726a09a gcc: get rid of the meaningless (to us) "mv" commands in test_summary output 2026-06-02 19:24:05 +08:00
Bruce Dubbs 6890c71897 Package updates.
Update to systemd-260.2.
Update to kbd-2.10.0.
Update to util-linux-2.42.1.
Update to less-702.
Update to vim-9.2.0567 (Security Update).
Update to iana-etc-20260529.
2026-05-31 13:06:20 -05:00
Xi Ruoyao d235207a6d glibc: reword for the patch update
Remove a sed conflicting with the patch (it's actually doing the same
thing as a part of the patch).
2026-05-19 10:36:33 +08:00
Xi Ruoyao 601e9e8ba3 fix typo :( 2026-05-17 23:48:57 +08:00
Xi Ruoyao 7d36e94cd1 gcc: deprecate-1.C is flaky
Link: https://gcc.gnu.org/PR124857
2026-05-17 19:25:37 +08:00
Douglas R. Reno 72c7d33e50 Package updates:
- Update to linux-7.0.7 (Security Update)
- Update to tcl-8.6.18
- Update to expat-2.8.1 (Security Update)
- Update to vim-9.2.0481 (Security Update)
- Fix CVE-2026-7210 and CVE-2026-8328 in Python
- Update chapter01/whatsnew.xml with a current list of added patches
2026-05-14 22:39:20 -05:00
Bruce Dubbs d7370efccd Typo 2026-05-14 08:57:03 -05:00
Xi Ruoyao 116d058f27 python: replace the patch with the updated version 2026-05-12 01:40:36 +08:00
Bruce Dubbs 6f16b2606e Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2026-05-11 12:32:42 -05:00
Bruce Dubbs 6d990d4871 Package updates.
Updating a couple of days before the normal mid-month commit.
This is to establish the initial baseline for fixing numerous
packages in BLFS that will need to updated for linux-7 and
openssl-4.

Update to vim-9.2.0461 (Security Update).
Update to sqlite-3.53.2.
Update to Python-3.14.5.
Update to openssl-4.0.0.
Update to linux-7.0.5.
Update to iana-etc-20260604.
Add Python-3.14.5 linux7 build patch.
Add glibc linux7 fixes patch (Security Fix).
Add systemd openssl4 build patch.
2026-05-11 12:24:52 -05:00
Xi Ruoyao 1be5965641 gcc: update known failures and add the change log entry 2026-05-11 23:10:54 +08:00
Pierre Labastie 1cda220b3f gcc: remove an obsolete sed
The fix is upstream for gcc 16
2026-05-11 14:07:19 +02:00
Xi Ruoyao 5ec6ec66b0 reword for the "rolling release" warning
The original warning is inaccurate/misleading in many aspects.

The critical thing is GCC version.  There's nothing to do with the
OpenSSL version (as nothing in ch5 or 6 ever uses OpenSSL).  There's
also nothing to do with the kernel "major" version as the "major"
version is just an arbitary choice to make the minor version not greater
than 19 by Linus.  It does not imply any aspect of the ABI, unlike the
"major" version in a SONAME or something.  The inablility to build Glibc
with Linux 7.0 API headers is simply a coincidence.  If another API
header change happens in Linux 7.6, it may break Glibc build as well.

And I cannot see how the Linux API header version of the host distro can
ever affect LFS.  LFS builds ch05 Glibc with its own Linux API header
installed just before Glibc, not the installation from the host distro.
So Glibc should just build fine with the 6.19 API header just installed
into $LFS/usr/include.  I know it would fail to build with Linux 7.0 API
headers but why it can ever find one - if it really finds the host
distro's API header instead of the one in $LFS/usr/include we have a
serious bug and it will have to be fixed instead of papered over by
limiting the host distro.

I also know the req test will fail if the host distro has Linux 7.0 but
I've no idea if the test failure is really related to the "massive
breakage of rseq" (I assume it refers to the jemalloc breakage?  But
AFAIK nothing in LFS uses jemalloc).  And the glibc upstream has just
fixed the test file simply.  We always treat test-file-only fixes as
"known failures" instead of "bugs requiring a fix" unless it aborts the
entire test suite too early.  Add a note in the glibc page to note there
can be additional failures with Linux >= the version we use for LFS.

And there's also nothing to do with the "rolling release."  For example,
you cannot build LFS 12.0 on LFS 12.4 because ch06 bash uses the host
compiler to build some code generators, and those generators are not
compatible with C23 (the default of GCC 15.2 shipped by LFS 12.4).  LFS
12.4 is definitely not a rolling release...

A rolling release just catches the breakage earlier and we shouldn't
blame it to do so.  IMO we should avoid the unfair accusion on rolling
distros as the same unfair accusion is often towards LFS (notably the
way we develop BLFS is very similar to a rolling release distro).

In the hostreqs page we already states building with a GCC newer than
the version specified for LFS in the book is "not tested and not
recommended."  I don't know why people must ignore it (AFAIU "not
recommended" in LFS means "not supported; don't report any bug" already:
for example those "recommended" dependencies in BLFS).  Make it more
explicit with assertive language and <warning>.
2026-05-06 13:14:54 +08:00
Xi Ruoyao 1093fc15ce gcc: fix my stupid typo
Stupid I.
2026-05-06 11:57:28 +08:00
Xi Ruoyao 188ec57f93 groff: work around parallel build issue 2026-05-03 16:05:32 +08:00
Xi Ruoyao 8c108f3a6c openssl: simplify the prevention of static library installation 2026-05-02 19:16:38 +08:00
Xi Ruoyao 0fc1a2b2f7 inetutils: drop libls.sh failure
The problematic test has been removed by upstream.

Link: https://cgit.git.savannah.gnu.org/cgit/inetutils.git/commit/?id=556621adc3dc
2026-05-02 17:34:01 +08:00