DEBUG: Executing shell function do_compile
INFO:run_command:running bdist_wheel
INFO:run_command:running build
INFO:run_command:running build_py
INFO:mkpath:creating build
INFO:mkpath:creating build/lib.linux-x86_64-cpython-312
INFO:mkpath:creating build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/DSA.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/ASN1.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/__init__.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/DH.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/Rand.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/m2urllib.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/Engine.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/BIO.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/BN.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/m2crypto.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/EVP.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/util.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/httpslib.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/six.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/callback.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/ftpslib.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/Err.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/RSA.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/EC.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/X509.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/threading.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/RC4.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/SMIME.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:copy_file:copying src/M2Crypto/m2.py -> build/lib.linux-x86_64-cpython-312/M2Crypto
INFO:mkpath:creating build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/__init__.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:copy_file:copying src/M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-cpython-312/M2Crypto/SSL
INFO:run_command:running egg_info
INFO:write_pkg_info:writing src/M2Crypto.egg-info/PKG-INFO
INFO:write_file:writing dependency_links to src/M2Crypto.egg-info/dependency_links.txt
INFO:write_file:writing top-level names to src/M2Crypto.egg-info/top_level.txt
INFO:read_manifest:reading manifest file 'src/M2Crypto.egg-info/SOURCES.txt'
INFO:read_template:reading manifest template 'MANIFEST.in'
INFO:add_license_files:adding license file 'LICENCE'
INFO:execute:writing manifest file 'src/M2Crypto.egg-info/SOURCES.txt'
INFO:run_command:running build_ext
INFO:build_extension:building 'M2Crypto._m2crypto' extension
INFO:swig_sources:swigging src/SWIG/_m2crypto.i to src/SWIG/_m2crypto_wrap.c
INFO:spawn:swig -python -py3 -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../lib/x86_64-poky-linux/gcc/x86_64-poky-linux/13.4.0/include -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../lib/x86_64-poky-linux/gcc/x86_64-poky-linux/13.4.0/include-fixed -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/lib/x86_64-poky-linux/13.4.0/include -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/python3.12 -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/openssl -includeall -modern -cpperraswarn -builtin -outdir TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/M2Crypto-0.40.1/src/M2Crypto -o src/SWIG/_m2crypto_wrap.c src/SWIG/_m2crypto.i
Deprecated command line option: -py3. Ignored, this option is no longer supported.
Deprecated command line option: -modern. Ignored, this option is now always on.
TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/features.h:441: Warning 202: Could not evaluate expression 'defined __cplusplus ? __cplusplus >= 201402L : defined __USE_ISOC11'
TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/features.h:441: Warning 202: Syntax error: expected operator
TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/features.h:459: Warning 202: Could not evaluate expression '(defined __USE_GNU							\
     && (defined __cplusplus						\
	 ? (__cplusplus < 201103L && !defined __GXX_EXPERIMENTAL_CXX0X__) \
	 : (!defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L)))'
TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/features.h:459: Warning 202: Syntax error: expected operator
TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/sys/cdefs.h:534: Warning 202: Could not evaluate expression '(!defined _Noreturn \
     && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \
     &&  !(__GNUC_PREREQ (4,7) \
           || (3 < __clang_major__ + (5 <= __clang_minor__))))'
TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/sys/cdefs.h:534: Warning 202: Syntax error: expected operator
TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/sys/cdefs.h:564: Warning 202: Could not evaluate expression '(!defined _Static_assert && !defined __cplusplus \
     && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \
     && (!(__GNUC_PREREQ (4, 6) || __clang_major__ >= 4) \
         || defined __STRICT_ANSI__))'
TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/sys/cdefs.h:564: Warning 202: Syntax error: expected operator
TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/sys/cdefs.h:239: Warning 305: Bad constant value (ignored).
INFO:mkpath:creating build/temp.linux-x86_64-cpython-312
INFO:mkpath:creating build/temp.linux-x86_64-cpython-312/src
INFO:mkpath:creating build/temp.linux-x86_64-cpython-312/src/SWIG
INFO:spawn:x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map -fmacro-prefix-map=/srv/pokybuild/yocto-worker/qa-extras2/build/build/tmp/work/core2-64-poky-linux/python3/3.12.12/Python-3.12.12=/usr/src/debug/python3/3.12.12 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/qa-extras2/build/build/tmp/work/core2-64-poky-linux/python3/3.12.12/Python-3.12.12=/usr/src/debug/python3/3.12.12 -fmacro-prefix-map=/build/path/unavailable/=/usr/src/debug/python3/3.12.12 -fdebug-prefix-map=/build/path/unavailable/=/usr/src/debug/python3/3.12.12 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot-native= -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map -fmacro-prefix-map=/srv/pokybuild/yocto-worker/qa-extras2/build/build/tmp/work/core2-64-poky-linux/python3/3.12.12/Python-3.12.12=/usr/src/debug/python3/3.12.12 -fdebug-prefix-map=/srv/pokybuild/yocto-worker/qa-extras2/build/build/tmp/work/core2-64-poky-linux/python3/3.12.12/Python-3.12.12=/usr/src/debug/python3/3.12.12 -fmacro-prefix-map=/build/path/unavailable/=/usr/src/debug/python3/3.12.12 -fdebug-prefix-map=/build/path/unavailable/=/usr/src/debug/python3/3.12.12 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot-native= -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/M2Crypto-0.40.1=/usr/src/debug/python3-m2crypto/0.40.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/M2Crypto-0.40.1=/usr/src/debug/python3-m2crypto/0.40.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/M2Crypto-0.40.1=/usr/src/debug/python3-m2crypto/0.40.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/M2Crypto-0.40.1=/usr/src/debug/python3-m2crypto/0.40.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot-native= -fPIC -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include/python3.12 -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot/usr/include -ITOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/M2Crypto-0.40.1/src/SWIG -c src/SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-cpython-312/src/SWIG/_m2crypto_wrap.o -DTHREADING -Wno-deprecated-declarations
src/SWIG/_m2crypto_wrap.c: In function '_wrap_fd_set___fds_bits_set':
src/SWIG/_m2crypto_wrap.c:11815:88: error: 'fd_set' has no member named '__fds_bits'; did you mean 'fds_bits'?
11815 |       for (; ii < (size_t)1024/(8*(int) sizeof(__fd_mask)); ++ii) *(__fd_mask *)&arg1->__fds_bits[ii] = *((__fd_mask *)arg2 + ii);
      |                                                                                        ^~~~~~~~~~
      |                                                                                        fds_bits
src/SWIG/_m2crypto_wrap.c: In function '_wrap_fd_set___fds_bits_get':
src/SWIG/_m2crypto_wrap.c:11840:48: error: 'fd_set' has no member named '__fds_bits'; did you mean 'fds_bits'?
11840 |   result = (__fd_mask *)(__fd_mask *) ((arg1)->__fds_bits);
      |                                                ^~~~~~~~~~
      |                                                fds_bits
error: command 'TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc' failed with exit code 1
ERROR: 'python3 setup.py bdist_wheel ' execution failed.
WARNING: TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/temp/run.do_compile.2332044:182 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/temp/run.do_compile.2332044, line 182
	#2: setuptools3_do_compile, TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/temp/run.do_compile.2332044, line 172
	#3: do_compile, TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/temp/run.do_compile.2332044, line 154
	#4: main, TOPDIR/tmp/work/core2-64-poky-linux/python3-m2crypto/0.40.1/temp/run.do_compile.2332044, line 186

Error details

Submitted on:
27/01/26 20:51
Error type:
Recipe
Task:
do_compile
Recipe:
python3-m2crypto
Recipe version:
0.40.1-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
rocky-9.7/rocky-9.7
Branch:
ycongal/scarthgap/openssl_3.5_upgrade
Commit:
d274a853ac7b4b0a16af83800a901119ed91e265
Build:
#226105
Submitter:
yp-ab-rocky9-vk-3
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/81/builds/1277
Similar errors:
1
Open a bug