
I get following error messages trying to build the xorg-libxcb-32 port. Is that python2 vs. python3 issue? Wawrzek Error message: + make Making all in src make[1]: Entering directory '/home/build/xorg-libxcb-32/src/libxcb-1.14/src' GEN xproto.c GEN bigreq.c GEN xc_misc.c GEN composite.c GEN damage.c GEN dpms.c GEN dri2.c GEN dri3.c Failed to load the xcbgen Python package! Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path. Refer to the README file in xcb/proto for more info. Traceback (most recent call last): File "/home/build/xorg-libxcb-32/src/libxcb-1.14/src/./c_client.py", line 3338, in <module> from xcbgen.state import Module ImportError: bad magic number in 'xcbgen': b'\x03\xf3\r\n' Failed to load the xcbgen Python package! Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path. Refer to the README file in xcb/proto for more info. Traceback (most recent call last): File "/home/build/xorg-libxcb-32/src/libxcb-1.14/src/./c_client.py", line 3338, in <module> from xcbgen.state import Module ImportError: bad magic number in 'xcbgen': b'\x03\xf3\r\n' Failed to load the xcbgen Python package! Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path. Refer to the README file in xcb/proto for more info. Traceback (most recent call last): File "/home/build/xorg-libxcb-32/src/libxcb-1.14/src/./c_client.py", line 3338, in <module> Failed to load the xcbgen Python package! Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path. Refer to the README file in xcb/proto for more info. from xcbgen.state import Module Traceback (most recent call last): ImportError: bad magic number in 'xcbgen': b'\x03\xf3\r\n' File "/home/build/xorg-libxcb-32/src/libxcb-1.14/src/./c_client.py", line 3338, in <module> from xcbgen.state import Module ImportError: bad magic number in 'xcbgen': b'\x03\xf3\r\n' make[1]: *** [Makefile:1406: damage.c] Error 1 make[1]: *** Waiting for unfinished jobs.... Failed to load the xcbgen Python package! Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path. Refer to the README file in xcb/proto for more info. Traceback (most recent call last): File "/home/build/xorg-libxcb-32/src/libxcb-1.14/src/./c_client.py", line 3338, in <module> make[1]: *** [Makefile:1406: dri2.c] Error 1 from xcbgen.state import Module ImportError: bad magic number in 'xcbgen': b'\x03\xf3\r\n' Failed to load the xcbgen Python package! Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path. Refer to the README file in xcb/proto for more info. Traceback (most recent call last): File "/home/build/xorg-libxcb-32/src/libxcb-1.14/src/./c_client.py", line 3338, in <module> from xcbgen.state import Module ImportError: bad magic number in 'xcbgen': b'\x03\xf3\r\n' make[1]: *** [Makefile:1406: dpms.c] Error 1 make[1]: *** [Makefile:1406: xproto.c] Error 1 make[1]: *** [Makefile:1406: composite.c] Error 1 make[1]: *** [Makefile:1406: xc_misc.c] Error 1 Failed to load the xcbgen Python package! Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path. Refer to the README file in xcb/proto for more info. Traceback (most recent call last): File "/home/build/xorg-libxcb-32/src/libxcb-1.14/src/./c_client.py", line 3338, in <module> from xcbgen.state import Module ImportError: bad magic number in 'xcbgen': b'\x03\xf3\r\n' Failed to load the xcbgen Python package! Make sure that xcb/proto installed it on your Python path. If not, you will need to create a .pth file or define $PYTHONPATH to extend the path. Refer to the README file in xcb/proto for more info. Traceback (most recent call last): File "/home/build/xorg-libxcb-32/src/libxcb-1.14/src/./c_client.py", line 3338, in <module> make[1]: *** [Makefile:1406: bigreq.c] Error 1 from xcbgen.state import Module ImportError: bad magic number in 'xcbgen': b'\x03\xf3\r\n' make[1]: *** [Makefile:1406: dri3.c] Error 1 make[1]: Leaving directory '/home/build/xorg-libxcb-32/src/libxcb-1.14/src' make: *** [Makefile:792: all-recursive] Error 1 =======> ERROR: Building '/usr/ports/compat-32/xorg-libxcb-32/xorg-libxcb-32#1.14-1.pkg.tar.gz' failed. prt-get: error while install -- Packages where install failed xorg-libxcb-32 -- Dr Wawrzyniec NiewodniczaĆski or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124

On Sun, 7 Mar 2021 at 17:38, Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
I get following error messages trying to build the xorg-libxcb-32 port.
Is that python2 vs. python3 issue?
It looks like one. I removed python and python-32; rebuit xorg-libxcb and then xorg-libxcb-32 build worked. Wawrzek -- Dr Wawrzyniec NiewodniczaĆski or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
participants (1)
-
Wawrzek Niewodniczanski