Commit Graph

1566 Commits

Author SHA1 Message Date
Thomas Trepl
bc33d9d7a0 Merge upstream 2024-05-12 09:26:02 +02:00
Bruce Dubbs
340e17adc6 Package updates.
Update to vim-9.1.0405.
Update to util-linux-2.40.1.
Update to linux-6.8.9.
Update to jinja2-3.1.4 (Python mpdule).
Update to iana-etc-20240502.
Update to gcc-14.1.0.
2024-05-11 15:17:56 -05:00
Xi Ruoyao
1a7ac41bcc
grub: Update the note about UEFI for recent BLFS change 2024-05-11 08:15:09 +08:00
Thomas Trepl
94f7cd922b Automatic merge of trunk into multilib 2024-05-09 09:02:42 +02:00
Xi Ruoyao
6dfdf03699
coreutils: Add -k for make check
Two tests are known to fail, so without -k a part of the test suite is
not executed.
2024-05-09 14:52:44 +08:00
Thomas Trepl
511932f44d Automatic merge of trunk into multilib 2024-05-04 00:30:22 +02:00
Xi Ruoyao
1e7341fd35
systemd: Enable test suite (again)
With systemd-255, I get only 1 failure out of 1206.  Thus it seems a
good idea to run the test suite.

We can always revert if something bad happens.
2024-05-03 13:39:48 +08:00
Xi Ruoyao
a9cbf6ff0c
Revert "python: Document test failures with recent expat"
This reverts commit 6a75210c6d.

In Python >= 3.12.3, these tests are disabled with expat >= 2.6.0.

