Re: bitbake core-image-minimal failed


Found the issue is caused by realpath, replaced with it in 18.04 and it's OK

在 2021-03-02 11:53:08,"nus1998" <nus1998@...> 写道:


I'm using imx zeus 5.4.70-2.3.1, when I build the minimal images, an error encountered:

../../git/src/yp_xdr.c:38:23: fatal error: netconfig.h: No such file or directory
|  #include <netconfig.h>
|                        ^
| compilation terminated.
Summary: 1 task failed:

netconfig.h can be found at ./tmp/sysroots-components/x86_64/libtirpc-native/usr/include/tirpc, and on compiling there is a message -I<my path>/build-wayland/tmp/work/x86_64-linux/libnsl2-native/1.2.0+gitAUTOINC+37c5ffe303-r0/recipe-sysroot-native/usr/lib/pkgconfig//usr/include/tirpc, so seems relocatable.bbclass doesn't set the relative path properly?

Join to automatically receive all group messages.