This is on an ARMv7 QNAP NAS running QTS (modified Ubuntu).
I can confirm this error doesn't occur on ARMv5 or AARCH64.
So, we are running SABnzbd from 'master' branch, in a venv, and are now reinstalling 'sabctools' (as it looks like manylinux2014 builds cannot be seen by Python/SABnzbd, and rebuilding a wheel for it locally appears to fix this).
Code: Select all
[~] # . /share/CACHEDEV1_DATA/.qpkg/SABnzbd/venv/bin/activate
(venv) [~] # pip install --upgrade --force-reinstall sabctools --no-binary sabctools --no-cache-dir
Collecting sabctools
Downloading sabctools-7.1.0.tar.gz (234 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 234.0/234.0 kB 5.0 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: sabctools
Building wheel for sabctools (pyproject.toml) ... done
Created wheel for sabctools: filename=sabctools-7.1.0-cp311-cp311-linux_armv7l.whl size=157294 sha256=53c09062182b73ba8786885f35dad232581b5aac1b4162578d6ccd48e14a405c
Stored in directory: /share/CACHEDEV1_DATA/.qpkg/Entware/tmp/pip-ephem-wheel-cache-ffcwsg0w/wheels/23/df/ee/6d1470a58e799dd336431ec37a3112fab028b783186f231c33
Successfully built sabctools
Installing collected packages: sabctools
Attempting uninstall: sabctools
Found existing installation: sabctools 7.1.0
Uninstalling sabctools-7.1.0:
Successfully uninstalled sabctools-7.1.0
Successfully installed sabctools-7.1.0
Now, let's try manually importing it:
Code: Select all
(venv) [~] # python -c "import sabctools; print("sabctools.__version__")"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/venv/lib/python3.11/site-packages/sabctools/__init__.py", line 2, in <module>
from sabctools.sabctools import *
ImportError: /share/CACHEDEV1_DATA/.qpkg/SABnzbd/venv/lib/python3.11/site-packages/sabctools/sabctools.cpython-311.so: ELF load command alignment not page-aligned
Any advice please?