Forum: Ruby-core [ruby-trunk - Bug #7956][Open] Install fail with RVM

Posted by Sergey Ezhov (sergeyezhov)
on 2013-02-25 13:31
(Received via mailing list)
Issue #7956 has been reported by Sega100500 (Сергей Е).

----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956

Author: Sega100500 (Сергей Е)
Status: Open
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by SupaIrish (Chris Irish) (Guest)
on 2013-02-26 17:52
(Received via mailing list)
Issue #7956 has been updated by SupaIrish (Chris Irish).


I'm seeing a similar failure when trying to install Ruby 2.0.0 with RVM. 
Here's a gist of the RVM install command I'm running and the error 
output to the make.log

https://gist.github.com/supairish/5039949
----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37107

Author: Sega100500 (Сергей Е)
Status: Open
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by marcandre (Marc-Andre Lafortune) (Guest)
on 2013-02-26 18:56
(Received via mailing list)
Issue #7956 has been updated by marcandre (Marc-Andre Lafortune).


Can you try `rvm get head && rvm install 2.0.0`?

As I mentioned on my blog, `rvm get stable` isn't enough apparently to 
compile 2.0.0 in many cases.

----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37109

Author: Sega100500 (Сергей Е)
Status: Open
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by nstoker (Neil Stoker Stoker) (Guest)
on 2013-02-27 10:57
(Received via mailing list)
Issue #7956 has been updated by nstoker (Neil Stoker Stoker).

File display.txt added
File make.log added

I'm getting a similar failure on OSX Snow Leopard, logs attached.
----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37141

Author: Sega100500 (Сергей Е)
Status: Open
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by Michal Papis (mpapis)
on 2013-02-27 17:14
(Received via mailing list)
Issue #7956 has been updated by mpapis (Michal Papis).


the latest version of `rvm get head` solves this problem by switching to 
`clang` => `gcc -v | grep -i llvm && export CC=clang` - only on OSX, 
does not make any troubles on other platforms.
----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37153

Author: Sega100500 (Сергей Е)
Status: Open
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by marcandre (Marc-Andre Lafortune) (Guest)
on 2013-02-27 17:17
(Received via mailing list)
Issue #7956 has been updated by marcandre (Marc-Andre Lafortune).

Status changed from Open to Closed

mpapis (Michal Papis) wrote:
> the latest version of `rvm get head` solves this problem by switching to `clang` 
=> `gcc -v | grep -i llvm && export CC=clang` - only on OSX, does not make any 
troubles on other platforms.

Thanks!

I'm closing this issue, but will reopen if anyone has troubles (in which 
case please provide logs like nstoker did)

----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37155

Author: Sega100500 (Сергей Е)
Status: Closed
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by Michal Papis (mpapis)
on 2013-02-27 17:43
(Received via mailing list)
Issue #7956 has been updated by mpapis (Michal Papis).


I was using this trick in rvm for some time to avoid the LLVM gcc 
errors, maybe ruby could adopt it in ./configure => gcc -v | grep -i 
llvm && export CC=clang
----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37157

Author: Sega100500 (Сергей Е)
Status: Closed
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by naruse (Yui NARUSE) (Guest)
on 2013-02-28 04:46
(Received via mailing list)
Issue #7956 has been updated by naruse (Yui NARUSE).


mpapis (Michal Papis) wrote:
> I was using this trick in rvm for some time to avoid the LLVM gcc errors, maybe 
ruby could adopt it in ./configure => gcc -v | grep -i llvm && export CC=clang

Ruby itself sets CC as clang, so it's not required unless rvm sets wrong 
CC.

Note that old clang is buggy.
See also 
https://github.com/sstephenson/ruby-build/issues/2...
----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37178

Author: Sega100500 (Сергей Е)
Status: Closed
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by nstoker (Neil Stoker Stoker) (Guest)
on 2013-03-03 22:11
(Received via mailing list)
Issue #7956 has been updated by nstoker (Neil Stoker Stoker).

File miniruby_2013-03-03-205700-1_LinkSys.crash added
File output.txt added
File make.log added
File miniruby_2013-03-03-205700_LinkSys.crash added
File miniruby_2013-03-03-205700_LinkSys.crash added

I'm still getting the error when trying to build.

What other information can I provide that would help you to track down 
the issue?


----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37277

