You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Hello, I'm very to new to Yocto so excuse me if this is a mistake on my behalf but I was not able to build the meta-micropython layer with the raspberrypi target. I receiving the same error that the ffi.h header is missing, this header seams to usually live inside the libffi.
create an image and add an depends and install it by
# base this image on core image base because we do not want to
# create a new image, instead use a given one
require recipes-core/images/core-image-base.bb
DEPENDS += " micropython"
IMAGE_INSTALL += "micropython"
Results:
It seams the micropython is looking for the ffi.h header file and is not able to find it.
....
| modffi.c:32:10: fatal error: ffi.h: No such file or directory
| #include <ffi.h>
| ^~~~~~~
| compilation terminated.
| ../py/mkrules.mk:73: recipe for target 'build/genhdr/qstr.i.last' failed
| make: *** [build/genhdr/qstr.i.last] Error 1
| make: *** Deleting file 'build/genhdr/qstr.i.last'
| make: Leaving directory '/opt/yocto/workspace/raspberrypi-build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/micropython/1.8.7-r1.0/git/unix'
| ERROR: oe_runmake failed
| WARNING: /opt/yocto/workspace/raspberrypi-build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/micropython/1.8.7-r1.0/temp/run.do_compile.24621:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /opt/yocto/workspace/raspberrypi-build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/micropython/1.8.7-r1.0/temp/log.do_compile.24621)
ERROR: Task (/opt/yocto/workspace/sources/meta-micropython/recipes-devtools/micropython/micropython_1.8.7.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3412 tasks of which 3394 didn't need to be rerun and 1 failed.
...
Expectations:
I did expect that the image build successfully.
The text was updated successfully, but these errors were encountered:
Description: Hello, I'm very to new to Yocto so excuse me if this is a mistake on my behalf but I was not able to build the meta-micropython layer with the raspberrypi target. I receiving the same error that the ffi.h header is missing, this header seams to usually live inside the libffi.
Steps to reproduce:
Results:
It seams the micropython is looking for the ffi.h header file and is not able to find it.
Expectations:
I did expect that the image build successfully.
The text was updated successfully, but these errors were encountered: