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.

John
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to