Commit Graph

9184 Commits

Author SHA1 Message Date
Xi Ruoyao
746175acd3
loongarch: Reset revision counter
Let's not start from "r12.1-2xx" for this development cycle...
2024-03-02 17:23:14 +08:00
Xi Ruoyao
0a18eb6c6a
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-03-02 17:00:56 +08:00
Xi Ruoyao
1abe89b663
Revert "Merge remote-tracking branch 'origin/12.1' into xry111/loongarch-12.1"
This reverts commit 2c5dbc36a3, reversing
changes made to 066a58405f.

This merge should not be on this branch.
2024-03-02 16:59:39 +08:00
Xi Ruoyao
2c5dbc36a3
Merge remote-tracking branch 'origin/12.1' into xry111/loongarch-12.1 2024-03-02 16:39:20 +08:00
Xi Ruoyao
066a58405f
Merge tag 'r12.1' into xry111/loongarch
r12.1: The last change before 12.1 release
2024-03-02 16:38:41 +08:00
Xi Ruoyao
a56a4fcd9c
procps: Run chown -R tester . before running the test as tester
I completely forgot this yesterday :(.
2024-03-02 15:50:21 +08:00
Xi Ruoyao
2001f5cd7e
coreutils: Redirect stdin for test suite to prevent two failures
The tests affected are test-getlogin and test/tty/tty.sh.  We need an
errata for 12.1.
2024-03-02 00:03:28 +08:00
Xi Ruoyao
c2d820a770
procps: Run test as tester 2024-03-01 23:50:06 +08:00
Xi Ruoyao
887bf34f49
glibc: Make the command enumerating timed out tests remap="test"
So if a test times out, it will be noted in jhalfs log.

Also remove "-l" so the output will be something like

    ./nptl/tst-thread-affinity-pthread: Timed out ...

instead of just a puzzling "./nptl/tst-thread-affinity-pthread".
2024-03-01 23:44:17 +08:00
Bruce Dubbs
b570133fec Update changelog and whatsnew fo r12.1 2024-02-29 09:27:04 -06:00
Bruce Dubbs
fdc96d423e LFS-12.1 released. 2024-02-29 09:19:31 -06:00
Xi Ruoyao
d91a836a78
packages: Fix a typo
Reported-by: Vladimir Pertsev <info@linuxfromscratch.ru>
2024-02-28 19:05:35 +08:00
Xi Ruoyao
09f2a24c48
loongarch: gcc: Match the format of loongarch test failures with others 2024-02-28 13:44:56 +08:00
Bruce Dubbs
9575382489 Minor text changes 2024-02-27 12:29:43 -06:00
Bruce Dubbs
cf6fe33cee Fix some external URLs 2024-02-27 12:05:21 -06:00
Xi Ruoyao
ec36facb42
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-02-27 23:39:33 +08:00
Xi Ruoyao
23f436750e
procps: Add "-k" for make check and document two additional failures 2024-02-27 20:54:42 +08:00
Bruce Dubbs
283f7119a0
Typos
(cherry picked from commit a2808be815)
2024-02-27 20:48:45 +08:00
Bruce Dubbs
4e486a2efc
Typo
(cherry picked from commit 0c06e1e048)
2024-02-27 20:48:40 +08:00
Xi Ruoyao
74f9697fdd
changelog: Mark procps-4.0.4 as a security fix
It contains a fix for CVE-2023-4016, rated low and only affecting 32-bit
systems.
2024-02-27 17:47:50 +08:00
Xi Ruoyao
ed38e9d2cf
procps: Be more specific about the known ps test failure 2024-02-27 01:29:23 +08:00
Xi Ruoyao
64ef2e93db
coreutils: Comment out test-getlogin failure
It seems fixed by the upstream.  (Well, they'd claimed this "fixed" in
2014 but we were still seeing this failure in ten years.  However let me
trust the upstream once again...)

Link: https://lists.gnu.org/archive/html/bug-gnulib/2022-06/msg00079.html
2024-02-27 00:42:31 +08:00
Xi Ruoyao
141a1fa181
vim: Minor decoration 2024-02-26 14:52:49 +08:00
Xi Ruoyao
64be5a4bfa
dependencies: Gettext may use system libunistring
When system libunistring is not installed (for eg building LFS), a
shipped copy of libunistring is used.
2024-02-25 00:53:31 +08:00
Xi Ruoyao
4aa6831f14
glibc: Don't "overwrite" libcrypt.so.1* when updating
As we've already concluded, overwriting a shared object can crash
running processes using code or data from this shared object.  For
example if gdm is crashed, we may leave the system unusable :(.
2024-02-24 13:26:06 +08:00
Xi Ruoyao
bd003a8a8c
glibc: Correctly mark revision='systemd' for a paragraph in update note 2024-02-24 13:15:49 +08:00
Xi Ruoyao
3827fcf6e2
vim: Set TERM=xterm-256color for test
I spent some time investigating the difference of vim test results from
different editors.  It turns out the value of TERM can affect the test
results in a deterministic way: when TERM=xterm-256color all tests pass,
when TERM=linux one test fails, and when TERM=vt100 20+ tests fail.

As we are redirecting the output to a file, the actual type of the
terminal does not matter and we can just specify a value known to work.
2024-02-23 23:47:06 +08:00
Xi Ruoyao
109afb297c
dependencies: Kbd can use Linux-PAM
The book already mentions the vlock program needs PAM to be built, but
in dependencies page we say Kbd has no external optional dependencies.
This is obviously incorrect...
2024-02-23 03:33:14 +08:00
Xi Ruoyao
5f2ba8ce99
gcc: Decorate test failures, remove outdated comments, ...
move comments for upstream PR links to correct location.

BTW data-model-4.c is also in analyzer directory, so we can just say 7
analyzer tests.
2024-02-18 22:09:54 +08:00
Xi Ruoyao
0800455fb6
Glibc: Re-organize test failures and mention how to rule out timed out tests
Glibc tests occansionally fail due to a timeout because:

1. The hardware is slower than the developers expected.
2. Some tests use multiple or even all CPU cores internally, for e.g.
   with 8 active CPU cores we may end up running 8 tests (due to -j8)
   each of them uses 8 cores in the worst case, resulting a severe
   congestion.

I'm almost sure nptl/tst-thread-affinity* are cases of 2.

Let's document how to rule out the timed out tests instead of making the
list of known failures longer and longer.
2024-02-18 15:40:50 +08:00
Douglas R. Reno
6b25d62962 Stats only: update the installed files size for systemd 2024-02-15 09:49:22 -06:00
Bruce Dubbs
28614cdda5 Update descriptions for some test failures. 2024-02-14 15:41:22 -06:00
Bruce Dubbs
d93d11b5ba Package updates and stats updates.
Update to meson-1.3.2.
Update to shadow-4.14.5.
2024-02-14 09:37:42 -06:00
Bruce Dubbs
96026a103a Package updates.
Update to shadow-4.14.4.
Update to setuptools-69.1.0 (Python module).
Update to python-3.12.2.
Update to pkgconf-2.1.1.
Update to MarkupSafe-2.1.5 (Python module).
Update to man-pages-6.06.
Update to expat-2.6.0.
Update to linux-6.7.4.
2024-02-12 11:05:36 -06:00
Pierre Labastie
b1998a2375 Use http://cdn.docbook.org to run on other distros
Upstream documentation has been changed a few years ago to point to
https rather than http, but for example ubuntu-2023.10 still has only
http in its catalog file. So use http here, and change the catalog file
in blfs to have both http and https...
2024-02-10 12:31:04 +01:00
Xi Ruoyao
fe99d50d94
systemd: Fix a bug breaking systemd-verify an instantiated unit
It's breaking Git test suite (and maybe other things).
2024-02-10 18:49:55 +08:00
Pierre Labastie
e67d996022 Typo in expect
Thanks to rhubarbpieguy for the report

Fix #5436
2024-02-08 13:56:10 +01:00
Xi Ruoyao
4ac095c78b
loongarch: gcc: Apply an upstream change to prevent the linker from generating illegal instructions
I've proposed a backport of the change to GCC 13.3 but no response yet.
But even if the proposal is rejected I'd still have no choice but
backporting downstream.  So just do it.
2024-02-07 05:28:15 +08:00
Xi Ruoyao
2a71a83b9a
loongarch: kernel: Apply an upstream fix for Binutils 2.42
Though the commit message mentions "recent Binutils and GCC trunk", I'm
99.99% sure this is only related to Binutils since the troubling
R_LARCH_RELAX/R_LARCH_ALIGN is appearing in some object files assembled
from .S files.

IMO this commit should be backported to even 6.1, but Huacai always
believe people using the latest Binutils should use the latest kernel.
And it seems Linux 6.8 won't catch LFS 12.1 package freeze, leaving me
no choice but backporting this downstream.
2024-02-07 05:16:58 +08:00
Xi Ruoyao
8b8b87bcb2
loongarch: Binutils: Apply an upstream fix for LTO
This issue is known to cause Mozilla packages fail to build.  So fix it
just like what we did for Binutils-2.38 on x86_64.
2024-02-07 05:07:58 +08:00
Xi Ruoyao
ee8c846895
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-02-07 04:57:26 +08:00
Xi Ruoyao
4816dc69f5
bash: Really pass through the return code
We want expect to return the return code of "make test" (stored in
$value), but $value is expanded too early to nothing by Bash.  Quote EOF
so Bash won't expand $xxx.
2024-02-06 03:44:38 +08:00
Xi Ruoyao
1fde756b12
expect: Add (back) a simple test for PTY
We used to run "expect -c 'spawn ls'" for this in Binutils, but then we
thought expect test suite was enough as such a simple PTY test.  However
expect test can fail due to some different reason, so add back a simple
test using Python pty module before building expect.  Now we no longer
need to consider expect test critical (IIRC there was a report saying
one expect test failed for unknown reason but all other things OK).
2024-02-06 03:07:35 +08:00
Xi Ruoyao
ce11e97f01
kernfs: Use a separate devpts filesystem for chroot environment
IIRC we switched from separate devpts to bind mount, and matched the UID
of tester with the host UID owning the TTY, to satisify the Bash test
suite.  But now we are always using UID 101 for tester and expect to
spawn a PTY for Bash test suite (so when building LFS in a TTY owned by
the root user of the host tester won't be UID 0).  Thus we can switch
back to a separate devpts mount which is cleaner and safer.

And we are already using a separate devpts mount in Chapter 11.
2024-02-06 01:08:42 +08:00
Bruce Dubbs
1541b7c29f Minor wording update 2024-02-04 12:13:17 -06:00
Xi Ruoyao
7436c28ae4
If we need to create the link target of /dev/shm, make its mode 1777
To match the behavior of a tmpfs mount.  Otherwise non-root user (for
e.g. the tester user) will get errors using Glibc shm functions.
2024-02-04 22:56:04 +08:00
Xi Ruoyao
8cf42d4c72
Fix and unify the commands creating the link target of /dev/shm
$(realpath /dev/shm) will return the absolute path of the target of
/dev/shm, thus the command will work for both absolute symlink and
relative symlink.
2024-02-04 03:42:36 +08:00
Xi Ruoyao
677f795cf8
glibc: When update, also regenerate the locales
A Glibc update may contain locale updates, so keep
/usr/lib/locale/locale-archive synced.

Other distros are also doing this when Glibc is updated with the package
manager.
2024-02-03 18:58:14 +08:00
Bruce Dubbs
7b54528e96 Fix currency for xz 2024-02-02 10:10:53 -06:00
Xi Ruoyao
20902ddaf3
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-02-02 18:06:05 +08:00