I'm trying to `bitbake imx-image-full` for the imx8mpevk, but it is failing on boost 1.75. The full error is as follows:
ERROR: boost-1.75.0-r0 do_package: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', '/home/colin/imx-yocto-bsp/build-full2/tmp/work/cortexa53-crypto-poky-linux/boost/1.75.0-r0/package/usr/lib/libboost_log.a']):
dwarfsrcfiles: /home/colin/imx-yocto-bsp/build-full2/tmp/work/cortexa53-crypto-poky-linux/boost/1.75.0-r0/package/usr/lib/libboost_log.a: not a valid ELF file
ERROR: Logfile of failure stored in: /home/colin/imx-yocto-bsp/build-full2/tmp/work/cortexa53-crypto-poky-linux/boost/1.75.0-r0/temp/log.do_package.22126
ERROR: Task (/home/colin/imx-yocto-bsp/sources/poky/meta/recipes-support/boost/boost_1.75.0.bb:do_package) failed with exit code '1'
Any tips? I'm quite new to this stuff. Thanks.
Solved! Go to Solution.
Problem solved. Fixed by doing a `bitbake -c cleanall boost`. Must have been bad files left over from a previous failed attempt.
Problem solved. Fixed by doing a `bitbake -c cleanall boost`. Must have been bad files left over from a previous failed attempt.