OSDN Git Service

[lfsja-git] r12.0-28 対応。
authormatsuand <30614168+matsuand@users.noreply.github.com>
Mon, 11 Sep 2023 12:14:28 +0000 (21:14 +0900)
committermatsuand <30614168+matsuand@users.noreply.github.com>
Mon, 11 Sep 2023 12:14:28 +0000 (21:14 +0900)
18 files changed:
configure
src/appendices/dependencies.ch
src/chapter01/changelog.ch
src/chapter01/jchangelog.ch
src/chapter01/whatsnew.ch
src/chapter06/binutils-pass2.ch
src/chapter07/perl.ch
src/chapter08/gmp.ch
src/chapter08/libelf.ch
src/chapter08/mpc.ch
src/chapter08/mpfr.ch
src/chapter08/perl.ch
src/chapter08/pkgconf.ch
src/chapter08/python.ch
src/chapter08/util-linux.ch
src/general.ch
src/part3intro/generalinstructions.ch
version.ac

index d008e06..891bc1d 100755 (executable)
--- a/configure
+++ b/configure
@@ -4737,7 +4737,7 @@ fi
 
 
 
-TARGETVER=r12.0-10
+TARGETVER=r12.0-28
 if test "x$revspec" = "xsystemd"; then
   TARGETVER="$TARGETVER-systemd"
 fi
index 33c9d56..851f508 100644 (file)
 %----------------------------------------------------------------------
 @x binutils
           <seg>Bash, Binutils, Coreutils, Diffutils, File, Flex, Gawk, GCC,
-          Glibc, Grep, Make, Perl, Sed, Texinfo, and Zlib</seg>
+          Glibc, Grep, Make, Perl, Pkgconf, Sed, Texinfo, Zlib, and
+          Zstd</seg>
 @y
           <seg>Bash, Binutils, Coreutils, Diffutils, File, Flex, Gawk, GCC,
-          Glibc, Grep, Make, Perl, Sed, Texinfo, Zlib</seg>
+          Glibc, Grep, Make, Perl, Pkgconf, Sed, Texinfo, Zlib,
+          Zstd</seg>
 @z
 @x
-          <seg>Glibc and Zlib</seg>
+          <seg>Glibc, Zlib, and Zstd</seg>
 @y
-          <seg>Glibc, Zlib</seg>
+          <seg>Glibc, Zlib, Zstd</seg>
 @z
 @x
           <seg>DejaGNU and Expect</seg>
 @z
 @x
             <ulink url='&github;/testing-cabal/subunit'>libsubunit</ulink>
+            and
+            <ulink url='http://cyberelk.net/tim/software/patchutils/'>
+              patchutils</ulink>
 @y
-            <ulink url='&github;/testing-cabal/subunit'>libsubunit</ulink>
+            <ulink url='&github;/testing-cabal/subunit'>libsubunit</ulink>,
+            <ulink url='http://cyberelk.net/tim/software/patchutils/'>
+              patchutils</ulink>
 @z
 
 %----------------------------------------------------------------------
           <seg>なし</seg>
 @z
 @x
-          <seg><phrase revision='systemd'>D-Bus, </phrase>E2fsprogs,
+          <seg>Binutils,
+          <phrase revision='systemd'>D-Bus, </phrase>E2fsprogs,
           IProute2, Kmod, Man-DB, Procps-ng, Python,
           &systemd-udev;, and Util-linux</seg>
 @y
-          <seg><phrase revision='systemd'>D-Bus, </phrase>E2fsprogs,
+          <seg>Binutils,
+          <phrase revision='systemd'>D-Bus, </phrase>E2fsprogs,
           IProute2, Kmod, Man-DB, Procps-ng, Python,
           &systemd-udev;, Util-linux</seg>
 @z
           <seg>なし</seg>
 @z
 @x
-          <seg>GCC, Libelf, and &systemd-udev;</seg>
+          <seg>Binutils, GCC, Libelf, and &systemd-udev;</seg>
 @y
-          <seg>GCC, Libelf, &systemd-udev;</seg>
+          <seg>Binutils, GCC, Libelf, &systemd-udev;</seg>
 @z
 @x
           <seg>
index 93ac821..22a32b9 100644 (file)
 @z
 
 @x
