Bug 2277 - bitbake error on dash shell on ubuntu 11.10 64bits
Summary: bitbake error on dash shell on ubuntu 11.10 64bits
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: Probably fixed in master, works for R...
Depends on:
Blocks:
 
Reported: 2012-04-10 23:56 UTC by Boon Pin Khor
Modified: 2012-04-17 07:53 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
bitbake error log (2.76 KB, application/octet-stream)
2012-04-17 01:47 UTC, Boon Pin Khor
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boon Pin Khor 2012-04-10 23:56:35 UTC
on ubuntu 11.10 64bits machine ,encounter error doing bitbake on "dash" shell . no issue on bash shell .

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 '1' NOTE: Tasks Summary: Attempted
>>> 1329 tasks of which 287 didn't need to be rerun and 1 failed.
Comment 1 Richard Purdie 2012-04-12 09:50:36 UTC
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't reproduce. If you could test with the above change applied, that would be appreciated.
Comment 2 Richard Purdie 2012-04-13 13:21:06 UTC
I'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.
Comment 3 Boon Pin Khor 2012-04-16 01:03:21 UTC
I downloaded poky-2082a205f2cfc93eb50e202acea5e7590f200cc5.tar.bz2

by using "dash" 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 '1'
NOTE: Tasks Summary: Attempted 1329 tasks of which 1324 didn'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.
Comment 4 Richard Purdie 2012-04-16 09:06:19 UTC
Could you post the full output if you run the bitbake command again please? I'm having trouble reproducing this.
Comment 5 Boon Pin Khor 2012-04-17 01:47:54 UTC
Created attachment 480 [details]
bitbake error log
Comment 6 Richard Purdie 2012-04-17 07:53:06 UTC
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 "local: 1: -Uhv: bad variable name" which matches the log file you posted. There is only one place the "-Uhv" 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.