Commit Graph

559 Commits

Author SHA1 Message Date
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