From owner-freebsd-questions@FreeBSD.ORG Sat Sep 2 00:44:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 149A116A4DA for ; Sat, 2 Sep 2006 00:44:51 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9851F43D45 for ; Sat, 2 Sep 2006 00:44:50 +0000 (GMT) (envelope-from illoai@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1459974pye for ; Fri, 01 Sep 2006 17:44:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N9KkeQnVeX/iLfghHS90VVXRuqc5Pxh+h/IlTvsu8SASyt8t+7HJ1wYYTuOEJvcte8stRx9kQ98Su3SBAD1/L/1xlTCXtFTlwZDNbVSXaF2oqAavgDhbTqT86j6J+X/iNVLRHARYrqzglYSDR1dRe5gPWG+iHDodHPOTfcJv+lo= Received: by 10.65.84.4 with SMTP id m4mr1127360qbl; Fri, 01 Sep 2006 17:44:49 -0700 (PDT) Received: by 10.64.84.5 with HTTP; Fri, 1 Sep 2006 17:44:49 -0700 (PDT) Message-ID: Date: Fri, 1 Sep 2006 19:44:49 -0500 From: "illoai@gmail.com" To: "Doug Sampson" In-Reply-To: <2BB99B9E3A48034790CB14A960C3CA560CFA68@mercury.dawnsign.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2BB99B9E3A48034790CB14A960C3CA560CFA68@mercury.dawnsign.com> Cc: "freebsd-questions@freebsd.org" Subject: Re: Ruby won't upgrade to 1.8.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2006 00:44:51 -0000 On 9/1/06, Doug Sampson wrote: > When trying to portupgrade ruby to 1.8.5, I get the following: > > <..snip..> > > Generating RI... > /usr/ports/lang/ruby18/work/ruby-1.8.5/lib/yaml.rb:387: [BUG] Segmentation > fault > ruby 1.8.5 (2006-08-25) [i386-freebsd6] Without anything else to go on, ruby seems to strongly dislike certain CFLAGS settings (I think -fomit-frame-pointer is one, if I recall from some rebuilding problems I had a year or so ago). Check your /etc/make.conf , perhaps just commenting the CFLAGS & CXXFLAGS & CPUTYPE settings out. Once in a while I run into a port that will not rebuild through portupgrade, yet seems to work perfectly by: cd /usr/ports/ && make deinstall reinstall Then again, if all you use ruby for is portupgrade, maybe you can try: portupgrade -pp ruby ? -- --