Commit Graph

1020 Commits

Author SHA1 Message Date
Bruce Dubbs
2b76c898f5 Minor wording change. 2024-08-27 10:44:59 -05:00
Xi Ruoyao
2ca7fca799
gcc: Don't decrease the stack limit
I've had doubts on this "ulimit -s 32768" command for years.  After
reading GCC code (libiberty/stack-limit.c) I'm pretty sure this command
is not doing what we expected.

In a typical Linux distro, the default "soft" stack limit is 8 MiB and
the default "hard" stack limit is infinite.  And GCC will automatically
increase the soft limit to 64 MiB if the original soft limit is smaller
than 64 MiB, and the hard limit is at least 64 MiB.  So with a typical
default configuration, the real stack limit of GCC is 64 MiB.

But our "ulimit -s 32768" command sets both the soft limit and the hard
limit to 32 MiB.  Thus we are actually *decreasing* the real stack
limit.  Fortunately this has not caused any test failures, but it's just
wrong (contradicting with the explanation of the command).

Thus just raise the hard limit to infinite in case the host distro uses
a not so typical configuration where the hard limit is tight, and let
GCC to set up the soft limit to the expected value on its own.  It's
more future-proof than "ulimit -s 65536" in case GCC changes the
expected stack limit in the future.

It should be safe to make the change in freeze because in jhalfs it only
affects the test suite, and even in a manual build the user can skip
this command if not running the GCC test suite.
2024-08-27 16:58:46 +08:00
Bruce Dubbs
7779960772 Turn off network logging by default. 2024-08-24 15:45:30 -05:00
Bruce Dubbs
837731717d Minor grammar change. 2024-08-18 20:02:08 -05:00
Bruce Dubbs
4c522f3775 Package updates.
Update to setuptools-72.2.0.
Update to kmod-33.
Update to binutils-2.43.1.
Update to linux-6.10.5.
2024-08-17 16:08:56 -05:00
Bruce Dubbs
a1a1f9f4de Package updates.
Update to iana-etc-20240806.
Update to pkgconf-2.3.0.
Update to python3-3.12.5.
Update to linux-6.10.4.
2024-08-14 10:36:40 -05:00
Bruce Dubbs
dd151db302 Package updates.
Update to bash-5.2.32.
Update to iana-etc-20240801.
Update to vim-9.1.0660.
Update to binutils-2.43.
Update to linux-6.10.3.
Update to readline-8.2.13.
Update to wheel-0.44.0.
2024-08-05 13:07:12 -05:00
Bruce Dubbs
7119cf2a83 Fix a minor issue with liblz4.pc. 2024-08-04 16:28:24 -05:00
Bruce Dubbs
8aa80e434d Make capitalization os SysVinit consistent. 2024-07-31 16:59:30 -05:00
Xi Ruoyao
f6eb3399d5
automake: Remove outdated test failure notice
These failures are fixed in automake-1.17 release.
2024-08-01 00:17:10 +08:00
Bruce Dubbs
44c33588fd Package updates
Update to iana-etc-20240723.
Update to glibc-2.40.
Update to iproute2-6.10.0.
Update to linux-6.10.2.
Update to lz4-1.10.0.
Update to meson-1.5.1.
Update to setuptools-71.1.0.
Update to sysklogd-2.6.1.
Update to systemd-256.4.
Update to sysvinit-3.10.
2024-07-31 10:37:57 -05:00
Xi Ruoyao
5b7b80511c
cleanup: Remove hidden files in /tmp
Some test suite may create files of which the name starts with a dot.
These files are "hidden" and they won't be matched with the /tmp/*
wildcard.
2024-07-18 11:13:24 +08:00
Xi Ruoyao
86e276279a
systemd: Update known failures
I can only reproduce test-namespace failure now with 256.1.
2024-07-18 11:13:24 +08:00
Xi Ruoyao
6e6641f9b7
binutils: Add --enable-new-dtags
This option makes ld use DT_RUNPATH instead of DT_RPATH.  DT_RPATH is
generally considered bad because it takes precedence over
LD_LIBRARY_PATH.  For example, eog is linked with -rpath /usr/lib/eog,
and with DT_RPATH if an old eog is already installed we are basically
impossible to debug a new eog build w/o overwriting the system
installation first or explicitly using "ld.so --inhibit-rpath" to
invoke it.

