[blfs-book] [BLFS Trac] #4362: xcb-proto + python3 fails

BLFS Trac trac at linuxfromscratch.org
Mon Nov 25 05:21:14 PST 2013


#4362: xcb-proto + python3 fails
--------------------+----------------------
 Reporter:  thomas  |       Owner:  fo
     Type:  defect  |      Status:  closed
 Priority:  normal  |   Milestone:  current
Component:  BOOK    |     Version:  SVN
 Severity:  normal  |  Resolution:  fixed
 Keywords:          |
--------------------+----------------------

Comment (by fo):

 Before comment 6 and 7, I was writing ths on. It is not anymore relevant,
 but can explain what I meant about investigating.

 Yes, I have built libxcb-1.9.3, after xcb-proto built with the patch, and
 Xorg works fine.

 Did not pass PYTHON=/usr/bin/python3, just used instructions as in the
 book. I am investigating further, just noticed it is using python 2 and
 python 3.

 {{{
 $ xzgrep -i pyt libxcb-1.9.3-2013.11.25-06h40m55s.log.xz
 checking for a Python interpreter with version >= 2.6... python
 checking for python... /usr/bin/python
 checking for python version... 2.7
 checking for python platform... linux2
 checking for python script directory... ${prefix}/lib/python2.7/site-
 packages
 checking for python extension module directory...
 ${exec_prefix}/lib/python2.7/site-packages
 checking XCBPROTO_XCBPYTHONDIR... /usr/lib/python3.3/site-packages
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xproto.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/bigreq.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xc_misc.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/composite.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/damage.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/dpms.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/dri2.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/dri3.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/present.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/glx.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/randr.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/record.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/render.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/res.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/screensaver.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/shape.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/shm.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/sync.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xevie.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xf86dri.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xfixes.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xinerama.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xinput.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xkb.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xprint.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xselinux.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xtest.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xv.xml
 /usr/bin/python ./c_client.py -p /usr/lib/python3.3/site-packages
 /usr/share/xcb/xvmc.xml
 }}}

 Do you have both installed? Did you use that solution from gentoo passing
 PYTHON=/usr/bin/python3 for xcb-proto?

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4362#comment:8>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list