Commit Graph

7867 Commits

Author SHA1 Message Date
Xi Ruoyao
4149b6f353
add libnsl as python optional dependency 2021-08-19 16:30:34 +08:00
Xi Ruoyao
33ca65cbb0
hostreq: fix a hardcoded chapter number 2021-08-18 14:10:43 +08: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
Xi Ruoyao
d182d836a4
mark automake as new, and fix an example in general.ent 2021-08-18 01:30:25 +08:00
DJ Lucas
e9b00bdfc5 add p11-kit to dependencies list for systemd 2021-08-16 23:49:02 -05:00
Douglas R. Reno
95f409928f Update stats for systemd packages 2021-08-14 20:05:17 -05:00
Bruce Dubbs
4bd0278038 Update all package stats and update grep.
Using latest build log, updated all SysV package stats.
Update to grep-3.7.
2021-08-14 18:41:50 -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
02b26317cb Rework cleaning up section of Chapter 7
Renamed chapter07/stripping.xml to chapter07/cleanup.xml

Removed stripping from the end of Chapter 7.  We suggest a
10 GB or larger partition in Section 2.4 - Creating a New Partition
and the space used before cleaning up is only 3 GB.  Stripping
would free up about 300 MB more, but these files will soon be
overwritten anyway.

Remove /tools here to save about 1 GB.

General reorginization and rewording.

Chapter 8 stripping still needs to be updated after this change.
2021-08-12 15:33:11 -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
Bruce Dubbs
3c9fe9ad67 Fix currency for libffi 2021-08-08 11:11:20 -05:00
Xi Ruoyao
660d70a0d4
prologue/why: expect is not temporary system only now 2021-08-08 21:16:46 +08: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
Xi Ruoyao
99e653593e
shadow: use xz tarball
It's already used in BLFS, so let's make LFS to use the same one.
2021-08-05 00:01:19 +08:00
Bruce Dubbs
4350669654 Make stripping work fo rboth x86 and x86_64 2021-08-03 21:58:23 -05:00
Bruce Dubbs
6a123d054e Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2021-08-03 21:46:44 -05:00
Bruce Dubbs
d04ce158fe Wording 2021-08-03 21:45:54 -05:00
Bruce Dubbs
c649743dd6 Clarify chapter 7 stripping and backup
In chapter 7 we do not need to unmount file systems to strip binaries.
Move unmounting to the backup/restore sections.

Also make sure the stripping commands are valid.
2021-08-03 21:35:39 -05:00
Xi Ruoyao
99b29384ca
minor typo 2021-08-04 00:26:51 +08:00
Xi Ruoyao
887b02bd8c
fix temp hosts file
I think it may be related to Python 3 tests hang (?)
2021-08-04 00:12: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
Bruce Dubbs
7e4c60ef34 Clarify remounting after exiting chroot 2021-07-28 15:52:27 -05: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
46e44863c1
don't use host tool for stripping 2021-07-28 18:46:32 +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
Xi Ruoyao
cefb4c9641
grub cfg: replace hardcoded (and outdated) chapter number 2021-07-28 12:09:14 +08:00
Xi Ruoyao
5ab114b712
temp python: add a note about (not so) "fatal" errors 2021-07-28 12:08:52 +08:00
Bruce Dubbs
29779c4f2b Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2021-07-27 14:16:10 -05: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
Douglas R. Reno
c9d3c70c4c Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2021-07-27 14:07:29 -05:00
Douglas R. Reno
953fd1f433 locale: Reference chapter 8 instead of chapter 6 (systemd) 2021-07-27 14:07:13 -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