From owner-freebsd-ports@FreeBSD.ORG Sat Jan 4 14:38:32 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 ACA46C9E; Sat, 4 Jan 2014 14:38:32 +0000 (UTC) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 47C181610; Sat, 4 Jan 2014 14:38:31 +0000 (UTC) Received: from yokozuna.lan (a83-160-85-125.adsl.xs4all.nl [83.160.85.125]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id s04EcUXk062365 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Jan 2014 15:38:30 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from localhost (localhost [127.0.0.1]) by yokozuna.lan (8.14.7/8.14.7) with ESMTP id s04EcTNh034335; Sat, 4 Jan 2014 15:38:29 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Sat, 4 Jan 2014 15:38:29 +0100 (CET) From: Marco Beishuizen To: marino@freebsd.org Subject: Re: how to install ruby18 In-Reply-To: <52C81A22.5030501@marino.st> Message-ID: References: <52C81A22.5030501@marino.st> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Marco Beishuizen List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 14:38:32 -0000 On Sat, 4 Jan 2014, the wise John Marino wrote: > Are you sure about your statement, "portupgrade doesn't work with > default ruby19"? > > It seems to build fine for us: > http://pkgbox64.dragonflybsd.org/bulk/bleeding-edge-default/latest-per-pkg/portupgrade-2.4.12%2c2.log > > It also builds fine on FreeBSD: > http://beefy2.isc.freebsd.org/bulk/10amd64-quarterly/latest-per-pkg/portupgrade-2.4.12,2.log > > Also, portsmon is clean: > http://portsmon.freebsd.org/portoverview.py?category=ports-mgmt&portname=portupgrade > > It appears your problem is local, not global. > (And no, you can't easily install ruby18 again) 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. Regards, Marco -- E.T. GO HOME!!! (And take your Smurfs with you.)