Author: Sega100500 (Сергей Е)
Status: Closed
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by marcandre (Marc-Andre Lafortune) (Guest)
on 2013-03-04 00:04
(Received via mailing list)
Issue #7956 has been updated by marcandre (Marc-Andre Lafortune).

Status changed from Closed to Open

Re-opening.

I also sent an email to Michal Papis.

It might be best to open this issue on rvm's side and if Michal finds a 
problem that ruby-core can solve he could submit that?
----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37278

Author: Sega100500 (Сергей Е)
Status: Open
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by Michal Papis (mpapis)
on 2013-03-07 02:43
(Received via mailing list)
Issue #7956 has been updated by mpapis (Michal Papis).


I have just rechecked both with and without RVM and I can not reproduce 
this problem, make sure to update RVM: `rvm get head` - there are two 
things you could check:

1. problem with compiler - check this 
https://github.com/wayneeseguin/rvm/issues/1660
2. older homebrew libraries using different compilation settings, rvm 
has now improved code to update libraries which are outdated if you run 
`rvm install 2.0.0 --autolibs=3`

If none of those help could you please provide a log of: rvm install 
2.0.0 --autolibs=3 --debug
it will contain more details about the used commands.
----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37344

Author: Sega100500 (Сергей Е)
Status: Open
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by hsbt (Hiroshi SHIBATA) (Guest)
on 2013-03-24 00:31
(Received via mailing list)
Issue #7956 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Third Party's Issue


----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37871

Author: Sega100500 (Сергей Е)
Status: Third Party's Issue
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Posted by Michal Papis (mpapis)
on 2013-03-27 18:30
(Received via mailing list)
Issue #7956 has been updated by mpapis (Michal Papis).


Ok now RVM 1.19 now tries to use gcc-4.2 first and it fails in this 
case: https://github.com/wayneeseguin/rvm/issues/1731

We followed the instructions from 
http://bugs.ruby-lang.org/issues/7956#note-7 / 
https://github.com/sstephenson/ruby-build/issues/2... 
which end as:

So if you support Xcode 3.x and 4.2,

    If it is OS X
        use gcc-4.2 if it exists
        use clang if it exists
        raise error
    else Don't set CC

----------------------------------------
Bug #7956: Install fail with RVM
https://bugs.ruby-lang.org/issues/7956#change-37971

Author: Sega100500 (Сергей Е)
Status: Third Party's Issue
Priority: Urgent
Assignee:
Category:
Target version:
ruby -v: 2.0.0


$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 
GNU/Linux

$ $ \curl -L https://get.rvm.io | bash -s stable --ruby

...

Error running 'make', please read 
/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.

/home/ruby2/.rvm/log/ruby-2.0.0-p0/make.log:

->CC = gcc
<------>LD = ld
<------>LDSHARED = gcc -shared
<------>CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra 
-Wno-unused-parameter -Wno-parentheses -Wno-long-long 
-Wno-missing-field-initialize
<------>XCFLAGS = -include ruby/config.h -include ruby/missing.h 
-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow 
-fvisibility=hid
<------>CPPFLAGS = -I/home/ruby2/.rvm/usr/include   -I. 
-I.ext/include/i686-linux -I./include -I.
<------>DLDFLAGS = -Wl,-soname,libruby.so.2.0 -L/home/ruby2/.rvm/usr/lib 
-Wl,-R/home/ruby2/.rvm/usr/lib  -fstack-protector..
<------>SOLIBS = -lpthread -lrt -ldl -lcrypt -lm..
linking miniruby
rbconfig.rb unchanged
generating enc.mk
generating prelude.c
compiling prelude.c
linking static-library libruby-static.a
verifying static-library libruby-static.a
linking shared-library libruby.so.2.0.0
generating encdb.h
encdb.h unchanged
making enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `enc' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
making srcs under enc
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make[1]: Цель `srcs' не требует выполнения команд.
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
generating transdb.h
transdb.h unchanged
making trans
make[1]: Entering directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
compiling ./enc/trans/emoji_sjis_softbank.c
./enc/trans/emoji_sjis_softbank.c:6348:43: error: invalid suffix "y" on 
integer constant
make[1]: *** [enc/trans/emoji_sjis_softbank.o] Ошибка 1
make[1]: Leaving directory `/home/ruby2/.rvm/src/ruby-2.0.0-p0'
make: *** [trans] Ошибка 2
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.