From owner-freebsd-ports@FreeBSD.ORG Sat Jan 4 20:49:47 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2918982A; Sat, 4 Jan 2014 20:49:47 +0000 (UTC) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE7E11023; Sat, 4 Jan 2014 20:49:46 +0000 (UTC) Received: from mouf.net (swills@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id s04KnaT5055503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 4 Jan 2014 20:49:41 GMT (envelope-from swills@mouf.net) Received: (from swills@localhost) by mouf.net (8.14.5/8.14.5/Submit) id s04Knawk055502; Sat, 4 Jan 2014 20:49:36 GMT (envelope-from swills) Date: Sat, 4 Jan 2014 20:49:36 +0000 From: Steve Wills To: marino@freebsd.org Subject: Re: how to install ruby18 Message-ID: <20140104204933.GA55026@mouf.net> References: <52C81A22.5030501@marino.st> <52C81E78.4020209@marino.st> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52C81E78.4020209@marino.st> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Sat, 04 Jan 2014 20:49:41 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.97.8 at mouf.net X-Virus-Status: Clean Cc: Marco Beishuizen , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 20:49:47 -0000 On Sat, Jan 04, 2014 at 03:45:12PM +0100, John Marino wrote: > On 1/4/2014 15:38, Marco Beishuizen wrote: > > On Sat, 4 Jan 2014, the wise John Marino wrote: > > > > Portupgrade builds fine, but I have my locale set to UTF-8 and in that > > case the pkgdb breaks and portupgrade no longer works: > > > > ... > > root@yokozuna:/home/marco# pkgdb -FfO > > ---> Checking the package registry database > > invalid byte sequence in UTF-8 > > ... > > > > When the locale is set to the standard C the error changes to "invalid > > byte sequence in US-ASCII". > > > > I have this error for a very long time and after a lot of searching and > > fiddling with the locale settings have no idea how to solve this. > > > > Ruby18 worked fine so that would be the best option imo. > > Ruby18 is gone forever, and unsupported, so that's not the best option. > DragonFly had these same type errors with ruby19, until we redefined > GEM_ENV in bsd.ruby.mk > > -GEM_ENV?= LC_CTYPE=UTF-8 > +GEM_ENV+= LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 > > Maybe setting GEM_ENV in your make.conf and rebuilding all the ruby > stuff would fix it for you too. Shot in the dark. I'm not sure this is the right solution. Most of those types of problems have disappeared now that rdoc isn't a dependency. If you remove rubygem-rdoc, does the problem go away? Steve