<?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>2277</bug_id>
          
          <creation_ts>2012-04-10 23:56:35 +0000</creation_ts>
          <short_desc>bitbake error on dash shell on ubuntu 11.10 64bits</short_desc>
          <delta_ts>2012-04-17 07:53:06 +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>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Probably fixed in master, works for RP, need reporter confirmation</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Boon Pin Khor">boon.pin.khor</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>yp.pseudo.watcher</cc>
    
    <cc>yp.watcher</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>20158</commentid>
    <comment_count>0</comment_count>
    <who name="Boon Pin Khor">boon.pin.khor</who>
    <bug_when>2012-04-10 23:56:35 +0000</bug_when>
    <thetext>on ubuntu 11.10 64bits machine ,encounter error doing bitbake on &quot;dash&quot; shell . no issue on bash shell .

NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed
&gt;&gt;&gt; ERROR: Task 8
&gt;&gt;&gt; (/home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb,
&gt;&gt;&gt; do_rootfs) failed with exit code &apos;1&apos; NOTE: Tasks Summary: Attempted
&gt;&gt;&gt; 1329 tasks of which 287 didn&apos;t need to be rerun and 1 failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20227</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-12 09:50:36 +0000</bug_when>
    <thetext>Am I right in thinking this was a build made with the beta-test for 1.2? I think this bug was fixed after the beta was released by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2082a205f2cfc93eb50e202acea5e7590f200cc5 in master?

I did try this on my 11.10 system and couldn&apos;t reproduce. If you could test with the above change applied, that would be appreciated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20309</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-13 13:21:06 +0000</bug_when>
    <thetext>I&apos;m going to mark this as fixed as I think the patch in master addresses this problem. Please reopen if the problem still exists with the master branch of later release snapshots for 1.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20411</commentid>
    <comment_count>3</comment_count>
    <who name="Boon Pin Khor">boon.pin.khor</who>
    <bug_when>2012-04-16 01:03:21 +0000</bug_when>
    <thetext>I downloaded poky-2082a205f2cfc93eb50e202acea5e7590f200cc5.tar.bz2

by using &quot;dash&quot; on ubuntu 11.10 64bits machines , running bitbake  core-image-minimal

still encounter the same problem ...


NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed
ERROR: Task 8 (/home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 1329 tasks of which 1324 didn&apos;t need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/nemo/yp-beta/meta/recipes-core/images/core-image-minimal.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20439</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-16 09:06:19 +0000</bug_when>
    <thetext>Could you post the full output if you run the bitbake command again please? I&apos;m having trouble reproducing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20489</commentid>
    <comment_count>5</comment_count>
      <attachid>480</attachid>
    <who name="Boon Pin Khor">boon.pin.khor</who>
    <bug_when>2012-04-17 01:47:54 +0000</bug_when>
    <thetext>Created attachment 480
bitbake error log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20502</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-17 07:53:06 +0000</bug_when>
    <thetext>Thanks. This is exactly the error the commit http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2082a205f2cfc93eb50e202acea5e7590f200cc5 was added to solve.
I tried reverting this locally and when I do, I get the message &quot;local: 1: -Uhv: bad variable name&quot; which matches the log file you posted. There is only one place the &quot;-Uhv&quot; options are used which is in package_rpm.bbclass and passed as an option to this function.

Please could you check that change really was applied and that you are testing with an updated version of the metadata as all the evidence suggests its not that revision.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>480</attachid>
            <date>2012-04-17 01:47:54 +0000</date>
            <delta_ts>2012-04-17 01:47:54 +0000</delta_ts>
            <desc>bitbake error log</desc>
            <filename>log.do_rootfs.2331</filename>
            <type>application/octet-stream</type>
            <size>2824</size>
            <attacher name="Boon Pin Khor">boon.pin.khor</attacher>
            
              <data encoding="base64">RVJST1I6IEZ1bmN0aW9uIGZhaWxlZDogZG9fcm9vdGZzIChzZWUgL2hvbWUvbmVtby9idWlsZC90
bXAvd29yay9xZW11eDg2LXBva3ktbGludXg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NiBN
QiAgICAgIDAuMDAwOTU5IHNlY3MKICAgaGRyZ2V0OiAgICAgICAgICAgNDUyOSAgICAgIDAuMDAw
MDAwIE1CICAgICAgMC4wMDY2OTcgc2VjcwpQcm9jZXNzaW5nIHRhc2stY29yZS1ib290Li4uCk1h
bmlmZXN0OiAvaG9tZS9uZW1vL2J1aWxkL3RtcC93b3JrL3FlbXV4ODYtcG9reS1saW51eC9jb3Jl
LWltYWdlLW1pbmltYWwtMS4wLXIwL3Jvb3Rmcy9pbnN0YWxsL2luc3RhbGwubWFuaWZlc3QKbG9j
YWw6IDE6IC1VaHY6IGJhZCB2YXJpYWJsZSBuYW1lCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>