[ruby-list:48391] [ANN] Ruby 1.9.3 RC1 is out

Hi,
Ruby 1.9.3 RC1 has been released. This is the first release candidate
of Ruby 1.9.3, the next stable release of Ruby.

Ruby 1.9.3 is a release for better implementation. It is mostly
backward-compatible with Ruby 1.9.2. But also includes some new
features, e.g. io/console.

You can read the list of changes since Ruby 1.9.2 in NEWS [1]. The RC1
is not so different from Ruby 1.9.3 preview1, but it includes many bug
fixes. See ChangeLog [2] for more details.

*1: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_rc1/NEWS
*2: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_rc1/ChangeLog

I will release Ruby 1.9.3 within this two weeks unless any serious
problem is reported. If you have any trouble with Ruby 1.9.3, please
let us know.

== Locations


Regards,
Yuki Yugui Sonoda yugui-9xxrxtat2wg@public.gmane.org

It doesn't compile (and yes, I did check the checksum of the download):

···

Am 24.09.2011 10:03, schrieb Yuki Sonoda (Yugui):

I will release Ruby 1.9.3 within this two weeks unless any serious
problem is reported. If you have any trouble with Ruby 1.9.3,
please let us know.

===============================================
√ quintus@hades => ~/Downloads/ruby-1.9.3-rc1
$ ./configure --prefix=/opt/rubies/ruby-1.9.3-rc1 --enable-shared
- --program-suffix=-rc1 --disable-install-capi
[...]
checking for if make is GNU make... yes
checking for nroff... /usr/bin/nroff
.ext/include/x86_64-linux/ruby/config.h updated
ruby library version = 1.9.1
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ruby-1.9.pc
√ quintus@hades => ~/Downloads/ruby-1.9.3-rc1
$ make
  CC = gcc
  LD = ld
  LDSHARED = gcc -shared
  CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses
- -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith
- -Werror=write-strings -Werror=declaration-after-statement
- -Werror=implicit-function-declaration -fPIC
  XCFLAGS = -include ruby/config.h -include ruby/missing.h
- -fvisibility=hidden -DRUBY_EXPORT
  CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
  DLDFLAGS = -Wl,-soname,libruby.so.1.9
  SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling dmyversion.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
bignum.c:17:19: fatal error:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/include/float.h:
Input/output error
compilation terminated.
make: *** [bignum.o] Error 1

I'm using Arch Linux, here's some more information:

===============================================
√ quintus@hades => ~/Downloads/ruby-1.9.3-rc1
$ gcc --version
gcc (GCC) 4.6.1 20110819 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
√ quintus@hades => ~/Downloads/ruby-1.9.3-rc1
$ uname -a
Linux hades 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011
x86_64 AMD Athlon(tm) II X4 640 Processor AuthenticAMD GNU/Linux

Vale,
Marvin

I am not sure if I can reply to this or should I file an issue.

But I was using python lately, on a yaml file where ruby 1.9.3* chokes.

And python reports better error:

yaml.reader.ReaderError: 'utf8' codec can't decode byte #xfc: invalid
start byte in "colours.yml", position 1059

It even tells the position.

It would be great if Ruby could also show the position of the wrong
character!

···

--
Posted via http://www.ruby-forum.com/.

It doesn't compile (and yes, I did check the checksum of the download):

compiling array.c
compiling bignum.c
bignum.c:17:19: fatal error:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/include/float.h:
Input/output error

Sounds like a hardware / kernel driver issue actually. Run fsck on the disk or try a different kernel.

Regards,
Chris White
Twitter: http://www.twitter.com/cwgem

you should file an issue on redmine

···

On Sep 24, 2011, at 13:52 , Marc Heiler wrote:

I am not sure if I can reply to this or should I file an issue.

It just compiled. Arch Linux, i686.

$ cat /proc/version
Linux version 3.0-ARCH (tobias@T-POWA-LX) (gcc version 4.6.1 20110819
(prerelease) (GCC) ) #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011

$ gcc --version
gcc (GCC) 4.6.1 20110819 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

You're indeed right, thanks!. I ran fsck over my disk and it reported
a frightening range of errors... Currently I'm doing a complete smart
test on the drive, hopefully I don't need a new one...

However, it still doesn't compile. I now get beyond the float.h thing
and it crashes at marshal.c:

···

Am 24.09.2011 13:01, schrieb Chris White:

It doesn't compile (and yes, I did check the checksum of the
download):

compiling array.c compiling bignum.c bignum.c:17:19: fatal
error:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/include/float.h:
Input/output error

Sounds like a hardware / kernel driver issue actually. Run fsck on
the disk or try a different kernel.

