Commit Graph

651 Commits

Author SHA1 Message Date
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
Thomas Trepl (Moody)
a98222651c Automatic merge of trunk into multilib 2021-08-13 22:05:08 +02: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
Thomas Trepl (Moody)
c84c636c1b Automatic merge of trunk into multilib 2021-08-13 17:28:33 +02:00
Bruce Dubbs
d0204e44b8 Typo 2021-08-13 09:18:50 -05:00
Thomas Trepl (Moody)
3330d51805 Fix instructions (add online_usrbin to m32/mx32) 2021-08-13 14:02:00 +02:00
Thomas Trepl (Moody)
eeecd8910f Automatic merge of trunk into multilib 2021-08-13 09:26:01 +02:00
Thomas Trepl (Moody)
85d9695ad8 Merge trunk 2021-08-13 06:33:25 +02: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
Thomas Trepl (Moody)
802438754c Automatic merge of trunk into multilib 2021-08-10 05:45:09 +02: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
Thomas Trepl (Moody)
cd3fd92d82 Adopt changes in libffi for other archs 2021-08-09 08:14:52 +02:00
Thomas Trepl (Moody)
b51c338c8a Automatic merge of trunk into multilib 2021-08-09 05:45:09 +02:00
Xi Ruoyao
c3f8922b50
libffi: document --disable-exec-static-tramp 2021-08-09 09:34:23 +08:00
Thomas Trepl (Moody)
c28569be5b Automatic merge of trunk into multilib 2021-08-08 21:28:03 +02: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
Thomas Trepl (Moody)
835c1c8ac4 Add CC= to install commands at m32/mx32 2021-08-08 15:58:25 +02:00
Thomas Trepl (Moody)
b8d5542c28 Fix syntax errors caused by jhalfs xsls 2021-08-07 17:05:32 +02:00
Thomas Trepl (Moody)
81f8f6e436 Automatic merge of trunk into multilib 2021-08-07 05:45:09 +02: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
Thomas Trepl (Moody)
f5b747c56f Merge trunk 2021-08-04 14:09:24 +02: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
Thomas Trepl (Moody)
31ff88ba10 Automatic merge of trunk into multilib 2021-08-03 16:09:11 +02: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
Thomas Trepl (Moody)
66bfc2bb56 Automatic merge of trunk into multilib 2021-08-03 05:45:09 +02: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
Thomas Trepl (Moody)
6ff520fb98 Automatic merge of trunk into multilib 2021-08-02 05:45:10 +02: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
Thomas Trepl (Moody)
16cdca7b48 Automatic merge of trunk into multilib 2021-07-30 05:45:11 +02: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
Thomas Trepl (Moody)
00e8b5325a Merge upstream changes 2021-07-28 15:43:47 +02: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
Thomas Trepl (Moody)
64a306d76a Automatic merge of trunk into multilib 2021-07-27 21:29:34 +02: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)
85cd74c2cb Merge upstream changes 2021-07-27 07:53:40 +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
Thomas Trepl (Moody)
3388c22918 Merge upstream changes 2021-07-26 09:13:05 +02: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
Thomas Trepl (Moody)
f18f2d6134 Automatic merge of trunk into multilib 2021-07-24 05:45:09 +02: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
Thomas Trepl (Moody)
cfb8eeac69 Automatic merge of trunk into multilib 2021-07-22 05:45:08 +02: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
Thomas Trepl (Moody)
118b207b4a Automatic merge of trunk into multilib 2021-07-21 05:48:24 +02: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
Thomas Trepl (Moody)
dabd16bcf6 Automatic merge of trunk into multilib 2021-07-19 05:45:10 +02:00
Bruce Dubbs
c522873057 Grammar 2021-07-18 17:14:51 -05:00
Thomas Trepl (Moody)
3999c22ebf Automatic merge of trunk into multilib 2021-07-18 05:45:11 +02: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
Thomas Trepl (Moody)
0906e3caf3 Automatic merge of trunk into multilib 2021-07-16 05:45:08 +02:00
Bruce Dubbs
f3997370c5 Remove modifications to m4 that are no longer needed. 2021-07-15 12:30:07 -05:00
Thomas Trepl (Moody)
9600ece7df Automatic merge of trunk into multilib 2021-07-12 05:45:11 +02: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
Thomas Trepl (Moody)
aea9d3b7ad Automatic merge of trunk into multilib 2021-07-09 08:31:41 +02:00
Thomas Trepl (Moody)
ecf55d8e08 Automatic merge of trunk into multilib 2021-07-09 08:29:57 +02: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
Thomas Trepl (Moody)
d49a03582a Fix a copy-paste error 2021-07-08 18:02:04 +02:00
Thomas Trepl (Moody)
0939e5196f Automatic merge of trunk into multilib 2021-07-07 05:45:10 +02: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
Thomas Trepl (Moody)
2ab0d9caf5 Automatic merge of trunk into multilib 2021-07-03 05:45:09 +02:00
Xi Ruoyao
3e8234557c
man-pages: add prefix=/usr
Thanks John Burrell for reporting the issue.
2021-07-02 19:14:32 +08:00
Thomas Trepl (Moody)
cf65195a94 Automatic merge of trunk into multilib 2021-07-02 09:18:52 +02: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
Thomas Trepl (Moody)
641ab9bee7 Automatic merge of trunk into multilib 2021-06-28 05:45:11 +02: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
Thomas Trepl (Moody)
c5750ecfca Automatic merge of trunk into multilib 2021-06-23 05:45:09 +02:00
Ken Moffat
075d35fb3d Some updates re test failures. 2021-06-22 21:56:42 +01:00
Thomas Trepl (Moody)
3a303528e6 Automatic merge of trunk into multilib 2021-06-20 05:45:23 +02:00
Xi Ruoyao
7aee3182a0
pkg management: add a note about kernel upgrade 2021-06-19 16:32:43 +08:00
Thomas Trepl (Moody)
faab037d6d Automatic merge of trunk into multilib 2021-06-19 05:45:11 +02:00
Bruce Dubbs
577ac46eea Ensure capsh in installed from the libcap package. 2021-06-18 09:23:28 -05:00
Thomas Trepl (Moody)
6e9ca9918b Automatic merge of trunk into multilib 2021-06-17 05:45:12 +02:00
Bruce Dubbs
0f69f60924 Tweak spacing 2021-06-15 23:02:24 -05:00
Thomas Trepl (Moody)
dd79d3f5ad Automatic merge of trunk into multilib 2021-06-16 05:45:12 +02: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
Thomas Trepl (Moody)
6a724046cf Automatic merge of trunk into multilib 2021-06-10 05:45:09 +02: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
Thomas Trepl (Moody)
e3835ace0c Automatic merge of trunk into multilib 2021-06-07 05:45:12 +02:00
Xi Ruoyao
06cdaed873
systemd: sync with BLFS 2021-06-04 21:05:13 +08:00
Thomas Trepl (Moody)
25519ef261 Automatic merge of trunk into multilib 2021-05-29 05:45:10 +02: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
Thomas Trepl (Moody)
d31877876d Automatic merge of trunk into multilib 2021-05-26 05:45:10 +02:00
Thomas Trepl (Moody)
f081763f39 Tweak install in iproute2 (rmv DOCDIR) 2021-05-26 01:20:15 +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
Thomas Trepl (Moody)
8fbd2fb120 Automatic merge of trunk into multilib 2021-05-21 22:43:51 +02: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
Thomas Trepl (Moody)
70aadfbaf4 Cosmetic rearrange options to appear more consistent 2021-05-18 10:02:19 +02:00
Thomas Trepl (Moody)
32f47b1fb5 Merge branch 'trunk' into multilib 2021-05-18 08:17:35 +02:00
Thomas Trepl (Moody)
76531f2977 Cleanup instructions 2021-05-18 08:10:25 +02:00
Thomas Trepl (Moody)
30fb4c0470 Automatic merge of trunk into multilib 2021-05-18 08:09:10 +02: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
Thomas Trepl (Moody)
d4b521822c Merge 2021-05-15 07:57:13 +02: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)
0ebda11158 Remove entities for multilib pathes
Add usage of libc_cv_rtlddir
2021-05-14 12:47:43 +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
Thomas Trepl (Moody)
51c01bff45 Automatic merge of trunk into multilib 2021-05-13 05:45:11 +02: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
Thomas Trepl (Moody)
3de7f52194 Fix some pathes in glibc 2021-05-12 18:24:06 +02:00
Thomas Trepl (Moody)
df462a9511 Merge pre-LFS-11-0 changes 2021-05-12 07:26:46 +02: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
Thomas Trepl (Moody)
88bdbb7015 Automatic merge of trunk into multilib 2021-04-30 14:01:24 +02: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
Thomas Trepl (Moody)
2db19cb07a Automatic merge of trunk into multilib 2021-04-27 10:07:54 +02:00