From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#19233: Errors building guile on Armv7 Date: Sun, 07 Dec 2014 11:56:53 -0500 Message-ID: <87bnnf4cve.fsf@yeeloong.lan> References: <20141130112836.GA32628@jocasta.intra> <87ppbw3ucl.fsf@yeeloong.lan> <20141207082420.GA32405@jocasta.intra> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417971567 2901 80.91.229.3 (7 Dec 2014 16:59:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 16:59:27 +0000 (UTC) Cc: 19233@debbugs.gnu.org, request@debbugs.gnu.org To: John Darrington Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Dec 07 17:59:19 2014 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XxfB0-0007GA-O7 for guile-bugs@m.gmane.org; Sun, 07 Dec 2014 17:59:18 +0100 Original-Received: from localhost ([::1]:58475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxfB0-0000Kk-EK for guile-bugs@m.gmane.org; Sun, 07 Dec 2014 11:59:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxfAr-0000KM-JX for bug-guile@gnu.org; Sun, 07 Dec 2014 11:59:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxfAl-0002xr-4q for bug-guile@gnu.org; Sun, 07 Dec 2014 11:59:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxfAl-0002xb-1W for bug-guile@gnu.org; Sun, 07 Dec 2014 11:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XxfAk-0002ew-9R for bug-guile@gnu.org; Sun, 07 Dec 2014 11:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 07 Dec 2014 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19233 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 19233-submit@debbugs.gnu.org id=B19233.141797152610199 (code B ref 19233); Sun, 07 Dec 2014 16:59:02 +0000 Original-Received: (at 19233) by debbugs.gnu.org; 7 Dec 2014 16:58:46 +0000 Original-Received: from localhost ([127.0.0.1]:56454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XxfAU-0002eM-Fw for submit@debbugs.gnu.org; Sun, 07 Dec 2014 11:58:46 -0500 Original-Received: from world.peace.net ([50.252.239.5]:60298) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XxfAQ-0002e6-5T; Sun, 07 Dec 2014 11:58:44 -0500 Original-Received: from c-24-62-95-23.hsd1.ma.comcast.net ([24.62.95.23] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XxfAI-0003RU-Or; Sun, 07 Dec 2014 11:58:34 -0500 In-Reply-To: <20141207082420.GA32405@jocasta.intra> (John Darrington's message of "Sun, 7 Dec 2014 09:24:20 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7670 Archived-At: tags 19233 + notabug close 19233 thanks John Darrington 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