+      <para>2023-09-07</para>
+      <itemizedlist>
+        <listitem>
+          <para>[xry111] - Fix an issue in pkgconf-2.0.3 causing
+          BLFS packages fail to build.  Fixes
+          <ulink url='&lfs-ticket-root;5341'>#5341</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+@y
+      <para>2023-09-07</para>
+      <itemizedlist>
+        <listitem>
+          <para>[xry111] - pkgconf-2.0.3 が BLFS パッケージのビルド失敗を招くため修正。
+          <ulink url='&lfs-ticket-root;5341'>#5341</ulink> を Fix に。</para>
+        </listitem>
+      </itemizedlist>
+@z
+
+@x
+      <para>2023-09-05</para>
+      <itemizedlist>
+        <listitem>
+           <para>[xry111] - Move pkgconf before binutils for binutils
+           building system to detect zstd properly.  Fixes
+           <ulink url='&lfs-ticket-root;5340'>#5340</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[xry111] - Update to linux-6.5.1.  Fixes
+          <ulink url='&lfs-ticket-root;5332'>#5332</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[xry111] - Update to pkgconf-2.0.3.  Fixes
+          <ulink url='&lfs-ticket-root;5339'>#5339</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[xry111] - Update to dbus-1.14.10.  Fixes
+          <ulink url='&lfs-ticket-root;5337'>#5337</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+@y
+      <para>2023-09-05</para>
+      <itemizedlist>
+        <listitem>
+           <para>[xry111] - binutils によるシステムビルドにて zstd を適切に検出できるように、binutils ビルドの前に pkgconf を移動。
+           <ulink url='&lfs-ticket-root;5340'>#5340</ulink> を Fix に。</para>
+        </listitem>
+        <listitem>
+          <para>[xry111] - linux-6.5.1 へのアップデート。
+          <ulink url='&lfs-ticket-root;5332'>#5332</ulink> を Fix に。</para>
+        </listitem>
+        <listitem>
+          <para>[xry111] - pkgconf-2.0.3 へのアップデート。
+          <ulink url='&lfs-ticket-root;5339'>#5339</ulink> を Fix に。</para>
+        </listitem>
+        <listitem>
+          <para>[xry111] - dbus-1.14.10 へのアップデート。
+          <ulink url='&lfs-ticket-root;5337'>#5337</ulink> を Fix に。</para>
+        </listitem>
+      </itemizedlist>
+@z
+
+@x
+      <para>2023-09-04</para>
+      <itemizedlist>
+        <listitem>
+           <para>[bdubbs] - Move caution regarding building by mixing
+           different version of LFS to General Compilation Instructions. Fixes
+           <ulink url='&lfs-ticket-root;5338'>#5338</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+@y
+      <para>2023-09-04</para>
+      <itemizedlist>
+        <listitem>
+           <para>[bdubbs] - バージョンが異なる LFS ブックの手順を混在させてビルドしてしまった場合の注意説明を、全般的なコンパイル手順の項へ移動。
+           <ulink url='&lfs-ticket-root;5338'>#5338</ulink> を Fix に。</para>
+        </listitem>
+      </itemizedlist>
+@z
+
+@x
       <para>2023-09-02</para>
       <itemizedlist>
         <listitem>
index 3c6b3c1..6cc38ef 100644 (file)
 
 -->
    <listitem>
+      <para>2023-09-11</para>
+      <itemizedlist>
+        <listitem>
+          <para>[matsuand] -
+          r12.0-28 (<ulink url="&lfs-changeset;cb6fcea9b">cb6fcea9b</ulink>) までの対応。
+          </para>
+        </listitem>
+      </itemizedlist>
+   </listitem>
+
+   <listitem>
       <para>2023-09-03</para>
       <itemizedlist>
         <listitem>
index 20a5445..b7ab958 100644 (file)
 @z
 
 @x
-      During a development cycle of LFS, the instructions in the book is
-      often modified to adapt for a package update or take the advantage of
-      new features from updated packages.  Mixing up the instructions of
-      different versions of the LFS book can cause subtle breakages.  This
-      kind of issue is generally a result from reusing some script created
-      for a prior LFS release.  Such a reuse is strongly discouraged.  If
-      you are reusing scripts for a prior LFS release for any reason, you'll
-      need to be very careful to update the scripts to match current version
-      of the LFS book.
-@y
-      LFS を開発してきた中では、パッケージの更新やそれに伴う新機能に適応するために、本書内の手順を順次修正しています。
-      LFS ブックのバージョンが異なっているにもかかわらず、その手順を混同してしまうと、些細なエラーにつながります。
-      こういった問題は、一般的には LFS ブックの前バージョンに対して作り出したスクリプトを、そのまま再利用した結果として起こります。
-      スクリプトの再利用は是非行わないでください。
-      仮に何らかの理由があって前バージョン向けのスクリプトを再利用する場合であっても、最新バージョンの LFS ブック向けにそのスクリプトの更新を十分確認して行ってください。
-@z
-
-@x
-  <para>In the 12.0 release, <parameter>- -disable-fixincludes</parameter>
-  is set for GCC.  It's a configure switch newly added in GCC 13.1 to
-  prevent GCC from <quote>fixing</quote> the system headers.  Such a
-  <quote>fix</quote> is unnecessary for a modern Linux system and may cause
-  issues if a package is updated after installing GCC.</para>
-@y
-  <para>
-  バージョン 12.0 のリリースにおいて GCC に対して <parameter>- -disable-fixincludes</parameter> をセットするようにしました。
-  これは GCC 13.1 において新たに追加された configure スイッチであり、GCC がシステムヘッダーを<quote>固定</quote>しないようにするものです。
-  このような<quote>固定</quote>は、最近の Linux システムにおいては不要であり、GCC のインストール後に特定パッケージを更新する際に、問題を引き起こす可能性があります。
-  </para>
-@z
-
-@x
   <para>Here is a list of the packages updated since the previous
   release of LFS.</para>
 @y
