Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Build for M3 with EEL.RC1 + Chromium preinstalled inside image.
cpio version 2.11 from hosttools dir (native)
Description
While building agl-demo-platform-crosssdk, error log is:
ERROR: agl-demo-platform-crosssdk-1.0-r0 do_image_cpio: Function failed: do_image_cpio (log file is located at /xdt/build/m3ulcb/tmp/work/m3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/temp/log.do_image_cpio.33258) ERROR: Logfile of failure stored in: /xdt/build/m3ulcb/tmp/work/m3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/temp/log.do_image_cpio.33258 Log data follows: | DEBUG: Executing python function set_image_size | DEBUG: Python function set_image_size finished | DEBUG: Executing shell function do_image_cpio | 4537251 blocks | cpio: cannot seek on output: Invalid argument | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_image_cpio (log file is located at /xdt/build/m3ulcb/tmp/work/m3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/temp/log.do_image_cpio.33258) ERROR: Task (/xdt/meta/meta-agl-demo/recipes-platform/images/agl-demo-platform-crosssdk.bb:do_image_cpio) failed with exit code '1' NOTE: Tasks Summary: Attempted 10857 tasks of which 10856 didn't need to be rerun and 1 failed.
Rootfs dir in ...../tmp/work/m3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/rootfs takes 2.5GB.
Script do_image_cpio fails at second cpio call:
- first call will create a cpio archive which seems correct (2.5GB)
- second call fails when trying to append'./init' to the big archive
Strace shows something like this before failure:
37365 lseek(3, 18446744071737656320, SEEK_SET) = -1 EINVAL (Invalid argument)
First conclusion: cpio doesn't support seeking at the end of an archive with size >2GB ...
cpio version is 2.11, built- as native tool (hosttools). Using cpio 2.11 from Debian 8 leads to the exact same error.