From: Alex Date: 2009-06-03T02:01:46+09:00 Subject: [ruby-core:23675] Re: [Bug #1550](Closed) String#lstrip! raises RuntimeError on Frozen String Despite Making No Changes --001636c5a48439316c046b607f7f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This change seems to break the build on my machine: /home/alex/ruby/rbconfig.rb:184:in `gsub!': can't modify frozen string (RuntimeError) from /home/alex/ruby/rbconfig.rb:184:in `expand' from /home/alex/ruby/rbconfig.rb:191:in `block in expand' from /home/alex/ruby/rbconfig.rb:184:in `gsub!' from /home/alex/ruby/rbconfig.rb:184:in `expand' from /home/alex/ruby/lib/mkmf.rb:385:in `link_command' from /home/alex/ruby/lib/mkmf.rb:416:in `try_link0' from /home/alex/ruby/lib/mkmf.rb:433:in `try_link' from /home/alex/ruby/lib/mkmf.rb:353:in `have_devel?' from /home/alex/ruby/lib/mkmf.rb:359:in `try_do' from /home/alex/ruby/lib/mkmf.rb:439:in `try_compile' from /home/alex/ruby/lib/mkmf.rb:489:in `try_static_assert' from /home/alex/ruby/ext/bigdecimal/extconf.rb:5:in `' from ./ext/extmk.rb:154:in `load' from ./ext/extmk.rb:154:in `extmake' from ./ext/extmk.rb:445:in `block in
' from ./ext/extmk.rb:441:in `each' from ./ext/extmk.rb:441:in `
' make: *** [mkmain.sh] Error 1 Revision 23619 compiles cleanly on my machine, but anything greater causes this error. I'm not very familiar with the ruby build process, so I'm afraid I don't know much about the error, but if any more information is needed, I'll gladly provide it. Alex On Tue, Jun 2, 2009 at 11:27 AM, Yukihiro Matsumoto wrote: > Issue #1550 has been updated by Yukihiro Matsumoto. > > Status changed from Open to Closed > % Done changed from 0 to 100 > > Applied in changeset r23620. > ---------------------------------------- > http://redmine.ruby-lang.org/issues/show/1550 > > ---------------------------------------- > http://redmine.ruby-lang.org > > --001636c5a48439316c046b607f7f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This change seems to break the build on my machine:


=
/home/alex/ruby/rbconfig.rb:184:in `gsub!': can't m= odify frozen string (RuntimeError)
from /home/alex/ruby/rbconfig.rb:184:in = `expand'
from = /home/alex/ruby/rbconfig.rb:191:in `block in expand'
from /home/alex/ru= by/rbconfig.rb:184:in `gsub!'
from = /home/alex/ruby/rbconfig.rb:184:in `expand'
from /home/alex/ruby/lib/mk= mf.rb:385:in `link_command'
from = /home/alex/ruby/lib/mkmf.rb:416:in `try_link0'
from /home/alex/ruby/lib= /mkmf.rb:433:in `try_link'
from = /home/alex/ruby/lib/mkmf.rb:353:in `have_devel?'
from /home/alex/ruby/= lib/mkmf.rb:359:in `try_do'
from = /home/alex/ruby/lib/mkmf.rb:439:in `try_compile'
from /home/alex/ruby/= lib/mkmf.rb:489:in `try_static_assert'
from = /home/alex/ruby/ext/bigdecimal/extconf.rb:5:in `<top (required)>'=
from ./ext/extmk.rb:154:in `load'
from = ./ext/extmk.rb:154:in `extmake'
from ./ext/extmk.rb:445:in `block in &l= t;main>'
from = ./ext/extmk.rb:441:in `each'
from ./ext/extmk.rb:441:in `<main>&#= 39;
make: *** [mkmain.sh] Error 1


= Revision 23619 compiles cleanly on my machine, but anything greater causes = this error. I'm not very familiar with the ruby build process, so I'= ;m afraid I don't know much about the error, but if any more informatio= n is needed, I'll gladly provide it.



Alex

=
On Tue, Jun 2, 2009 at 11:27 AM, Yukihiro Ma= tsumoto <redm= ine@ruby-lang.org> wrote:
Issue #1550 has been updated by Yukihiro Ma= tsumoto.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r23620.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1550

----------------------------------------
http://redmine.r= uby-lang.org


--001636c5a48439316c046b607f7f--