Bug 22 - Puzzles fails to build because /bin/sh is assumed to be bash
Summary: Puzzles fails to build because /bin/sh is assumed to be bash
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 x86
: high normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2007-05-23 13:23 UTC by George Wright
Modified: 2010-12-21 06:07 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.