jhalfs-based build is impossible in French locales

Alexander E. Patrakov patrakov at ums.usu.ru
Wed Nov 7 07:28:22 PST 2007


I wrote:
> (caught on IRC, credit goes to sigzegv)
>
> jhalfs runs commands such as the following in order to find whether the 
> host meets requirements:
>
> check_version "4.1.20" "$(find --version | head -n1 | cut -d" " -f4)"
>
> However, this fails in French locales, because "find --version" prints this:
>
>   
>> « find » de GNU version 4.2.31
>> Built using GNU gnulib version 2007-02-24
>> Options activées: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION
>>     
>
> I.e., because the French language requires spaces around quotes, "de" is 
> picked as a version. So please release a new version of jhalfs that uses 
> the C locale (LC_ALL=C LANGUAGE=C) for the purpose of running such 
> version-checking commands (but not for running lxdialog!), and I will 
> release a new CD with it.
>
>   

The fix is attached, I will release a CD with it soon.

-- 
Alexander E. Patrakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jhalfs-2.3.1-locale-1.patch
Type: text/x-diff
Size: 599 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/alfs-discuss/attachments/20071107/88306fb6/attachment.patch>


More information about the alfs-discuss mailing list