=====================================================================
compiling marshal.c
marshal.c: In function ‘w_float’:
marshal.c:358:27: error: ‘DECIMAL_MANT’ undeclared (first use in this
function)
marshal.c:358:27: note: each undeclared identifier is reported only
once for each function it appears in
make: *** [marshal.o] Error 1

That shouldn't be an issue with my hard drive, I just tried to compile
the previous version Ruby 1.9.3-preview1 and that one compiled just fine.

Vale,
Marvin

Hello,

···

2011/9/24 Quintus <sutniuq@gmx.net>:

However, it still doesn't compile. I now get beyond the float.h thing
and it crashes at marshal.c:

I bet that your float.h is still broken.
I'm afraid you'll just have to reinstall your C compiler.
I recommend you to reinstall os :frowning:

--
Yusuke Endoh <mame@tsg.ne.jp>

Hm... That's gonna be the usual amount of work, with properly
installing and configuring anything. However, I wanted to do this
earlier already for cleanup. Thank you, Yusuke-san, I think I'll do
this in a week or two, and then directly use the final 1.9.3 ;-).

Valete,
Marvin

PS: smart says the hard drive is ok. And reinstalling GCC didn't help.

···

Am 24.09.2011 15:31, schrieb Yusuke Endoh:

Hello,

2011/9/24 Quintus <sutniuq@gmx.net>:

However, it still doesn't compile. I now get beyond the float.h
thing and it crashes at marshal.c:

I bet that your float.h is still broken. I'm afraid you'll just
have to reinstall your C compiler. I recommend you to reinstall os
:frowning:

[Are there / will there be before final 1.9.3 release] any binary
packages for Windows?

-- Matma Rex

AFAICT, yes. The RCs need Windows testing, too. :wink:

···

2011/9/24 Bartosz Dziewoński <matma.rex@gmail.com>:

[Are there / will there be before final 1.9.3 release] any binary
packages for Windows?

--
Phillip Gawlowski

gplus.to/phgaw | twitter.com/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
-- Leibniz

Bartosz Dziewoński wrote in post #1023582:

[Are there / will there be before final 1.9.3 release] any binary
packages for Windows?

Yes, Luis is currently planning to release 1.9.3 RC1 RubyInstaller
binary archives which will be made available at
Downloads Keep an eye out for his ANN.

If you're feeling adventurous and would like to build your own 1.9.3 (on
Windows without having to configure a build toolchain) from MRI source,
it's fairly simple to do using the RubyInstaller build recipes. Read my
reply for one way to get started:

http://groups.google.com/group/rubyinstaller/browse_thread/thread/86c6e1e6c2b7ef64

As always, if you have problems check out our Troubleshooting (and
other) wiki pages

search our Google Group at http://groups.google.com/group/rubyinstaller
and if none of that helps, post a question (with details) and we'll do
our best to help.

Jon

···

---
blog: http://jonforums.github.com/
twitter: @jonforums

Most people die of a sort of creeping common sense, and discover when it
is too late that the only things one never regrets are one's mistakes.
                                                           - Oscar Wilde

--
Posted via http://www.ruby-forum.com/\.

Bartosz Dziewoński wrote in post #1023582:

[Are there / will there be before final 1.9.3 release] any binary
packages for Windows?

Yes, Luis is currently planning to release 1.9.3 RC1 RubyInstaller
binary archives which will be made available at
Downloads Keep an eye out for his ANN.

Any progress? :slight_smile:

If you're feeling adventurous and would like to build your own 1.9.3 (on
Windows without having to configure a build toolchain) from MRI source,
it's fairly simple to do using the RubyInstaller build recipes. Read my
reply for one way to get started:

http://groups.google.com/group/rubyinstaller/browse_thread/thread/86c6e1e6c2b7ef64

Thanks, I'm going to try it.

-- Matma Rex

···

2011/9/25 Jon Forums <jon.forums@gmail.com>:

Bartosz Dziewoński wrote in post #1024400:

···

2011/9/25 Jon Forums <jon.forums@gmail.com>:

Bartosz Dziewoński wrote in post #1023582:

[Are there / will there be before final 1.9.3 release] any binary
packages for Windows?

Yes, Luis is currently planning to release 1.9.3 RC1 RubyInstaller
binary archives which will be made available at
Downloads Keep an eye out for his ANN.

Any progress? :slight_smile:

Will work on a binary release this weekend, it was a very busy week at
work.

You can still compile your own... :stuck_out_tongue:

--
Luis Lavena

--
Posted via http://www.ruby-forum.com/\.

