Commit Graph

8476 Commits

Author SHA1 Message Date
Xi Ruoyao
1dd37a1807
changelog: add entries for change today 2022-11-22 23:40:38 +08:00
Xi Ruoyao
3845081b00
changelog: remove a buggy revision="systemd" 2022-11-22 23:34:06 +08:00
Xi Ruoyao
26e3001b7f
coreutils: update test failure
sort-NaN-infloop no longer fails now, it seems covered up by PIE or SSP.

test-getlogin keeps failing in Bruce's build.  Not sure how to reproduce
the failure deterministically.
2022-11-22 23:31:52 +08:00
Xi Ruoyao
e3187f4895
wheel: build the wheel archive of wheel itself
This avoids running "python3 setup.py install" (indirectly), which may
not work correctly in the future with Python 3.12.
2022-11-22 18:24:26 +08:00
Xi Ruoyao
e354e58462
package updates
- update to linux-6.0.9
- update to libpipeline-1.5.7
- update to xz-5.2.8
- update to man-db-2.11.1
- update to mpfr-4.1.1
2022-11-22 18:24:25 +08:00
Xi Ruoyao
f01f8a56da
gcc: remove --disable-decimal-float from pass 1 and 2
We need to enable decimal float here or MPFR will be built w/o decimal
float support.  Then 2 of 183 tests will be skipped, and this will also
cause an ICA issue.

Q: Why we need decimal float in pass 1?
A: We need pass-1 GCC with decimal float support to build decimal float
routines in pass-2 libgcc.
2022-11-22 18:22:53 +08:00
David Bryant
54948b710c Straighten out capitalization, correct a few grammatical errors,
improve English idiom, clarify a few things, remove superfluous
verbiage, etc.
2022-11-21 16:13:06 -06:00
David Bryant
651f491b51 Merrriam-Webster says "alongside" is one word. Clarified some muddled
verbiage. Used the subjunctive mood once. "Test suite" is two words, not
one. Patched some unidiomatic English. Used the plural "headers" when
discussing ELF objects. Used singular verbs to describe "gprofng", for
consistency with other items.
2022-11-18 15:43:45 -06:00
David Bryant
d6346a7e9b Rectify a redundancy/explain how to say tcl. Use correct spelling for
the Binutils package. Patch up an ungrammatical sentence (the plural
subject "instructions" requires pural verbs).
2022-11-18 14:44:18 -06:00
David Bryant
ea90fca7bf Clarify the description of the -G option. 2022-11-18 13:14:57 -06:00
David Bryant
cc197d00ce Corrected a grammatical error: the subordinate clause "that offers ..."
modifies the plural noun "libraries"; it must use a plural verb.
Clarified how many "configure" options Readline uses. Tightened the
prose, and used the definite article in lieu of the indefinite article,
because only one readline.pc file can possibly be the "correct" one.
2022-11-18 12:35:53 -06:00
Xi Ruoyao
7115c88406
chapter08: fix minor grammar issues 2022-11-18 14:29:26 +08:00
Xi Ruoyao
f8b1860631
pkgmgt: reword the description of cfg files handling
Let's not miss the point...
2022-11-18 14:13:12 +08:00
Xi Ruoyao
b1c8283fe7
chapter08: reword description of compiler optimizations
We don't recommend customizing optimizations, but we use optimizations
provided by package default or release build mode.

Reword the paragraph so the people won't be puzzled once they see
"--enable-optimizations" in Python, or "--buildtype=release" (to prevent
unoptimized build) in BLFS meson commands.
2022-11-18 13:57:47 +08:00
Xi Ruoyao
1cc301fbb3
glibc: Decapitalize nsswitch.conf
In UNIX file names are case-sensitive.  You cannot capitialize it even if
it appears in a title.
2022-11-18 13:25:38 +08:00
Xi Ruoyao
940769457b
kernfs: reword the description of bind mount
"Duplicated copy" is wrong IMO.  If you copy A to B, B won't be changed
when you modify A.  But if you bind mount A to B, B will reflect any
change made to A.

Again copy something from mount(2):

    A bind mount makes a file or a directory subtree visible at another
    point within the single directory hierarchy.
2022-11-18 13:13:37 +08:00
Xi Ruoyao
2f9498afa4
kernfs: remove a false note
Things are a little tricky:

1. If the host is "modern" (any desktop distro after 2013), the kernel
   supports devtmpfs and the host udev will do adjustments to the
   devtmpfs.  All instances of devtmpfs shares the same content so we'll
   see the work of both the kernel and the host udev in chroot.
2. If the host is old but the kernel supports devtmpfs (i. e. the host
   is not using devtmpfs for its /dev), when we mount devtmpfs on
   $LFS/dev we'll see the work of the kernel in chroot, but not the work
   of udev.  **Building LFS does not need any work of udev.**
3. If the host is very old and the kernel does not support devtmpfs at
   all, we can't mount devtmpfs.

Mounting a devtmpfs will work for 1 and 2, while bind mounting will work
for 1, 2, and 3.  So we use bind mounting here.

I don't want to squash all these details into the book, so just remove
the false statement here.
2022-11-18 12:52:09 +08:00
Xi Ruoyao
f714a8fa3b
chroot: reword how chroot works
Technically chroot command "tells" bash nothing.  It basically calls
chroot("$LFS"), then chdir("/"), then
execve(["/usr/bin/env", "-i", ...]).  The kernel also does not tell bash
something like "hey, the root is now $LFS" but just executes (almost) all
system calls from bash as-if $LFS is /.

