Can't built boost-1.75, "not a valid ELF file"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't built boost-1.75, "not a valid ELF file"

Jump to solution
1,587 Views
colinbroderick
Contributor III

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.

Tags (1)
0 Kudos
1 Solution
1,584 Views
colinbroderick
Contributor III

Problem solved. Fixed by doing a `bitbake -c cleanall boost`. Must have been bad files left over from a previous failed attempt.

View solution in original post

0 Kudos
1 Reply
1,585 Views
colinbroderick
Contributor III

Problem solved. Fixed by doing a `bitbake -c cleanall boost`. Must have been bad files left over from a previous failed attempt.

0 Kudos