Closed AkechiShiro closed 1 year ago
Actually I think I figured it out, still testing, I have added boost
as they were needed and I've transitioned to a git submodule
clone approach, the tar.gz source code do not contain submodules vectorscan and hyperscan with the pinned commit hashes.
Yes, the issue is the missing vectorscan sources. You can use the git clone approach, or depend on the arch version of hyperscan
instead. Then, you can build a wheel via maturin build --no-default-features
(you also need maturin as well)
The only downside of this approach, is the loss of aarch64 compatibility.
I also introduced some changes recently: When built from the source tar.gz, it will try to use an installed version of either hyperscan or vectorscan (not yet released on PyPI).
@vlaci Could you please remove the use of maturin >=14 or < 15 as well ? After that change I will close, I finished packaging pyperscan for the AUR.
@vlaci Could you please remove the use of maturin >=14 or < 15 as well ? After that change I will close, I finished packaging pyperscan for the AUR.
Updated in #24
Hi,
I'm trying to package unblob in the AUR, and I'm currently stuck at building pyperscan.
Logs of a build attempt in a
chroot
are here : https://gist.github.com/AkechiShiro/0fc6840388183ff16e52fe1f23576752 End of logs show this failure withvectorscan
installed in the chroot and compiled from source :The WIP script for
pyperscan
is the following :