Make: Python Error

If you are getting an error when running make similar to

/home/pedro/online/scripts/unocommands.py --check /home/pedro/online
Traceback (most recent call last):
  File "/home/pedro/online/scripts/unocommands.py", line 13, in <module>
    from lxml import etree
ImportError: /usr/lib64/python3.6/site-packages/lxml/etree.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf

Please check if you do not have important Python updates. This was my case, where python3-lxml was not yet updated (openSUSE Leap 15.2).

After doing the appropriated updates on your package manager the build should work properly afterwards.

Hi pedro I ended up configuring my file within a Python virtual environment , because the python3-lxml was producing a similar error. Everything was configured and works however when i enter > " ```

make -j $(nproc)"

I get a bunch of errors. Here is the excerpt of my error logs

make[2]: *** [Makefile:3585: kit/KitQueue.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:3585: common/Unit.o] Error 1
make[2]: *** [Makefile:3585: kit/KitWebSocket.o] Error 1
make[2]: *** [Makefile:3585: kit/ChildSession.o] Error 1
make[2]: *** [Makefile:3585: kit/Kit.o] Error 1
make[2]: Leaving directory '/home/chima/collabora-online'
make[1]: *** [Makefile:7811: all-recursive] Error 1
make[1]: Leaving directory '/home/chima/collabora-online'
make: *** [Makefile:2147: all] Error 2
(cool-env) chima@chima-HP-Laptop-15-dw3xxx:~/collabora-online$

I think I found the error. POCO was not installed properly so the make file was not working.

1 Like