ports/183247: linux_base-f10 does not build locale archive during installation

Nuno Subtil subtil at gmail.com
Wed Oct 23 19:30:00 UTC 2013


>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 at 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:


More information about the freebsd-ports-bugs mailing list