GNU bug report logs - #19233
Errors building guile on Armv7

Previous Next

Package: guile;

Reported by: John Darrington <john <at> darrington.wattle.id.au>

Date: Sun, 30 Nov 2014 19:53:02 UTC

Severity: normal

Tags: notabug

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mark H Weaver <mhw <at> netris.org>
To: John Darrington <john <at> darrington.wattle.id.au>
Cc: 19233 <at> debbugs.gnu.org, request <at> debbugs.gnu.org
Subject: bug#19233: Errors building guile on Armv7
Date: Sun, 07 Dec 2014 11:56:53 -0500
tags 19233 + notabug
close 19233
thanks

John Darrington <john <at> darrington.wattle.id.au> writes:

> On Sun, Dec 07, 2014 at 12:24:42AM -0500, Mark H Weaver wrote:
[...]
>      I guess that both iconv and gdb are somewhat broken on your system.
>      
>
>
> You are right.  I was linking to the wrong libiconv

Okay.

> I think however, that your suggested work-around or something similar
> could do with pushing to the master: There is a circular dependency
> here: If iconv_open fails, guile tries to report the error using
> scm_locale_string which itself calls iconv_open ...

In the common case, the failure is not that iconv is broken, but rather
that the string contains a character that cannot be encoded in the
specified encoding.  'scm_encoding_error' raises an exception, which
could be caught and handled by user code.  If uncaught, it would print
an error message that contains only ASCII characters, so should not
fail.

What I suggested was not a workaround, but rather a temporary hack to
debug your problem.

     Thanks,
       Mark




This bug report was last modified 10 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.