Commit Graph

917 Commits

Author SHA1 Message Date
Bruce Dubbs
9292384bac Package updates and a fix.
Fix make-4.4 bug.
Update to wheel-0.38.4 (Python Module).
Update to texinfo-7.0.
Update to sysvinit-3.05.
Update to shadow-4.13.
Update to sed-4.9.
Update to meson-0.64.0.
Update to linux-6.0.7.
Update to elfutils-0.188.
Update to bc-6.1.1.
2022-11-11 09:44:13 -06:00
Xi Ruoyao
5156c40031
systemd: fix and simply the command to disable systemd-sysupdate
"systemd disable" seems a typo...

And we don't need the ".timer" suffix because these .service units are
tied to the .timer units.
2022-11-04 10:42:03 +08:00
Douglas R. Reno
172185a9f7 Update to systemd-252. 2022-11-03 14:33:43 -05:00
Xi Ruoyao
2c8cb1743e
grub: copy the "no tuning" warning from BLFS
It's reported that a GRUB build with CFLAGS=-O2 is broken.
2022-11-03 10:02:44 +08:00
Xi Ruoyao
d45f50d26d
glibc: fix parallel build issue with make-4.4
We only need a one-line change in upstream fix (because we don't use
"make --shuffle").  Add it as a sed for both Chapter 5 and Chapter 8.

Note that the "minimal" sed would be '/MAEKFLAGS :=/s/r/ -r/'.  I
included an additional ')' so it won't modify "-r" again to "- -r".

Tested "make" and "make check" on a x86_64 with -j8 and an arm64 with
-j24.

Link: https://sourceware.org/git/?p=glibc.git;a=commit;h=2d7ed98add14
2022-11-01 11:05:05 +08:00
Bruce Dubbs
3f4304998a Package updates.
Update to iana-etc-20221025.
Update to tzdata-2022f.
Update to Python3-3.11.0.
Update to procps-ng-4.0.1.
Update to man-pages-6.01.
Update to man-db-2.11.0.
Update to make-4.4.
Update to linux-6.0.6.
Update to libffi-3.4.4.
Update to inetutils-2.4.
Update to expat-2.5.0.

Note: I had to run glibc in Chapter 8 at -j1 to avoid an apparant race
condition.  With a little more investigation I may be able to find a
better solution.
2022-10-31 18:42:52 -05:00
Xi Ruoyao
347bbda9c1
man-pages: update the number of provided pages for 6.00
$ find -name '*.[0-9]' | wc -l
2438
2022-10-18 17:15:51 +08:00
Bruce Dubbs
efae0398b4 Package updates.
Update to iana-etc-20221007.
Update to vim-9.0.0739.
Add upstream patches to readline and bash.
Update to zlib-1.2.13.
Update to man-pages-6.00.
Update to gettext-0.21.1.
Update to iproute2-6.0.0.
Update to meson-0.63.3.
Update to Python-3.10.8.
Update to xz-5.2.7.
Update to tzdata-2022e.
Update to linux-6.0.1.
Update to dbus-1.14.4.
2022-10-14 12:18:56 -05:00
Xi Ruoyao
ceb61b9e38
binutils: add a command to list failed tests 2022-10-05 18:32:56 +08:00
Xi Ruoyao
3bac16dcd4
glibc: update total test count
I have:

      2 FAIL
   5092 PASS
     67 UNSUPPORTED
     16 XFAIL
      4 XPASS

Let's not be too precise (or we'll need to explain the meaning of
"UNSUPPORTED").  IMO "over 5000" is fine (until we get 5500 tests).
2022-10-03 18:06:09 +08:00
Xi Ruoyao
de154344b8
binutils: don't wrap "gold" in <command>
"gold" is not an installed program (it's named "ld.gold").  So IMO it's
not proper to use <command>.
2022-10-03 18:06:09 +08:00
Xi Ruoyao
154a69586f
binutils: gas tests fail because race condition
Again, I sincerely wish libtool can suffer a painful death.
2022-10-03 18:06:09 +08:00
Xi Ruoyao
6582ddc527
pkgmgt: fix two typos 2022-10-02 21:02:16 +08:00
David Bryant
4349661a7f Corrected grammatical errors and cleaned up English idiom. 2022-10-01 17:03:20 -05:00
Bruce Dubbs
488b43aaeb New packages and an xml fix.
Update to bc-6.0.4.
Update to linux-5.19.12.
Fix an xml error.
2022-09-29 20:44:01 -05:00
Bruce Dubbs
79789000a8 Package updates.
Update to iana-etc-20220922.
Update to tzdata-2022d.
Update to readline-8.2.
Update to linux-5.19.11.
Update to libffi-3.4.3.
Update to libcap-2.66.
Update to dbus-1.14.2.
Update to bc-6.0.3.
Update to bash-5.2.
2022-09-29 18:32:56 -05:00
Xi Ruoyao
f4066122e0
libelf: add a x86 specific test failure
It's caused by a minor GAS issue, which should be fixed in
binutils-2.40.

See https://sourceware.org/bugzilla/show_bug.cgi?id=29450 and
https://sourceware.org/bugzilla/show_bug.cgi?id=29451.
2022-09-25 12:56:08 +08:00
Xi Ruoyao
10d7c7a820
binutils: document a test failure
It happens on both x86_64 and aarch64.
2022-09-23 23:48:46 +08:00
Bruce Dubbs
670f55f539 Typos 2022-09-19 15:38:35 -05:00
Xi Ruoyao
3d65730e22
cleanup: rephrase description for .la removal
Don't emphasis "static library" at all, to prevent anyone from thinking
"I need to use static libraries so I'll keep these .la files".  And warn
that .la files are known to break BLFS packages.
2022-09-19 14:12:17 +08:00
Xi Ruoyao
5de4fea42c
cleanup: use a stronger tone for removing la files 2022-09-19 11:00:21 +08:00
Xi Ruoyao
46b05a0832
gawk: remove duplicated "-i" in a sed command 2022-09-17 20:34:13 +08:00
Xi Ruoyao
e010845004
Revert "bash: document egrep warnings in tests"
This reverts commit 395eb462ba.

Not needed as grep is "patched".

Note that I'm still against "patching" grep.  All the complains for the
warnings are from only several people and IMO the complains are not
valid.  But as bdubbs has made the decision let's keep it for now and
review after some time...
2022-09-15 11:33:01 +08:00
Xi Ruoyao
78817e1b26
binutils: fix a typo 2022-09-15 11:32:32 +08:00
Bruce Dubbs
b17680d8ea Package updates and corrections.
Update to file-5.43.
Update to linux-5.19.8.
Update to gawk-5.2.0.
Update to meson-0.63.2.
Update to ninja-1.11.1.
Update to bc-6.0.2.
Fix the location of udev rules in eudev.
Remove a warning for egrep and fgrep that
Delete an empty binutils man page.
2022-09-14 21:58:07 -05:00
Xi Ruoyao
e4c6597593
groff: add back "build the package"
It was removed unintentionally during the removal of -j1...
2022-09-14 12:19:50 +08:00
Xi Ruoyao
2e9e5b43c5
add <literal> to make commands for temp /etc/hosts and final /etc/pip3.conf looking better 2022-09-14 11:52:01 +08:00
Bruce Dubbs
95789f1ae4 Minor wording change. 2022-09-13 12:49:26 -05:00
Xi Ruoyao
395eb462ba
bash: document egrep warnings in tests
The test suite says "Any output from any test, unless otherwise noted,
indicates a possible anomaly".  So we should note those warnings.
2022-09-14 01:34:15 +08:00
Xi Ruoyao
2844cded1c
libtool: document test failures related to grep-3.8 2022-09-14 01:32:24 +08:00
Xi Ruoyao
36c4562187
ncurses: mention libncurses++w in contents 2022-09-14 00:15:12 +08:00
Xi Ruoyao
951e07508b
ncurses: remove an outdated sentence about libncurses++w.a
We now build the C++ binding as shared library.
2022-09-14 00:08:40 +08:00
Xi Ruoyao
0d487e09e6
gcc: update sanity check command and output for default PIE
Scrt1.o is used for PIE, instead of crt1.o.
2022-09-14 00:03:45 +08:00
Xi Ruoyao
fb5ad92588
gcc: document that libssp is normally unused
We are enabling default SSP now, so if someone runs "ldd /usr/bin/true"
and see libssp is not used he/she may be puzzled.
2022-09-13 17:59:05 +08:00
Xi Ruoyao
9d3ba7b850
vim: no need to download spell files
They are already in the tarball, so just install them if needed.
2022-09-12 21:02:48 +08:00
Pierre Labastie
e5e442cd32 Typo in a comment 2022-09-11 19:02:41 +02:00
Pierre Labastie
7bd0378b41 Remove trailing spaces 2022-09-11 18:54:49 +02:00
Pierre Labastie
c37e846f4b Replace tabs with spaces 2022-09-11 18:42:58 +02:00
Pierre Labastie
63c2e8bb66 Comment on binutils test failures with pie/ssp 2022-09-11 10:55:25 +02:00
Xi Ruoyao
c10a327376
gcc: fix link to PIE & SSP note
DocBook does not handle xref to note properly (#pie-ssp-info not
generated).
2022-09-11 13:57:47 +08:00
Xi Ruoyao
e502de1ab0
gcc: some reword of PIE/SSP/ASLR note
Expand tabs to 8 spaces like everywhere else in the book.

Explain that shared libraries are already covered by ASLR, PIE expands
the ASLR to cover the exetutables.

In 2022, stack smashing attackings are mostly constructing a sequence of
faked returning addresses to exectute a series of function already
existing in the programs or libraries itself (ret2lib).  Returning into
the code injected by the attacker is almost impossible because on
i686 (with a PAE/NX enabled kernel) or x86_64, running injected code
needs W/X mappings and those are very rare these days.
2022-09-11 11:35:06 +08:00
Pierre Labastie
1bade3f439 Document the --enable-default-pie/ssp options
Also document test failures in gcc chapter 8
2022-09-10 13:41:38 +02:00
Pierre Labastie
0611f706d5 Use default-pie and default-ssp flags in gcc
Committing only the commands for now, so that others can test the
build. TODO:
- add command explanations
- add changelog
- comment on failing tests in binutils and gcc
2022-09-09 16:15:06 +02:00
Xi Ruoyao
fb66c4c583
some http -> https changes 2022-09-05 09:52:05 +08:00
Xi Ruoyao
7b3f5a4f8d
groff: remove -j1 2022-09-01 14:04:34 +08:00
Xi Ruoyao
bf6f9e75ee
python: supress "failed to check new pip version" or "a new pip version is available" warnings
The non-text change during freeze is approved by bdubbs.
2022-08-26 23:52:18 +08:00
Xi Ruoyao
e9d65f2f4c
grub: update description for grub-glue-efi
Text only change.

Found out this utility also exists on ARM, so copied "grub-glue-efi
--help" here, which does not mention "ia32" or "amd64".
2022-08-26 19:47:50 +08:00
Xi Ruoyao
85cdcb0980
glibc: don't mention "/lib" as ld.so search path anymore
Text change only.

Since 11.0, /lib is a symlink to usr/lib.  With libc_cv_slibdir=/usr/lib,
/lib won't be searched by default anymore (if someone mess up the system
by removing /lib symlink and create an real directory there, for example
the initramfs before r10.1-439).
2022-08-24 23:42:27 +08:00
Xi Ruoyao
20007e51c2
glibc: update test status
Text change only.