index 9166b4b..0eb36cb 100644 (file)
 @z
 
 @x
-    <para>Binutils ships an outdated copy of libtool in the tarball.  It lacks
-    sysroot support, so the produced binaries will be mistakenly linked to
-    libraries from the host distro.  Work around this issue:</para>
+    <para>Binutils building system relies on an shipped libtool copy to link against
+    internal static libraries, but the libiberty and zlib copies shipped
+    in the package do not use libtool.  This inconsistency may cause
+    produced binaries mistakenly linked against libraries from the host
+    distro.  Work around this issue:</para>
 @y
     <para>
-    Binutils の tarball では、古い libtool のコピーが提供されています。
-    これは sysroot サポートが行われていないので、ビルドされるバイナリが誤ってホストディストロのライブラリにリンクされてしまいます。
-    この問題を以下により回避します。
+    Binutils によるビルドシステムでは、内部的なスタティックライブラリにリンクさせる libtool は、内部にコピーしたバージョンを用いています。
+    しかしこのパッケージが提供する内部コピーバージョンである libiverty と zlib は、その libtool を利用していません。
+    このような不整合があるため、生成されるバイナリが誤ってホスト内のライブラリにリンクされてしまう場合があります。
+    これを回避するために以下を実行します。
     </para>
 @z
 
index 0760c84..dccc0bc 100644 (file)
@@ -28,7 +28,7 @@
 @z
 
 @x
-      <title>The meaning of the new Configure options:</title>
+      <title>The meaning of the Configure options:</title>
 @y
       <title>&MeaningOfOption1;configure&MeaningOfOption2;</title>
 @z
           </para>
 @z
 
-%@x
-%          <parameter>-Uloclibpth</parameter> and
-%          <parameter>-Ulocincpth</parameter>
-%@y
-%          <parameter>-Uloclibpth</parameter> と
-%          <parameter>-Ulocincpth</parameter>
-%@z
-%@x
-%          <para>These entries undefine variables that cause the configuration
-%          to search for locally installed components that may exist on the
-%          host system.</para>
-%@y
-%          <para>
-%          この指定は所定の変数定義を無効にします。
-%          これにより、ホストシステム上にインストールされたコンポーネントが存在していても、それを用いないようにします。
-%          </para>
-%@z
+@x -Dvendorprefix=/usr
+          <para>This ensures <command>perl</command> knows how to
+          tell packages where they should install their Perl modules.</para>
+@y
+          <para>
+          これは <command>perl</command> に対して、Perl モジュールをどこにインストールするのかを指示するものです。
+          </para>
+@z
+
+@x -Duseshrplib
+          <para>Build <systemitem class='library'>libperl</systemitem>
+          needed by some Perl modules as a shared library, instead of
+          a static library.</para>
+@y
+          <para>
+          Perl モジュールの中には <systemitem
+          class='library'>libperl</systemitem> をスタティックライブラリではなく共有ライブラリとして必要とするものがあるため、これをビルドします。
+          </para>
+@z
+
+@x -Dprivlib,-Darchlib,-Dsitelib,...
+          <para>These settings define where Perl looks for installed
+          modules. The LFS editors chose to put them in a directory structure
+          based on the MAJOR.MINOR version of Perl (&perl-version-min;) which
+          allows upgrading Perl to newer patch levels (the patch level is
+          the last dot separated part in the full version string like
+          &perl-version;) without reinstalling all of the modules.</para>
+@y
+          <para>
+          この設定は、Perl がインストール済のモジュールを探す場所を指定します。
+          LFS 編集者はディレクトリ構造として Perl の MAJOR.MINOR バージョン (&perl-version-min;) の形に基づいて、インストールモジュールを配置することにしています。
+          このようにしておくと、新たなパッチレベル (&perl-version; のようなフルバージョンにおいて最後のドット以降のバージョン部分) によるアップグレードの際に、モジュールを再インストールする必要がなくなるためです。
+          </para>
+@z
 
 @x
     <para>Compile the package:</para>
index e7db634..843e88e 100644 (file)
 @z
 
 @x
-      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed libraries</segtitle>
       <segtitle>Installed directory</segtitle>
 @y
       <segtitle>&InstalledLibrary;</segtitle>
index d06d9a9..fffa75b 100644 (file)
@@ -73,8 +73,8 @@
 @z
 
 @x
-      <segtitle>Installed Library</segtitle>
-      <segtitle>Installed Directory</segtitle>
+      <segtitle>Installed library</segtitle>
+      <segtitle>Installed directory</segtitle>
 @y
       <segtitle>&InstalledLibrary;</segtitle>
       <segtitle>&InstalledDirectory;</segtitle>
index a2a57e7..8babb75 100644 (file)
@@ -59,8 +59,8 @@
 @z
 
 @x
-      <segtitle>Installed Libraries</segtitle>
-      <segtitle>Installed Directory</segtitle>
+      <segtitle>Installed libraries</segtitle>
+      <segtitle>Installed directory</segtitle>
 @y
       <segtitle>&InstalledLibrary;</segtitle>
       <segtitle>&InstalledDirectory;</segtitle>
index bc47088..84dd454 100644 (file)
 @z
 
 @x
-    <para>Test the results and ensure that all 197 tests passed:</para>
+    <para>Test the results and ensure that all 198 tests passed:</para>
 @y
     <para>
-    197 個のテストすべてが正常に完了していることを確認してください。
+    198 個のテストすべてが正常に完了していることを確認してください。
     </para>
 @z
 
@@ -65,7 +65,7 @@
 @z
 
 @x
-      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed libraries</segtitle>
       <segtitle>Installed directory</segtitle>
 @y
       <segtitle>&InstalledLibrary;</segtitle>
index f071301..0103ebf 100644 (file)
 @z
 
 @x
-      <title>The meaning of the configure options:</title>
+      <title>The meaning of the new Configure options:</title>
 @y
       <title>&MeaningOfOption1;configure&MeaningOfOption2;</title>
 @z
 
-@x -Dvendorprefix=/usr
-          <para>This ensures <command>perl</command> knows how to
-          tell packages where they should install their Perl modules.</para>
-@y
-          <para>
-          このオプションは各種の Perl モジュールをどこにインストールするかを指定します。
-          </para>
-@z
-
 @x -Dpager="/usr/bin/less -isR"
           <para>This ensures that <userinput>less</userinput> is used instead
           of <userinput>more</userinput>.</para>
           </para>
 @z
 
-@x -Duseshrplib
-          <para>Build a shared libperl needed by some Perl modules.</para>
-@y
-          <para>
-          Perl モジュールの中で必要とされる共有ライブラリ libperl をビルドします。
-          </para>
-@z
-
 @x -Dusethreads
           <para>Build Perl with support for threads.</para>
 @y
           </para>
 @z
 
-@x -Dprivlib,-Darchlib,-Dsitelib,...
-          <para>These settings define where Perl looks for installed
-          modules. The LFS editors chose to put them in a directory structure
-          based on the MAJOR.MINOR version of Perl (&perl-version-min;) which
-          allows upgrading Perl to newer patch levels (the patch level is
-          the last dot separated part in the full version string like
-          &perl-version;) without reinstalling all of the modules.</para>
-@y
-          <para>
-          この設定は、Perl がインストール済のモジュールを探す場所を指定します。
-          LFS 編集者はディレクトリ構造として Perl の MAJOR.MINOR バージョン (&perl-version-min;) の形に基づいて、インストールモジュールを配置することにしています。
-          このようにしておくと、新たなパッチレベル (&perl-version; のようなフルバージョンにおいて最後のドット以降のバージョン部分) によるアップグレードの際に、モジュールを再インストールする必要がなくなるためです。
-          </para>
-@z
-
 @x
     <para>Compile the package:</para>
 @y
index 67a0a97..05fcf26 100644 (file)
 @z
 
 @x
