From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Mike Gran" Newsgroups: gmane.lisp.guile.user Subject: Re: Debugging Guile module loading Date: Mon, 12 Mar 2018 13:40:19 -0700 Message-ID: <20180312204019.GA21130@joshua.dnsalias.com> References: <87h8pl9jvo.fsf@cbaines.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1520887249 6107 195.159.176.226 (12 Mar 2018 20:40:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2018 20:40:49 +0000 (UTC) User-Agent: Mutt/1.9.2 (2017-12-15) Cc: Guile User To: Christopher Baines Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Mar 12 21:40:45 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evUFQ-0001Tf-HL for guile-user@m.gmane.org; Mon, 12 Mar 2018 21:40:44 +0100 Original-Received: from localhost ([::1]:34578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evUHT-0001kK-GB for guile-user@m.gmane.org; Mon, 12 Mar 2018 16:42:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evUFA-00005e-QD for guile-user@gnu.org; Mon, 12 Mar 2018 16:40:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evUF7-0006Uw-Vx for guile-user@gnu.org; Mon, 12 Mar 2018 16:40:28 -0400 Original-Received: from sonic311-14.consmr.mail.bf2.yahoo.com ([74.6.131.124]:38823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evUF7-0006Tv-Ff for guile-user@gnu.org; Mon, 12 Mar 2018 16:40:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1520887224; bh=xxZJOAqmhX91/oCHR7zflJbq8ZooMRl/OQGjaoXuicY=; h=From:Date:To:Cc:Subject:References:In-Reply-To:From:Subject; b=POmytH8oFYkWJEQuV8sZYtfiiDeo2uYZMrEWm52jzhfo3RBQxRmd14M6P2iR4fp+jNk7qJLpzq9Xcnnxfu+HdsYd1fQkgjL0sj0GZ3HaRHnLazcUzNLHa9MS8+UBkQMlDBKcK3dMEVDbziVdzg7rBPVz8h94ZuOJjzgZL6eO/PxITr54PFZxOOJCLqQYPGDe0I+UnU9Vzf1H2oUIVCp39+UB0nF+Lq0/U+wWnBqAgOgBWiOpn0HWui9aOd35+BVLbm0wZoyacZWBndgWpnH0g4ftoSkw/oU9k4FSlOQK2LNUv/at9N9rAoQYNeeu+UK3AeMg0sQae5g8N/lixNQUPg== X-YMail-OSG: SrMEbQEVM1nBBj8VnUqTooxy5hjUM5zh04qz0MQvY0Hu24zN22OPaw63pDOjh2n o_iWmBf6Zo9boVygsbKQeEYcEIcIfQ1zqjZn8gYCwrk0_8iO7AMSNV0NrZZK.Gl.UCwNrL7TLgRj QeA_ge9ztGuPoQgDwGnLEG6DADNk.7uR5R51XyeGg64DB6et8taT41OaMwQItXqtkfOuB4wUzaUA j.wtz7X872C_kXDEGjCqppqnc_8tK1ZYeHCM7FmPgrYhaBNA4I.XKc_JqHys1U8v8QjQ_AI8S4eJ Qfi6Bh7JFY9EiQtZdomC5N10eJ9FpTQzpzVAxj8CL7Eh8cFhteoE2P1poN72G61Si7b9ORYpgRBo GrJsx8A6Hdg5gr1URvrFOsq_i3bswDR.ewMeBUmlWsAIZ12R5z2Wi4ZnK6FQdb63ZLmz3YwJEp2O 2Nd040FY5lLCtTfmwDrDumDRal3A5WFR_VwXfb3BidDz6qPN.TLsyz_aGpKi_NhkwbdhR.M7TTHh OgCxkhQ-- Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.bf2.yahoo.com with HTTP; Mon, 12 Mar 2018 20:40:24 +0000 Original-Received: from 162-197-224-133.lightspeed.irvnca.sbcglobal.net (EHLO joshua.spikycactus.dnsalias.com) ([162.197.224.133]) by smtp418.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID fb25fe1fef065ddb0a1848fe0aedc17c; Mon, 12 Mar 2018 20:40:21 +0000 (UTC) Original-Received: by joshua.spikycactus.dnsalias.com (sSMTP sendmail emulation); Mon, 12 Mar 2018 13:40:19 -0700 Content-Disposition: inline In-Reply-To: <87h8pl9jvo.fsf@cbaines.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.6.131.124 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14485 Archived-At: On Mon, Mar 12, 2018 at 07:25:15PM +0000, Christopher Baines wrote: > Hey, > > I'm having some trouble with Guile module loading. I've got a > (use-modules ...) call which results in some warnings, which seem to be > actually more like errors, as the modules aren't loaded. > > From loading one module, I get two errors in the form: > > warning: failed to load '...': > Unbound variable: ... > > The modules and variables all exist, but as far as I understand Guile > modules, they shouldn't be required for loading the module requested. > > Any tips on debugging use-modules? Initially it would be good to work > out what modules it's attempting to load. I often find that, using "LD_DEBUG=all guile" will reveal the problem, somewhere at the bottom of its very verbose output.