Commit Graph

9036 Commits

Author SHA1 Message Date
Bruce Dubbs
798e18b09f
Minor grammar corrections.
Mistakenly removed the remote WIP branch while it's not fully merged
yet.  Cherry-pick the discarded commit.

(cherry picked from commit 2f3f0e9e813f60a88e9f557842a7b9a50cdec50b)
2023-11-14 00:31:08 +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
1780e72d8d udev: Fix a small typo in command 2023-11-13 16:24:47 +01:00
Xi Ruoyao
e07c419469
Package updates
- Update to elfutils-0.190 (#5373)
- Update to vim-9.0.2103
- Update to linux-6.6.1 (#5369)
- Update to xz-5.4.5 (#5371)
- Update to iana-etc-20231107
- Update to gawk-5.3.0 (#5372)
- Update to bash-5.2.21 (#5375)
- Update to iproute2-6.6.0 (#5374)
2023-11-13 21:32:40 +08: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
Xi Ruoyao
95ebbb42b7
chroot: Set MAKEFLAGS and TESTSUITEFLAGS for parallelism 2023-11-13 21:14:19 +08:00
Xi Ruoyao
a0a803c0b0
settingenviron: Set MAKEFLAGS for parallelism in ~lfs/.bashrc 2023-11-13 21:09:47 +08:00
Xi Ruoyao
e70bf8f4f4
hostreqs: Bump Coreutils minimal version to 8.1 and check for nproc
We'll use nproc for setting MAKEFLAGS and TESTSUITEFLAGS.  And if nproc
is not available, we'll end up with "MAKEFLAGS=-j" which is very
dangerous because it allows make to spawn infinite number of jobs.
Check it early.

The nproc program is added in Coreutils 8.1 so we need to bump the
minimal version.
2023-11-13 21:00:03 +08: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
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
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
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
Bruce Dubbs
80321c6881 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-11-01 11:10:59 -05:00
Bruce Dubbs
6b1661a637 Update currency for setuptools 2023-11-01 11:10:45 -05: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
c62883bd83
dependencies: Remove useless <phrase> 2023-11-01 17:30:18 +08:00
Xi Ruoyao
fe2791d419
dependencies: Add Setuptools
By the way, complete the dependencies on Wheel too.
2023-11-01 16:33:36 +08:00
Xi Ruoyao
8223937f4c
setuptools: Fix installed directory list 2023-11-01 16:18:43 +08:00
Bruce Dubbs
72d1cda897 Update shadow home page 2023-10-31 18:49:43 -05: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
Xi Ruoyao
7f36b16e72
pkgmgt: Sync the naming of SpiderMonkey with BLFS 2023-10-24 21:10:18 +08:00
Pierre Labastie
6f090ad2b7 pdf book: fix page numbering in part III
By default page numbering in <preface> is in roman numeral. This
is ok for the book preface, but not for the part III preface.
So copy the page.number.format template from docbook stylesheets
to stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl, and modify it.

Reported by: Vladimir Pertsev on lfs-dev list
2023-10-18 23:54:57 +02:00
Bruce Dubbs
2c3487d37d PAckage updates.
Update to linux-6.5.7.
Update to shadow-4.14.1.
Update to gettext-0.22.3.
2023-10-15 13:54:19 -05:00
Xi Ruoyao
91c6e9b2fb
dependencies: MarkupSafe and Jinja2 dependencies should be rendered for sysv too 2023-10-11 19:15:07 +08:00
Xi Ruoyao
c39bfe9b33
currency: Do not run strip_tags on api.github.com output
The output of api.github.com is JSON, thus we should not remove every
<...> for it.  For example, strip_tags had trimmed the JSON for
shadow-4.14.1, leading to "Attempt to read property "tag_name" on null".
2023-10-08 16:04:48 +08:00
Xi Ruoyao
d42ea8f08d
packages: Remove empty sha256 fields 2023-10-07 18:48:41 +08: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
Pierre Labastie
623081aa93 bootscripts: change "halt stop" to "halt start"
Commit 27d23b1d has changed the convention that scripts with Sxxx
symlinks should be run with "stop" parameter in runlevels 0 and 6.
They should now be called with the more intuitive "start" parameter.
But a few scripts still call "/etc/init.d/halt stop". Fortunately, this
occurs in code paths that are rarely run (unrecoverable errors). So it
was not noticed until now. Anyway, this is fixed in this commit.
2023-10-04 15:52:42 +02:00
Xi Ruoyao
363fece428
glibc: Fix CVE-2023-4911 2023-10-04 13:39:03 +08:00
Xi Ruoyao
0d8322dbe6
createfiles: Remove doubled punctuation 2023-10-02 11:44:21 +08:00
Xi Ruoyao
370b0f548d
whatsnew: Align OpenSSL package name with the <title> in its page 2023-10-02 11:36:12 +08:00
Xi Ruoyao
09d148dc28
glibc: Remove nscd from contents 2023-10-02 11:32:45 +08: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
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
Xi Ruoyao
6e11fe2728
createfiles: Add Y2038 info about the traditional {b,u,w}tmp and lastlog files
And utmp does not exist on systemd-based LFS.
2023-09-30 16:12:56 +08:00
Thomas Trepl
3cd2eae9eb Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-09-25 14:47:48 +02:00
Thomas Trepl
96f7f5ed58 Remove textual description of an arg no loger in instructions 2023-09-25 14:46:25 +02:00
Xi Ruoyao
c873f0a1b3
changelog: Fix a date 2023-09-25 14:12:54 +08:00
Xi Ruoyao
cb89eec135
glibc: Update upstream fixes patch to plug a memory leak
The CVE-2023-4806 fix unintentionally caused a memory leak, now update
the patch to include the fix for the leak.
2023-09-25 14:10:12 +08:00
Xi Ruoyao
d48812dca9
afterlfs: "Work remotely via SSH" does not strictly need wget 2023-09-24 20:07:32 +08:00
Xi Ruoyao
f510f26b2d
/etc/os-release: Add HOME_URL field
It's used by AppStream in BLFS for calculating the ID of the operating
system.
2023-09-19 03:56:33 +08:00
Bruce Dubbs
01332d3b2a Use GB for kernel build size 2023-09-18 10:58:00 -05:00
Xi Ruoyao
67ad464981
Update Linux kernel SBU and DU
The old values were measured with -j1, it's out of sync with our
conventions now.
2023-09-18 20:39:03 +08:00
Xi Ruoyao
490a50a520
Package updates
- Update to linux-6.5.3 (#5343)
- Update to iana-etc-20230912 (#5006)
- Update to iproute2-6.5.0 (#5342)
2023-09-17 23:45:09 +08:00
Xi Ruoyao
808bc9406b
hostreqs: Raise GCC minimal version to 5.2
Pass 1 GCC FTBFS with system GCC 5.1.

Link: https://gcc.gnu.org/PR65801
Link: https://lists.linuxfromscratch.org/sympa/arc/lfs-support/2023-09/msg00005.html
2023-09-17 19:54:22 +08:00
Xi Ruoyao
d269e20dcb
chapter05/libstdc++: Remove one more .la file 2023-09-15 19:27:41 +08:00