tree/branch: poky/1.1_M4 commit: 6462c158fc482e495c1171ffc7747e2ad650a292 With 1.1 M4 branch, if I build lib32 sato image for qemux86-64 against rpm, it will report failure when do_package_write_rpm for sysvinit-inittab. ########## jxu49@vt-nhm4:~/osel/poky-rc2/build$ cat /home/jxu49/osel/poky-rc2/build/tmp/work/qemux86_64-pokymllib32-linux/lib32-sysvinit-inittab-2.88dsf-r6/temp/log.do_package_write_rpm.11051 DEBUG: Removing manifest: /home/jxu49/osel/poky-rc2/build/tmp/deploy/rpm/lib32_qemux86_64/sysvinit-inittab-dev-2.88dsf-r6.lib32_qemux86_64.rpm DEBUG: Removing manifest: /home/jxu49/osel/poky-rc2/build/tmp/deploy/rpm/lib32_qemux86_64/sysvinit-inittab-2.88dsf-r6.lib32_qemux86_64.rpm DEBUG: Removing manifest: /home/jxu49/osel/poky-rc2/build/tmp/deploy/rpm/lib32_qemux86_64/sysvinit-inittab-dbg-2.88dsf-r6.lib32_qemux86_64.rpm DEBUG: Removing manifest: /home/jxu49/osel/poky-rc2/build/tmp/deploy/rpm/lib32_qemux86_64/ ERROR: Error executing a python function in /home/jxu49/osel/poky-rc2/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb: ExpansionError: Failure expanding variable SUMMARY, expression was ${SUMMARY} - Debugging files which triggered exception Exception: variable SUMMARY references itself! ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "write_specfile", line 403, in <module> ERROR: ERROR: File "write_specfile", line 153, in write_specfile ERROR: ERROR: File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/data.py", line 88, in getVar ERROR: return d.getVar(var, exp) ERROR: ERROR: File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/data_smart.py", line 275, in getVar ERROR: return self.expand(value, var) ERROR: ERROR: File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/data_smart.py", line 144, in expand ERROR: return self.expandWithRefs(s, varname).value ERROR: ERROR: File "/home/jxu49/osel/poky-rc2/bitbake/lib/bb/data_smart.py", line 134, in expandWithRefs ERROR: raise ExpansionError(varname, s, exc) ERROR: ERROR: The code that was being executed was: ERROR: 0399: ERROR: 0400: specfile.close() ERROR: 0401: ERROR: 0402: ERROR: *** 0403:write_specfile(d) ERROR: 0404: ERROR: (file: 'write_specfile', lineno: 403, function: <module>) ERROR: 0149: conffiles = (bb.data.getVar('CONFFILES', localdata, True) or "").split() ERROR: 0150: ERROR: 0151: splitname = strip_multilib(pkgname, d) ERROR: 0152: ERROR: *** 0153: splitsummary = (bb.data.getVar('SUMMARY', localdata, True) or bb.data.getVar('DESCRIPTION', localdata, True) or ".") ERROR: 0154: splitversion = (bb.data.getVar('PKGV', localdata, True) or "").replace('-', '+') ERROR: 0155: splitrelease = (bb.data.getVar('PKGR', localdata, True) or "") ERROR: 0156: splitepoch = (bb.data.getVar('PKGE', localdata, True) or "") ERROR: 0157: splitlicense = (bb.data.getVar('LICENSE', localdata, True) or "") ERROR: (file: 'write_specfile', lineno: 153, function: write_specfile) ERROR: Function 'write_specfile' failed ##########
Jiajun: Could you include the local.conf settings you're using for this build and what target you're building please?
I re-test 1.1 M4 with following configure again, it also fails at do_rootfs for image. Configuration of local.conf: Target: lib32-core-image-sato MACHINE: qemux86-64 ### require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" ### ######## NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Running task 5507 of 5509 (ID: 8, virtual:multilib:lib32:/home/jxu49/osel/poky-rc2-tmp/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) NOTE: package lib32-core-image-sato-1.0-r0: task do_rootfs: Started ERROR: Function 'do_rootfs' failed (see /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-sato-1.0-r0/temp/log.do_rootfs.12837 for further information) ERROR: Logfile of failure stored in: /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-sato-1.0-r0/temp/log.do_rootfs.12837 Log data follows: | Generating solve db for /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/deploy/rpm/qemux86_64... | total: 1 0.000000 MB 3.014730 secs | fingerprint: 1200 0.007158 MB 0.034387 secs | install: 400 0.000000 MB 0.517640 secs | dbadd: 400 0.000000 MB 0.507002 secs | dbget: 2220 0.000000 MB 0.002993 secs | dbput: 400 1.882492 MB 0.423979 secs | readhdr: 4001 3.721312 MB 1.714652 secs | hdrload: 2000 5.514108 MB 0.016957 secs | hdrget: 68913 0.000000 MB 0.043258 secs | Generating solve db for /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/deploy/rpm/x86... | total: 1 0.000000 MB 53.526970 secs | fingerprint: 16020 0.188338 MB 1.113048 secs | install: 5340 0.000000 MB 8.313875 secs | dbadd: 5340 0.000000 MB 8.147787 secs | dbget: 60100 0.000000 MB 0.085998 secs | dbput: 5340 26.847280 MB 7.294176 secs | readhdr: 53401 53.784706 MB 21.501620 secs | hdrload: 27374 82.515930 MB 0.237115 secs | hdrget: 961066 0.000000 MB 0.581985 secs | Generating solve db for /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.447712 secs | fingerprint: 96 0.003280 MB 0.005331 secs | install: 32 0.000000 MB 0.063285 secs | dbadd: 32 0.000000 MB 0.060222 secs | dbget: 593 0.000000 MB 0.000203 secs | dbput: 32 0.264024 MB 0.034782 secs | readhdr: 321 0.527296 MB 0.302526 secs | hdrload: 160 0.784056 MB 0.001400 secs | hdrget: 5283 0.000000 MB 0.004295 secs | Generating solve db for /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/deploy/rpm/qemux86_64... | total: 1 0.000000 MB 0.940767 secs | fingerprint: 1200 0.007158 MB 0.023951 secs | install: 400 0.000000 MB 0.523593 secs | dbadd: 400 0.000000 MB 0.513539 secs | dbget: 2220 0.000000 MB 0.002666 secs | dbput: 400 1.882492 MB 0.437403 secs | readhdr: 4001 3.721312 MB 0.004446 secs | hdrload: 2000 5.514108 MB 0.013520 secs | hdrget: 68913 0.000000 MB 0.014544 secs | Generating solve db for /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/deploy/rpm/x86... | total: 1 0.000000 MB 21.610738 secs | fingerprint: 16020 0.188338 MB 0.712854 secs | install: 5340 0.000000 MB 8.468923 secs | dbadd: 5340 0.000000 MB 8.347882 secs | dbget: 60100 0.000000 MB 0.042536 secs | dbput: 5340 26.847280 MB 7.493790 secs | readhdr: 53401 53.784706 MB 0.064664 secs | hdrload: 27374 82.515930 MB 0.186969 secs | hdrget: 961066 0.000000 MB 0.193861 secs | Generating solve db for /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.110169 secs | fingerprint: 96 0.003280 MB 0.004627 secs | install: 32 0.000000 MB 0.057192 secs | dbadd: 32 0.000000 MB 0.054380 secs | dbget: 593 0.000000 MB 0.000204 secs | dbput: 32 0.264024 MB 0.033055 secs | readhdr: 321 0.527296 MB 0.000485 secs | hdrload: 160 0.784056 MB 0.001045 secs | hdrget: 5283 0.000000 MB 0.001616 secs | Generating solve db for /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.112667 secs | fingerprint: 96 0.003280 MB 0.004217 secs | install: 32 0.000000 MB 0.059806 secs | dbadd: 32 0.000000 MB 0.057339 secs | dbget: 593 0.000000 MB 0.000537 secs | dbput: 32 0.264024 MB 0.032888 secs | readhdr: 321 0.527296 MB 0.000487 secs | hdrload: 160 0.784056 MB 0.001047 secs | hdrget: 5283 0.000000 MB 0.001609 secs | Processing locale-base-en-us... | Processing locale-base-en-gb... | Processing lib32-task-core-boot... | Processing lib32-task-core-apps-console... | Processing lib32-task-core-ssh-dropbear... | Processing lib32-task-core-apps-x11-pimlico... | Processing lib32-task-core-x11-sato... | Processing lib32-zypper... | Processing lib32-task-core-x11-base... | Processing lib32-task-core-apps-x11-games... | Processing lib32-task-core-apps-x11-core... | Processing lib32-task-base-extended... | Processing lib32-rpm... | error: Failed dependencies: | xtscal is needed by x11-common-0.1-r44.all | xdpyinfo is needed by x11-common-0.1-r44.all | xmodmap is needed by x11-common-0.1-r44.all | xinit is needed by x11-common-0.1-r44.all | rsync is needed by qemu-config-1.0-r21.all | task-core-nfs-server is needed by qemu-config-1.0-r21.all | distcc is needed by qemu-config-1.0-r21.all | oprofileui-server is needed by qemu-config-1.0-r21.all | ERROR: Function 'do_rootfs' failed (see /home/jxu49/osel/poky-rc2-tmp/lib32-core-build-qemux86-64/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-sato-1.0-r0/temp/log.do_rootfs.12837 for further information) NOTE: package lib32-core-image-sato-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (virtual:multilib:lib32:/home/jxu49/osel/poky-rc2-tmp/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1' ERROR: 'virtual:multilib:lib32:/home/jxu49/osel/poky-rc2-tmp/meta/recipes-sato/images/core-image-sato.bb' failed ########
With latest edison branch, lib32 build against qemux86-64 still fails. ######### Generating solve db for /home/jxu49/osel/poky/lib32-core-image-qemux86-64/tmp/deploy/rpm/all... total: 1 0.000000 MB 0.110719 secs fingerprint: 96 0.003280 MB 0.004520 secs install: 32 0.000000 MB 0.057527 secs dbadd: 32 0.000000 MB 0.054772 secs dbget: 593 0.000000 MB 0.000203 secs dbput: 32 0.262480 MB 0.032914 secs readhdr: 321 0.524720 MB 0.000477 secs hdrload: 160 0.779936 MB 0.001034 secs hdrget: 5288 0.000000 MB 0.001593 secs Processing locale-base-en-us... Processing locale-base-en-gb... Manifest: /home/jxu49/osel/poky/lib32-core-image-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs/install/install.manifest Processing lib32-task-core-boot... Unable to find package lib32-task-core-boot (task-core-boot)! ERROR: Function 'do_rootfs' failed (see /home/jxu49/osel/poky/lib32-core-image-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/temp/log.do_rootfs.7591 for further information) #########
Fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6f6863a2581b434390c0729cd9915306ffbf6924
Verify the bug as fixed against edison branch. commit 5ed59ae0f25bf673d514df2371da7e0415b62bb2 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Fri Oct 7 00:00:21 2011 +0100 local.conf.sample: Disable interactive patch resolution for now since doesn't work well Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>