-    <para>Pkgconf-2.0.0 explicitly errors when attempting to run
-    <option>- -modversion</option> with multiple arguments, even if these
-    arguments are constraints for the same package.  This breaks many
-    packages in BLFS. Run this sed to reinstate the old
-    output for pkgconf:</para>
+    <para>Fix a regression in pkgconf-2.0.3 breaking BLFS packages:</para>
 @y
     <para>
-    Pkgconf 2.0.0 では、複数パッケージに対して <option>- -modversion</option> を実行した場合、明示的にエラーとします。
-    たとえ同じパッケージに対する指定であっても変わりません。
-    これは BLFS の多くのパッケージにおいて障害となります。
-    以下の sed を実行して、pkgconf の出力を古いものにします。
+    pkgconf-2.0.3 における機能減退が BLFS パッケージに影響するため修正します。
     </para>
 @z
 
index 6722c43..f60821f 100644 (file)
 @z
 
 @x
-      <segtitle>Installed Programs</segtitle>
-      <segtitle>Installed Library</segtitle>
-      <segtitle>Installed Directories</segtitle>
+      <segtitle>Installed programs</segtitle>
+      <segtitle>Installed library</segtitle>
+      <segtitle>Installed directories</segtitle>
 @y
       <segtitle>&InstalledProgram;</segtitle>
       <segtitle>&InstalledLibrary;</segtitle>
index 3d505f2..4ace0dd 100644 (file)
@@ -27,7 +27,7 @@
 @z
 
 @x
-    <para>First, disable a problem test:</para>
+    <para>First, disable a problematic test:</para>
 @y
     <para>
     はじめに問題のあるテストを無効にします。
           <para>Creates new UUIDs. Each new UUID is a random number likely to be
           unique among all UUIDs created, on the local system and on other
           systems, in the past and in the future, with extremely high
-          probability (~340 trillion trillion trillion unique UUIDs are possible)</para>
+          probability (2<superscript>128</superscript> UUIDs are
+          possible)</para>
 @y
           <para>
           新しい UUID を生成します。
           生成される UUID は乱数であり、自他システムでも過去現在にわたってもユニークなものです。
-          その可能性は極めて高いものです(340 兆×兆×兆個の UUID が可能です)。
+          その可能性は極めて高いものです(2<superscript>128</superscript>個の UUID が可能です)。
           </para>
 @z
 
index 99198ab..6903cc0 100644 (file)
@@ -47,9 +47,9 @@
 <!ENTITY copyrightdate   "%crdate;">
 ]]>
 
-<!ENTITY jversion        "20230903">
-<!ENTITY jversiond       "20230903">
-<!ENTITY jcorrespondSHA  "ffecb9ef8"> <!-- lfs-git SHA 値; 本箇所での記載のみ -->
+<!ENTITY jversion        "20230911">
+<!ENTITY jversiond       "20230911">
+<!ENTITY jcorrespondSHA  "cb6fcea9b"> <!-- lfs-git SHA 値; 本箇所での記載のみ -->
 <!ENTITY dir-jversion    "git-ja">
 <!ENTITY dir-jversiond   "git-sysdja">
 @z
index bd0e5d9..c08a6ff 100644 (file)
 @z
 
 @x
+      During a development cycle of LFS, the instructions in the book are
+      often modified to adapt for a package update or take the advantage of
+      new features from updated packages.  Mixing up the instructions of
+      different versions of the LFS book can cause subtle breakages.  This
+      kind of issue is generally a result from reusing some script created
+      for a prior LFS release.  Such a reuse is strongly discouraged.  If
+      you are reusing scripts for a prior LFS release for any reason, you'll
+      need to be very careful to update the scripts to match current version
+      of the LFS book.
+@y
+      LFS を開発してきた中では、パッケージの更新やそれに伴う新機能に適応するために、本書内の手順を順次修正しています。
+      LFS ブックのバージョンが異なっているにもかかわらず、その手順を混同してしまうと、些細なエラーにつながります。
+      こういった問題は、一般的には LFS ブックの前バージョンに対して作り出したスクリプトを、そのまま再利用した結果として起こります。
+      スクリプトの再利用は是非行わないでください。
+      仮に何らかの理由があって前バージョン向けのスクリプトを再利用する場合であっても、最新バージョンの LFS ブック向けにそのスクリプトの更新を十分確認して行ってください。
+@z
+
+@x
   <para>Here are some things you should know about building each package:</para>
 @y
   <para>
index e438db4..5bbe9ce 100644 (file)
@@ -2,4 +2,4 @@ dnl
 dnl  This is part of LFSbookja package.
 dnl 
 dnl m4-include this file to define the current LFS version
-m4_define([lfs_version], [r12.0-10])
+m4_define([lfs_version], [r12.0-28])