Commit Graph

9506 Commits

Author SHA1 Message Date
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
e3ae067502
whatsnew: Uncomment updated packages 2023-11-14 03:05:23 +08: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
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
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
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
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
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
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
cbe26ed15a Automatic merge of trunk into multilib 2023-10-19 00:30:17 +02: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
Thomas Trepl
bf7c1609da Automatic merge of trunk into multilib 2023-10-16 00:30:16 +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
Thomas Trepl
df6e42dfda Automatic merge of trunk into multilib 2023-10-12 00:30:09 +02:00
Xi Ruoyao
91c6e9b2fb
dependencies: MarkupSafe and Jinja2 dependencies should be rendered for sysv too 2023-10-11 19:15:07 +08:00
Thomas Trepl
15b9db4882 Automatic merge of trunk into multilib 2023-10-09 00:30:27 +02: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
Thomas Trepl
e100341cc8 Automatic merge of trunk into multilib 2023-10-08 00:30:10 +02:00
Xi Ruoyao
d42ea8f08d
packages: Remove empty sha256 fields 2023-10-07 18:48:41 +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