• R/O
  • HTTP
  • SSH
  • HTTPS

lfsja-git: 提交

lfsja-git


Commit MetaInfo

修訂32688d23c344cb8dfa350068e48115ec9f369a51 (tree)
時間2022-06-25 17:36:50
作者matsuand <30614168+matsuand@user...>
Commitermatsuand

Log Message

[lfsja-git] r11.1-142 対応。

Change Summary

差異

--- a/configure
+++ b/configure
@@ -4737,7 +4737,7 @@ fi
47374737
47384738
47394739
4740-TARGETVER=r11.1-135
4740+TARGETVER=r11.1-142
47414741 if test "x$revspec" = "xsystemd"; then
47424742 TARGETVER="$TARGETVER-systemd"
47434743 fi
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -104,7 +104,8 @@ book: validate profile-html
104104 -i $$filename; \
105105 done;
106106
107- $(MAKE) --no-print-directory $(BASEDIR)/wget-list $(BASEDIR)/md5sums
107+# $(MAKE) --no-print-directory $(BASEDIR)/wget-list $(BASEDIR)/md5sums
108+ $(MAKE) --no-print-directory wget-list md5sums
108109
109110 @TXT@nochunks: validate profile-html
110111 @TXT@ @echo "Generating non chunked XHTML file..."
@@ -192,20 +193,28 @@ profile-html: validate $(ALLXML)
192193 --output $(RENDERTMP)/lfs-html.xml stylesheets/lfs-xsl/profile.xsl \
193194 $(RENDERTMP)/lfs-full.xml
194195
195-wget-list: $(BASEDIR)/wget-list
196+wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV)
196197 $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
197198 packages.ent patches.ent general.ent
198199 @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
199200 $(MKDIR_P) $(BASEDIR)
200-# $(XSLTPROC) --nonet --xinclude \
201-# --stringparam profile.revision $(REV) \
202-# --output $(RENDERTMP)/sysd-wget.xml \
203-# $(BOOKdir)/stylesheets/lfs-xsl/profile.xsl \
204-# ./chapter03/chapter03.xml
205201 $(XSLTPROC) --xinclude --nonet \
206202 --output $(BASEDIR)/wget-list \
207203 $(BOOKdir)/stylesheets/wget-list.xsl \
208- ./chapter03/chapter03.xml
204+ $(BOOKdir)/chapter03/chapter03.xml
205+
206+$(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \
207+ chapter03/chapter03.xml \
208+ packages.ent patches.ent general.ent
209+ $(Q)xsltproc --nonet --xinclude \
210+ --stringparam profile.revision $(REV) \
211+ --output $(RENDERTMP)/wget-list.xml \
212+ $(BOOKdir)/stylesheets/lfs-xsl/profile.xsl \
213+ $(BOOKdir)/chapter03/chapter03.xml
214+ $(Q)xsltproc --xinclude --nonet \
215+ --output $(BASEDIR)/wget-list-$(REV) \
216+ $(BOOKdir)/stylesheets/wget-list.xsl \
217+ $(RENDERTMP)/wget-list.xml
209218
210219 md5sums: $(BASEDIR)/md5sums
211220 $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml packages.ent patches.ent $(srcdir)/general.ch
@@ -213,13 +222,13 @@ $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml packages.e
213222 $(MKDIR_P) $(BASEDIR)
214223 $(XSLTPROC) --nonet --xinclude \
215224 --stringparam profile.revision $(REV) \
216- --output $(RENDERTMP)/sysv-md5sum.xml \
217- stylesheets/lfs-xsl/profile.xsl \
218- chapter03/chapter03.xml
225+ --output $(RENDERTMP)/md5sum.xml \
226+ $(BOOKdir)/stylesheets/lfs-xsl/profile.xsl \
227+ $(BOOKdir)/chapter03/chapter03.xml
219228 $(XSLTPROC) --xinclude --nonet \
220229 --output $(BASEDIR)/md5sums \
221- stylesheets/md5sum.xsl \
222- $(RENDERTMP)/sysv-md5sum.xml
230+ $(BOOKdir)/stylesheets/md5sum.xsl \
231+ $(RENDERTMP)/md5sum.xml
223232 sed -i -e \
224233 "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.xz | cut -d' ' -f1)/" \
225234 $(BASEDIR)/md5sums
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -698,7 +698,8 @@ book: validate profile-html
698698 -i $$filename; \
699699 done;
700700
701- $(MAKE) --no-print-directory $(BASEDIR)/wget-list $(BASEDIR)/md5sums
701+# $(MAKE) --no-print-directory $(BASEDIR)/wget-list $(BASEDIR)/md5sums
702+ $(MAKE) --no-print-directory wget-list md5sums
702703
703704 @TXT@nochunks: validate profile-html
704705 @TXT@ @echo "Generating non chunked XHTML file..."
@@ -786,20 +787,28 @@ profile-html: validate $(ALLXML)
786787 --output $(RENDERTMP)/lfs-html.xml stylesheets/lfs-xsl/profile.xsl \
787788 $(RENDERTMP)/lfs-full.xml
788789
789-wget-list: $(BASEDIR)/wget-list
790+wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV)
790791 $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
791792 packages.ent patches.ent general.ent
792793 @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
793794 $(MKDIR_P) $(BASEDIR)
794-# $(XSLTPROC) --nonet --xinclude \
795-# --stringparam profile.revision $(REV) \
796-# --output $(RENDERTMP)/sysd-wget.xml \
797-# $(BOOKdir)/stylesheets/lfs-xsl/profile.xsl \
798-# ./chapter03/chapter03.xml
799795 $(XSLTPROC) --xinclude --nonet \
800796 --output $(BASEDIR)/wget-list \
801797 $(BOOKdir)/stylesheets/wget-list.xsl \
802- ./chapter03/chapter03.xml
798+ $(BOOKdir)/chapter03/chapter03.xml
799+
800+$(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \
801+ chapter03/chapter03.xml \
802+ packages.ent patches.ent general.ent
803+ $(Q)xsltproc --nonet --xinclude \
804+ --stringparam profile.revision $(REV) \
805+ --output $(RENDERTMP)/wget-list.xml \
806+ $(BOOKdir)/stylesheets/lfs-xsl/profile.xsl \
807+ $(BOOKdir)/chapter03/chapter03.xml
808+ $(Q)xsltproc --xinclude --nonet \
809+ --output $(BASEDIR)/wget-list-$(REV) \
810+ $(BOOKdir)/stylesheets/wget-list.xsl \
811+ $(RENDERTMP)/wget-list.xml
803812
804813 md5sums: $(BASEDIR)/md5sums
805814 $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml packages.ent patches.ent $(srcdir)/general.ch
@@ -807,13 +816,13 @@ $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml packages.e
807816 $(MKDIR_P) $(BASEDIR)
808817 $(XSLTPROC) --nonet --xinclude \
809818 --stringparam profile.revision $(REV) \
810- --output $(RENDERTMP)/sysv-md5sum.xml \
811- stylesheets/lfs-xsl/profile.xsl \
812- chapter03/chapter03.xml
819+ --output $(RENDERTMP)/md5sum.xml \
820+ $(BOOKdir)/stylesheets/lfs-xsl/profile.xsl \
821+ $(BOOKdir)/chapter03/chapter03.xml
813822 $(XSLTPROC) --xinclude --nonet \
814823 --output $(BASEDIR)/md5sums \
815- stylesheets/md5sum.xsl \
816- $(RENDERTMP)/sysv-md5sum.xml
824+ $(BOOKdir)/stylesheets/md5sum.xsl \
825+ $(RENDERTMP)/md5sum.xml
817826 sed -i -e \
818827 "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.xz | cut -d' ' -f1)/" \
819828 $(BASEDIR)/md5sums
--- a/src/appendices/dependencies.ch
+++ b/src/appendices/dependencies.ch
@@ -234,9 +234,9 @@
234234
235235 %----------------------------------------------------------------------
236236 @x bc
237- <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, and Make</seg>
237+ <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Readline</seg>
238238 @y
239- <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make</seg>
239+ <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Readline</seg>
240240 @z
241241 @x
242242 <seg>Glibc, Ncurses, and Readline</seg>
@@ -2057,9 +2057,9 @@
20572057 <seg>テストスイートはありません</seg>
20582058 @z
20592059 @x
2060- <seg>Bash and Gawk</seg>
2060+ <seg>Bash, Bc, and Gawk</seg>
20612061 @y
2062- <seg>Bash, Gawk</seg>
2062+ <seg>Bash, Bc, Gawk</seg>
20632063 @z
20642064 @x
20652065 <seg>None</seg>
--- a/src/chapter01/jchangelog.ch
+++ b/src/chapter01/jchangelog.ch
@@ -50,6 +50,17 @@
5050
5151 -->
5252 <listitem>
53+ <para>2022-06-25</para>
54+ <itemizedlist>
55+ <listitem>
56+ <para>[matsuand] -
57+ r11.1-142 (<ulink url="&lfs-changeset;bfc649552">bfc649552</ulink>) までの対応。
58+ </para>
59+ </listitem>
60+ </itemizedlist>
61+ </listitem>
62+
63+ <listitem>
5364 <para>2022-06-16</para>
5465 <itemizedlist>
5566 <listitem>
--- a/src/chapter03/introduction.ch
+++ b/src/chapter03/introduction.ch
@@ -161,26 +161,26 @@
161161
162162 @x
163163 <para>To download all of the packages and patches by using
164- <ulink url="../wget-list">wget-list</ulink> as an input to the
165- <command>wget</command> command, use:</para>
164+ <ulink url="../&wget-list;">&wget-list;</ulink>
165+ as an input to the <command>wget</command> command, use:</para>
166166 @y
167167 <para>
168168 パッケージとパッチのダウンロードを行うため <ulink
169- url="../wget-list">wget-list</ulink> を利用することにします。
169+ url="../&wget-list;">wget-list</ulink> を利用することにします。
170170 これは以下のように <command>wget</command> コマンドの入力引数に指定します。
171171 </para>
172172 @z
173173
174174 @x
175-<screen role="nodump"><userinput>wget --input-file=wget-list --continue --directory-prefix=$LFS/sources</userinput></screen>
175+<screen role="nodump"><userinput>wget --input-file=&wget-list; --continue --directory-prefix=$LFS/sources</userinput></screen>
176176 @y
177-<screen role="nodump"><userinput>wget --input-file=wget-list --continue --directory-prefix=$LFS/sources</userinput></screen>
177+<screen role="nodump"><userinput>wget --input-file=&wget-list; --continue --directory-prefix=$LFS/sources</userinput></screen>
178178
179179 <note>
180180 <title>日本語訳情報</title>
181181 <para>
182182 オリジナルの LFS ブックでは、<ulink
183-url="../wget-list">wget-list</ulink> 内に含まれる、各種パッケージの入手 URL が主に米国サイトとなっています。
183+url="../&wget-list;">wget-list</ulink> 内に含まれる、各種パッケージの入手 URL が主に米国サイトとなっています。
184184 一方、日本国内にて作業する方であれば、例えば GNU のパッケージ類は国内に数多くのミラーサイトが存在するため、そちらから取得するのが適切でしょう。
185185 これはネットワークリソースを利用する際のマナーとも言えるものです。
186186 堅苦しい話をするつもりはありません。
@@ -189,10 +189,10 @@ url="../wget-list">wget-list</ulink> 内に含まれる、各種パッケージ
189189 </para>
190190 <para>
191191 国内から入手可能なものは国内から入手することを目指し、訳者は以下の手順により <ulink
192-url="../wget-list">wget-list</ulink> を書き換えて利用しています。
192+url="../&wget-list;">wget-list</ulink> を書き換えて利用しています。
193193 一例として国内には理化学研究所のサイト (ftp.riken.jp) があります。
194194 そこでは GNU パッケージ類がミラー提供されています。
195-そこで <ulink url="../wget-list">wget-list</ulink> にて ftp.gnu.org を指し示している URL を ftp.riken.jp に置き換えます。
195+そこで <ulink url="../&wget-list;">wget-list</ulink> にて ftp.gnu.org を指し示している URL を ftp.riken.jp に置き換えます。
196196 また同じ方法で Linux カーネル、<application>Perl</application>、<application>Vim</application> の入手先も変更します。
197197 </para>
198198
@@ -202,7 +202,7 @@ s|https://www\.kernel\.org/pub/linux/|http://ftp.riken.jp/Linux/kernel.org/linux
202202 s|www\.cpan\.org|ftp.riken.jp/lang/CPAN|g
203203 s|ftp\.vim\.org|ftp.jp.vim.org|g</literal>
204204 EOF
205-sed -f wl.sed -i.orig wget-list
205+sed -f wl.sed -i.orig &wget-list;
206206 rm wl.sed</userinput></screen>
207207
208208 <para>
@@ -217,8 +217,8 @@ rm wl.sed</userinput></screen>
217217 その場合にはパッケージ取得に失敗してしまいます。
218218 そこで wget-list と wget-list.orig を順に利用し、かつ <application>wget</application> コマンドにて -N オプションを使って (取得済のものはスキップするようにして) 以下のコマンドを実行すれば、確実にすべてのパッケージを入手することができます。
219219 </para>
220-<screen role="nodump"><userinput remap="sed-wgetlist">wget -N --input-file=wget-list --continue --directory-prefix=$LFS/sources
221-wget -N --input-file=wget-list.orig --continue --directory-prefix=$LFS/sources</userinput></screen>
220+<screen role="nodump"><userinput remap="sed-wgetlist">wget -N --input-file=&wget-list; --continue --directory-prefix=$LFS/sources
221+wget -N --input-file=&wget-list;.orig --continue --directory-prefix=$LFS/sources</userinput></screen>
222222
223223 </note>
224224
--- a/src/chapter08/bc.ch
+++ b/src/chapter08/bc.ch
@@ -44,6 +44,15 @@
4444 </para>
4545 @z
4646
47+@x -G
48+ <para>Omit parts of the test suite that won't work
49+ without a GNU bc present.</para>
50+@y
51+ <para>
52+ GNU bc が存在していない状態では動作しないテストスイートを省略します。
53+ </para>
54+@z
55+
4756 @x -O3
4857 <para>Specify the optimization to use.</para>
4958 @y
@@ -52,12 +61,12 @@
5261 </para>
5362 @z
5463
55-@x -G
56- <para>Omit parts of the test suite that won't work
57- without a GNU bc present.</para>
64+@x -r
65+ <para>Enable the use of <application>Readline</application> to
66+ improve the line editing feature of bc.</para>
5867 @y
5968 <para>
60- GNU bc が存在していない状態では動作しないテストスイートを省略します。
69+ bc における行編集機能を拡張するために <application>Readline</application> 利用を有効にします。
6170 </para>
6271 @z
6372
--- a/src/chapter08/binutils.ch
+++ b/src/chapter08/binutils.ch
@@ -200,27 +200,12 @@
200200 @z
201201
202202 @x
203- <para>Four tests related to zlib are known to fail.</para>
203+ <para>One gold test, <filename>pr17704a_test</filename>, is known to
204+ fail if <parameter>CONFIG_IA32_EMULATION</parameter> is disabled in the
205+ kernel configuration of the host system.</para>
204206 @y
205207 <para>
206- zlib に関するテストが 4 つ失敗します。
207- </para>
208-@z
209-
210-%@x
211-% <para>Seven gold tests are known to fail with gcc-11.1.0</para>
212-%@y
213-% <para>
214-% 7 つの gold テストが gcc-11.1.0 を用いると失敗します。
215-% </para>
216-%@z
217-
218-@x
219- <para>Four ld tests named <quote>Run property ...</quote> are known to
220- fail.</para>
221-@y
222- <para>
223- <quote>Run property ...</quote>と名づけられている 4 つの ld テストが失敗します。
208+ ホストシステム上のカーネル設定 <parameter>CONFIG_IA32_EMULATION</parameter> が無効である場合に gold テストの一つ、<filename>pr17704a_test</filename> というものが失敗します。
224209 </para>
225210 @z
226211
--- a/src/chapter08/glibc.ch
+++ b/src/chapter08/glibc.ch
@@ -227,16 +227,28 @@
227227 @z
228228
229229 @x
230- <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis>
231- test is known to fail on relatively slow systems due to an internal
230+ <para>Some tests, for example
231+ <emphasis>nss/tst-nss-files-hosts-multi</emphasis>,
232+ are known to fail on relatively slow systems due to an internal
232233 timeout.</para>
233234 @y
234235 <para>
235- <emphasis>nss/tst-nss-files-hosts-multi</emphasis> テストは、内部のタイムアウトが原因で比較的遅くなるシステム上では失敗します。
236+ <emphasis>nss/tst-nss-files-hosts-multi</emphasis> のようなテストでは、内部のタイムアウトが原因で比較的遅くなるシステム上では失敗します。
236237 </para>
237238 @z
238239
239240 @x
241+ <para>About 27 tests, for example <emphasis>elf/tst-pldd</emphasis>,
242+ are known to fail if the kernel supports namespaces (see
243+ <filename>namespaces(7)</filename> for details) but the host distro
244+ has disabled them via sysctl.</para>
245+@y
246+ <para>
247+ カーネルが名前空間をサポートしている場合(詳細は <filename>namespaces(7)</filename> 参照)であっても、ホストディストリビューションにおいて sysctl を通じて無効となっている場合には、27 個ほどのテスト、たとえば <emphasis>elf/tst-pldd</emphasis> が失敗します。
248+ </para>
249+@z
250+
251+@x
240252 <para>The <emphasis>rt/tst-cputimer{1,2,3}</emphasis> tests depend on
241253 the host system kernel. Kernels 4.14.91&ndash;4.14.96,
242254 4.19.13&ndash;4.19.18, and 4.20.0&ndash;4.20.5 are known to
--- a/src/chapter08/grep.ch
+++ b/src/chapter08/grep.ch
@@ -72,18 +72,22 @@
7272 @z
7373
7474 @x egrep
75- <para>Prints lines matching an extended regular expression</para>
75+ <para>Prints lines matching an extended regular expression.
76+ It is obsoleted, use <command>grep -E</command> instead</para>
7677 @y
7778 <para>
7879 拡張正規表現 (extended regular expression) にマッチした行を表示します。
80+ これは非推奨となっているため、代わりに <command>grep -E</command> を使ってください。
7981 </para>
8082 @z
8183
8284 @x fgrep
83- <para>Prints lines matching a list of fixed strings</para>
85+ <para>Prints lines matching a list of fixed strings.
86+ It is obsoleted, use <command>grep -F</command> instead</para>
8487 @y
8588 <para>
8689 固定文字列の一覧にマッチした行を表示します。
90+ これは非推奨となっているため、代わりに <command>grep -F</command> を使ってください。
8791 </para>
8892 @z
8993
--- a/src/chapter08/openssl.ch
+++ b/src/chapter08/openssl.ch
@@ -163,11 +163,15 @@
163163 @z
164164
165165 @x c_rehash
166- is a <application>Perl</application> script that scans all files in
167- a directory and adds symbolic links to their hash values
166+ is a <application>Perl</application> script that
167+ scans all files in a directory and adds symbolic links to their
168+ hash values. Use of <command>c_rehash</command> is considered
169+ obsolete and should be replaced by
170+ <command>openssl rehash</command> command
168171 @y
169172 ディレクトリ内のすべてのファイルをスキャンする <application>Perl</application> スクリプト。
170173 それらのファイルに対するハッシュ値へのシンボリックリンクを生成します。
174+ <command>c_rehash</command> の利用は非推奨と考えられており、この代わりに <command>openssl rehash</command> コマンドを使ってください。
171175 @z
172176
173177 @x openssl
--- a/src/general.ch
+++ b/src/general.ch
@@ -47,9 +47,9 @@
4747 <!ENTITY copyrightdate "%crdate;">
4848 ]]>
4949
50-<!ENTITY jversion "20220616">
51-<!ENTITY jversiond "20220616">
52-<!ENTITY jcorrespondSHA "c7b29be1c"> <!-- lfs-git SHA 値; 本箇所での記載のみ -->
50+<!ENTITY jversion "20220625">
51+<!ENTITY jversiond "20220625">
52+<!ENTITY jcorrespondSHA "bfc649552"> <!-- lfs-git SHA 値; 本箇所での記載のみ -->
5353 <!ENTITY dir-jversion "git-ja">
5454 <!ENTITY dir-jversiond "git-sysdja">
5555 @z
--- a/version.ac
+++ b/version.ac
@@ -2,4 +2,4 @@ dnl
22 dnl This is part of LFSbookja package.
33 dnl
44 dnl m4-include this file to define the current LFS version
5-m4_define([lfs_version], [r11.1-135])
5+m4_define([lfs_version], [r11.1-142])
Show on old repository browser