Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Cannot install (via `rvm install rbx-head`) #1864

Closed
pirj opened this Issue · 2 comments

2 participants

@pirj
[pirj@tp ~]$ rvm install 1.8.7
Installing Ruby from source to: /home/pirj/.rvm/rubies/ruby-1.8.7-p370, this may take a while depending on your cpu(s)...

ruby-1.8.7-p370 - #downloading ruby-1.8.7-p370, this may take a while depending on your connection...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4112k  100 4112k    0     0   186k      0  0:00:22  0:00:22 --:--:--  266k
ruby-1.8.7-p370 - #extracting ruby-1.8.7-p370 to /home/pirj/.rvm/src/ruby-1.8.7-p370
ruby-1.8.7-p370 - #extracted to /home/pirj/.rvm/src/ruby-1.8.7-p370
Applying patch 'stdout-rouge-fix' (located at /home/pirj/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch)
Applying patch 'no_sslv2' (located at /home/pirj/.rvm/patches/ruby/1.8.7/no_sslv2.diff)
ruby-1.8.7-p370 - #configuring 
ruby-1.8.7-p370 - #compiling 
ruby-1.8.7-p370 - #installing 
Removing old Rubygems files...
Installing rubygems-1.8.24 for ruby-1.8.7-p370 ...
Installation of rubygems completed successfully.
ruby-1.8.7-p370 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.8.7-p370 - #importing default gemsets (/home/pirj/.rvm/gemsets/)
Install of ruby-1.8.7-p370 - #complete 
Please be aware that you just installed a ruby that requires 2 patches just to be compiled on up to date linux system.
This may have known and unaccounted for security vulnerabilities.
Please consider upgrading to Ruby 1.9.3-194 which will have all of the latest security patches.
[pirj@tp ~]$ rvm use 1.8.7
Using /home/pirj/.rvm/gems/ruby-1.8.7-p370
Running /home/pirj/.rvm/hooks/after_use
[pirj@tp ~]$ ruby -v
ruby 1.8.7 (2012-06-29 patchlevel 370) [i686-linux]
[pirj@tp ~]$ rvm install rbx
rbx-head installing #dependencies 
Cleaning git repo
Fetching from origin
Pulling from origin master
Copying from repo to source...
rbx-head - #configuring
rbx-head - #compiling
Error running 'CONFIGURE_ARGS=--with-libyaml-dir=/home/pirj/.rvm/usr /home/pirj/.rvm/wrappers/ruby-1.8.7-p370/rake install --trace', please read /home/pirj/.rvm/log/rbx-head/rake.log
There has been an error while running 'CONFIGURE_ARGS=--with-libyaml-dir=/home/pirj/.rvm/usr /home/pirj/.rvm/wrappers/ruby-1.8.7-p370/rake install --trace'.
Halting the installation.

/home/pirj/.rvm/log/rbx-head/rake.log: https://gist.github.com/fef9f48d93c89e64fe7a

$ gcc --version
gcc (GCC) 4.7.1 20120721 (prerelease)

$ cat /proc/version
Linux version 3.4.7-1-ARCH (tobias@T-POWA-LX) (gcc version 4.7.1 20120721 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Jul 29 20:05:01 UTC 2012

@dbussink
Owner

I guess you're using a 32 bit architecture?

@dbussink dbussink closed this issue from a commit
@dbussink dbussink Rework using the utf8_limits to use an explicit return value
We depended here on it being signed for the return value, but for 32 bit
systems we need it to be a uint32_t for the correct limits. This changes
it to use an explicit return whether we succeeded or not and store the
result in a separate variable.

Fixes #1864
5111a75
@dbussink dbussink closed this in 5111a75
@pirj

Confirming, works fine.
Kernel 32bit with PAE.

@roshats roshats referenced this issue from a commit in roshats/rubinius
@dbussink dbussink Rework using the utf8_limits to use an explicit return value
We depended here on it being signed for the return value, but for 32 bit
systems we need it to be a uint32_t for the correct limits. This changes
it to use an explicit return whether we succeeded or not and store the
result in a separate variable.

Fixes #1864
a6ee928
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.