I did in fact try compiling on my own using Jon's instructions, but
after long downloads and loooong crunching the rake was "aborted".
I'll keep trying, of course (I have some suspicions as to why it
barfed), but a premade package would be greatly appreciated :slight_smile:

···

2011/9/30, Luis Lavena <luislavena@gmail.com>:

Bartosz Dziewoński wrote in post #1024400:

2011/9/25 Jon Forums <jon.forums@gmail.com>:

Bartosz Dziewoński wrote in post #1023582:

[Are there / will there be before final 1.9.3 release] any binary
packages for Windows?

Yes, Luis is currently planning to release 1.9.3 RC1 RubyInstaller
binary archives which will be made available at
Downloads Keep an eye out for his ANN.

Any progress? :slight_smile:

Will work on a binary release this weekend, it was a very busy week at
work.

You can still compile your own... :stuck_out_tongue:

--
Luis Lavena

--
Posted via http://www.ruby-forum.com/\.

--
-- Matma Rex

Bartosz Dziewoński wrote in post #1024428:

I did in fact try compiling on my own using Jon's instructions, but
after long downloads and loooong crunching the rake was "aborted".
I'll keep trying, of course (I have some suspicions as to why it
barfed), but a premade package would be greatly appreciated :slight_smile:

If you don't include the output of the "barf", there is little we can do
to help.

There are thousands of reasons rake could have aborted execution,
ranging from the version of Ruby you're using to Rake, download issues
or specific details of your machine.

Without these details, we are clueless, same as you.

Feel free to post to RubyInstaller list if you need assistance on
getting the environment to compile:

http://groups.google.com/group/rubyinstaller/

Perhaps there is something on Jon's instructions that is missing.

···

--
Luis Lavena

--
Posted via http://www.ruby-forum.com/\.

Bartosz Dziewoński wrote in post #1024428:

I did in fact try compiling on my own using Jon's instructions, but
after long downloads and loooong crunching the rake was "aborted".
I'll keep trying, of course (I have some suspicions as to why it
barfed), but a premade package would be greatly appreciated :slight_smile:

One potential barf area to check is whether there are 0 byte archives in
the 'downloads' sub-directory of your RubyInstaller repo clone. While
it's caused by network problems, the current scripts don't deal with
this failure as gracefully as we'd like.

The manual fix is to delete those 0 byte archives and repeat the build
until the the 'downloads' directory cache has a full set of
dependencies. Once you get a full set of artifacts in the 'downloads'
cache, things work well for repeatedly building.

If this is your problem, tweak my previous instructions by doing:

# 1. manually delete 0-byte files in 'downloads' subdir
# 2. clean out the build sandbox...DON'T run `rake distclean`
# as that will also clean files from 'downloads'
rake clean
ruby19 local=C:\ruby-src nogems=1

I'll repeat Luis' feedback...we need details on what you're doing and
your results. Your situation may require other steps than that the
general use case that I listed.

Jon

···

2011/9/30, Luis Lavena <luislavena@gmail.com>:

--
Posted via http://www.ruby-forum.com/\.

(Should I move to RubyInstaller list with this?)

Yesterday's problem was probably my fault (I messed up paths), that's
why I didn't provide any logs.

I tried again today, this time correctly ;), and it still doesn't work.

Here's the log: http://pastebin.com/ugmNRwMs This error is repeatable
- the same thing happens if I try running again. (Sorry for the format
- I copied it from the console.)

I also had some troubles with OpenSSL or something and a timeout - but
when I ran the command again it worked. Sorry, I didn't save the log.

···

2011/10/1 Jon Forums <jon.forums@gmail.com>:

One potential barf area to check is whether there are 0 byte archives in
the 'downloads' sub-directory of your RubyInstaller repo clone. While
it's caused by network problems, the current scripts don't deal with
this failure as gracefully as we'd like.

I checked, that's not it.

-- Matma Rex

Bartosz Dziewoński wrote in post #1024581:

(Should I move to RubyInstaller list with this?)

Yesterday's problem was probably my fault (I messed up paths), that's
why I didn't provide any logs.

I tried again today, this time correctly ;), and it still doesn't work.

Here's the log: http://pastebin.com/ugmNRwMs This error is repeatable
- the same thing happens if I try running again. (Sorry for the format
- I copied it from the console.)

I also had some troubles with OpenSSL or something and a timeout - but
when I ran the command again it worked. Sorry, I didn't save the log.

You haven't provided details of your starting point (version of Ruby,
Git and Windows)

I'm not able to reproduce the error you display in your pastie.

Will be better if you bring this conversation to RubyInstaller group so
other s might be able to assist you better:

http://groups.google.com/group/rubyinstaller/

···

--
Luis Lavena

--
Posted via http://www.ruby-forum.com/\.