Description of problem: When trying to update python-m2crypto to m2crypto-0.35.2, SWIG fails to generate the bindings with the following error: swig -python -py3 -D__x86_64__ -I/usr/include/python3.8 -I/usr/include/openssl -I/usr/lib/gcc/x86_64-mageia-linux-gnu/9.2.1/include -I/usr/local/include -I/usr/include -includeall -modern -builtin -outdir /builddir/build/BUILD/M2Crypto-0.35.2/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i Deprecated command line option: -modern. This option is now always on. /usr/include/multiarch-dispatch.h:80: Error: Unable to find 'multiarch-x86_64-_MULTIARCH_OS/openssl/opensslconf.h' error: command 'swig' failed with exit status 1 Version-Release number of selected component (if applicable): 1.0.14-2.mga7 How reproducible: Always Steps to Reproduce: 1. mgarepo co python-m2crypto 2. cd python-m2crypto; bm -s 3. mock -r mageia-cauldron-x86_64 SRPMS/python-m2crypto-0.35.2-1.mga8.src.rpm
Thank you for the report, which hopefully points to its own resolution. Strange that a problme like this should suddenly appear. No registered maintainer nor active committer, so assigning globally. CC'ing Python group in case that is relevant.
Assignee: bugsquad => pkg-bugsCC: (none) => python
I'd say the issue comes from swig. Tested and the same happens in mga6, mga7 and current cauldron. However, I've added a patch to python-m2crypto to use -D__linux__ with swig to get _MULTIARCH_OS to defined.
Source RPM: multiarch-utils-1.0.14-2.mga7.src.rpm => swig-4.0.1-1.mga8.src.rpmCC: (none) => jani.valimaa
Can we consider this as fixed?
CC: (none) => yves.brungard_mageia