[oe-issues] [Bug 3053] New: ruby-1.8.5 fails to build with dash as /bin/sh
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Sat Sep 22 18:03:18 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=3053
Summary: ruby-1.8.5 fails to build with dash as /bin/sh
Product: Openembedded
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: cesarb at cesarb.net
Created an attachment (id=3051)
--> (http://bugs.openembedded.org/attachment.cgi?id=3051)
Avoids a dash issue by using /bin/echo instead of the echo builtin in the
creation of fake.rb in Makefile.in
NOTE: package ruby-1.8.5-r1: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/scratch/build/cesarb/openmoko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ruby-1.8.5-r1/temp/log.do_compile.7993)
| NOTE: make
| make[1]: Entering directory
`/scratch/build/cesarb/openmoko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ruby-1.8.5-r1/ruby-1.8.5'
| ruby:
/scratch/build/cesarb/openmoko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ruby-1.8.5-r1/ruby-1.8.5/fake.rb:12:
unterminated string meets end of file (SyntaxError)
|
/scratch/build/cesarb/openmoko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ruby-1.8.5-r1/ruby-1.8.5/fake.rb:12:
parse error, unexpected $, expecting kENDmake[1]: *** [.rbconfig.time] Error 1
| make[1]: Leaving directory
`/scratch/build/cesarb/openmoko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ruby-1.8.5-r1/ruby-1.8.5'
| FATAL: oe_runmake failed
NOTE: Task failed:
/scratch/build/cesarb/openmoko/build/tmp/work/armv4t-angstrom-linux-gnueabi/ruby-1.8.5-r1/temp/log.do_compile.7993
NOTE: package ruby-1.8.5-r1: task do_compile: failed
The error seems to be caused by a difference between bash's echo builtin and
dash's echo builtin (dash's interprets the \\, resulting in a single \ in the
output). A fix is to use /bin/echo instead of the builtin echo. The attached
patch is enough to fix the issue.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list