Bug 22

Summary: Puzzles fails to build because /bin/sh is assumed to be bash
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: George Wright <gwright>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description George Wright 2007-05-23 13:23:24 UTC
Upon trying to build Poky on my Ubuntu Edgy box, I get the following failure 
message:

ERROR: log data follows 
(/home/george/poky/build/tmp/work/armv5te-poky-linux-gnueabi/puzzles-r7593-r4/temp/log.do_configure.20630)
| /home/george/poky/build/tmp/work/armv5te-poky-linux-gnueabi/puzzles-r7593-r4/temp/run.do_configure.20630: 
489: Syntax error: Bad substitution

It turns out this is because run.do_configure.20630 is set to execute 
using /bin/sh which appears to be assumed as bash (on Ubuntu it's dash). 
Executing the file explicitly with bash works.
Comment 1 Richard Purdie 2007-06-30 12:23:45 UTC
This has been fixed to make it sh compatible.