Bug #11753
closedBuilding ruby-git on Arch Linux eats all memory on ./configure
Description
Hi,
I'm trying to build Ruby from sources.
What I tried:
- Build from git using git clone, autoconf, ./configure
- Build with RVM versions 2.2.1, 2.2-head, 2.1.5, ruby-head
All have failed when reaching the "./configure" phase.
It seems that all memory is getting eat up and the system hangs unless a quick "Ctrl + C" is pressed to stop the process.
Notes:
- I had ruby installed and working until trying to re-build
- I had a system restore which left most of /home/ with wrong permissions (was taken care of but maybe Ruby's configure needs some files with +x which don't have them right now?)
- Other programs which relays on "./configure" scripts work and build without issues.
        
           Updated by bararchy (Bar Hofesh) almost 10 years ago
          Updated by bararchy (Bar Hofesh) almost 10 years ago
          
          
        
        
      
      Bar Hofesh wrote:
Hi,
I'm trying to build Ruby from sources.
What I tried:
- Build from git using git clone, autoconf, ./configure
- Build with RVM versions 2.2.1, 2.2-head, 2.1.5, ruby-head
All have failed when reaching the "./configure" phase.
It seems that all memory is getting eat up and the system hangs unless a quick "Ctrl + C" is pressed to stop the process.Notes:
- I had ruby installed and working until trying to re-build
- I had a system restore which left most of /home/ with wrong permissions (was taken care of but maybe Ruby's configure needs some files with +x which don't have them right now?)
- Other programs which relays on "./configure" scripts work and build without issues.
Ok, using the "echo here and there" debug method I got to the part where it is getting stuck:
echo "Testing 1"
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  _as_can_reexec=no; export _as_can_reexec;
echo "Testing 2"
I see "Testing 1"
But not "Testing 2"
Removing those lines get me into an infinite loop
        
           Updated by nobu (Nobuyoshi Nakada) almost 10 years ago
          Updated by nobu (Nobuyoshi Nakada) almost 10 years ago
          
          
        
        
      
      - Status changed from Open to Third Party's Issue
It's a part of standard AC_INIT().
Probably a bug of Arch Linux which autoconf does not support yet.
Please report it to Arch Linux and/or autoconf,
with exact versions of the OS and autoconf.