Hello All, Yesterday I got an error on “task_do_rootfs”. It notice that yocto unable to find package “mio-lib” which I just add to system.However, the “mio-lib” package is built smoothly with no error. I spend whole day to try to resolve this problem and have no progress indeed.
here is the error log: NOTE: Running task 1003 of 1298 (ID: 137, /home/ll/work/optimus/meta-imx28/recipes-extended/mio-lib/mio-lib_0.1.bb, do_fetch) NOTE: package mio-lib-0.1-r0: task do_fetch: Started NOTE: package mio-lib-0.1-r0: task do_fetch: Succeeded NOTE: Running task 1289 of 1298 (ID: 134, /home/ll/work/optimus/meta-imx28/recipes-extended/mio-lib/mio-lib_0.1.bb, do_unpack) NOTE: package mio-lib-0.1-r0: task do_unpack: Started NOTE: package mio-lib-0.1-r0: task do_unpack: Succeeded NOTE: Running task 1290 of 1298 (ID: 135, /home/ll/work/optimus/meta-imx28/recipes-extended/mio-lib/mio-lib_0.1.bb, do_patch) NOTE: package mio-lib-0.1-r0: task do_patch: Started NOTE: package mio-lib-0.1-r0: task do_patch: Succeeded NOTE: Running task 1291 of 1298 (ID: 141, /home/ll/work/optimus/meta-imx28/recipes-extended/mio-lib/mio-lib_0.1.bb, do_populate_lic) NOTE: Running task 1292 of 1298 (ID: 138, /home/ll/work/optimus/meta-imx28/recipes-extended/mio-lib/mio-lib_0.1.bb, do_configure) NOTE: package mio-lib-0.1-r0: task do_populate_lic: Started NOTE: package mio-lib-0.1-r0: task do_configure: Started NOTE: package mio-lib-0.1-r0: task do_populate_lic: Succeeded NOTE: package mio-lib-0.1-r0: task do_configure: Succeeded NOTE: Running task 1293 of 1298 (ID: 139, /home/ll/work/optimus/meta-imx28/recipes-extended/mio-lib/mio-lib_0.1.bb, do_compile) NOTE: package mio-lib-0.1-r0: task do_compile: Started NOTE: package mio-lib-0.1-r0: task do_compile: Succeeded NOTE: Running task 1294 of 1298 (ID: 136, /home/ll/work/optimus/meta-imx28/recipes-extended/mio-lib/mio-lib_0.1.bb, do_install) NOTE: package mio-lib-0.1-r0: task do_install: Started NOTE: package mio-lib-0.1-r0: task do_install: Succeeded NOTE: Running task 1295 of 1298 (ID: 140, /home/ll/work/optimus/meta-imx28/recipes-extended/mio-lib/mio-lib_0.1.bb, do_package) NOTE: package mio-lib-0.1-r0: task do_package: Started NOTE: package mio-lib-0.1-r0: task do_package: Succeeded NOTE: Running task 1296 of 1298 (ID: 142, /home/ll/work/optimus/meta-imx28/recipes-extended/mio-lib/mio-lib_0.1.bb, do_package_write_rpm) NOTE: package mio-lib-0.1-r0: task do_package_write_rpm: Started NOTE: package mio-lib-0.1-r0: task do_package_write_rpm: Succeeded NOTE: Running task 1297 of 1298 (ID: 8, /home/ll/work/optimus/meta-imx28/recipes-core/images/core-image-imx28.bb, do_rootfs) NOTE: package core-image-imx28-1.0-r0: task do_rootfs: Started ERROR: Function 'do_rootfs' failed (see /home/ll/work/optimus-imx28-build/tmp/work/mx28evk-insigma-linux-gnueabi/core-image-imx28-1.0-r0/temp/log.do_rootfs.17769 for further information) ERROR: Logfile of failure stored in: /home/ll/work/optimus-imx28-build/tmp/work/mx28evk-insigma-linux-gnueabi/core-image-imx28-1.0-r0/temp/log.do_rootfs.17769 Log data follows: | Generating solve db for /home/ll/work/optimus-imx28-build/tmp/deploy/rpm/mx28evk... | total: 1 0.000000 MB 0.767100 secs | fingerprint: 312 0.002844 MB 0.032388 secs | install: 104 0.000000 MB 0.217042 secs | dbadd: 104 0.000000 MB 0.207174 secs | dbget: 1021 0.000000 MB 0.001158 secs | dbput: 104 0.488224 MB 0.136671 secs | readhdr: 1041 0.982912 MB 0.169746 secs | hdrload: 520 1.447744 MB 0.004313 secs | hdrget: 18405 0.000000 MB 0.018025 secs | Generating solve db for /home/ll/work/optimus-imx28-build/tmp/deploy/rpm/armv5te... | total: 1 0.000000 MB 7.642331 secs | fingerprint: 1677 0.044516 MB 0.138877 secs | install: 559 0.000000 MB 1.274561 secs | dbadd: 559 0.000000 MB 1.239767 secs | dbget: 17048 0.000000 MB 0.011212 secs | dbput: 559 4.296544 MB 1.043691 secs | readhdr: 5591 8.601994 MB 4.089920 secs | hdrload: 3343 17.026066 MB 0.045179 secs | hdrget: 102529 0.000000 MB 0.118865 secs | Generating solve db for /home/ll/work/optimus-imx28-build/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.294207 secs | fingerprint: 18 0.000024 MB 0.000412 secs | install: 6 0.000000 MB 0.064882 secs | dbadd: 6 0.000000 MB 0.058694 secs | dbget: 19 0.000000 MB 0.000081 secs | dbput: 6 0.018576 MB 0.005771 secs | readhdr: 61 0.037992 MB 0.145214 secs | hdrload: 30 0.055128 MB 0.000311 secs | hdrget: 983 0.000000 MB 0.001172 secs | Generating solve db for /home/ll/work/optimus-imx28-build/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.117318 secs | fingerprint: 18 0.000024 MB 0.000665 secs | install: 6 0.000000 MB 0.062555 secs | dbadd: 6 0.000000 MB 0.055995 secs | dbget: 19 0.000000 MB 0.000080 secs | dbput: 6 0.018576 MB 0.005078 secs | readhdr: 61 0.037992 MB 0.000263 secs | hdrload: 30 0.055128 MB 0.000242 secs | hdrget: 983 0.000000 MB 0.000723 secs | Processing task-core-boot... | Processing u-boot... | Processing mio-lib... | Unable to find package mio-lib (mio-lib)! | ERROR: Function 'do_rootfs' failed (see /home/ll/work/optimus-imx28-build/tmp/work/mx28evk-insigma-linux-gnueabi/core-image-imx28-1.0-r0/temp/log.do_rootfs.17769 for further information) NOTE: package core-image-imx28-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/ll/work/optimus/meta-imx28/recipes-core/images/core-image-imx28.bb, do_rootfs) failed with exit code '1' ERROR: '/home/ll/work/optimus/meta-imx28/recipes-core/images/core-image-imx28.bb' failed Some information maybe helpful I acquire in my terrible trip. Add “�Cv” option to bitbake ,log show unable to find package name from solve db. Use “grep �Crn” to check, it show as below: grep -rn "mio-lib" ./ Binary file ./armv5te/mio-lib-dbg-0.1-r0.armv5te.rpm matches Binary file ./armv5te/mio-lib-dev-0.1-r0.armv5te.rpm matches Binary file ./armv5te/solvedb/Nvra matches Binary file ./armv5te/solvedb/__db.006 matches Binary file ./armv5te/solvedb/__db.003 matches Binary file ./armv5te/solvedb/Providename matches Binary file ./armv5te/solvedb/Packages matches Binary file ./armv5te/solvedb/Name matches ./armv5te/solvedb/manifest:7:/home/ll/work/optimus-imx28-build/tmp/deploy/rpm/armv5te/mio-lib-dbg-0.1-r0.armv5te.rpm ./armv5te/solvedb/manifest:351:/home/ll/work/optimus-imx28-build/tmp/deploy/rpm/armv5te/mio-lib-dev-0.1-r0.armv5te.rpm ./armv5te/solvedb/manifest:474:/home/ll/work/optimus-imx28-build/tmp/deploy/rpm/armv5te/mio-lib-staticdev-0.1-r0.armv5te.rpm Binary file ./armv5te/solvedb/Requirename matches Binary file ./armv5te/solvedb/__db.005 matches Binary file ./armv5te/mio-lib-staticdev-0.1-r0.armv5te.rpm matches I use another package which reside in yocto originally named “libaio” to compare.by changing something in bb file and makefile, the error appear when I delete some line in makefile’s install target.Fllow is my operation: install: $(all_targets) install -D -m 644 libaio.h $(includedir)/libaio.h install -D -m 644 libaio.a $(libdir)/libaio.a install -D -m 755 $(libname) $(libdir)/$(libname) ===============original one ln -sf $(libname) $(libdir)/$(soname) ln -sf $(libname) $(libdir)/libaio.so || || || \/ install: $(all_targets) install -D -m 644 libaio.h $(includedir)/libaio.h install -D -m 644 libaio.a $(libdir)/libaio.a ===================== bad work install: $(all_targets) install -D -m 755 $(libname) $(libdir)/$(libname) =======================google work I cann’t find real reason for this error. What happen to me? Best reagards feye 蔡振军 网新技术有限公司物联网事业部 杭州天目山路226号网新大厦 电话-138 6745 1910
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto