linuxdeploy-plugin-python
linuxdeploy-plugin-python copied to clipboard
Building with linuxdeploy-plugin-python brings error "[python/stderr] patchelf: open: Permission denied"
I am trying to create an AppImage with linuxdeploy and the linuxdeply-plugin-python like so (simplified):
linuxdeploy-x86_64.AppImage --appdir ./AppDir --plugin python --output appimage
I've downloaded the linuxdeploy-plugin-python from here.
The compilation starts and after a while I get
[python/stderr] patchelf: open: Permission denied
System: Arch Linux, Python version on system: 3.10.10 (64 bit)
Some more traces:
-- Running input plugin: python --
[python/stdout] Found existing install under /home/user/Dokumente/python_appimage_test/AppDir/usr/python. Skipping Python build.
[python/stdout] Patching C-extension module _testcapi.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _ctypes_test.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module xxlimited.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _curses_panel.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module unicodedata.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _uuid.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _bz2.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _dbm.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _curses.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _xxtestfuzz.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _struct.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _ssl.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _random.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _ctypes.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _codecs_hk.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _multibytecodec.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module binascii.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module fcntl.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _testinternalcapi.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module nis.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _testbuffer.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _hashlib.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module syslog.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _codecs_jp.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _bisect.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module zlib.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _decimal.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _socket.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _pickle.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _md5.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _sha512.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _multiprocessing.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _sqlite3.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _datetime.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _queue.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module math.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _contextvars.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module parser.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _lsprof.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _posixsubprocess.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module pyexpat.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _gdbm.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _codecs_tw.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _sha3.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _statistics.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module cmath.cpython-38-x86_64-linux-gnu.so
[python/stdout] Patching C-extension module _asyncio.cpython-38-x86_64-linux-gnu.so
[python/stderr] patchelf: open: Permission denied
[python/stdout] Patching C-extension module _tkinter.cpython-38-x86_64-linux-gnu.so
[python/stdout] Installing dependency libtcl8.6.so
ERROR: Failed to run plugin: python (exit code: 1)