Link: https://github.com/python/cpython/commit/c4fa79b924a1
2024-05-03 11:59:53 +08:00
Thomas Trepl
b64efb7215 Adopt instruction change 2024-05-01 08:23:25 +02:00
Thomas Trepl
1dd25fd51f Automatic merge of trunk into multilib 2024-05-01 00:30:19 +02:00
Bruce Dubbs
d0ca5ead46 PAckage updates and a security fix.
Add security fix to glibc.
Update to linux-6.8.8.
Update to ncurses-6.5.
2024-04-30 12:42:03 -05:00
Thomas Trepl
b520d5c599 Automatic merge of trunk into multilib 2024-04-19 00:30:10 +02:00
Bruce Dubbs
ba1a9cf303 Typo 2024-04-18 10:19:03 -05:00
Thomas Trepl
d5599a9bb7 Automatic merge of trunk into multilib 2024-04-16 00:30:24 +02:00
Bruce Dubbs
491de3316a Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2024-04-15 11:17:58 -05:00
Bruce Dubbs
185b763812 Package updates.
Update to setuptools-69.5.1.
Update to python3-3.12.3.
Update to openssl-3.3.0.
Update to ninja-1.12.0.
Update to man-db-2.12.1.
Update to linux-6.8.6.
Update to iana-etc-20240412.
Update to vim-9.1.0330.
2024-04-15 11:16:44 -05:00
Thomas Trepl
9dca319c8b Automatic merge of trunk into multilib 2024-04-09 00:30:12 +02:00
Xi Ruoyao
9bfd203fad
util-linux: Create a dummy /etc/fstab to satisfy two tests 2024-04-08 16:10:03 +08:00
Xi Ruoyao
6a75210c6d
python: Document test failures with recent expat
I didn't see them because I misconfigured Python to use internal expat.
With system expat they just fail as we've documented in BLFS.
2024-04-08 15:09:51 +08:00
Thomas Trepl
c413fb5388 Automatic merge of trunk into multilib 2024-04-06 11:32:10 +02:00
Thomas Trepl
aa17d84e55 Add ML instructions to GDBM. Thanks to 'Zeckma' 2024-04-06 11:15:31 +02:00
Xi Ruoyao
91cf49535a
python: Make it clear that the test indefinitely hanging issue is occasional
Or people will report things like "hey I didn't see any test had timed
out."
2024-04-06 11:25:01 +08:00
Thomas Trepl
1291a88955 Automatic merge of trunk into multilib 2024-04-06 00:30:19 +02:00
Xi Ruoyao
a093e70903
python: Run test suite with a time limit
The test hang issue is not related to partial environment.  It's just a
known issue (for eg https://github.com/python/cpython/issues/91155) and
happens when we are unlucky.

So just run the test suite with a timeout.  1 SBU should be enough: it's
approximately 4 times of the time used by the slowest test case, on both
an old Athlon 64 3000+ and a Core i5-11300H.

I've not seen any test failure on a complete system (the expat-related
failure seems fixed by expat-2.6.2 or 2.6.1).  TODO: really test this
with LFS chroot and document failures if any.
2024-04-05 22:05:45 +08:00
Thomas Trepl
5c4795572f Automatic merge of trunk into multilib 2024-04-03 00:30:32 +02:00
Xi Ruoyao
ba64c50ecc
coreutils: Test names are filenames 2024-04-02 18:13:33 +08:00
Thomas Trepl
ce45f8d6eb Adopt instruction changes 2024-04-01 14:23:54 +02:00
Thomas Trepl
59e0a47aaa Automatic merge of trunk into multilib 2024-04-01 00:30:20 +02:00
Bruce Dubbs
9b01d1b4ba Package updates.
Update to iana-etc-20240318.
Update to zstd-1.5.6.
Update to util-linux-2.40.
Update to shadow-4.15.1.
Update to pkgconf-2.2.0.
Update to linux-6.8.2.
Update to coreutils-9.5.
2024-03-31 17:10:23 -05:00
Thomas Trepl
2affd83173 Add ml instr to lz4 2024-03-20 10:49:23 +01:00
Thomas Trepl
13ef4acde0 Adopt instruction change to m32, mx32 2024-03-20 08:57:03 +01:00
Thomas Trepl
4709c9df31 Automatic merge of trunk into multilib 2024-03-20 00:30:23 +01:00
Douglas R. Reno
c5ae777ac2 Package updates and a new addition:
Update to Linux-6.8.1
Update to iproute2-6.8.0
Add LZ4 to the book
2024-03-19 17:56:41 -05:00
Thomas Trepl
6269ece368 Automatic merge of trunk into multilib 2024-03-15 00:30:19 +01:00
Xi Ruoyao
e2d3b4b0bc
kmod: Use a more natural expression for symlink location issue 2024-03-14 23:04:38 +08:00
Xi Ruoyao
68215a4ed7
kmod: Emphasis that we don't want 2024-03-14 23:01:43 +08:00
Xi Ruoyao
98bdf39b6c
shadow: Capitalization adjustment 2024-03-14 22:59:27 +08:00
Xi Ruoyao
e7231421fd
kmod: Remove an unnecessary command and adjust the description
/usr/bin/lsmod is already created by the building system.
2024-03-14 22:53:21 +08:00
Bruce Dubbs
9ac55efa5e Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2024-03-14 09:38:18 -05:00
Bruce Dubbs
dcf5543233 Package updates.
Update to wheel-0.43.0.
Update to setuptools-69.2.0 (Python module).
Update to meson-1.4.0.
Update to expat-2.6.2 (Security fix).
Update to iana-etc-20240305.
Update to vim-9.1.0161.
Update to xz-5.6.1.
Update to shadow-4.15.0.
Update to psmisc-23.7.
Update to kmod-32.
Update to elfutils-0.191.
2024-03-14 09:36:53 -05:00
Thomas Trepl
5d2810f3a0 Automatic merge of trunk into multilib 2024-03-14 00:30:14 +01:00
Xi Ruoyao
eb7223e804
shadow: Add an <important> for using BLFS instruction if PAM installed 2024-03-12 18:53:13 +08:00
Thomas Trepl
0f39e49b2f Automatic merge of trunk into multilib 2024-03-03 00:30:21 +01:00
Douglas R. Reno
c301941b9a vim: typo fix from rhubarbpieguy 2024-03-02 15:02:00 -06:00
Bruce Dubbs
e4bdd54756 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2024-03-02 09:16:55 -06:00
Bruce Dubbs
0566a056ba Package updates.
Update to iana-etc-20240222.
Update to vim-9.1.0145.
Update to xz-5.6.0.
Update to tcl-8.6.14.
Update to shadow-4.14.6.
Update to setuptools-69.1.1.
Update to linux-6.7.7.
Update to libffi-3.4.6.
Update to gettext-0.22.5.
Update to expat-2.6.1.
2024-03-02 09:15:52 -06: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
Thomas Trepl
f0d0a00368 Automatic merge of trunk into multilib 2024-03-02 00:30:24 +01: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
Thomas Trepl
4fb76f3edc Automatic merge of trunk into multilib 2024-02-28 00:30:19 +01: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
Thomas Trepl
79b32d358b Automatic merge of trunk into multilib 2024-02-27 00:30:19 +01: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
Thomas Trepl
e361ac572d Automatic merge of trunk into multilib 2024-02-25 00:30:21 +01: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
Thomas Trepl
28bb09c0f6 Automatic merge of trunk into multilib 2024-02-24 00:30:19 +01: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
Thomas Trepl
44b216e805 Automatic merge of trunk into multilib 2024-02-19 00:30:10 +01: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
Thomas Trepl
9bc9f437e1 Automatic merge of trunk into multilib 2024-02-15 00:30:09 +01:00
Bruce Dubbs
28614cdda5 Update descriptions for some test failures. 2024-02-14 15:41:22 -06:00
Thomas Trepl
042f99a71c Automatic merge of trunk into multilib 2024-02-13 00:30:18 +01: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
Thomas Trepl
d394d13edc Automatic merge of trunk into multilib 2024-02-10 18:30:01 +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
Thomas Trepl
34ffa5745a Automatic merge of trunk into multilib 2024-02-09 00:30:18 +01:00
Pierre Labastie
e67d996022 Typo in expect
Thanks to rhubarbpieguy for the report

