GNU bug report logs - #12887
Broken pipe while generating guile-procedures.texi

Previous Next

Package: guile;

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


View this message in rfc822 format

From: Andy Wingo <wingo <at> pobox.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 12887 <at> debbugs.gnu.org, DNS <dns <at> rbose.org>
Subject: bug#12887: Broken pipe while generating guile-procedures.texi
Date: Tue, 05 Mar 2013 18:40:38 +0100
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).

Or should we go ahead and document it, and simply have its default value
change between 2.0 and 2.2?

Andy
-- 
http://wingolog.org/




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.