[oe-users] ruby 1.8.5 won't build

James W. Mills jmills at avionpartners.com
Fri Jan 12 16:19:25 UTC 2007


I am having problems with the ruby package.  It does not seem to want to 
build for me.  Looking at the bb file from the mtn repository, it 
appears that there should be two patches in the ruby/ subdir, but there 
is nothing.

jmills at crow:/opt/stuff/oe/build$ bitbake ruby
NOTE: Using cache in '/opt/stuff/oe/build/tmp/cache/collie'
NOTE: Handling BitBake files: \ (4080/4080) [100 %]
NOTE: Parsing finished. 3915 cached, 0 parsed, 165 skipped, 0 masked.

NOTE: build 200701121025: started

OE Build Configuration:
BB_VERSION     = "1.6.3"
OE_REVISION    = "6d9b1de41ff9d4cf9e552d57620a1be7937b8f97"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux"
MACHINE        = "collie"
DISTRO         = "openzaurus"
DISTRO_VERSION = ".dev-snapshot-20070112"
TARGET_FPU     = "soft"

NOTE: multiple providers are available (glibc, glibc-intermediate);
NOTE: consider defining PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc
NOTE: package ruby-native-1.8.5: started
NOTE: package ruby-native-1.8.5-r0: task do_patch: started
NOTE: Applying patch 'extmk_run.patch'
ERROR: Error in executing: 
/opt/stuff/oe/org.openembedded.dev/packages/ruby/ruby-native_1.8.5.bb
ERROR: Exception:exceptions.IOError Message:[Errno 2] No such file or 
directory: 
'/opt/stuff/oe/org.openembedded.dev/packages/ruby/./extmk_run.patch'




I looked for these patches, thinking they might be housed somewhere 
else, but I could not find them.

So, I commented them out and re-ran.  Now I am getting the following:




jmills at crow:/opt/stuff/oe/build$ bitbake ruby -crebuild
NOTE: Using cache in '/opt/stuff/oe/build/tmp/cache/collie'
NOTE: Handling BitBake files: \ (4080/4080) [100 %]
NOTE: Parsing finished. 3915 cached, 0 parsed, 165 skipped, 0 masked.

NOTE: build 200701121030: started

OE Build Configuration:
BB_VERSION     = "1.6.3"
OE_REVISION    = "6d9b1de41ff9d4cf9e552d57620a1be7937b8f97"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux"
MACHINE        = "collie"
DISTRO         = "openzaurus"
DISTRO_VERSION = ".dev-snapshot-20070112"
TARGET_FPU     = "soft"

NOTE: package ruby-1.8.5: started
NOTE: package ruby-1.8.5-r0: task do_rebuild: started
NOTE: package ruby-1.8.5-r0: task do_clean: started
NOTE: removing /opt/stuff/oe/build/tmp/work/arm-linux/ruby-1.8.5-r0
NOTE: removing /opt/stuff/oe/build/tmp/stamps/arm-linux/ruby-1.8.5-r0.*
NOTE: package ruby-1.8.5-r0: task do_clean: completed
NOTE: package ruby-1.8.5-r0: task do_fetch: started
NOTE: package ruby-1.8.5-r0: task do_fetch: completed
NOTE: package ruby-1.8.5-r0: task do_unpack: started
NOTE: Unpacking /opt/stuff/oe/sources/ruby-1.8.5.tar.gz to 
/opt/stuff/oe/build/tmp/work/arm-linux/ruby-1.8.5-r0/
NOTE: package ruby-1.8.5-r0: task do_unpack: completed
NOTE: package ruby-1.8.5-r0: task do_patch: started
NOTE: package ruby-1.8.5-r0: task do_patch: completed
NOTE: package ruby-1.8.5-r0: task do_configure: started
NOTE: package ruby-1.8.5-r0: task do_configure: completed
NOTE: package ruby-1.8.5-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows 
(/opt/stuff/oe/build/tmp/work/arm-linux/ruby-1.8.5-r0/temp/log.do_compile.19982)
| NOTE: make
| ruby: 
/opt/stuff/oe/build/tmp/work/arm-linux/ruby-1.8.5-r0/ruby-1.8.5/fake.rb:12: 
unterminated string meets end of file (SyntaxError)
| 
/opt/stuff/oe/build/tmp/work/arm-linux/ruby-1.8.5-r0/ruby-1.8.5/fake.rb:12: 
syntax error, unexpected $end, expecting kENDmake: *** [.rbconfig.time] 
Error 1
| FATAL: oe_runmake failed



I have tried compiling in my native environment, and it works fine.

I am running Ubuntu Edgy with python 2.4.4c1.  I even moved the 
repository out of the way and checked it out again...

Thanks for the help!

~james




More information about the Openembedded-users mailing list