Package Details: python-m2crypto 0.41.0-2

Git Clone URL: https://aur.archlinux.org/python-m2crypto.git (read-only, click to copy)
Package Base: python-m2crypto
Description: A crypto and SSL toolkit for Python
Upstream URL: https://pypi.python.org/pypi/M2Crypto
Licenses: BSD
Submitter: jelly
Maintainer: brianrobt
Last Packager: jelly
Votes: 0
Popularity: 0.000000
First Submitted: 2024-11-18 19:57 (UTC)
Last Updated: 2024-11-18 19:57 (UTC)

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.

Latest 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-13 17:11 (UTC)

When trying to build 0.43.0, I'm running into the following error:

src/SWIG/_m2crypto_wrap.c: In function ‘_wrap_fd_set___fds_bits_get’:
src/SWIG/_m2crypto_wrap.c:11929:48: error: ‘fd_set’ has no member named ‘__fds_bits’; did you mean ‘fds_bits’?
11929 |   result = (__fd_mask *)(__fd_mask *) ((arg1)->__fds_bits);
      |                                                ^~~~~~~~~~
      |                                                fds_bits
error: command '/usr/bin/gcc' failed with exit code 1

If anyone else can get it to work, I can add them as the maintainer.

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.