Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70037 - [patch] ruby-1.8.2_pre2 fails to compile on sparc, when the cjk flag is contained
Summary: [patch] ruby-1.8.2_pre2 fails to compile on sparc, when the cjk flag is conta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: Normal normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-04 04:24 UTC by Yuta SATOH (RETIRED)
Modified: 2004-11-13 08:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for ruby-1.8.2_pre2.ebuild (ruby-1.8.2_pre2.ebuild.patch,448 bytes, patch)
2004-11-04 04:26 UTC, Yuta SATOH (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH (RETIRED) gentoo-dev 2004-11-04 04:24:47 UTC
When cjk is contained in the USE flag, dev-lang/ruby-1.8.2_pre2 fails to compile.

Reproducible: Always
Steps to Reproduce:
1. USE=cjk emerge dev-lang/ruby

Actual Results:  
sparc-unknown-linux-gnu-gcc -mcpu=ultrasparc -O2 -pipe  -fPIC   -I. -I.  -c main.c
sparc-unknown-linux-gnu-gcc -mcpu=ultrasparc -O2 -pipe  -fPIC    -rdynamic  main
.o dmyext.o libruby18-static.a -ldl -lcrypt -lm   -o miniruby
./mkconfig.rb:41: undefined bytecode (bug): /^s[%,]@(\w+)@[%,](.*)[%,]/ (RegexpError)
        from ./mkconfig.rb:35:in `foreach'
        from ./mkconfig.rb:35
make: *** [rbconfig.rb] Error 1

Expected Results:  
Compile is successful.


Thank You.
Comment 1 Yuta SATOH (RETIRED) gentoo-dev 2004-11-04 04:26:16 UTC
Created attachment 43279 [details, diff]
patch for ruby-1.8.2_pre2.ebuild

The appended patch fixes this problem.
Comment 2 Yuta SATOH (RETIRED) gentoo-dev 2004-11-13 08:18:49 UTC
This problem was solved by Version 1.8.2_pre3 .