lxc 4.0.6 to 4.0.9 upgrade hitting error with liblxc.a: not a valid ELF file #meta-virtualization
Trying to update meta-virtualization in Dunfell branch.
Previously using meta-virtualization hash used was "beea119eb529b4a11f266004aee8b548427aea39" where lxc is at 4.0.6 and when modified to "e6b6abacfb3a7273f0e4154010f749252c1eb0a2" (where lxc is at 4.0.9) following error is throwing.
ERROR: lxc-4.0.9-r0 do_package: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', '/nobackup/ravpati2/existing_oe/xr-oe/build/_tmp-lnt/work/corei7-64-xr-linux/lxc/4.0.9-r0/package/usr/lib64/liblxc.a']):
dwarfsrcfiles: /nobackup/ravpati2/existing_oe/xr-oe/build/_tmp-lnt/work/corei7-64-xr-linux/lxc/4.0.9-r0/package/usr/lib64/liblxc.a: not a valid ELF file
ERROR: Logfile of failure stored in: /nobackup/ravpati2/existing_oe/xr-oe/build/_tmp-lnt/work/corei7-64-xr-linux/lxc/4.0.9-r0/temp/log.do_package.40560
ERROR: Task (/nobackup/ravpati2/existing_oe/xr-oe/repos/external/openembedded-core/../meta-virtualization/recipes-containers/lxc/lxc_4.0.9.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2575 tasks of which 2561 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/nobackup/ravpati2/existing_oe/xr-oe/repos/external/openembedded-core/../meta-virtualization/recipes-containers/lxc/lxc_4.0.9.bb:do_package
Manual compilation for lxc-4.0.9 gives proper liblxc.a file.
Please, help to resolve this
- Suhas
Quoted 8 lines · On 25 Aug 2023, at 16:47, suhas103 via lists.yoctoproject.org…
Trying to update meta-virtualization in Dunfell branch.
Previously using meta-virtualization hash used was "
beea119eb529b4a11f266004aee8b548427aea39" where lxc is at 4.0.6 and when modified to "e6b6abacfb3a7273f0e4154010f749252c1eb0a2" (where lxc is at 4.0.9) following error is throwing.ERROR: lxc-4.0.9-r0
do_package: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', '/nobackup/ravpati2/existing_oe/xr-oe/build/_tmp-lnt/work/corei7-64-xr-linux/lxc/4.0.9-r0/package/usr/lib64/liblxc.a']):
dwarfsrcfiles: /nobackup/ravpati2/existing_oe/xr-oe/build/_tmp-lnt/work/corei7-64-xr-linux/lxc/4.0.9-r0/package/usr/lib64/liblxc.a: not a valid ELF file
Well, the first thing to do is determine what liblxc.a is. It’s not meant to be an ELF, so the question is what is it and why does dwarfsrcfiles want to load it as ELF?
Ross