Author: ken
Date: Wed Jun 20 06:13:12 2018
New Revision: 20203

Log:
Remove -Werror from logrotate.

Modified:
   trunk/BOOK/general/sysutils/logrotate.xml
   trunk/BOOK/introduction/welcome/changelog.xml

Modified: trunk/BOOK/general/sysutils/logrotate.xml
==============================================================================
--- trunk/BOOK/general/sysutils/logrotate.xml   Wed Jun 20 05:55:59 2018        
(r20202)
+++ trunk/BOOK/general/sysutils/logrotate.xml   Wed Jun 20 06:13:12 2018        
(r20203)
@@ -102,7 +102,9 @@
 
 <screen><userinput>sed -i '/exit 5/s/^/echo uncompress failed -- skipping #/' 
test/test &amp;&amp;
 
-./configure --prefix=/usr &amp;&amp;
+sed 's/-Werror//' Makefile.am &amp;&amp;
+./autogen.sh                  &amp;&amp;
+./configure --prefix=/usr     &amp;&amp;
 make</userinput></screen>
 
     <para>
@@ -125,6 +127,12 @@
       failing due to a problem in the test script.
     </para>
 
+    <para>
+      <command>ed 's/-Werror//' Makefile.am</command>: Prevents the compiler
+      stopping with an error when a warning is issued, since newer versions of
+      GCC have introduced a lot more warnings, which are triggered by the code.
+    </para>
+
   </sect2>
 
   <sect2 role="configuration">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Wed Jun 20 05:55:59 
2018        (r20202)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Wed Jun 20 06:13:12 
2018        (r20203)
@@ -45,6 +45,10 @@
       <para>June 20th, 2018</para>
       <itemizedlist>
         <listitem>
+          <para>[ken] - Remove -Werror from logrotate, again. Fixes
+          <ulink url="&blfs-ticket-root;10879">#10879</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[ken] - Replace QupZilla by Falkon-3.0.1. Fixes
           <ulink url="&blfs-ticket-root;10437">#10437</ulink>.</para>
         </listitem>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to