Wind River Support Network

HomeDefectsLIN6-1268
Fixed

LIN6-1268 : python-m2crypto_0.21.1 failed (do_compile) of bcm-x1p_world_bd.

Created: Dec 5, 2013    Updated: Dec 3, 2018
Resolved Date: Dec 18, 2013
Found In Version: 6.0
Fix Version: 6.0,6.0.0.2
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

Problem Description
======================

python-m2crypto fails to compile for bcm-xlp target on variety of build hosts

Expected Behaviour
======================

compile works.

Observed Behaviour
======================
creating build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/packet.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/constants.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKey.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
running build_ext
building 'M2Crypto.__m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -I/home/nxadm/nx/ala-blade14.2/builds-2013-12-03-222823/bcm-xlp_world_bd/bitbake_build/tmp/sysroots/libn32-bcm-xlp/usr/include/python2.7 -I/home/nxadm/nx/ala-blade14.2/builds-2013-12-03-222823/bcm-xlp_world_bd/bitbake_build/tmp/sysroots/libn32-bcm-xlp/usr/include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
/home/nxadm/nx/ala-blade14.2/builds-2013-12-03-222823/bcm-xlp_world_bd/bitbake_build/tmp/sysroots/libn32-bcm-xlp/usr/include/openssl/opensslconf.h:47: Error: CPP #error ""Unknown __WORDSIZE detected"". Use the -cpperraswarn option to continue swig processing.
error: command 'swig' failed with exit status 1
ERROR: python setup.py build_ext execution failed.
WARNING: /home/nxadm/nx/ala-blade14.2/builds-2013-12-03-222823/bcm-xlp_world_bd/bitbake_build/tmp/work/mips64-xlp-n32-wrsmllibn32-linux-gnun32/libn32-python-m2crypto/0.21.1-r0/temp/do_compile/run.do_compile.25681:124 exit 1 from
  exit 1

Steps to Reproduce

configure --enable-board=bcm-xlp --enable-rootfs=glibc-std --enable-kernel=standard --with-layer=meta-selinux --enable-bootimage=noimage --enable-build=debug

Must be bcm-xlp
build type: production, debug and profile all fail.

Other Downloads


Live chat
Online