<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1497</bug_id>
          
          <creation_ts>2011-09-19 07:09:32 +0000</creation_ts>
          <short_desc>[multilib] lib32 build against qemux86-64 failed during do_rootfs</short_desc>
          <delta_ts>2011-10-08 01:42:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>ke.yu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16287</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-19 07:09:32 +0000</bug_when>
    <thetext>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 &quot;write_specfile&quot;, line 403, in &lt;module&gt;
ERROR:
ERROR:   File &quot;write_specfile&quot;, line 153, in write_specfile
ERROR:
ERROR:   File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/data.py&quot;, line 88, in getVar
ERROR:     return d.getVar(var, exp)
ERROR:
ERROR:   File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/data_smart.py&quot;, line 275, in getVar
ERROR:     return self.expand(value, var)
ERROR:
ERROR:   File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/data_smart.py&quot;, line 144, in expand
ERROR:     return self.expandWithRefs(s, varname).value
ERROR:
ERROR:   File &quot;/home/jxu49/osel/poky-rc2/bitbake/lib/bb/data_smart.py&quot;, 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: &apos;write_specfile&apos;, lineno: 403, function: &lt;module&gt;)
ERROR:      0149:               conffiles = (bb.data.getVar(&apos;CONFFILES&apos;, localdata, True) or &quot;&quot;).split()
ERROR:      0150:
ERROR:      0151:               splitname    = strip_multilib(pkgname, d)
ERROR:      0152:
ERROR:  *** 0153:               splitsummary = (bb.data.getVar(&apos;SUMMARY&apos;, localdata, True) or bb.data.getVar(&apos;DESCRIPTION&apos;, localdata, True) or &quot;.&quot;)
ERROR:      0154:               splitversion = (bb.data.getVar(&apos;PKGV&apos;, localdata, True) or &quot;&quot;).replace(&apos;-&apos;, &apos;+&apos;)
ERROR:      0155:               splitrelease = (bb.data.getVar(&apos;PKGR&apos;, localdata, True) or &quot;&quot;)
ERROR:      0156:               splitepoch   = (bb.data.getVar(&apos;PKGE&apos;, localdata, True) or &quot;&quot;)
ERROR:      0157:               splitlicense = (bb.data.getVar(&apos;LICENSE&apos;, localdata, True) or &quot;&quot;)
ERROR: (file: &apos;write_specfile&apos;, lineno: 153, function: write_specfile)
ERROR: Function &apos;write_specfile&apos; failed
##########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16367</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-09-21 17:52:41 +0000</bug_when>
    <thetext>Jiajun: Could you include the local.conf settings you&apos;re using for this build and what target you&apos;re building please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16396</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-22 06:13:37 +0000</bug_when>
    <thetext>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 = &quot;multilib:lib32&quot;
DEFAULTTUNE_virtclass-multilib-lib32 = &quot;x86&quot;
###

########
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 &apos;do_rootfs&apos; 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 &apos;do_rootfs&apos; 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 &apos;1&apos;
ERROR: &apos;virtual:multilib:lib32:/home/jxu49/osel/poky-rc2-tmp/meta/recipes-sato/images/core-image-sato.bb&apos; failed
########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16505</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-26 22:40:27 +0000</bug_when>
    <thetext>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 &apos;do_rootfs&apos; 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)
#########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16556</commentid>
    <comment_count>4</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-09-28 18:10:00 +0000</bug_when>
    <thetext>Fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6f6863a2581b434390c0729cd9915306ffbf6924</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16795</commentid>
    <comment_count>5</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-10-08 01:42:11 +0000</bug_when>
    <thetext>Verify the bug as fixed against edison branch.

commit 5ed59ae0f25bf673d514df2371da7e0415b62bb2
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Fri Oct 7 00:00:21 2011 +0100

    local.conf.sample: Disable interactive patch resolution for now since doesn&apos;t work well

    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>