From owner-freebsd-ports@FreeBSD.ORG Tue Nov 15 08:47:59 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E18116A41F; Tue, 15 Nov 2005 08:47:59 +0000 (GMT) (envelope-from penryu@saiyix.ath.cx) Received: from mxsf14.cluster1.charter.net (mxsf14.cluster1.charter.net [209.225.28.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A72E43D45; Tue, 15 Nov 2005 08:47:58 +0000 (GMT) (envelope-from penryu@saiyix.ath.cx) Received: from mxip03a.cluster1.charter.net (mxip03a.cluster1.charter.net [209.225.28.133]) by mxsf14.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id jAF8lu93010130; Tue, 15 Nov 2005 03:47:56 -0500 Received: from 66-214-103-59.dhcp.reno.nv.charter.com (HELO saiyix.ath.cx) ([66.214.103.59]) by mxip03a.cluster1.charter.net with ESMTP; 15 Nov 2005 03:47:56 -0500 X-IronPort-AV: i="3.97,331,1125892800"; d="scan'208"; a="1645978848:sNHT17698628" Received: by saiyix.ath.cx (Postfix, from userid 1000) id CA4E314254; Tue, 15 Nov 2005 00:47:54 -0800 (PST) Date: Tue, 15 Nov 2005 00:47:54 -0800 From: Tim Hammerquist To: freebsd-ports@freebsd.org, ports@freebsd.org Message-ID: <20051115084754.GA29372@ruri> Mail-Followup-To: freebsd-ports@freebsd.org, ports@freebsd.org References: <200511141312.IAA13523@hera.homer.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <200511141312.IAA13523@hera.homer.att.com> X-Editor: Vim-603 http://www.vim.org/ User-Agent: Mutt/1.5.9i Cc: Subject: Re: Ruby/ruby+oniguruma build failure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: penryu@saiyix.ath.cx List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 08:47:59 -0000 J. W. Ballantine wrote: > I'm trying to do a portupgrade on a new 6-RELEASE, and I'm > getting a patch error on Ruby/ruby+oniguruma. I blew away the > devel/onigurmuna port and re-cvsup'ed on Sunday AM and I'm > still getting the error. >=20 > What am I missing?? >=20 > Thanks >=20 > Jim Ballantine >=20 > ** Detected a package name change: ruby (lang/ruby18) -> 'ruby+oniguruma'= =20 > (lang/ruby18) > ---> Upgrading 'ruby-1.8.2_4' to 'ruby+oniguruma-1.8.3' (lang/ruby18) [ snip ] > patch -d /usr/ports/lang/ruby18/work/ruby-1.8.3 -p0 < ./re.c.181.patch > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |--- re.c.ruby_orig 2003-11-04 18:13:57.000000000 +0900 > |+++ re.c 2004-04-26 12:05:31.000000000 +0900 > -------------------------- > Patching file re.c using Plan A... > Hunk #1 succeeded at 483 (offset 42 lines). > Hunk #2 succeeded at 581 (offset 40 lines). > Hunk #3 failed at 591. > Hunk #4 succeeded at 807 (offset 110 lines). > Hunk #5 succeeded at 811 (offset 40 lines). > 1 out of 5 hunks failed--saving rejects to re.c.rej I got the same issue while portupgrading my 5.4-R to 6.0-stable. It seems that the C file (re.c) against which the rejected patch was taken has changed. Only one line seems to have been added, but in an inopportune place. My situation differed in that I actually chose to build ruby with the oniguruma option. Removing the relevant option file =66rom /usr/db/ports/ and rebuilding w/o oniguruma support provided a successful build. However, I'm looking forward to using ruby with the new oniguruma engine! HTH, Tim