Fix #5436
2024-02-08 13:56:10 +01:00
Thomas Trepl
2e43fd45f6 Automatic merge of trunk into multilib 2024-02-06 00:30:18 +01: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
Thomas Trepl
807b061514 Automatic merge of trunk into multilib 2024-02-04 00:30:18 +01: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
Thomas Trepl
5569a3e112 Automatic merge of trunk into multilib 2024-02-03 00:30:21 +01:00
Xi Ruoyao
9c73d91186
Remove -v from "chown -R tester" commands
It does no good: normally we have -v for chown so once it no longer has
an effect we can know, but in this case these chown commands will never
have no effect.  And a huge amount of output with -v wastes the server
storage and bandwidth (for both the server and the people reading the
build logs).
2024-02-02 15:19:41 +08:00
Xi Ruoyao
343ab1388a
Add info about how to upgrade Glibc on a running system
Let's change our policy to match other "rolling release" distros and
ease the procedure to fix Glibc security vulnerabilities.

Squashed the commits in xry111/update-glibc branch to keep the history
clean.

Co-Authored-By: Pierre Labastie <pierre.labastie@neuf.fr>
Co-Authored-By: Douglas R. Reno <renodr@linuxfromscratch.org>
2024-02-02 09:03:51 +08:00
Xi Ruoyao
092b86ad6d
Package updates:
- Update to glibc-2.39 (#5426)
- Update to linux-6.7.3 (#5427)
2024-02-02 09:03:51 +08:00
Thomas Trepl
cac3cecb9b Automatic merge of trunk into multilib 2024-01-31 20:50:48 +01:00
Xi Ruoyao
d3b0a0842e
pkgmgt: Upgrading Linux API headers cannot be dangerous
Per a discussion in the team, we only consider an upgradation dangerous
if it may render the system unusable.  "Causing something not able to
build" is never considered dangerous.  Thus upgrading some headers
cannot be dangerous.

The Glibc portion will need an update too (it can be upgraded safely
with some caution) to ease security updates.  But let's do the easy
change first...
2024-02-01 03:31:25 +08:00
Thomas Trepl
ac1639c2cc Automatic merge of trunk into multilib 2024-01-31 20:23:41 +01:00
Bruce Dubbs
cdf280e337 Package updates.
Update to openssl-3.2.1.
Update to zlib-1.3.1.
Update to xz-5.4.6.
Update to linux-6.7.2.
Update to iana-etc-20240125.
Update to binutils-2.42.
Update to acl-2.3.2.
Update upstream fixes for readline-8.2.
Apply upstream fix for bash-5.2.21.
2024-01-31 08:42:20 -06:00
Xi Ruoyao
bed3894b89
glibc: Add more rationale about --enable-stack-protector, and remove the stale explanation of --with-headers 2024-01-31 17:43:03 +08:00
Xi Ruoyao
40cd8a1801
glibc: Drop --with-headers=/usr/include
The Glibc INSTALL file says:

‘--with-headers=DIRECTORY’
     Look for kernel header files in DIRECTORY, not ‘/usr/include’. ...

So --with-headers=/usr/include seems just doing nothing.
2024-01-29 23:45:33 +08:00
Xi Ruoyao
ee950a5e0d
More <quote> clean up
Use <quote> instead of '"' if possible.  Use <literal>,
<computeroutput>, etc. instead of <quote> if possible.  Replace
<quote>alpha</quote> with a UTF-8 Greek alpha character.

BTW decorate ".link" with <filename class='extension'>.
2024-01-28 20:53:47 +08:00
Thomas Trepl
f6a43f612c Automatic merge of trunk into multilib 2024-01-27 00:30:17 +01:00
Pierre Labastie
360fdfca9c Fix punctuation in quotes, and quote signs
- period and comma inside quotes
- " to <quote>
- some " to <literal> when it is a var value
2024-01-26 18:28:53 +01:00
Thomas Trepl
31a18d0226 Automatic merge of trunk into multilib 2024-01-26 00:30:11 +01:00
Xi Ruoyao
ea93c117f2
treewide: Use <ulink> instead of <filename> for man pages
"gcc(1)" is really not a file name.

Use <ulink> and link to the online man page on
https://man.archlinux.org/ so the user can refer to the man pages more
easily.

The change is done via a sed command and long lines are wrapped
manually.
2024-01-26 01:59:06 +08:00
Thomas Trepl
bb1dfaf649 Automatic merge of trunk into multilib 2024-01-25 12:41:51 +01:00
Xi Ruoyao
9ac6ff55fc
libtool: Add "or newer" after "grep-3.8"
We have grep-3.11 now.
2024-01-25 05:13:47 +08:00
Xi Ruoyao
5bef8f221a
ncurses: Remove libcursesw.so from short description
We no longer create this.
2024-01-23 05:29:05 +08:00
Xi Ruoyao
46b5c6b63b
gcc: Fix libcc1 description
libcpp is the preprocessor library, but it's a static library which is
only used by GCC itself and not installed.

libcc1 is actually a library for GDB to "compile" expressions, so we can
use fancy expressions in commands, like "print sin(x + 2.0)": the
expression sin(x + 2.0) needs to be "compiled" for evaluation.
2024-01-22 03:21:08 +08:00
Xi Ruoyao
75d26160ce
pkgconf: Update the fix for modversion regression (#5414) 2024-01-22 03:21:08 +08:00
Xi Ruoyao
3baf03a954
Package updates:
- Update to jinja2-3.1.3 (#5411)
- Update to bc-6.7.5 (#5408)
- Update to attr-2.5.2 (#5412)
- Update to ncurses-6.4-20230520 (#5416)
- Update to markupsafe-2.1.4 (#5418)
- Update to linux-6.7.1 (#5406)
- Update to iproute2-6.7.0 (#5410)
- Update to vim-9.1.0041 (#4500)
- Update to iana-etc-20240117 (#5006)
- Update to shadow-4.14.3 (#5413)
2024-01-22 03:21:05 +08:00
Xi Ruoyao
0253841d0f
coreutils: Fix CVE-2024-0684 (#5417) 2024-01-22 00:47:22 +08:00
Xi Ruoyao
943f22504e
ncurses: Use symlinks instead of linker scripts
The effect will not change, but with symlinks ld can save some time
invoking open(), read(), etc. syscalls and parsing the linker scripts.

Note that I've also removed "libcursesw" symlink because this library
has never existed.  Instead libcurses.so is created as a symlink
direct to libncursesw.so.
2024-01-22 00:27:45 +08:00
Xi Ruoyao
d282f88dea
ncurses: Modify the header to always use the ABI of ncursesw
instead of the 8-bit ncurses.

We don't provide the 8-bit ncurses library and we are "faking" it using
ncursesw.  Thus innocent package may be compiled with the 8-bit ABI
(because it does not know what we are doing and so it does not use
the "expected" preprocessor definitions to enable the wide ABI) but
linked against ncursesw, causing a potential ABI mismatch.
2024-01-22 00:27:45 +08:00
Thomas Trepl
5d2d864a97 Automatic merge of trunk into multilib 2024-01-19 00:30:10 +01:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Xi Ruoyao
9512d6c7ba
dejagnu: Move test before install
There seems no reason to test after install...  So just do it like other
packages.
2024-01-19 01:58:28 +08:00
Thomas Trepl
0632116b70 Automatic merge of trunk into multilib 2024-01-17 15:07:16 +01:00
Xi Ruoyao
56eed6c5da
systemd: Update the explanation to match the actual command 2024-01-15 12:36:47 +08:00
Xi Ruoyao
7f6519aad7
udev: Realign the export udev_helpers=... command 2024-01-15 12:30:03 +08:00
Thomas Trepl
4647f824cf Automatic merge of trunk into multilib 2024-01-15 00:30:10 +01:00
Xi Ruoyao
ce07f91d5e
udev: Drop duplicated udevadm in the ninja command 2024-01-14 17:39:22 +08:00
Thomas Trepl
e97d7877d1 Automatic merge of trunk into multilib 2024-01-12 00:30:10 +01:00
Pierre Labastie
811d59db8b Nitpick on format
- according to our typography, referring to a manual page should be
  <filename>page(x)</filename>
- don't enclose punctuation into quotes
- use <option> for option
2024-01-11 13:52:28 +01:00
Pierre Labastie
f1370e2fb9 Change C.UTF-8 localedef everywhere 2024-01-11 13:51:15 +01:00
Thomas Trepl
89273dcaa9 Automatic merge of trunk into multilib 2024-01-10 00:30:10 +01:00
Douglas R. Reno
fecc287280 Fix the definition of the C.UTF-8 locale.
This fixes a test failure in Epiphany.
2024-01-09 11:16:26 -06:00
Thomas Trepl
b932c7ae89 Automatic merge of trunk into multilib 2024-01-07 11:18:55 +01:00
Thomas Trepl
06e65e8e59 remap=make moves unset command to wrong pos 2024-01-07 11:15:05 +01:00
Thomas Trepl
5605ef3876 Automatic merge of trunk into multilib 2024-01-07 00:30:10 +01:00
Xi Ruoyao
33c9cb06d7
systemd: Fix another deprecation warning
Not sure why I didn't catch it...
2024-01-06 11:26:22 +08:00
Thomas Trepl
89c61e5d99 Automatic merge of trunk into multilib 2024-01-05 00:30:09 +01:00
Xi Ruoyao
164e0ddbce
udev: Unset udev_helpers after installation
Now this variable is exported, thus it might potentially cause unwanted
side effects building other packages.  So unset it after installation.
2024-01-05 03:05:01 +08:00
Pierre Labastie
53ed17c752 export the udev_helpers variable
Since it is needed for both building and installing, exporting it
allows to have it defined even if building as a regular user (so that
sudo is run for installing) or using a package manager (which usually
runs in a new shell and forgets unexported variables)
2024-01-04 19:22:44 +01:00
Thomas Trepl
6c474a791e Automatic merge of trunk into multilib 2023-12-31 12:43:21 +01:00
Xi Ruoyao
6fec3f51e7
binutils: Add --enable-default-hash-style=gnu for configure (#5401) 2023-12-31 02:37:07 +08:00
Xi Ruoyao
8b4fb1245d
systemd: Fix CVE-2023-7008 (#5405) 2023-12-31 02:35:25 +08:00
Xi Ruoyao
d4ce302c0e
Package updates
- Update to meson-1.3.1 (#5402)
- Update to vim-9.0.2189 (#4500)
- Update to inetutils-2.5 (#5404)
- Update to xml-parser-2.47 (#5403)
- Update to linux-6.6.8 (#5397)
- Update to tzdata-2023d (#5399)
- Update to setuptools-69.0.3 (#5400)
- Update to iana-etc-20231205 (#5006)
- Update to autoconf-2.72 (#5398)
- Update to grub-2.12 (#5396)
2023-12-31 02:00:59 +08:00
Thomas Trepl
42f12b0fb7 Automatic merge of trunk into multilib 2023-12-24 00:30:18 +01:00
Xi Ruoyao
95fc77277a
Remove stray references to TESTSUITEFLAGS
Now TESTSUITEFLAGS is set globally in Chapter 7.4, so there is no need
to mention it again and again in individual packages.
2023-12-23 21:18:07 +08:00
Thomas Trepl
372bbbbfd5 Automatic merge of trunk into multilib 2023-12-22 00:30:17 +01:00
Xi Ruoyao
7380559028
systemd: Disable systemd-sysupdate with a better way 2023-12-18 16:38:21 +08:00
Xi Ruoyao
9afac649f2
Update to systemd-255 2023-12-18 16:31:18 +08:00
Thomas Trepl
9bfff298da Automatic merge of trunk into multilib 2023-12-16 07:03:44 +01:00
Bruce Dubbs
03682b250c Reformat util-linux configure parameters. 2023-12-14 14:16:13 -06:00
Thomas Trepl
9830e45abc Automatic merge of trunk into multilib 2023-12-04 21:37:03 +01:00
Thomas Trepl
dc8572f241 Fix cmds installing python docs (permissions) 2023-12-04 19:15:01 +01:00
Thomas Trepl
ab8707d074 Automatic merge of trunk into multilib 2023-12-02 00:30:10 +01:00
Xi Ruoyao
823fbde93f
udev: Adjust the paths to search .link files and install 99-default.link
Tested in QEMU and the virtio NIC is now named "enp0s3".

Fixes #5386.
2023-12-01 18:29:03 +08:00
Thomas Trepl
0959b7b711 Automatic merge of trunk into multilib 2023-11-27 00:30:18 +01:00
Xi Ruoyao
1dbc435c82
iproute2: Remove the reference to BLFS Berkeley DB page
Berkeley DB has been archived in BLFS.
2023-11-26 21:02:59 +08:00
Thomas Trepl
a3947fc247 Automatic merge of trunk into multilib 2023-11-26 00:30:22 +01:00
Douglas R. Reno
a19dadfd2f dbus: minor spacing adjustment 2023-11-24 18:39:41 -06:00
Thomas Trepl
18d1f6f7a5 libelf: Set arch for g++ 2023-11-14 10:41:16 +01:00
Thomas Trepl
aebd449557 Automatic merge of trunk into multilib 2023-11-14 00:30:18 +01:00
Xi Ruoyao
4bc51b9067
udev: Fix install command for ../rules.d/*.rules
The sed command has changed ../rules.d/70-power-switch.rules to
"../rules.d", causing the install command to fail.

Change the command enumerating ../rules.d/*.rules but
70-power-switch.rules to a "find" command.  Edit another "find" command
so the styles of them are the same.
2023-11-14 02:35:51 +08:00
Xi Ruoyao
7a72a22f9b
Merge tag 'xry111/update-20231113' into trunk
There are some suspicious "nptl/tst-robust" test failures in Glibc, but
all other test results are clean.  To be diagnosed...

And note that jhalfs needs an update to work with the merged parallelism
changes.
2023-11-14 00:27:17 +08:00
Thomas Trepl
fbc1e9004d Merge branch 'trunk' into multilib 2023-11-13 16:26:44 +01:00
Thomas Trepl
1780e72d8d udev: Fix a small typo in command 2023-11-13 16:24:47 +01:00
Xi Ruoyao
d490056b64
perl: Use TEST_JOBS=$(nproc) make test_harness for test suite 2023-11-13 21:16:58 +08:00
Xi Ruoyao
3a8d1825cc
openssl: Add HARNESS_JOBS=$(nproc) 2023-11-13 21:16:58 +08:00
Xi Ruoyao
c17a77452a
automake: Do not use only 4 cores for testing if we have more 2023-11-13 21:16:48 +08:00
Thomas Trepl
80212b2c16 Automatic merge of trunk into multilib 2023-11-13 12:49:53 +01:00
Xi Ruoyao
5196daeb4e
udev: Adjust some command
Set -Dlogind=false -Dvconsole=false to disable out-of-scope udev rules.
Use "ninja -n" to list the targets, so the disabled udev rules won't
show up then we can remove some "rm" commands.  Do not remove
70-power-switch.rules from the source directory so we won't break
multilib.
2023-11-13 19:35:01 +08:00
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