| Summary: | ubi and ubifs image compression failed on do_image_ubi and do_image_ubifs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Francisco Pedraza <francisco.j.pedraza.gonzalez> | ||||
| Component: | core | Assignee: | Choong Yin Thong <yin.thong.choong> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Francisco Pedraza <francisco.j.pedraza.gonzalez> | ||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | jose.perez.carranza, meta.mr.watcher, meta.watcher, sgw | ||||
| Version: | 2.4 | ||||||
| Target Milestone: | 2.4 M2 | ||||||
| Hardware: | x86 | ||||||
| OS: | x86 | ||||||
| URL: | http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html#var-IMAGE_TYPES | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Found by QA test) | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Bug Depends on: | |||||||
| Bug Blocks: | 10745 | ||||||
| Attachments: |
|
||||||
I has relation with another implementation I am working on: https://bugzilla.yoctoproject.org/show_bug.cgi?id=10745 Please add below configuration in conf/local.conf and the build will successful. MKUBIFS_ARGS = " -m 512 -e 15360 -c 3600 " UBINIZE_ARGS = " -p 16KiB -m 512 -s 512 " https://lists.yoctoproject.org/pipermail/yocto/2013-June/014757.html Enhancement on image_type.bbclass in order to pre-early bring out the error and example configuration for any ubi and ubifs image build. |
Created attachment 3779 [details] log do_image_ubifs Ubi and Ubifs image compression failed on do_image_ubi and do_image_ubifs when compiling. Steps to reproduce 1. Add the following variables to "conf/local.conf" IMAGE_FSTYPES += "ubi ubifs" 2. Compile $ bitbake core-image-minimal Expected result: The compilation process should be performed successfully and the generated compressed image should be at: "~/tmp/deploy/images/machine/" Actual result: The compilation image process failed getting the following error message: ERROR: core-image-minimal-1.0-r0 do_image_ubifs: Function failed: do_image_ubifs (log file is located at /home/fjpedraz/Bugs/2.4/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_ubifs.33938) ERROR: Logfile of failure stored in: /home/fjpedraz/Bugs/2.4/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_ubifs.33938 Log data follows: | DEBUG: Executing python function set_image_size | DEBUG: Python function set_image_size finished | DEBUG: Executing shell function do_image_ubifs | Error: min. I/O unit was not specified (use -h for help) | WARNING: /home/fjpedraz/Bugs/2.4/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_ubifs.33938:1 exit 255 from 'mkfs.ubifs -r /home/fjpedraz/Bugs/2.4/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs -o /home/fjpedraz/Bugs/2.4/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-qemux86-20170529211127.rootfs.ubifs ${MKUBIFS_ARGS}' | ERROR: Function failed: do_image_ubifs (log file is located at /home/fjpedraz/Bugs/2.4/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_ubifs.33938) ERROR: Task (/home/fjpedraz/Bugs/2.4/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_ubifs) failed with exit code '1' NOTE: Tasks Summary: Attempted 2397 tasks of which 2391 didn't need to be rerun and 1 failed. Build Configuration: BB_VERSION = "1.34.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal-4.8" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "2.3" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" Attached you can find logs.