Add tst-arc4random-thread failure recently reported to upstream, remove
namespace related failures as they are UNSUPPORTED now in 2.36.
2022-08-23 18:43:10 +08:00
Bruce Dubbs
a7a9d696fc Minor updates 2022-08-21 10:04:47 -05:00
Xi Ruoyao
942e81de78
stripping: also mention symbol table bisides debug symbols 2022-08-21 20:27:28 +08:00
Bruce Dubbs
f2af13d7a0 Intermediate update prior to lfs-11.2-rc1 2022-08-20 10:35:01 -05:00
Pierre Labastie
d94f2d01a5 Clean chapter 8 binutils xml and text
Remove old commented instructions
Remove a sed and a test failure explanation: both have been fixed
in binutils-2.39
2022-08-14 21:11:46 +02:00
Bruce Dubbs
960a230b4f Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-08-09 21:44:54 -05:00
Bruce Dubbs
3094b8c742 Tweak pip3 instructions 2022-08-09 21:44:44 -05:00
Xi Ruoyao
8a687fac90
binutils: add desc for gprofng 2022-08-09 22:26:10 +08:00
Xi Ruoyao
e06065fc29
perl: remove outdated note regarding zlib version
Now perl-5.36 ships zlib-1.2.12, which is same as the book providing.
2022-08-07 18:28:24 +08:00
Bruce Dubbs
1b11115cd2 Package updates.
Update to binutils-2.38.
Update to util-linux-2.38.1.
Update to Python3-3.10.6.
Update to glibc-2.36.
2022-08-06 17:40:17 -05:00
Xi Ruoyao
d060b33545
another "obsoleted" -> "obsolete" fix 2022-07-16 14:01:21 +08:00
Bruce Dubbs
f1b9d9d531 Package updates.
Update to meson-0.63.0.
Update to kmod-30.
Update to inetutils-2.3.
Update to linux-5.18.9.
Update to OpenSSL-3.0.5.
2022-07-16 00:29:19 -05:00
Bruce Dubbs
94bf45a457 Spelling 2022-07-14 17:02:30 -05:00
Xi Ruoyao
af3cf8ded1
python: mention that --force-reinstall needs --no-deps 2022-07-02 11:32:28 +08:00
Xi Ruoyao
b5a316b060
texinfo: remove unneeded sed
It works out of box with glibc-2.35.  I think this issue is already
fixed at glibc side, by the commit:

commit 0b5ca7c3e551e5502f3be3b06453324fe8604e82
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Sep 21 07:47:45 2021 -0700

    regex: copy back from Gnulib

    Copy regex-related files back from Gnulib, to fix a problem with
    static checking of regex calls noted by Martin Sebor.  This merges the
    following changes:

    * New macro __attribute_nonnull__ in misc/sys/cdefs.h, for use later
    when copying other files back from Gnulib.

    ... ... (unrelated things trimmed)
2022-07-02 11:31:13 +08:00
Bruce Dubbs
0d80e532d2 Package updates.
Update to vim-9.0.0006.
Update to iana-etc-20220610.
Update to OpenSSL-3.0.4.
Update to kbd-2.5.1.
Update to linux-5.18.8.
Update to bc-5.3.3.
+
2022-06-30 15:12:37 -05:00
Pierre Labastie
f8b27abcda Generate shared C++ bindings for ncurses
Presently we let the build system generate static C++ bindings, and
then we remove them. Note that we could also prevent generating
any C++ binding, since nothing in LFS/BLFS use them, but it seems to
me that generating the shared ones is closer to what is done for
other packages.
2022-06-29 14:08:29 +02:00
Xi Ruoyao
40488bd037
grep: mark egrep and fgrep obsolete
They are deprecated since 2007, and the next grep release (3.8 or 4.0)
will print a warning if they are used.

Url: https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a951562
2022-06-23 18:11:46 +08:00
Xi Ruoyao
0b0fa07cd4
openssl: mark c_rehash obsolete
The c_rehash script, shipped by OpenSSL versions in current LFS trunk
and all previous LFS releases, is vulnerable to CVE-2022-2068.  It's
fixed in 3.0.4, but OpenSSL 3.0.4 is completely broken on CPU models with
AVX-512 extension [1]. So we'd like to defer OpenSSL update and wait for
upstream consensus about "would 3.0.5 be released in urgency".