This "new" actually means "new in 2000," it's 24 years ago and all other
distros has enabled it.  Thus I guess some unexplainable "test suite
uses installed library instead of the just built one" issues in BLFS are
actually caused by this difference: the package author just assumes
everyone is using DT_RUNPATH thus they just set LD_LIBRARY_PATH and
consider it enough to test with the just built libraries, but DT_RPATH
breaks this expectation.

Let's eliminate the difference as it seems not doing anything good and
doing so just takes one switch.
2024-07-18 11:13:20 +08:00
Bruce Dubbs
e91edadd00 Package and format updates.
Update to iana-etc-20240612.
Update to bc-6.7.6.
Update to man-pages-6.9.1.
Update to linux-6.9.7.
Update to sysklogd-2.5.2.
Update to shadow-4.16.0.
Update to systemd-256.1.
Update to setuptools-70.1.1.

Also change the formatting of options '-Dsomething' to '-D something'.
2024-06-30 10:40:41 -05:00
Xi Ruoyao
201aa93863
Move punctuation/comma into quotes for <xref>s
We are using American rule for punctuation/comma vs. quotes.  We've
fixed most cases but not <xref>s.
2024-06-22 11:43:31 +08:00
Xi Ruoyao
c04d98d038
systemd: Reword test failure notice 2024-06-15 01:22:02 +08:00
Xi Ruoyao
9c7437f2fd
glibc: Remove redundant mkdir -pv /usr/lib/locale command
It's created in chapter 7.
2024-06-15 00:06:41 +08:00
Bruce Dubbs
cadbe55e4d Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2024-06-14 10:43:13 -05:00
Bruce Dubbs
58180415dd Package updates.
Update to vim-9.1.0478.
Update to iana-etc-20240607.
Update to systemd-256.
Update to python3-3.12.4.
Update to perl-5.40.0.
Update to openssl-3.3.1 (Security fix).
Update to linux-6.9.4.
Update to findutils-4.10.0.
2024-06-14 10:37:53 -05:00
Xi Ruoyao
2ef9beaf92
readline: Get rid of rpath 2024-06-09 20:03:35 +08:00
Xi Ruoyao
4ef406e2fa
expect: Get rid of rpath 2024-06-09 19:51:57 +08:00
Xi Ruoyao
e3f47a2f7a
tcl: Get rid of rpath 2024-06-09 19:47:30 +08:00
Xi Ruoyao
b3c50e06f6
systemd: Fix the sed adding PID_FS_MAGIC into src/basic/missing_magic.h
Without this trailing backslash only one line (the comment) is added.

Note that udev.xml contains the correct sed.
2024-06-02 19:45:41 +08:00
Xi Ruoyao
464fd24324
udev & systemd: Emphasis "API headers" for linux compatibility
Or people will ask "why no-break-userspace rule does not apply?"
2024-06-02 19:38:25 +08:00
Bruce Dubbs
6acfe2e81f Package Updates.
Update to meson-1.4.1.
Update to xz-5.6.2.
Add linux-6.9.x compatibility instructions to systemd and udev.
Update to setuptools-70.0.0 (python module).
Update to ninja-1.12.1.
Update to man-pages-6.8.
Update to linux-6.9.3.
Update to libcap-2.70.
Update to iproute2-6.9.0.
Update to e2fsprogs-1.47.1.
2024-05-31 12:06:49 -05:00
Bruce Dubbs
f70694dce2
PAckage updates and a security fix.
Add security fix to glibc.
Update to linux-6.8.8.
Update to ncurses-6.5.

(cherry picked from commit d0ca5ead46)

Reapply this change which is mistakenly reverted in
340e17adc6.
2024-05-13 00:29:12 +08: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
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
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
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
Bruce Dubbs
ba1a9cf303 Typo 2024-04-18 10:19:03 -05: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
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
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
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
Xi Ruoyao
ba64c50ecc
coreutils: Test names are filenames 2024-04-02 18:13:33 +08: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
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
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
Xi Ruoyao
eb7223e804
shadow: Add an <important> for using BLFS instruction if PAM installed 2024-03-12 18:53:13 +08:00