From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id B880F19C0535 for ; Mon, 30 Nov 2015 23:14:23 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id E4903B5D8E6 for ; Mon, 30 Nov 2015 23:45:41 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id A6D5318CC7B8 for ; Mon, 30 Nov 2015 23:45:42 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id EE3F81204E0; Mon, 30 Nov 2015 23:45:40 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o10.shared.sendgrid.net (o10.shared.sendgrid.net [173.193.132.135]) by neon.ruby-lang.org (Postfix) with ESMTPS id 60755120484 for ; Mon, 30 Nov 2015 23:45:36 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=lLWkbg1e9H/spD7CdCgxDZ6jGkY=; b=L6uDiF7esbfrgZwc83 YcYKzqr7yVxfSNaqCjue9WI1ZnmT7swjds2kIjSR6hJDocmeMXMIF38hIkP/23qT uJ4Y3536rOw3v2JXXyKW8sMcORRjlry3kph/zwtVeQ0Lx8kz6qey1yTkw/L3dbxa qBiyPde1iDvOh/y85fB6Eh83M= Received: by filter0837p1mdw1.sendgrid.net with SMTP id filter0837p1mdw1.29041.565C610621 2015-11-30 14:45:26.611563895 +0000 UTC Received: from herokuapp.com (ec2-54-205-28-2.compute-1.amazonaws.com [54.205.28.2]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id 5YGnTD6wQlGLNYn9PSGp1g for ; Mon, 30 Nov 2015 14:45:26.747 +0000 (UTC) Date: Mon, 30 Nov 2015 14:45:26 +0000 From: bar.hofesh@safe-t.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 46445 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11753 X-Redmine-Issue-Author: bararchy X-Redmine-Sender: bararchy X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS6gYkQ4yVsMkaKhDTMVbrDxlZZTPQRLxp3rOA C1+OYSq+KkX83OMjUd2kmeSzbMsR5hnmElXEpYmkhAEEvL5NlB/D5i45s7i1SIr3Tvb/IlWsWnZc0T fJkqvAnmO8IkNIauE3fvCPmAerkd5YMzaWMu X-ML-Name: ruby-core X-Mail-Count: 71758 Subject: [ruby-core:71758] [Ruby trunk - Bug #11753] Building ruby-git on Arch Linux eats all memory on ./configure X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #11753 has been updated by Bar Hofesh. Bar Hofesh wrote: > Hi, > > I'm trying to build Ruby from sources. > > What I tried: > > 1) Build from git using git clone, autoconf, ./configure > 2) 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: ` # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. 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" # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell.` I see "Testing 1" But not "Testing 2" ---------------------------------------- Bug #11753: Building ruby-git on Arch Linux eats all memory on ./configure https://bugs.ruby-lang.org/issues/11753#change-55168 * Author: Bar Hofesh * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- Hi, I'm trying to build Ruby from sources. What I tried: 1) Build from git using git clone, autoconf, ./configure 2) 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. -- https://bugs.ruby-lang.org/