But, the upstream has announced that use of c_rehash is obsolete now [2].
So we can tell people not to use it.

[1]: https://github.com/openssl/openssl/issues/18625
[2]: https://www.openssl.org/news/secadv/20220621.txt
2022-06-23 12:23:06 +08:00
Xi Ruoyao
e909a1ebdf
bc: enable readline
Using readline can improve line editing feature of bc, but it's not
enabled by default.

As readline is already installed before bc, let's pick up this
improvement with no cost.
2022-06-22 15:16:03 +08:00
Xi Ruoyao
c500323f9b
document some newly reported test failures 2022-06-21 19:53:05 +08:00
Xi Ruoyao
0c0b88293b
minor reword for glibc test failures on slow systems
I've observed some failures building LFS on my old i3-3217U (at 1.8 GHz
with -j4), but forgot to update the book.  Just got reminded by a
lfs-support post.
2022-06-21 17:12:06 +08:00
Xi Ruoyao
51494bf947
dbus: remove --with-console-auth-dir
BLFS no longer contains ConsoleKit, and ConsoleKit can be considered
dead now (the ConsoleKit2 fork has no action in the recent year).

In BLFS systemd (with PAM) or elogind provide a similar functionality.

I can see no reason to mention ConsoleKit in the book now.
2022-06-10 15:50:27 +08:00
Xi Ruoyao
f99a7eb572
systemd: disable systemd-sysupdate 2022-05-29 14:12:11 +08:00
Xi Ruoyao
77e340bc4a
systemd: use a better way to disable /usr/lib/pam.d 2022-05-29 12:29:20 +08:00
Xi Ruoyao
f435668903
systemd: remove unnecessary options
-Dblkid is automatically detected, and other three options are meson
defaults.
2022-05-29 12:29:20 +08:00
Xi Ruoyao
b4008bb22c
update to systemd-251 (#5064) 2022-05-29 12:29:20 +08:00
Xi Ruoyao
0d7dbaf24c
openssl: reword upgrading note for versioning scheme change 2022-05-28 21:04:22 +08:00
Xi Ruoyao
0ab908d944
check: remove reference to libcheck.a 2022-05-28 20:37:42 +08:00
Pierre Labastie
8731bd1cd0 stripping, chapter 8: prevent stripping ld-*.dbg
With the construct used in save_usrlib, if ld-linux-...dbg already
exists, it is stripped again and a file ld-linux-...dbg.dbg is
created. Prevent this by not listing files ending in "g".
2022-05-22 09:57:28 +02:00
Pierre Labastie
07b9641cac Document the test failure in coreutils
Seems to be fixed upstream, but adding a patch for just a test
is overkill IMO.
2022-05-16 15:30:35 +02:00
Xi Ruoyao
3d722b94dc
procps: fix typo
How did I copied "FAIL:" along with the test name? :(
2022-05-09 22:28:48 +08:00
Pierre Labastie
80760d4ed1 Minor grammar fix 2022-05-08 09:07:14 +02:00
Xi Ruoyao
0341ecc6cc
util-linux: remove unnecessary test workaround
According to upstream, this issue is fixed:
https://github.com/util-linux/util-linux/issues/1635.

Also tested by Pierre and me.
2022-05-07 12:43:46 +08:00
Xi Ruoyao
b0b37b6852
procps: update testsuite status 2022-05-07 12:25:47 +08:00
Xi Ruoyao
6edc3b46e0
gcc-12: update test status
The analyzer tests fixed at https://gcc.gnu.org/r12-7119.

The PR100400 status is discussed in the thread started with
https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593931.html.
2022-05-07 10:51:21 +08:00
Xi Ruoyao
bd08757bab
gcc-12: remove unnecessary workaround for PR91085
Reference: https://gcc.gnu.org/r12-1924
2022-05-07 05:20:53 +08:00
Bruce Dubbs
8cab730a5b Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-04-30 09:40:46 -05:00
Bruce Dubbs
813ab55675 Package updates and nobody uid change.
Change nobody/nogroup uid/git to 65534.
Update to meson-0.62.1.
Update to libpipeline-1.5.6.
Update to elfutils-0.187.
Update to Jinja2-3.1.2.
Update to vim-8.2.4814.
Update to sysvinit-3.03.
Update to linux-5.17.5.
Update to gcc-11.3.0.
Update to coreutils-9.1.
Update to bc-5.2.4.
2022-04-30 09:38:48 -05:00
Xi Ruoyao
93db1e614e
python: fix a typo 2022-04-21 23:28:35 +08:00
Bruce Dubbs
dd9987c5ab Minor rewording of pip3 recommendations 2022-04-21 08:43:49 -05:00
Xi Ruoyao
720c0bd9fb
python: add a <important> for pip3 usage 2022-04-21 14:23:07 +08:00
Xi Ruoyao
e286d8db14
decorate the references to root and lfs user
The references already correctly decorated are not changed because "if
it's not broken don't fix it".
2022-04-21 14:12:43 +08:00
Xi Ruoyao
4b51d83b3e
wheel: capitalize the first letter of the title, like all other packages 2022-04-18 20:44:35 +08:00
Xi Ruoyao
ee16e55d20
text fixes for wheel change
* Add description for "wheel" command
* Explain why pip3 warning does not matter for us
* Format and typo fixes
2022-04-18 12:59:52 +08:00
Bruce Dubbs
9749744481 Use pip3 to install Python modules and programs
meson, Markupsafe, and Jinja2
2022-04-17 23:08:16 -05:00
Bruce Dubbs
5a2aca5626 Add wheel.xml 2022-04-17 19:04:53 -05:00
Bruce Dubbs
032d88fc75 Add wheel-0.37.1 (Python module). 2022-04-17 17:11:27 -05:00
Bruce Dubbs
7a0687cbbf Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-04-17 14:19:34 -05:00
Bruce Dubbs
e9538133fa Suppress a waring if running pip3 as root.
In serveral places we use the pip3 command to install Python 3 programs
and modules for all users as root. This conflicts with the Python
developers' recommendation to build packages in a virtual environment as
a regular user. To this end, a multi-line warning is written when using
pip3 as the root user.

This change shows users how to avoid this warning.
2022-04-17 12:55:48 -05:00
Ken Moffat
1d694184b3 Patch xz for the xzgrep vulnerability. 2022-04-15 20:01:35 +01:00
Xi Ruoyao
75bab32f83
procps: update library and include directory name 2022-04-15 10:32:55 +08:00
Bruce Dubbs
62b66860b3 Package updates.
Update to libcap-2.64.
Update to linux-5.17.3.
Update to gzip-1.12.
2022-04-14 11:17:20 -05:00
Bruce Dubbs
b861051f19 Typos 2022-04-12 14:31:26 -05:00
Xi Ruoyao
d70fd55a87
procps-ng: remove an outdated note
It now just untars into procps-ng-4.0.0 directory, as we expect.
2022-04-05 01:30:19 +08:00
Bruce Dubbs
f30c2e8029 Add in the patch needed for systemd with the 5.17 kernel 2022-03-31 12:39:23 -05:00
Bruce Dubbs
676f0fdcec Package updates.
Update to sysvinit-3.02.
Update to zlib-1.2.12.
Update to expat-2.4.8.
Update to Jinja2-3.1.1.
Update to Python-3.10.4.
Update to procps-ng-4.0.0.
Update to iproute2-5.17.0.
Update to meson-0.62.0.
Update to linux-5.17.1.
Update to util-linux-2.38.
2022-03-30 16:13:26 -05:00
Bruce Dubbs
f23beb1acf Remove refereces to Russia 2022-03-27 11:46:00 -05:00
Xi Ruoyao
ab7af9e6f0
libffi: reword the note about "building for another system"
Telling the user to override CFLAGS and CXXFLAGS may cause two problems:

1. We've added --with-gcc-arch=native, so the configure script will add
   "-march=native" into CFLAGS.  Then we've not really verified which
   -march= value is the last one in the GCC command line and being really
   used.
2. User may just export CFLAGS="-march=x86_64", without "-O2".  This
   will produce unoptimized binaries.
2022-03-26 23:25:36 +08:00
Bruce Dubbs
bcb20b4701 Speling 2022-03-24 12:11:57 -05:00
Xi Ruoyao
d54813bc0c
zstd: add prefix=/usr for make
libzstd.pc is created during "make", so without prefix=/usr here
"-L/usr/local/lib" will show up in libzstd.pc.

Thanks Ryan Marsaw for the report.
2022-03-21 21:59:45 +08:00
Xi Ruoyao
0a993870cf
libffi: update the desc for --disable-exec-static-tramp
Now BLFS has gobject-introspection-1.72, which is already fixed.  GJS
fix will be released in GNOME 43 (not 42).
2022-03-21 14:39:47 +08:00
Xi Ruoyao
43149b904b
markupsafe: mention the suffix "-linux-<arch>" in installed directories 2022-03-16 19:47:09 +08:00
Xi Ruoyao
ccb08fafc8
pkgmgmt: for systemd revision, add how to restart systemd without reboot 2022-03-16 15:49:35 +08:00
Xi Ruoyao
9c7e6ff853
systemd: remove --strip-compoents=1 from man page installation command
systemd-man-pages-250.tar.xz has no additional leading components.

An errata is required.
2022-03-16 00:13:35 +08:00
Xi Ruoyao
f7ac150c84
package update
* update to expat-2.4.7 (#5019)
* update to bc-5.2.3 (#5020)
* update to linux-5.16.14 (#5021)
* update to perl-5.34.1 (#5022)
* update to vim-8.2.4567 (#4500)
2022-03-15 16:18:24 +08:00
Bruce Dubbs
51a5442f16 Fix pdf presentation issues and some misc issues
Change pdf generation to use 9 point fonts for monospace
sections of the book.  Otherwise texy overflows, especially
in Chapter 8, Stripping.

Fix a minor spacing issue in the stripping issue.

MAke a minor grammar fix in creatingfiles.xml.
2022-03-14 13:08:40 -05:00
Xi Ruoyao
582da16ec4
glibc: fix the desc of nss/tst-nss-files-hosts-multi failure, and ...
mention nss/tst-nss-files-hosts-long failure

It seems I was confused by the two failures with similar name, when I
added the description.
2022-03-15 00:26:26 +08:00
Xi Ruoyao
408f4ae838
systemd: dbus: add --runstatedir=/run
This prevents a reference to /var/run in /usr/lib/tmpfiles.d/dbus.conf,
which would cause a warning from systemd-tmpfiles.

--with-system-pid-file=/run/dbus/pid is not needed with this, but
--with-console-auth-dir and --with-system-socket are still needed.
2022-03-13 16:12:55 +08:00
Xi Ruoyao
070bc9a4f7
add zstd upstream fixes patch 2022-03-05 16:30:28 +08:00
Xi Ruoyao
9c4380393e
gcc: use $(gcc -dumpmachine) instead of *linux-gnu
It's consistent with other commands in the same page, and also helpful
for porting to targets with different triplets (-musl or -gnuabi64).
2022-03-05 03:03:19 +08:00
Xi Ruoyao
3522efe046
package updates
* Update to meson-0.61.2.
* Update to linux-5.16.12.
* Update to MarkupSafe-2.1.0.
* Update to dbus-1.14.0.
* Update to vim-8.2.4489.
2022-03-03 02:20:37 +08:00
Xi Ruoyao
259b8e0aa3
Merge remote-tracking branch 'origin/trunk' into xry111/lfs-next 2022-03-02 21:02:54 +08:00
Xi Ruoyao
477c9a1d58
tcl: remove outdated test failure description 2022-02-27 23:38:45 +08:00
Xi Ruoyao
859502b2f4
iproute2: add NETNS_RUN_DIR=/run/netns to avoid using deprecated /var/run 2022-02-27 23:36:55 +08:00
Xi Ruoyao
a4f63e494b
remove adjusting.xml
Now adjusting.xml only serves as a historical reference, and a "snip
library" for gcc.xml.  Put all relevant content into gcc.xml directly
and remove adjusting.xml.  If someone needs a historical reference, he
can always get adjusting.xml in Git history.
2022-02-27 23:36:55 +08:00
Xi Ruoyao
83c258fce0
tcl: remove --enable-64bit
It only adds -m64 on x86_64 GNU/Linux.  In 64-bit LFS -m64 is the
default.
2022-02-27 23:36:55 +08:00
Bruce Dubbs
7b270d9a69 Wording 2022-02-25 14:58:18 -06:00
Xi Ruoyao
c19371f6f9
systemd: remove unneeded command
For systmed-250, systemd-time-wait-sync.service is disabled by
systemctl preset-all.
2022-02-23 15:25:28 +08:00
Xi Ruoyao
96fa6f2558
systemd: trivial indent fix :) 2022-02-23 15:10:03 +08:00
Xi Ruoyao
186f52656e
glibc: document tst-nss-files-hosts-multi failure ...
on the systems without non-loopback IP address

We'd observed this long ago with "unknown reason".  I just saw it again
and did some investigation, found it depends on getaddrinfo() with
AI_ADDRCONFIG, which requires a non-loopback address.
2022-02-22 16:44:04 +08:00
Xi Ruoyao
9f0a6427ab
short description should not end with "." 2022-02-18 14:03:51 +08:00
Bruce Dubbs
988a68e3c8 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-02-17 23:39:07 -06:00
Bruce Dubbs
01cf1502c2 Remove reference to test failures 2022-02-17 23:38:53 -06:00
Xi Ruoyao
52155b6c33
shadow: add --disable-static
Approved by bdubbs for 11.1.

To editors: no need to rebuild system and re-tag anything, AFAIK nothing
in BLFS uses libsubid now.  You may delete /usr/lib/libsubid.a on your
system manually.
2022-02-18 12:51:41 +08:00
Xi Ruoyao
b5e4ab72f1
shadow: add description for libsubid 2022-02-17 19:39:07 +08:00
Xi Ruoyao
662f6497ff
systemd: remove systemd-cryptenroll and bootctl
bootctl is not built because LFS doesn't have gnu-efi.

systemd-cryptenroll is disabled if cryptsetup is not installed (should
be added into BLFS).
2022-02-17 19:39:07 +08:00
Xi Ruoyao
e5b4b3fff6
gcc: update contents and descriptions
Add lto-dump and libitm, and reword description for liblto_plugin
because it's actually used by libbfd (from binutils).
2022-02-17 19:39:07 +08:00
Xi Ruoyao
24fe054b4e
dejagnu: add description for "dejagnu" command 2022-02-17 19:39:07 +08:00
Xi Ruoyao
85d9756bbe
expect: fix library name in description, and remove unused expect-lib-version 2022-02-17 19:39:07 +08:00
Xi Ruoyao
b7daa52a5c
glibc: update desc for content
Add libc_malloc_check.so (it's like libmcheck.a, but should be used with
LD_PRELOAD).

Add description for libmvec.

"libnss" -> "libnss_*", and reword the description.
2022-02-17 19:39:07 +08:00
Bruce Dubbs
d6f5aab381 Binutils fix to fix some package builds
This fix was found on an i368 system when building openjdk.  The
fix does not help or hurt x86_64 systems.
2022-02-16 16:56:04 -06:00
Xi Ruoyao
c5755859a8
binutils: reword the desc for LTO patch
Prevent from misleading people to think "I don't build binutils with LTO,
so I can skip the patch".
2022-02-16 14:32:24 +08:00
Bruce Dubbs
8dd179b044 Fix typos in glibc and for systemd-oom group syntax 2022-02-15 13:22:46 -06:00
Bruce Dubbs
9a612a967b Document a failing test 2022-02-15 11:35:46 -06:00
Bruce Dubbs
6af4dabc16 Package updates and fixes.
Add binutils-2.38 LTO patch.
Update to util-linux-2.37.4.
Update to man-db-2.10.1.
Update to linux-5.16.9.
Update to vim-8.2.4383.
Update to iana-etc-20220207.
2022-02-15 09:55:45 -06:00
Xi Ruoyao
81d3242ba4
glibc: add ld.so to programs list
Quote from the NEWS file:

    A symbolic link to the dynamic linker is now installed under
    /usr/bin/ld.so (or more precisely, '${bindir}/ld.so').
2022-02-13 11:01:29 +08:00
Xi Ruoyao
db3c501657
glibc: update contents & descriptions for 2.35 2022-02-11 11:18:13 +08:00
Bruce Dubbs
9c4ff70edf Package updates.
Update to bc-5.2.2.
Update to linux-5.16.8.
Update to binutils-2.38. Requires adding zlib to Chapter 6.
2022-02-09 20:54:15 -06:00
Xi Ruoyao
f09dd59a81
systemd: /etc/{passwd,group} was created in Chapter 7 2022-02-05 22:17:26 +08:00
Xi Ruoyao
b852cef995
chapter 8: rename revisedchroot to cleanup
There is no "revision for chroot" now.
2022-02-05 21:59:24 +08:00
Xi Ruoyao
490dc15317
remove "+h" in bash commands in chroot (#4998)
In the new cross-compilation approach, the $PATH in chroot does not
contain '/tools/bin'.  So "+h" is useless in chroot as the newly
installed tools always replace the temporary counterpart at the same
location.

"+h" in chapter4/settingenviron.xml is kept deliberately.  Currently
$LFS/tools/bin only contains programs prefixed with
"x86_64-lfs-linux-gnu-", and it's highly unlikely that any distro will
ever ship a program named with such prefix.  So it may seems that we can
remove this "+h" as well.  However, the situation may change in future
and we can take this oppertunity to teach the advantage and disvantage
of bash hash feature.
2022-02-05 20:48:27 +08:00
Xi Ruoyao
69c4524b6d
systemd: remove unneeded LANG=en_US.UTF-8 settings
They were added because ninja had printed warnings about "non UTF-8
locale".  Current version of ninja no longer does this.
2022-02-05 20:37:44 +08:00
Xi Ruoyao
e954006b16
util-linux: add --bindir and --sbindir
The defaults are /bin and /sbin.  We don't like them because of "DESTDIR
on merged-usr system" issue.
2022-02-05 20:37:44 +08:00
Xi Ruoyao
50c357d363
util-linux: revise contents and short descriptions
* tailf is removed completely
* fdformat is disabled by default, and we don't really have any reason
  to enable it (and we'll need to workaround the missing man page issue
  if we want to enable it)
* irqtop, lsirq, scriptreplay, and uclampset added
2022-02-05 20:37:44 +08:00
Xi Ruoyao
db2d98f7a9
man-db: update to man-db-2.10.0 (#5002) 2022-02-05 20:37:44 +08:00
Xi Ruoyao
f26f74cb24
kmod: update the status for test suite 2022-02-05 20:37:44 +08:00
Xi Ruoyao
f5923aa8b4
kmod: link to openssl 2022-02-05 20:37:43 +08:00
Xi Ruoyao
889f3811e5
Revert "gdbm: document gdbmtool tests fail, add -k"
This reverts commit ae3f78a382.

No longer needed with gdbm-1.22 or later:

https://git.gnu.org.ua/gdbm.git/commit/?id=5b62babd
https://git.gnu.org.ua/gdbm.git/commit/?id=f586b159
2022-02-05 17:51:06 +08:00
Xi Ruoyao
51e4ab228f
gcc: add "or later" for "Glibc-2.34", as we have 2.35 now 2022-02-05 17:03:36 +08:00
Xi Ruoyao
bf6c6f8180
tcl: update to tcl-8.6.12 (#5001)
tdbc 1.1.2 -> 1.1.3
itcl 4.2.1 -> 4.2.2
2022-02-05 17:03:36 +08:00
Xi Ruoyao
21dd2f064f
glibc: Makefile is not generated 2022-02-05 17:03:33 +08:00
Douglas R. Reno
0a75d62658 Minor tweaks to systemd 2022-02-04 19:54:13 -06:00
Xi Ruoyao
bca4876ac5
Revert "binutils: use -j1 for make install"
This reverts commit 03a41fd0cd.

It's no longer needed after binutils-gdb commit "install dependencies for
ld -> bfd and libctf -> bfd" (755ba58e).
2022-02-04 17:55:05 +08:00
Thomas Trepl (Moody)
651c74bef9 Remove unnecessary sed in glibc-2.35 2022-02-04 10:51:57 +01:00
Bruce Dubbs
a5d31dd654 Package updates and a patch.
Add coreutils-9.0 chmod patch.
Update to glibc-2.35.
Update to linux-5.16.5.
Update to findutils-4.9.0.
Update to expat-2.4.4.
Update to iana-etc-20220128.
2022-02-03 13:02:19 -06:00
Pierre Labastie
60933b952f iproute2: remove a now useless sed
Upstream do not try anymore to build the *m_ipt modules if
iptables is not found.
2022-01-28 14:04:57 +01:00
Xi Ruoyao
7b370c55d7
util-linux: remove the description of "raw" command
Since Linux-5.13, <linux/raw.h> has been removed from API headers.  So
this command won't be built by util-linux.
2022-01-25 03:30:05 +08:00
Pierre Labastie
18c1947298 Update to meson-0.61.1 2022-01-20 08:18:43 +01:00
Pierre Labastie
b83366b1b4 Use soversion for libreadline in "stripping" page
Report on #lfs-support by "r1c0n3r0": the libhistory and libreadline
filenames have been wrong on the "stripping" page since realine
version bump. Fix taken (with slight modification) from William
Harrington's port to arm:
05a2cd35aa
2022-01-20 08:11:31 +01:00
Xi Ruoyao
cd0ca9371c
shadow: fix a typo 2022-01-16 00:42:27 +08:00
Pierre Labastie
7ad105665e Add missing installed program in shadow
getsubids has been added in shadow-4.10
2022-01-15 04:45:33 -08:00
Bruce Dubbs
ade3efafc6 Package updates.
Update to shadow-4.11.1.
Update to readline-8.1.2.
Update to meson-0.61.0.
Update to libpipeline-1.5.5.
Update to bash-5.1.16.
2022-01-14 13:43:28 -06:00
Douglas R. Reno
5ff21a47f9 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-01-13 18:28:30 -06:00
Douglas R. Reno
c8df034e5f Fix CVE-2021-3997 in systemd. 2022-01-13 15:16:37 -06:00
Pierre Labastie
b029aa8bfb Remove ending space in shadow 2022-01-04 19:23:38 +01:00
Bruce Dubbs
da7949dfb6 Minor reworing of reason for GID 999 2022-01-04 11:43:19 -06:00
Xi Ruoyao
e7f0fa1fa6
shadow: "users" is a groupname, not a parameter 2022-01-05 01:12:58 +08:00
Pierre Labastie
2b3f5219bc Reword explanation of GROUP parameter in /etc/default/useradd
Tell that 999 comes from the --gid parameter, and that we already have
a group "users" with this gid to prevent messages when first using useradd.
2022-01-04 17:53:09 +01:00
Pierre Labastie
7f13657de1 shadow: move /etc/default/useradd creation to "Configuration"
This is needed so that /etc/default/useradd is not removed by package
managers when rebuilding shadow in BLFS. Change the explanations in
the text accordingly.
2022-01-04 12:38:18 +01:00
Xi Ruoyao
cd99aff683
Revert "shadow: remove explicit --disable-{su,runuser}"
This reverts commit 6ecd06927b.

Continue to use shadow su, until it's really dead.
2022-01-03 23:28:24 +08:00
Bruce Dubbs
ad89f7b0d6 Package updates.
Update to e2fsprogs-1.46.5.
Update to zstd-1.5.1.
Update to expat-2.4.2.
Update to shadow-4.10.
Update to sysvinit-3.01.
Update to linux-5.15.12.
Update to iana-etc-20211224.
Update to openssl-3.0.1.
Update to eudev-3.2.11.
Update lfs-latest-git.php currency for new eudev location.
2021-12-31 07:10:48 -06:00
Douglas R. Reno
6d19228191 Package Updates:
Update to systemd-250 (BLFS coming shortly)
Update to meson-0.60.3
Kernel Configuration: Enable the framebuffer since it's disabled by
default in Linux-5.15.
Kernel Configuration: Add a note about CONFIG_DEFAULT_HOSTNAME on
systemd.
2021-12-30 11:39:08 -06:00
Xi Ruoyao
6ecd06927b
shadow: remove explicit --disable-{su,runuser}
for sync with BLFS.  They are automatically disabled when PAM is
unavailable.
2021-12-27 20:54:46 +08:00
Pierre Labastie
4b4f934b9c Update the command explanations in findutils 2021-12-14 13:48:09 +01:00
Thomas Trepl
f2ab0c5d05 Fix issue building findutils on a 32bit system
Cherry picked from the multilib branch
2021-12-14 13:39:01 +01:00
Xi Ruoyao
88bbf22f8b
ncursesw: do not in-place overwrite library being used by bash 2021-12-04 16:53:16 +08:00
Xi Ruoyao
394bd9caff
systemd: minor reword for Linux header >= 5.14 issue
It does not affect using systemd with Linux >= 5.14, but only affects
building systemd with kernel header >= 5.14.
2021-11-15 23:34:44 +08:00
Bruce Dubbs
0d78c2c179 Package updates.
Update to iana-etc-20211112.
Update to elfutils-0.186.
Update to jinja2-3.0.3.
Update to bc-5.2.0.
Update to ncurses-6.3.
Update to libpipeline-1.5.4.
Update to meson-0.60.1.
Update to iproute2-5.15.0.
Update to linux-5.15.2.

One change was needed to systemd-249 due to changes in the linux
keernel version 5.14 and later.

A change to ncurses was needed to ensure the .pc files are placed in
the right location (/usr/lib/pkgconfig).
2021-11-14 12:22:12 -06:00
Xi Ruoyao
3328dfdc69
systemd: fix a typo 2021-11-02 21:44:49 +08:00
Bruce Dubbs
d02074e9bc Minor wording change 2021-11-01 08:49:48 -05:00
Bruce Dubbs
1f201845a3 Package updates
Update to gawk-5.1.1.
Update to meson-0.60.0.
Update to libcap-2.60.
Update to gdbm-1.22.
Update to file-5.41.
Update to linux-5.14.15.
Update to iana-etc-20211025.
Update to tzdata-2021e.

Change /bin to /usr/bin in passwd, and revisedchroot.
Fix systemd for new meson.
2021-10-31 14:00:21 -05:00
Xi Ruoyao
8cece120f9
libcap: remove unneeded chmod command
Libcap-2.59 install shared libs with mode 0755 by default.
2021-10-16 01:59:06 +08:00
Bruce Dubbs
fa32551de1 Package updates.
Update to vim-8.2.3508.
Update to tzdata-2021c.
Update to Python-3.10.0.
Update to Jinja2-3.0.2.
Update to linux-5.14.12.
Update to iana-etc-20211004.
Update to bc-5.1.1.
Update to automake-1.16.5.
2021-10-14 14:02:12 -05:00
Bruce Dubbs
8fd9f816d4 Make instructions more consistent.
When using mkdir during installation, use -pv all the time.
Make reference to irc channel all lower case.
Update lfs-latest for condxml merge
2021-10-13 15:00:35 -05:00
Pierre Labastie
35d257851a Remove double slash // in some links 2021-09-20 22:01:06 +02:00
Pierre Labastie
007d3bcce6 Remove eol spaces in recently added tcl doc 2021-09-15 09:51:34 +02:00
Bruce Dubbs
06e7b36118 Package updates.
Ensure tcl documentation install instructions are present.
Update to Python3-3.9.7.
Update to linux-5.14.3.
Update to libcap-2.57.
Update to iproute2-5.14.0.
Update to inetutils-2.2.
Update to gzip-1.11.
Update to gdbm-1.21.
Update to bison-3.8.1.
Update to bc-5.0.2.
2021-09-14 10:06:10 -05:00
Pierre Labastie
365b8c74b1 Move a misplaced role="nodump"
That lead jhalfs to create a useless 801-pkgmgt script.
2021-09-13 07:35:53 +02:00
Douglas R. Reno
e128c68596 Add the File upstream fixes patch to the book. 2021-09-08 10:36:09 -05:00
Pierre Labastie
c6f58f47bd Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2021-09-07 22:40:16 +02:00
Pierre Labastie
d672ab7d66 Remove spaces at end o lines - chapter08 2021-09-07 22:33:18 +02:00
Xi Ruoyao
ae3f78a382
gdbm: document gdbmtool tests fail, add -k 2021-08-29 23:39:03 +08:00
Bruce Dubbs
3dc82263cf Update openssl test failure explanation. 2021-08-29 08:34:35 -05:00
Bruce Dubbs
49170b0a84 Package updates for lfs-11.0-rc3
LFS-11.0-rc3 released.
Update to e2fsprogs-1.46.4.
Update to meson-0.59.1.
Update to util-linux 2.37.2.
Update to linux-5.13.12.
Update to libcap-2.53.
2021-08-25 18:51:16 -05:00
Xi Ruoyao
35ad663174
grub: remove --sbindir (merged /usr) 2021-08-26 05:12:34 +08:00
Bruce Dubbs
de8b6cb08a Fix security issue in Chapter 8 glibc.
Add a sed to glibc in Chapter 8 to fix a critical security issue.
2021-08-20 15:47:13 -05:00
Bruce Dubbs
658a5da5fb Now run all the tests in binutils.
We were removing a failing test, but it is not longer a problem.
Eliminate the instruction that does that.
2021-08-18 00:19:33 -05:00
Bruce Dubbs
fb8aee8051 Package updates and a patch.
Update to linux-5.13.10.
Update to bc-5.0.0.
Update to vim-8.2.3337.
Add binutils-2.37 upstream patch.
2021-08-13 12:20:37 -05:00
Bruce Dubbs
d0204e44b8 Typo 2021-08-13 09:18:50 -05:00
Xi Ruoyao
89250241d4
minor typo 2021-08-13 12:24:15 +08:00
Bruce Dubbs
8a269ec27e Touch up cleanup commands in Chapter 8
We moved the rm /tools from Chapter 8 to Chapter 7.
Some minor wording changes and file renaming.
2021-08-12 16:03:35 -05:00
Bruce Dubbs
cf5da2558f Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2021-08-09 14:17:48 -05:00
Bruce Dubbs
58ccce58b6 Clean up glibc list of test failures 2021-08-09 14:17:31 -05:00
Xi Ruoyao
c3f8922b50
libffi: document --disable-exec-static-tramp 2021-08-09 09:34:23 +08:00
Bruce Dubbs
3ba82a8a1f Package updates.
Update to linux-5.13.9.
Update to libffi-3.4.2.
2021-08-08 14:19:18 -05:00
Xi Ruoyao
26560c186b
m4: test-posix_spawn-script does not fail
Reported on lfs-dev and confirmed with jhalfs.
2021-08-06 23:11:00 +08:00
Xi Ruoyao
a04b3d3931
gcc: fix PR101749
https://wiki.linuxfromscratch.org/blfs/ticket/15350
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101749
2021-08-06 21:37:01 +08:00
Xi Ruoyao
a3d62322b5
minor wording change 2021-08-06 13:49:32 +08:00
Bruce Dubbs
4350669654 Make stripping work fo rboth x86 and x86_64 2021-08-03 21:58:23 -05:00
Xi Ruoyao
99b29384ca
minor typo 2021-08-04 00:26:51 +08:00
Xi Ruoyao
2a22256772
bash: minor command style fix 2021-08-04 00:09:52 +08:00
Xi Ruoyao
6094daeb7a
strip: restore versions in online_usrlib and save_usrlib
Without them, for example:

    cp /usr/lib/libbfd.so /tmp/libbfd.so
    # now /tmp/libbfd.so is a hardcopy of /usr/lib/libbfd-2.37.so
    strip --strip-unneeded /tmp/libbfd.so
    install -vm755 /tmp/libbfd.so /usr/lib/libbfd.so
    # now /usr/lib/libbfd.so is *not* a symlink, but a real file

We don't want this to happen.

libdl and libpthread removed: they are now dummy libs and is not used by
anything built in LFS/BLFS.
2021-08-04 00:04:15 +08:00
Xi Ruoyao
2cc15c335f
gcc: document new test failures with glibc-2.34
The links to gcc bugzilla is in XML comments.
2021-08-03 20:53:14 +08:00
Bruce Dubbs
adcaf07efb Fix spacing 2021-08-02 22:27:16 -05:00
Bruce Dubbs
9c7598cc15 Package updates.
Update to glibc-2.34.
Update to diffutils-3.8.
Update to libcap-2.52.
2021-08-02 20:52:40 -05:00
Xi Ruoyao
ea0f48e5a8
binutils: typo 2021-08-02 21:08:51 +08:00
Bruce Dubbs
c2d234220b Update test results for several packages.
Most of the changes were removing documentation of failed tests
that no longer fail.
2021-08-01 12:53:19 -05:00
Bruce Dubbs
0b10545515 Fackage updates and fixes.
Remove unneeded sed commands from automake and coreutils.
Update to linux-5.13.7.
Update to e2fsprogs-1.46.3.
2021-08-01 11:58:29 -05:00
Xi Ruoyao
2f67a2a07f
Revert "util-linux: explain ioctl_ns failure more precisely"
This reverts commit 79902f4e51.
2021-07-29 18:14:21 +08:00
Xi Ruoyao
7f9a48070e
package update
Update to GCC-11.2.0 (#4883)
Update to inetutils-2.1 (#4892)
Update to automake-1.16.4 (#4894)

SHA256 checksum entities for the three packages are added.  I think we
can start a transition to SHA256 now.
2021-07-28 19:01:48 +08:00
Xi Ruoyao
8416b1f926
Revert coreutils library location change
libstdbuf.so is a LD_PRELOAD hook, instead of a library which would be
used at link time.  So let's keep the upstream default.
2021-07-28 18:48:09 +08:00
Xi Ruoyao
08f72423ce
always use --strip-unneeded for stripping
The behavior of --strip-unneeded and --strip-all are same for
executables and shared libraries.  For static libraries,
--strip-unneeded keeps the symbols needed for relocation processing so
it won't break static archives.
2021-07-28 18:46:22 +08:00
Xi Ruoyao
79902f4e51
util-linux: explain ioctl_ns failure more precisely 2021-07-28 12:30:03 +08:00
Bruce Dubbs
11d5dee3a4 Minor instruction changes and text updates.
Move coreutils library from /usr/libexec to /usr/lib in both
Chapter 6 and Chapter 8.

Text updates in chapter08/pkgmgt.xml and chapter09/locale.xml.

Restore deletion of hanging test in chapter08/util-linux.xml.

Text changes in stripping and make instruction compatible with jhalfs.
2021-07-27 14:11:38 -05:00
Xi Ruoyao
d1592b9d92
stripping: add libnss_*.so* into online_usrlib
Glibc loads these "NSS modules" (see man 5 nss) on startup.  This is
implemented with something like dlopen() so "ldd" won't show them up.
So they should be considered "online" here.

Without this addition, overwriting libnss_files-2.33.so reproducibly
triggers a crash during jhalfs runs where stripping is enabled.  In
manual builds, it reproducibly triggers a crash exiting from chroot.

After this change I reran stripping 5 times and there was no crash
observed.
2021-07-28 01:27:33 +08:00
Thomas Trepl (Moody)
5287d521e9 Simplify the new sed 2021-07-27 11:54:51 +02:00
Thomas Trepl (Moody)
6d6f242029 Fix a programming error in shadow-4.9 2021-07-26 22:14:09 +02:00
Xi Ruoyao
de28837402
Hopefully, complete strip workaround
In stripping, /usr/bin/bash, /usr/bin/find, and /usr/bin/strip are
running.  Strip them, and all libraries used by them in /tmp, then
install them back.

We can't use this for all libraries or binaries: the process above
discouples hard links (for example /usr/bin/perl and perl5.34.0).  So
unfortunately the stripping instruction is now a stupidly long bash
script...
2021-07-26 19:34:27 +08:00
Bruce Dubbs
ff96923bf3 Package updates and stripping fixes
Add workaround to strip libraries correctly.
Update to shadow-4.9.
Update to util-linux 2.37.1.
2021-07-25 20:10:18 -05:00
Xi Ruoyao
ff5c009123
binutils: workaround empty man pages issue 2021-07-25 22:56:45 +08:00
Douglas R. Reno
9f84752195 Update to binutils-2.37
Update to less-590
Update to meson-0.59.0
Guard systemd against CVE-2021-33910
2021-07-23 06:30:53 -05:00
DJ Lucas
4eee9ccd08 Ensure that glibc installs ldconfig and sln to /usr/sbin. 2021-07-21 20:02:02 -05:00
DJ Lucas
593b439ada Correct page IDs in Chapter 08 dejagnu, expect, and tcl. 2021-07-21 19:53:52 -05:00
Bruce Dubbs
2a277fbaf8 Minor grammar fixes 2021-07-20 15:18:36 -05:00
Xi Ruoyao
7ea60d3c98
add changelog for tester-nohack merge 2021-07-20 19:43:41 +08:00
Xi Ruoyao
94862dad61
bash: pass "make test" exitcode through expect 2021-07-19 21:39:13 +08:00
Xi Ruoyao
7d88d57dd3
bash: disable timeout to prevent Expect from exiting early
The default timeout is only 10 seconds, where the bash tests won't
complete on most systems.  Then expect will exit early, with bash tests
running in background.  We won't like this.
2021-07-19 21:29:20 +08:00
Xi Ruoyao
2d30be476b
bash: use eof in expect commands instead of EOF
(for jhalfs)
2021-07-19 21:10:06 +08:00
Xi Ruoyao
d072573464
bash: add an explanation why use expect to run the test 2021-07-19 21:01:45 +08:00
Xi Ruoyao
590d255947
Merge branch 'trunk' into xry111/tester-nohack 2021-07-19 20:54:58 +08:00
Bruce Dubbs
c522873057 Grammar 2021-07-18 17:14:51 -05:00
Ken Moffat
ac9f3952a6 Perl - fixes for 5.34 test failures. 2021-07-17 21:11:36 +01:00
Xi Ruoyao
ef61313366
do not use UID hack for tester
It's causing "root-tester namesis" (both have UID 0) if the tty is owned
by root.  To fix bash test, use Expect to spawn a new PTY for it.
2021-07-18 01:04:22 +08:00
Bruce Dubbs
f3997370c5 Remove modifications to m4 that are no longer needed. 2021-07-15 12:30:07 -05:00
Bruce Dubbs
176404f5e2 Work around a util-linux that can hang the tests.
If CONFIG_USER_NS or CONFIG_PID_NS are not set in the kernel, the tests will
hang forever. To work around the problem, delete one test.
2021-07-10 23:16:21 -05:00
Xi Ruoyao
a9e964ed99
fix installed directories in jinja2 & markupsafe 2021-07-09 13:29:32 +08:00
Douglas R. Reno
47c9152b13 Add missing files 2021-07-09 00:03:50 -05:00
Douglas R. Reno
87119fd250 Package Updates and Additions
Add MarkupSafe
Add Jinja2
Update to texinfo-6.8
Update to iproute2-5.13.0
Update to Python-3.9.6 (Security Update)
Update to systemd-249 (Security Update)
Update to Linux-5.13.1
2021-07-08 21:16:54 -05:00
Xi Ruoyao
b1fb931003
DejaGNU: build in seperate directory
Upstream recommends it.  And there are reports about test failure when
DejaGNU is build in source directory ("./configure").
2021-07-06 23:00:16 +08:00
Xi Ruoyao
3e8234557c
man-pages: add prefix=/usr
Thanks John Burrell for reporting the issue.
2021-07-02 19:14:32 +08:00
Bruce Dubbs
d8a492a200 Fix gcc patch name in Chapter 8. 2021-07-01 16:24:16 -05:00
Ken Moffat
33505d67f8 Patch gcc :
Fix some regressions, and cope with removal of a kernel header in
linux-5.13 which broke the build in chapter 8's bootstrap.
2021-07-01 19:34:12 +01:00
Xi Ruoyao
e3d0e26c73
gcc: correct desc of locale related tests 2021-06-30 11:52:11 +08:00
Xi Ruoyao
3d08653292
gcc: correct the desc of constexpr-52830 XPASS and FAIL 2021-06-30 11:47:09 +08:00
Ken Moffat
cefe50534a Add more locales used in gcc's libstdc++ testsuite. 2021-06-29 01:28:36 +01:00
Bruce Dubbs
5809826800 Package updates.
Update to bash-5.1.8.
Update to dejagnu-1.6.3.
Update to gdbm-1.20.
Update to libcap-2.51.
Update to man-pages-5.1.
2021-06-27 12:54:09 -05:00
Xi Ruoyao
f23960ab25
shadow: adjust for merged /usr 2021-06-27 16:48:48 +08:00
Ken Moffat
075d35fb3d Some updates re test failures. 2021-06-22 21:56:42 +01:00
Xi Ruoyao
7aee3182a0
pkg management: add a note about kernel upgrade 2021-06-19 16:32:43 +08:00
Bruce Dubbs
577ac46eea Ensure capsh in installed from the libcap package. 2021-06-18 09:23:28 -05:00
Bruce Dubbs
0f69f60924 Tweak spacing 2021-06-15 23:02:24 -05:00
Bruce Dubbs
7fe99c2ca7 Package Updates.
Update to iana-etc-20210611.
Update to vim-8.2.3001.
Update to util-linux-2.37.
Update to meson-0.58.1.
Update to linux-5.12.10.
Update to m4-1.4.19.
Update to grub-2.06.
2021-06-15 22:31:48 -05:00
Ken Moffat
9c3ce2ac8b For consistency, make the cpp link in /usr/lib. 2021-06-09 19:34:33 +01:00
Ken Moffat
c36301e75a For consistency, install iproute2 progs in /usr/sbin
(merged /usr) - from Joe Locash.
2021-06-09 18:49:02 +01:00
Xi Ruoyao
06cdaed873
systemd: sync with BLFS 2021-06-04 21:05:13 +08:00
Bruce Dubbs
af4f4bfa8c Package updates.
Update to iana-etc-20210526.
Update to vim-8.2.2890.
Update to zstd-1.5.0.
Update to perl-5.34.0.
Update to inux-5.12.7.
Update to libcap-2.50.
Update to kmod-29.
Update to expat-2.4.1.
Update to elfutils-0.185.
Update to bc-4.0.2.
2021-05-28 15:00:26 -05:00
Thomas Trepl (Moody)
8d5f7c7557 Tweak install in iproute2 (rmv DOCDIR) 2021-05-26 08:04:51 +02:00
Ken Moffat
d3e6c1b7e6 gdbm: The failing test is reported as 'FAIL: version'
so report that as lowercase.
2021-05-25 21:56:11 +01:00
Pierre Labastie
c31e35bd8a kmod: do not install lsmod both in /usr/sbin and /usr/bin 2021-05-21 19:23:23 +02:00
Xi Ruoyao
dc90d88882
kmod: create lsmod symlink in /usr/bin (merge /usr)
Forgot it in the last commit...
2021-05-22 00:06:08 +08:00
Xi Ruoyao
e3471c8c4d
kmod: create symlinks in /usr/sbin (merge /usr) 2021-05-22 00:02:27 +08:00
Bruce Dubbs
9901d50d9a Tweak install directories for eudev and e2fsprogs 2021-05-17 14:34:48 -05:00
Xi Ruoyao
0389538132
bzip2: replace copies of bzip2 executable with symlinks 2021-05-17 23:09:39 +08:00
Ken Moffat
7fbfed5668 For consistency, do not use /bin in bzip2 and inetutils. 2021-05-16 03:06:47 +01:00
Xi Ruoyao
59fef4c47e
generalize ken's note for shared library update, ...
and move it into package management section
2021-05-16 02:55:02 +08:00
Xi Ruoyao
80838616e5
glibc: remove description of libc_cv_rtlddir for now 2021-05-16 02:28:22 +08:00
Ken Moffat
6df63e484f OpenSSL: add a note about upgrading. 2021-05-14 16:41:52 +01:00
Xi Ruoyao
7f25c8447d
glibc: remove libc_cv_rtlddir override for now
Back to use the sed.  Need to investigate later.
2021-05-14 22:44:01 +08:00
Thomas Trepl (Moody)
1b1acbed65 Use /usr/lib for libc_cv_rtlddir 2021-05-14 12:54:44 +02:00
Thomas Trepl (Moody)
f5c3bf6e7e Use a configuration option to set the loader pathes in ldd 2021-05-13 18:30:55 +02:00
Douglas R. Reno
8725caed02 Remove unnecessary command for systemd. Nice eye, Xi! 2021-05-13 10:40:28 -05:00
Xi Ruoyao
7bf2e85ea6
glibc: fix ldd script 2021-05-13 23:28:16 +08:00
Bruce Dubbs
5d0219fdad Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2021-05-12 18:34:57 -05:00
Bruce Dubbs
5ed37b354c Remove python tests in Chapter 8 2021-05-12 18:34:34 -05:00
Xi Ruoyao
871fd2f4a2
systemd: fix systemd-sysext description
Technically it's not a daemon, copy the desc from man page.
2021-05-13 01:57:28 +08:00
Xi Ruoyao
c03457342d
typos fix 2021-05-13 01:43:09 +08:00
Douglas R. Reno
d7a942197e Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!
2021-05-11 23:24:11 -05:00
Douglas R. Reno
99ee345ad6 Patch systemd to build with meson-0.57.2 and Linux-API-Headers-5.11.14
and higher.
2021-04-28 20:29:58 -05:00
Bruce Dubbs
49e360b9b5 Add manual locales needed for tests if using alternate locale installation
instructions.

Minor changes to boot scripts.
2021-04-28 16:40:51 -05:00
Bruce Dubbs
7b2439a5df Update to vim-8.2.2812.
Update to iana-etc-20210407.
Update to Python3-3.9.4.
Update to meson-0.57.2.
Update to linux-5.10.16.
Update to less-581.
Update to file-5.40.
Update to bc-4.0.1.
2021-04-26 19:26:06 -05:00
Xi Ruoyao
9a178619b9
add a paragraph for "downgrading issue" in package management page 2021-04-23 01:38:47 +08:00