This AUR package can't be upgraded to 0.43.0 since openssl needs to be patched. I was able to get 0.43.0 installed by commenting out the two # include <sys/types.h>
lines in /usr/include/openssl/e_os2.h
, but I can't recommend that anyone do this since it would probably break many other packages. Since M2Crypto is in maintenance mode, I'm going to let this lie but won't make any updates unless it's resolved in OpenSSL.
See the sed command here for more details: https://git.openembedded.org/meta-openembedded/commit/?id=f9158ce32fffa6f18eed4008c3295146c81d55ea
Pinned Comments
brianrobt commented on 2025-01-17 20:11 (UTC)
This AUR package can't be upgraded to 0.43.0 since openssl needs to be patched. I was able to get 0.43.0 installed by commenting out the two
# include <sys/types.h>
lines in/usr/include/openssl/e_os2.h
, but I can't recommend that anyone do this since it would probably break many other packages. Since M2Crypto is in maintenance mode, I'm going to let this lie but won't make any updates unless it's resolved in OpenSSL.See the sed command here for more details: https://git.openembedded.org/meta-openembedded/commit/?id=f9158ce32fffa6f18eed4008c3295146c81d55ea
brianrobt commented on 2025-01-10 19:09 (UTC)
M2Crypto is in maintenance mode. Its developers recommend migrating to pyca/cryptography, which can be installed via
extra/python-cryptography
.