The man page of chroot says:

DESCRIPTION
       Run COMMAND with root directory set to NEWROOT.

Just use the same grammar construction here.
2022-11-18 12:40:53 +08:00
Xi Ruoyao
7054cc64ea
glibc: it should be --disable-werror, not --disable-Werror
Please try not to use the "replace" feature of the text editor blindly.

Appendix C of the GNU C Library Reference Manual clearly says:

'--disable-werror'
     By default, the GNU C Library is built with '-Werror'.  If you wish
     to build without this option (for example, if building with a newer
     version of GCC than this version of the GNU C Library was tested
     with, so new warnings cause the build with '-Werror' to fail), you
     can configure with '--disable-werror'.
2022-11-18 12:11:04 +08:00
David Bryant
27601131e4 Correctd the spelling of "Werror" -- it's "-Werror" in GCC, but
it's "--disable-error" in Glibc. Thanks to Thomas Trepl for spotting
my mistake.
2022-11-17 16:14:42 -06:00
David Bryant
091d624df5 Correct capitalization, spelling, grammar, and idiom. Tighten the
prose by removing some circumlocutions.
2022-11-17 12:08:13 -06:00
David Bryant
ebecd08c05 Corrected grammar, spelling, and idiom in chapter 7. 2022-11-16 13:16:35 -06:00
Pierre Labastie
f2dff2db69 Shadow: /usr/include/shadow is an installed dir 2022-11-16 17:46:26 +01:00
Thomas Trepl (Moody)
b9721fd7f0 Fix type (replace a / by a \ as line continue maker) 2022-11-16 08:46:22 +01:00
Bruce Dubbs
89c3f71df2 Tidy up some spacing issues 2022-11-15 00:31:18 -06:00
Bruce Dubbs
8ffb2771fe Update currency for sysvinitwq 2022-11-14 10:31:59 -06:00
Xi Ruoyao
8e8f87ef14
packages: also use &pypi-src; for Jinja2 and MarkupSafe
The md5sums are not changed.
2022-11-12 13:12:18 +08:00
Xi Ruoyao
c4fc75e67c
changelog: fix a ticket number 2022-11-12 00:19:09 +08:00
Xi Ruoyao
7936ffb2c8
stylesheets: add Simplified Chinese for lfs-l10n
It should not affect English book.
2022-11-12 00:05:09 +08:00
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
5347af84cf
wheel: switch download URL
Avoid the necessity to upload a tarball onto anduin.  The URL does not
contain long checksum and it produces a tarball with the same md5sum.
2022-11-11 00:07:42 +08: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
David Bryant
6dff9ef949 Edit English idiom. punctuation, etc., throughout chapter 6. 2022-11-03 19:29:02 -05:00
Douglas R. Reno
172185a9f7 Update to systemd-252. 2022-11-03 14:33:43 -05:00
David Bryant
f84d8a6f28 Edited for clarity, punctuation, and English idiom. 2022-11-03 13:12:33 -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
Bruce Dubbs
6dfe1df593 Update to openssl-3.0.7 (Security update). 2022-11-01 13:10:38 -05: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
61f825108e
toolchaintechnotes: reword the explanation about rebuild libstdc++ in gcc pass 2 2022-10-31 14:50:35 +08:00
Xi Ruoyao
decf315c6d
toolchaintechnotes: fix a typo 2022-10-30 22:30:53 +08:00
Xi Ruoyao
6b052ef554
toolchaintechnotes: reword the reason "cc-lfs not usable on pc"
The problem is not "gcc building system doesn't know cc-lfs can run on
pc", but "cc-lfs really cannot run on pc".

Let's stop anyone from thinking about "why not just tell the gcc
building system the fact".
2022-10-30 22:29:24 +08:00
David Bryant
f6820bb618 Corrected spelling here and there. Regularized capitaization of package
names, corrected idiom / punctuation, and removed extraneous verbiage.
2022-10-30 09:23:55 -05:00
David Bryant
019499e43b Patched up an ambiguous sentence. Thank you for pointing it out, Xi. 2022-10-30 07:31:31 -05:00
David Bryant
c389124842 Orthography: spell cross-compile and its derived forms consistently.
Add some paragraph breaks to enhance readability. Correct English idiom
here and there. Capitalize titles consistently, fix punctuation.
2022-10-28 13:46:11 -05:00
David Bryant
4e2645304c Standardize spelling of "cross-compile" and its derivatives. Clean up
English idiom. Remove some superfluous verbiage here and there.
2022-10-28 11:37:59 -05:00
David Bryant
13702d9f05 Cleaned up English idiom just a trifle. 2022-10-28 10:10:10 -05:00
Douglas R. Reno
edbf3d91c9 Typo fix from rhubarbpieguy 2022-10-27 08:58:51 -05:00
Ken Moffat
7e7d8600e8 Dependencies: util-linux can use libcap-ng, not libcap. 2022-10-27 03:02:39 +01:00
Xi Ruoyao
fc60dac761
errata: some reword about security advisory
Do not use "whether there are any known security vulnerabilities"
because it's highly unlikely there was none.

Many people just build LFS for an experiment, then they don't need to
maintain their system.  The maintaining is only necessary for a real
desktop or server system.
2022-10-23 10:26:03 +08:00