[meta-freescale] yocto 2.0.1 M2Crypto issue

Peter Bergin peter.bergin at tritech.se
Sat Mar 5 13:54:19 PST 2016


Hi,

On 03/05/2016 09:40 PM, idealsim wrote:
Thanks, i applied this path but when i retry to build crda (after a -c cleanall) i have the same error :

modjo at Linux-corei5:/media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild$ MACHINE=udooneo bitbake crda
Loading cache: 100% |#######################################################################################################################################################################################| ETA:  00:00:00
Loaded 2527 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-15.10"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "udooneo"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.1"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto        = "HEAD:1a52eceaa5df89914b6a711defdcf0046e74c7f6"
meta-oe
meta-multimedia
meta-python
meta-networking
meta-ruby         = "HEAD:dc5634968b270dde250690609f0015f881db81f2"
meta-fsl-arm      = "HEAD:8d22b44716fa624ff87383c36d222d9e28d0b267"
meta-fsl-arm-extra = "HEAD:2fdd1f7729c11900126f6c73346b8ea89448e927"
meta-udoo         = "HEAD:0ca56fc886b65776c2811b56de242bb2a628df01"
meta-fsl-demos    = "HEAD:8bffde8d803dd2362fbded79781ce084d723b048"
meta-qt5          = "jethro:d5536e34ec985c82b621448ab4325e5cbba38560"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/crda/3.18-r0/temp/log.do_compile.27113)
ERROR: Logfile of failure stored in: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/crda/3.18-r0/temp/log.do_compile.27113
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 MAKEFLAGS= DESTDIR=/media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/crda/3.18-r0/image LIBDIR=/usr/lib/crda LDLIBREG=-Wl,-rpath,/usr/lib/crda -lreg all_noverify
|   GEN  keys-gcrypt.c
|   Trusted pubkeys: pubkeys/linville.key.pub.pem pubkeys/sforshee.key.pub.pem
| ERROR: Failed to import the "M2Crypto" module: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method
| Please install the "M2Crypto" Python module.
| On Debian GNU/Linux the package is called "python-m2crypto".
| Makefile:113: recipe for target 'keys-gcrypt.c' failed
| make: *** [keys-gcrypt.c] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/crda/3.18-r0/temp/log.do_compile.27113)
ERROR: Task 6 (/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-openembedded/meta-networking/recipes-connectivity/crda/crda_3.18.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1113 tasks of which 1107 didn't need to be rerun and 1 failed.
No currently running tasks (1113 of 1120)

Do i need to clean another package before rebuild ?


Try 'bitbake -c cleansstate python-m2crypto-native'

Regards,
/Peter

Le 05/03/2016 19:35, Peter Bergin a écrit :
Hi,

On 03/05/2016 03:07 PM, idealsim wrote:
Hi, i'm trying to rebuild an image that worked before i made a repo sync, now i have this error after a bitbake :

ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/crda/3.18-r0/temp/log.do_compile.32621)
ERROR: Logfile of failure stored in: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/crda/3.18-r0/temp/log.do_compile.32621
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 MAKEFLAGS= DESTDIR=/media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/crda/3.18-r0/image LIBDIR=/usr/lib/crda LDLIBREG=-Wl,-rpath,/usr/lib/crda -lreg all_noverify
|   GEN  keys-gcrypt.c
|   Trusted pubkeys: pubkeys/linville.key.pub.pem pubkeys/sforshee.key.pub.pem
| ERROR: Failed to import the "M2Crypto" module: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: SSLv2_method
| Please install the "M2Crypto" Python module.
| On Debian GNU/Linux the package is called "python-m2crypto".
| Makefile:113: recipe for target 'keys-gcrypt.c' failed
| make: *** [keys-gcrypt.c] Error 1
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/crda/3.18-r0/temp/log.do_compile.32621)
ERROR: Task 4633 (/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-openembedded/meta-networking/recipes-connectivity/crda/crda_3.18.bb, do_compile) failed with exit code '1'

This image is for udoo neo and i use this layer : <https://github.com/graugans/meta-udoo> https://github.com/graugans/meta-udoo (build for qt5.5.1 jethro)

Do you have an idea how to resolve this issue ?

Mickaël.

http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106362.html

This patch should solve your problem. I think it soon will go into meta-python layer.

Regards,
/Peter


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160305/2e81e38b/attachment.html>


More information about the meta-freescale mailing list