Hello! Some time ago, an error occurred while building the wxPython library from source. Compilation is successful, and an error appears during the installation process:
copying wx/dataview.pyi -> build/lib.linux-x86_64-3.6/wx copying wx/glcanvas.pyi -> build/lib.linux-x86_64-3.6/wx copying wx/grid.pyi -> build/lib.linux-x86_64-3.6/wx copying wx/html.pyi -> build/lib.linux-x86_64-3.6/wx copying wx/html2.pyi -> build/lib.linux-x86_64-3.6/wx copying symlink wx/libwx_baseu-3.0.so -> build/lib.linux-x86_64-3.6/wx/libwx_baseu-3.0.so error: [Errno 2] No such file or directory: 'build/lib.linux-x86_64-3.6/wx/libwx_baseu-3.0.so' ----------------------------------------
ERROR: Command errored out with exit status 1: /root/parts/wxpython/install/usr/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-req-build-722ljlx9/setup.py’"’"’; file=’"’"’/tmp/pip-req-build-722ljlx9/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record /tmp/pip-record-sx7zaiyq/install-record.txt --single-version-externally-managed --user --prefix= --no-compile --install-headers /root/parts/wxpython/install/include/python3.6m/wxPython Check the logs for full command output.
Failed to run ‘/root/parts/wxpython/install/usr/bin/python3 -m pip install --user --no-compile --find-links /root/parts/wxpython/python-packages .’: Exited with code 1.
Until recently, everything worked fine. After what update everything broke, I did not pay attention.
Now using snapcraft 3.11 (Arch Linux). Core 18. Example part to build wxPython:
wxpython:
plugin: python
python-version: python3
source: https://files.pythonhosted.org/packages/b9/8b/31267dd6d026a082faed35ec8d97522c0236f2e083bf15aff64d982215e1/wxPython-4.0.7.post2.tar.gz
build-packages:
- python3-dev
- libhunspell-dev
- libwebkit2gtk-4.0-dev
- libssl-dev
- build-essential
- libjpeg-dev
- libtiff-dev
- libsdl2-dev
- libgstreamer-plugins-base1.0-dev
- libnotify-dev
- freeglut3-dev
- libsm-dev
- libgtk-3-dev
- python3-pip
stage-packages:
- python3
- libglu1-mesa
- libsdl2-2.0-0
- libsndio6.1
- libxss1
- freeglut3
- ibus-gtk3
- zlib1g
- libsm6
- libpulse0
- libhunspell-1.6-0
- libwebkit2gtk-4.0-37
- libsdl-gfx1.2-5
- libgstreamer1.0-0
- libslang2
There is a suspicion that this has something to do with using venv in the python plugin.