[pybsddb] AArch64 debian issue with python berkeleydb bindings
Markuss Broks
markuss.broks at gmail.com
Wed Jan 22 17:09:21 CET 2025
Hi,
On 1/22/25 4:45 AM, Jesus Cea wrote:
> Hi, Markuss. Sorry for the delay in my reply, this is a best effort
> project.
>
> Please, try this:
>
> 1. Download "berkeleydb-18.1.12". This is the most up to date released
> version. Available here: <https://pypi.org/project/berkeleydb/>
>
> 2. Unpack the "tar.gz" file.
>
> 3. Replace file "setup3.py" in the unpacked directory with this
> version: <https://hg.jcea.es/pybsddb/file/6d790568d214/setup3.py>. You
> can click on the "raw" link at the left column.
>
> 4. Try to install the bindings running "pip3 install ." inside the
> package directory.
>
> Let me know if this works. It should work on any Linux machine not
> running x86/x86_64 now, but I could only try it on my (old) Raspberry PI.
What's special about x86? Seems to still work on my Arch desktop.
>
> If this test is successful I would do a "real" release.
>
> Thanks for your patience and your time invested triaging and testing
> this issue.
>
```
$ pip3 install . --break-system-packages
Defaulting to user installation because normal site-packages is not
writeable
Processing /home/ubuntu/berkeleydb-test/berkeleydb-18.1.12
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: berkeleydb
Building wheel for berkeleydb (pyproject.toml) ... done
Created wheel for berkeleydb:
filename=berkeleydb-18.1.12-cp312-cp312-linux_aarch64.whl size=279890
sha256=a6dd1e498db5cd28bdcda588187a70183f96dd8f6b4764b66c2d13d811eddcfd
Stored in directory:
/home/ubuntu/.cache/pip/wheels/53/5b/23/35caaee0824984673efb72f60150df3a5498fc08fbc0012199
Successfully built berkeleydb
Installing collected packages: berkeleydb
Attempting uninstall: berkeleydb
Found existing installation: berkeleydb 18.1.12
Uninstalling berkeleydb-18.1.12:
Successfully uninstalled berkeleydb-18.1.12
Successfully installed berkeleydb-18.1.12
```
I can confirm it works now on aarch64 debian with the setup3.py
replaced. Thanks for your time spent fixing this issue!
- Markuss
More information about the pybsddb
mailing list