GNU bug report logs -
#12887
Broken pipe while generating guile-procedures.texi
Previous Next
Reported by: DNS <dns <at> rbose.org>
Date: Wed, 14 Nov 2012 19:51:01 UTC
Severity: normal
Tags: moreinfo, unreproducible
Done: Andy Wingo <wingo <at> pobox.com>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 12887 <at> debbugs.gnu.org (full text, mbox):
Andy Wingo <wingo <at> pobox.com> skribis:
> On Fri 07 Dec 2012 22:59, ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> Ooh, I see. This is related to commit ed4c3739 (see
>> <http://lists.gnu.org/archive/html/guile-devel/2011-12/msg00160.html>).
>>
>> What happens is that the directory name may be correctly decoded when
>> passed as an argument:
>>
>> [ludo <at> pluto:~/tmp/Courtès]$ strace -f -o ,,s ~/src/guile/meta/guile -L $PWD -c '(set-port-encoding! (current-output-port) "UTF-8")(pk %load-path)'
>>
>> ;;; (("/home/ludo/tmp/Courtès" ...))
>>
>> But then ‘scm_stat’ calls ‘scm_to_locale_string’, which uses the wrong
>> encoding at this point [...]
>
> Nice debugging for a nasty problem.
>
>> So, as mentioned in the thread above, 2.2 will not have this problem.
>> But for 2.0, I can’t even imagine an ugly hack that would help.
>>
>> Thoughts?
>
> What about an environment variable that can tell Guile to do the
> setlocale(). We can set the environment variable during the build so
> that at least the build works, and whisper it to users when they run
> into problems (while noting that the variable will not be read in 2.2).
Yes, sounds like a plan. ‘GUILE_INSTALL_LOCALE’?
> Or should we go ahead and document it, and simply have its default value
> change between 2.0 and 2.2?
Yes, even better, since the setlocale change will have to be documented
at least in NEWS anyway.
Are you willing to look into it?
Ludo’.
This bug report was last modified 12 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.