On 15.10.2017 20:23, via blfs-book wrote:
Author: bdubbs
Date: Sun Oct 15 11:23:25 2017
New Revision: 19328

Log:
Remove ninja, libffi, and python3 as dependencies
for many packages as they are now a part of LFS.


Modified: trunk/BOOK/general/genlib/libxml2.xml
==============================================================================
--- trunk/BOOK/general/genlib/libxml2.xml       Sun Oct 15 08:04:16 2017        
(r19327)
+++ trunk/BOOK/general/genlib/libxml2.xml       Sun Oct 15 11:23:25 2017        
(r19328)
@@ -91,11 +91,11 @@
<bridgehead renderas="sect3">libxml2 Dependencies</bridgehead> - <bridgehead renderas="sect4">Recommended</bridgehead>
-    <para role="recommended">
-      <xref linkend="python2"/> or <xref linkend="python3"/> (to build and
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="python2"/> <!--or <xref linkend="python3"/> (to build and
        install a <application>Python</application> library module, additionally
-      it is required to run the full suite of tests)
+      it is required to run the full suite of tests)-->
        <!-- As discovered by Bruce, itstool needs this module. -->
      </para>
@@ -135,7 +135,11 @@
        commands:
      </para>
-<screen><userinput>./configure --prefix=/usr --disable-static --with-history &amp;&amp;
+<screen><userinput>
+./configure --prefix=/usr    \
+            --disable-static \
+            --with-history   \
+            --with-python=/usr/bin/python3 &amp;&amp;
  make</userinput></screen>
<para>If you downloaded the testsuite, issue the following command:</para>


If this is default, you need to force itstool to build against python3, which won't work with current version in the book, and the latest version is still broken.

Modified: trunk/BOOK/x/installing/xcb-proto.xml
==============================================================================
--- trunk/BOOK/x/installing/xcb-proto.xml       Sun Oct 15 08:04:16 2017        
(r19327)
+++ trunk/BOOK/x/installing/xcb-proto.xml       Sun Oct 15 11:23:25 2017        
(r19328)
@@ -77,15 +77,15 @@
<bridgehead renderas="sect4">Required</bridgehead>
      <para role="required">
-      <xref linkend="python2"/> or
-      <xref linkend="python3"/>, and
        <xref linkend="xorg-env"/> (should be set for the following instructions
        to work)
      </para>
- <bridgehead renderas="sect4">Optional (required to run the
-    tests)</bridgehead>
-    <para role="optional"><xref linkend="libxml2"/></para>
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="python2"/> and
+      <xref linkend="libxml2"/> (required to run the tests)
+     </para>
<para condition="html" role="usernotes">User Notes:
      <ulink url="&blfs-wiki;/xcb-proto"/></para>


You might need to set PYTHON=/usr/bin/python3 for this and libxcb.

Not covered here:

gobject-introspection needs python as well, and it was previously pulled from glib2. It can use python3, but needs env var similar to above.

for all python modules, wherever they're needed, I suppose they should specify which version of python they need to be built against. I suppose that's already done for most of the gnome packages, but not sure about anything else.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to