From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 23 19:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A0D5B539 for ; Wed, 23 Oct 2013 19:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F56429AA for ; Wed, 23 Oct 2013 19:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9NJU0fC017850 for ; Wed, 23 Oct 2013 19:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9NJU09s017849; Wed, 23 Oct 2013 19:30:00 GMT (envelope-from gnats) Resent-Date: Wed, 23 Oct 2013 19:30:00 GMT Resent-Message-Id: <201310231930.r9NJU09s017849@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nuno Subtil Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9788B465 for ; Wed, 23 Oct 2013 19:25:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 85368293A for ; Wed, 23 Oct 2013 19:25:42 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9NJPghp026055 for ; Wed, 23 Oct 2013 19:25:42 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9NJPgSW026051; Wed, 23 Oct 2013 19:25:42 GMT (envelope-from nobody) Message-Id: <201310231925.r9NJPgSW026051@oldred.freebsd.org> Date: Wed, 23 Oct 2013 19:25:42 GMT From: Nuno Subtil To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183247: linux_base-f10 does not build locale archive during installation X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 19:30:00 -0000 >Number: 183247 >Category: ports >Synopsis: linux_base-f10 does not build locale archive during installation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 23 19:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Nuno Subtil >Release: 9.2-RELEASE >Organization: >Environment: FreeBSD ponyo 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r+05c3e78: Fri Oct 4 18:22:18 PDT 2013 root@ponyo:/usr/obj/usr/src/sys/HOWL amd64 >Description: The linux_base-f10 port does not build the locale archive during installation, which causes locales not to work under the Linux emulator (locale -a shows only 'POSIX and C'). This cripples ports such as CrashPlan, which lose the ability to read and backup directories with international characters in the file name. (This problem might apply to other linux_base ports. I have only tested f10). >How-To-Repeat: Install linux_base-f10 and observe that the output from 'chroot /compat/linux /usr/bin/locale -a' only lists POSIX and C. To witness a more practical issue arising from this problem, install CrashPlan from ports. Observe that directories with international characters in the name can not be backed up. >Fix: A manual fix is to run 'chroot /compat/linux /usr/sbin/build-locale-archive' as root after installation. I'm not sure what the correct approach for doing this from the port's Makefile would be, so I didn't attach a patch to do this. Note that, by design, this command will only successfully run once, since it removes the input file it uses to build the locale archive (see, e.g., http://stephane.lesimple.fr/blog/2010-04-29/fixing-a-locale-archive-breakage.html ). >Release-Note: >Audit-Trail: >Unformatted: