Hi all,

I'm struggling with what should be a simple-ish recipe (I think). I'm
writing a recipe implementation for
https://github.com/open62541/open62541 (open62541).
So I start with

devtool add open62541 https://github.com/open62541/open62541.git

then I edit this, so it currently looks like this for me:

SUMMARY = "OPC UA implementation"
LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
SRC_URI = "gitsm://github.com/open62541/open62541.git;protocol=https"
PV = "0.3+git${SRCPV}"
SRCREV = "a6b99dc0579a53207b7dfe1d16423c2c1daa467e"

S = "${WORKDIR}/git"

# NOTE: unable to map the following CMake package dependencies: Check
Sphinx ClangTools LATEX MbedTLS Valgrind
DEPENDS = "openssl"

inherit cmake pythonnative

# Specify any options you want to pass to cmake using EXTRA_OECMAKE:

however, when I run devtool build open62541, I get  errors about "No module
named six":

| make[2]: Leaving directory
| Traceback (most recent call last):
|   File
line 27, in <module>
|     from nodeset import *
|   File
line 30, in <module>
|     from nodes import *
|   File
line 21, in <module>
|     from datatypes import *
|   File
line 29, in <module>
|     import six
| ImportError: No module named six
| CMakeFiles/open62541-generator-namespace.dir/build.make:71: recipe for
target 'src_generated/ua_namespace0.c' failed
| make[2]: *** [src_generated/ua_namespace0.c] Error 1
| make[2]: Leaving directory
| CMakeFiles/Makefile2:108: recipe for target
'CMakeFiles/open62541-generator-namespace.dir/all' failed
| make[1]: *** [CMakeFiles/open62541-generator-namespace.dir/all] Error 2
| make[1]: *** Waiting for unfinished jobs....

How do I get "python-six" added as part of pythonnative?


Giordon Stark
yocto mailing list

Reply via email to