From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#32514: mailutils Guile bindings are broken Date: Thu, 23 Aug 2018 22:13:25 +0200 Message-ID: <87bm9ssuxm.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsw3Z-0005kN-1a for bug-guix@gnu.org; Thu, 23 Aug 2018 16:18:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsw3T-00036p-7f for bug-guix@gnu.org; Thu, 23 Aug 2018 16:18:12 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fsw3O-000322-CZ for bug-guix@gnu.org; Thu, 23 Aug 2018 16:18:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fsw3O-00062B-4E for bug-guix@gnu.org; Thu, 23 Aug 2018 16:18:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsw2t-0005P8-Fl for bug-guix@gnu.org; Thu, 23 Aug 2018 16:17:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsvzL-0000Dd-CU for bug-guix@gnu.org; Thu, 23 Aug 2018 16:13:56 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fsvzL-0000Bv-19 for bug-guix@gnu.org; Thu, 23 Aug 2018 16:13:51 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32514@debbugs.gnu.org There are at least three problems with the Guile bindings for mailutils: 1. the Guile source files are not compiled. 2. the Guile source files are installed to $out/share/guile/site/ and are thus not found with =E2=80=9C,use (mailutils mailutils)=E2=80=9D in a G= uile REPL. 3. the Guile session segfaults when loading the module: --8<---------------cut here---------------start------------->8--- rekado in debbugs [env]: guile GNU Guile 2.2.4 Copyright (C) 1995-2017 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (add-to-load-path "/gnu/store/50lg0i5rqw1g7nf0ar2afgs7= 88mgdjmq-mailutils-3.4/share/guile/site/") scheme@(guile-user)> ,use (mailutils mailutils) ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /gnu/store/50lg0i5rqw1g7nf0ar2afgs788mgdjmq-mailutils-3.4/sha= re/guile/site/mailutils/mailutils.scm ;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/50lg0i= 5rqw1g7nf0ar2afgs788mgdjmq-mailutils-3.4/share/guile/site/mailutils/mailuti= ls.scm.go Segmentation fault rekado in debbugs [env]: --8<---------------cut here---------------end--------------->8--- Are the bindings not usable with Guile 2.2? -- Ricardo