OSDN Git Service

[lfsja-git] r10.1-143 対応。
authormatsuand <30614168+matsuand@users.noreply.github.com>
Tue, 27 Jul 2021 01:25:01 +0000 (10:25 +0900)
committermatsuand <30614168+matsuand@users.noreply.github.com>
Tue, 27 Jul 2021 01:25:01 +0000 (10:25 +0900)
configure
src/chapter01/changelog.ch
src/chapter01/jchangelog.ch
src/chapter08/binutils.ch
src/chapter08/pkgmgt.ch
src/chapter08/shadow.ch
src/chapter08/strippingagain.ch
src/general.ch
version.ac

index 0e06cf2..1507575 100755 (executable)
--- a/configure
+++ b/configure
@@ -4720,7 +4720,7 @@ fi
 
 
 
-TARGETVER=r10.1-139
+TARGETVER=r10.1-143
 
 (cd ${bookdir} && sh git-version.sh)
 if test -f ${bookdir}/version.ent; then
index da8ca95..6acd8eb 100644 (file)
 @z
 
 @x
+      <para>2021-07-26</para>
+      <itemizedlist>
+        <listitem>
+          <para>[thomas] - Fix a programming error in shadow-4.9</para>
+        </listitem>
+      </itemizedlist>
+@y
+      <para>2021-07-26</para>
+      <itemizedlist>
+        <listitem>
+          <para>[thomas] - shadow-4.9 のプログラムエラーを修正。</para>
+        </listitem>
+      </itemizedlist>
+@z
+
+@x
+      <para>2021-07-25</para>
+      <itemizedlist>
+        <listitem>
+          <para>[xry111] - (Hopefully) complete stripping workaround.</para>
+        </listitem>
+      </itemizedlist>
+@y
+      <para>2021-07-25</para>
+      <itemizedlist>
+        <listitem>
+          <para>[xry111] - ストリップ処理を (おそらく) 完璧なものに。</para>
+        </listitem>
+      </itemizedlist>
+@z
+
+@x
+      <para>2021-07-25</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add workaround to strip libraries 
+          correctly.</para>
+        </listitem>
+        <listitem>
+          <para>[xry111] - Add workaround to install Binutils-2.37 man pages
+          correctly.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to shadow-4.9. Fixes
+          <ulink url="&lfs-ticket-root;4891">#4891</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to util-linux 2.37.1. Fixes
+          <ulink url="&lfs-ticket-root;4890">#4890</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+@y
+      <para>2021-07-25</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - ライブラリを正しくストリップするための回避策を追加。</para>
+        </listitem>
+        <listitem>
+          <para>[xry111] - Binutils-2.37 の man ページを正しくインストールするための回避策を追加。</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - shadow-4.9 へのアップデート。
+          <ulink url="&lfs-ticket-root;4891">#4891</ulink> を Fix に。</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - util-linux 2.37.1 へのアップデート。
+          <ulink url="&lfs-ticket-root;4890">#4890</ulink> を Fix に。</para>
+        </listitem>
+      </itemizedlist>
+@z
+
+@x
       <para>2021-07-23</para>
       <itemizedlist>
         <listitem revision="systemd">
index 4f9a256..16d13d3 100644 (file)
 
 -->
    <listitem>
+      <para>2021-07-27</para>
+      <itemizedlist>
+        <listitem>
+          <para>[matsuand] -
+          r10.1-143 (<ulink url="&lfs-changeset;6d6f24202">6d6f24202</ulink>) までの対応。
+          </para>
+        </listitem>
+      </itemizedlist>
+   </listitem>
+
+   <listitem>
       <para>2021-07-24</para>
       <itemizedlist>
         <listitem>
index c3244d8..9a735ca 100644 (file)
 @z
 
 @x
+    <para>An error in the building system causes the shipped man pages to
+    be empty.  Workaround the issue and remove the shipped man pages, so the
+    man pages will be regenerated correctly:</para>
+@y
+    <para>
+    ビルドシステムに誤りがあって、同梱されている man ページが空になっています。
+    これを解消するため、一度 man ページを削除して、man ページを正しく再生成するようにします。
+    </para>
+@z
+
+@x
     <para>Now remove one test that prevents the tests from running
     to completion:</para>
 @y
index 7a123d9..c4e12f6 100644 (file)
 @z
 
 @x
+        <para>If a binary or a shared library is overwrote, the processes
+        using the code or data in the binary or library may crash.  The
+        correct way to update a binary or a shared library without causing
+        the process to crash is: remove it first, then install the new
+        version into position. The <command>install</command> command
+        provided by <application>Coreutils</application> has already
+        implemented this and most packages use it to install binaries and
+        libraries.  So you won't be troubled by this issue most of the time.
+        However, the install process of some packages (notably Mozilla JS
+        in BLFS) just overwrites the file if it exists and causes crash, so
+        it's safer to save your work and close unneeded running processes
+        before updating a package.</para>
+@y
+        <para>
+        バイナリや共有ライブラリが上書きされると、そのバイナリや共有バイナリ内のコードやデータを利用するプロセスがクラッシュすることがあります。
+        プロセスがクラッシュしないように、バイナリや共有ライブラリを正しく更新する方法は、まず初めに削除を行ってから、新たなものをそこにインストールすることです。
+        <application>Coreutils</application> が提供する <command>install</command> コマンドは、すでにこの処理が実装されているため、たいていのパッケージにおいて、バイナリやライブラリのインストールに利用されています。
+        したがってそのような問題に悩まされることは、これまでほとんどなかったはずです。
+        しかしパッケージの中には (特に BLFS にある Mozilla JS など)、すでにあるファイルを上書きする方式をとっているため、クラッシュするものがあります。
+        そこでパッケージ更新の前には、それまでの作業を保存して、不要な起動プロセスは停止することが安全です。
+        </para>
+@z
+
+@x
     <title>Package Management Techniques</title>
 @y
     <title>パッケージ管理手法</title>
