Переглянути джерело

Suppress the test-lock test in coretutils, findutils, gettext because on one of my machines it now hangs, burning 100% CPU time on each core.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11193 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Ken Moffat 8 роки тому
батько
коміт
e812ed0931
5 змінених файлів з 37 додано та 3 видалено
  1. 11 0
      chapter01/changelog.xml
  2. 7 0
      chapter06/coreutils.xml
  3. 7 0
      chapter06/findutils.xml
  4. 9 0
      chapter06/gettext.xml
  5. 3 3
      general.ent

+ 11 - 0
chapter01/changelog.xml

@@ -42,6 +42,17 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
 -->
+    <listitem>
+      <para>2017-02-25</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Comment out the test-lock test in coreutils,
+          findutils, gettext because on some machines it now loops
+          forever.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2017-02-19</para>
       <itemizedlist>

+ 7 - 0
chapter06/coreutils.xml

@@ -53,6 +53,13 @@
       without this patch.</para>
     </note>
 
+   <!-- this has been fixed in upstream gnulib, when a new version of
+   coreutils is released, please check #4055 to see if the change has been
+   picked up in this package -->
+   <para>Suppress a test which on some machines can loop forever.</para>
+
+<screen><userinput remap="pre">sed -i '/test.lock/s/^/#/' gnulib-tests/gnulib.mk</userinput></screen>
+
     <para>Now prepare Coreutils for compilation:</para>
 
 <screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 ./configure \

+ 7 - 0
chapter06/findutils.xml

@@ -43,6 +43,13 @@
   <sect2 role="installation">
     <title>Installation of Findutils</title>
 
+   <!-- this has been fixed in upstream gnulib, when a new version of
+   findutils is released, please check #4055 to see if the change has been
+   picked up in this package -->
+   <para>Suppress a test which on some machines can loop forever.</para>
+
+<screen><userinput remap="pre">sed -i 's/test-lock..EXEEXT.//' gettext-tools/gnulib-tests/Makefile.in</userinput></screen>
+
     <para>Prepare Findutils for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --localstatedir=/var/lib/locate</userinput></screen>

+ 9 - 0
chapter06/gettext.xml

@@ -43,6 +43,15 @@
   <sect2 role="installation">
     <title>Installation of Gettext</title>
 
+   <!-- this has been fixed in upstream gnulib, when a new version of
+   gettext is released, please check #4055 to see if the change has been
+   picked up in this package -->
+   <para>Suppress two invocations of test-lock which on some machines
+   can loop forever.</para>
+
+<screen><userinput remap="pre">sed -i '/^TESTS =/d' gettext-runtime/tests/Makefile.in &amp;&amp;
+sed -i 's/test-lock..EXEEXT.//' gettext-tools/gnulib-tests/Makefile.in</userinput></screen>
+
     <para>Prepare Gettext for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr    \

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20170219">
+<!ENTITY version         "SVN-20170225">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20170219-systemd">
+<!ENTITY versiond        "20170225-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "February 19, 2017">
+<!ENTITY releasedate     "February 25, 2017">
 <!ENTITY copyrightdate   "1999-2017"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "8.0">