DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:TOPDIR/openembedded-core/meta/recipes-devtools/swig/swig_4.0.2.bb:do_populate_sysroot', 'virtual:native:TOPDIR/meta-python2/recipes-devtools/python/python-setuptools_42.0.2.bb:do_populate_sysroot', 'virtual:native:TOPDIR/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'TOPDIR/meta-python2/recipes-devtools/python/python_2.7.18.bb:do_populate_sysroot', 'TOPDIR/openembedded-core/meta/recipes-core/glibc/glibc_2.34.bb:do_populate_sysroot', 'TOPDIR/meta-python2/recipes-devtools/python/python-native_2.7.18.bb:do_populate_sysroot', 'TOPDIR/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_11.2.bb:do_populate_sysroot', 'TOPDIR/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:TOPDIR/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'TOPDIR/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.2.bb:do_populate_sysroot', 'TOPDIR/openembedded-core/meta/recipes-connectivity/openssl/openssl_3.0.0.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['swig-native', 'python-setuptools-native', 'pseudo-native', 'python', 'glibc', 'python-native', 'gcc-cross-x86_64', 'quilt-native', 'patch-native', 'gcc-runtime', 'openssl', 'libpcre-native', 'python3-native', 'libtool-native', 'unzip-native', 'libxcrypt', 'libffi', 'readline', 'zlib', 'db', 'sqlite3', 'bzip2', 'gdbm', 'linux-libc-headers', 'sqlite3-native', 'expat-native', 'zlib-native', 'bzip2-native', 'xz-native', 'openssl-native', 'readline-native', 'gdbm-native', 'db-native', 'libmpc-native', 'binutils-cross-x86_64', 'gnu-config-native', 'texinfo-dummy-native', 'mpfr-native', 'flex-native', 'gmp-native', 'attr-native', 'libgcc', 'opkg-utils', 'util-linux-native', 'libffi-native', 'libtirpc-native', 'libnsl2-native', 'ncurses', 'cmake-native', 'gettext-minimal-native', 'perl-native', 'ncurses-native', 'm4-native', 'libcap-ng-native', 'util-linux-libuuid-native', 'libpcre2-native', 'curl-native', 'zstd-native', 'perlcross-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
running build_ext
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/M2Crypto
building 'M2Crypto._m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot/usr/include -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot/usr/include/python2.7 -I/usr/include/openssl -I/usr/lib/gcc/x86_64-linux-gnu/11/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include -includeall -modern -builtin -outdir TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/M2Crypto-0.30.1/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
Deprecated command line option: -modern. This option is now always on.
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot/usr/include/features.h:414: Warning 204: CPP #warning, "_FORTIFY_SOURCE requires GCC 4.1 or later".
SWIG/gcc_macros.h:100: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:188: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:248: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:288: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:292: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:320: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:462: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:480: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:560: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:566: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:590: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:606: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:608: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:622: Warning 305: Bad constant value (ignored).
SWIG/gcc_macros.h:666: Warning 305: Bad constant value (ignored).
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot/usr/include/sys/cdefs.h:167: Warning 305: Bad constant value (ignored).
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/SWIG
x86_64-oe-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-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/python/2.7.18-r0=/usr/src/debug/python/2.7.18-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/python/2.7.18-r0=/usr/src/debug/python/2.7.18-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot-native= -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0=/usr/src/debug/python-m2crypto/0.30.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0=/usr/src/debug/python-m2crypto/0.30.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot-native= -fPIC -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot/usr/include -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/recipe-sysroot/usr/include/python2.7 -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/python-m2crypto/0.30.1-r0/M2Crypto-0.30.1/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-2.7/SWIG/_m2crypto_wrap.o -Wno-deprecated-declarations -DTHREADING
SWIG/_m2crypto_wrap.c: In function '_wrap___fsid_t___val_get':
SWIG/_m2crypto_wrap.c:10279:13: warning: unused variable 'swig_obj' [-Wunused-variable]
10279 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function '_wrap_delete___fsid_t':
SWIG/_m2crypto_wrap.c:10315:13: warning: unused variable 'swig_obj' [-Wunused-variable]
10315 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function '_wrap_imaxdiv_t_quot_get':
SWIG/_m2crypto_wrap.c:10368:13: warning: unused variable 'swig_obj' [-Wunused-variable]
10368 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function '_wrap_imaxdiv_t_rem_get':
SWIG/_m2crypto_wrap.c:10420:13: warning: unused variable 'swig_obj' [-Wunused-variable]
10420 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function '_wrap_delete_imaxdiv_t':
SWIG/_m2crypto_wrap.c:10456:13: warning: unused variable 'swig_obj' [-Wunused-variable]
10456 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function '_wrap_BIO_PYFD_CTX_fd_get':
SWIG/_m2crypto_wrap.c:12597:13: warning: unused variable 'swig_obj' [-Wunused-variable]
12597 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function '_wrap_delete_BIO_PYFD_CTX':
SWIG/_m2crypto_wrap.c:12636:13: warning: unused variable 'swig_obj' [-Wunused-variable]
12636 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function '_wrap__cbd_t_password_get':
SWIG/_m2crypto_wrap.c:29333:13: warning: unused variable 'swig_obj' [-Wunused-variable]
29333 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function '_wrap__cbd_t_prompt_get':
SWIG/_m2crypto_wrap.c:29394:13: warning: unused variable 'swig_obj' [-Wunused-variable]
29394 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function '_wrap_delete__cbd_t':
SWIG/_m2crypto_wrap.c:29430:13: warning: unused variable 'swig_obj' [-Wunused-variable]
29430 |   PyObject *swig_obj[1] ;
      |             ^~~~~~~~
SWIG/_m2crypto_wrap.c: In function 'init_m2crypto':
SWIG/_m2crypto_wrap.c:32981:102: error: 'RSA_SSLV23_PADDING' undeclared (first use in this function); did you mean 'RSA_NO_PADDING'?
32981 |   SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "sslv23_padding",SWIG_From_int((int)(RSA_SSLV23_PADDING)));
      |                                                                                                      ^~~~~~~~~~~~~~~~~~
      |                                                                                                      RSA_NO_PADDING
SWIG/_m2crypto_wrap.c:32981:102: note: each undeclared identifier is reported only once for each function it appears in
error: command 'x86_64-oe-linux-gcc' failed with exit status 1
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
26/10/21 08:56
Error type:
Recipe
Task:
do_configure
Recipe:
python-m2crypto
Recipe version:
0.30.1-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
universal/ubuntu-21.10
Branch:
jansa/master
Commit:
34a6432e590f923f0299187a0c0d7648c351c200
Build:
#134475
Submitter:
Martin.Jansa@gmail.com
Similar errors:
0
Open a bug