index 445e62f..8ebeceb 100644 (file)
 @z
 
 @x
+    <para>Fix a simple programming error by modifying a file with following command:</para>
+@y
+    <para>
+    1 つのファイルにおいて単純なプログラミングエラーがあるため、これを修正するために以下のコマンドを実行します。
+    </para>
+@z
+
+@x
     <para>Prepare Shadow for compilation:</para>
 @y
     <para>&PreparePackage1;Shadow&PreparePackage2;</para>
index 1a49d4e..09b5c3c 100644 (file)
 @z
 
 @x
-  <para>First place the debugging symbols for selected libraries 
-  in separate files.  This debugging information is needed if running 
+  <para>The debugging symbols for selected libraries are placed
+  in separate files.  These debugging information is needed if running 
   regression tests that use <ulink 
   url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink 
   url='&blfs-book;/general/gdb.html'>gdb</ulink> later in BLFS.
   </para>
 @y
   <para>
-  ã\81¾ã\81\9aã\81¯ã\83©ã\82¤ã\83\96ã\83©ã\83ªã\81®ã\81\84ã\81\8fã\81¤ã\81\8bã\81«ã\81¤ã\81\84ã\81¦デバッグシンボルを持つような別ファイルを生成します。
+  ã\83©ã\82¤ã\83\96ã\83©ã\83ªã\81®ã\81\84ã\81\8fã\81¤ã\81\8bã\81«ã\81¤ã\81\84ã\81¦ã\80\81デバッグシンボルを持つような別ファイルを生成します。
   このデバッグ情報を必要とするのは BLFS における <ulink 
   url='&blfs-book;/general/valgrind.html'>valgrind</ulink> または <ulink 
   url='&blfs-book;/general/gdb.html'>gdb</ulink> の縮退テストを実施するのに必要であるからです。
   </para>
 @z
 
-%@x
-%  <para>Before performing the stripping, take special care to ensure that
-%  none of the binaries that are about to be stripped are running:</para>
-%@y
-%  <para>
-%  ストリップを実行する前には、ストリップしようとしている実行ファイルが実行中でないことを十分確認してください。
-%  </para>
-%@z
-
 @x
-  <para>Now the binaries and libraries can be stripped:</para>
+  <para>And, <command>strip</command> will overwrite the binary or library
+  file.  This may crash the processes using code or data from the file.  If
+  the process running <command>strip</command> itself is affected, the
+  binary or library being stripped may be destroyed.  This may make the
+  system completely unusable.  To avoid it, we'll copy some libraries and
+  binaries into <filename class="directory">/tmp</filename>, strip them
+  there, and install them back with the <command>install</command> command.
+  Read the related entry in <xref linkend="pkgmgmt-upgrade-issues"/> for the
+  rationale to use the <command>install</command> command here.</para>
 @y
-  <para>以下により実行バイナリやライブラリをストリップします。</para>
+  <para>
+  なお <command>strip</command> はバイナリファイルやライブラリファイルを上書きします。
+  そのファイルにあるコードやデータを利用しているプロセスは、これによってクラッシュすることがあります。
+  仮に <command>strip</command> 自体を実行しているプロセスがその影響を受けたとすると、ストリップ最中のバイナリやライブラリは壊れてしまうかもしれません。
+  これが起きると、システムが完全に利用不能となりかねません。
+  これを避けるため、ライブラリやバイナリのいくつかを <filename
+  class="directory">/tmp</filename> にコピーして、そこでストリップした上で、<command>install</command> コマンドを使って、元の場所にインストールし直すことにします。
+  ここで <command>install</command> コマンドを利用する意味については、<xref
+  linkend="pkgmgmt-upgrade-issues"/> に示す関連項目を参照してください。
+  </para>
 @z
 
 @x
index bf147f2..2a75092 100644 (file)
@@ -24,9 +24,9 @@
 <!ENTITY releasedate     "August 26th, 2021">
 <!ENTITY copyrightdate   "1999-2021">
 -->
-<!ENTITY jversion        "20210724">
-<!ENTITY jversiond       "20210724">
-<!ENTITY jcorrespondSHA  "9f8475219"> <!-- lfs-git SHA 値; 本箇所での記載のみ -->
+<!ENTITY jversion        "20210727">
+<!ENTITY jversiond       "20210727">
+<!ENTITY jcorrespondSHA  "6d6f24202"> <!-- lfs-git SHA 値; 本箇所での記載のみ -->
 <!ENTITY dir-jversion    "git-ja">
 <!ENTITY dir-jversiond   "git-sysdja">
 @z
index 4e2db2e..9725130 100644 (file)
@@ -2,5 +2,5 @@ dnl
 dnl  This is part of LFSbookja package.
 dnl 
 dnl m4-include this file to define the current LFS version
-m4_define([lfs_version], [r10.1-139])
-m4_define([lfsd_version], [r10.1-139-systemd])
+m4_define([lfs_version], [r10.1-143])
+m4_define([lfsd_version], [r10.1-143-systemd])