From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxim Cournoyer Newsgroups: gmane.lisp.guile.bugs Subject: bug#67412: (resolve-r6rs-interface '(srfi 160 u8) tries to load (srfi srfi-160) Date: Thu, 23 Nov 2023 14:45:23 -0500 Message-ID: <87o7fk6yp8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9091"; mail-complaints-to="usenet@ciao.gmane.io" To: 67412@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Thu Nov 23 20:46:25 2023 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r6Fea-0002E7-VR for guile-bugs@m.gmane-mx.org; Thu, 23 Nov 2023 20:46:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6FeC-0000lZ-LY; Thu, 23 Nov 2023 14:46:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6FeA-0000lB-G0 for bug-guile@gnu.org; Thu, 23 Nov 2023 14:45:59 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r6FeA-000686-4b for bug-guile@gnu.org; Thu, 23 Nov 2023 14:45:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r6FeE-0001H7-3n for bug-guile@gnu.org; Thu, 23 Nov 2023 14:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 23 Nov 2023 19:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67412 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile Original-Received: via spool by submit@debbugs.gnu.org id=B.17007687464876 (code B ref -1); Thu, 23 Nov 2023 19:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Nov 2023 19:45:46 +0000 Original-Received: from localhost ([127.0.0.1]:35157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6Fdx-0001GY-Dc for submit@debbugs.gnu.org; Thu, 23 Nov 2023 14:45:45 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:47028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6Fdv-0001GI-PR for submit@debbugs.gnu.org; Thu, 23 Nov 2023 14:45:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6Fdi-0000jt-6m for bug-guile@gnu.org; Thu, 23 Nov 2023 14:45:33 -0500 Original-Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r6Fdg-00060M-2v for bug-guile@gnu.org; Thu, 23 Nov 2023 14:45:29 -0500 Original-Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-41f155c862bso5764181cf.2 for ; Thu, 23 Nov 2023 11:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700768725; x=1701373525; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=nv6cbYg0g0yEqjRMcUJiJMwc0SmBh5oC+KNoMxDUzro=; b=ijXcdtGxaB9X0qS1VJVJEWnTHEi5tfEDdWDu04mgF9AnbYC34Nprb40hWdSYRNE/kC dLvltvoIIHdj7C+vLnpvEXkXr1pfWtSWdwJoB9nzr9jtF0upJ7MDRia18M9ih5X0rdh5 9wszaD0SabyH2vnYD/W47nio2h2OKSGifK0kTPJxsaaMw59qUd0+TgTp2esEYNE6/601 6ZgobzXHwJQ2FBpKAmS17XSO8Ap4+ZMNH0wuJey9I55AJIeRXvRaeh1H9oUzptUHSnuT y9CBMKFPLNfzyuiUoEVJdhmVxtLsewjSGK3neVkoU+g3mA16LSHKhLkDs2x2As7Z1i5Q ke7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700768725; x=1701373525; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=nv6cbYg0g0yEqjRMcUJiJMwc0SmBh5oC+KNoMxDUzro=; b=sEVr+PaluwgLjKYCe89sm9t4p+mA/8Wwk8byE/kceDZ7jlx7Ru84adObT88jax/oG0 nqmJGr9vbsY8GleB/l0P+CzGKoDeZrgzuiDNG/VTvxoOpDeu7uIn9DkD3Nh2WyX/nkm8 Rbpi8vExlWI8KJdz55WcQ4Q89qn+SARj+aZbg6IH9TYBEec9jYn9VazGCTu573Yu8hER qDKP7XzIvDNX1wXpELKOL0puqIQds+0BL/S/qKJ2uduGjsvFQ/sGhUR1sA4WBjiElkud epHA7fTuCy0dP7R8QBGA4riSvTIs4mphwSL0jhMOuTaA7xFyxtME0Uo+yDmqjRgPlETj /mOA== X-Gm-Message-State: AOJu0YyrV4+NGaIpIvHIM790v2/iqM4bExZq+S/vkL2B+jF4h1BwpMka 8D6ikkmAFJXx2v7tzNkiL9cKOnjIljc= X-Google-Smtp-Source: AGHT+IHfZE+gAfUUW0NYzeZlbqBUOfoP4AJ6/y15v5MaKFG++4i83mzaD2ED4cNhODzDMqwm8C8enw== X-Received: by 2002:a05:622a:18d:b0:41c:c8f2:58ce with SMTP id s13-20020a05622a018d00b0041cc8f258cemr531630qtw.27.1700768725075; Thu, 23 Nov 2023 11:45:25 -0800 (PST) Original-Received: from hurd (dsl-205-233-124-102.b2b2c.ca. [205.233.124.102]) by smtp.gmail.com with ESMTPSA id b12-20020ac8678c000000b0041b25ebc190sm693971qtp.44.2023.11.23.11.45.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 11:45:24 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::833; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x833.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10715 Archived-At: Hello, While working on integrating SRFI 178, I've encountered the following problem: --8<---------------cut here---------------start------------->8--- Backtrace: In system/base/compile.scm: 53:4 19 (call-once #) In ice-9/boot-9.scm: 1755:12 18 (with-exception-handler # ?) In system/base/compile.scm: 69:11 17 (_) 190:11 16 (_ #) 309:6 15 (read-and-compile # #:from ?) 331:39 14 (with-compiler #< name: scheme title: "Schem?> ?) 261:27 13 (_ # ?) In ice-9/boot-9.scm: 2919:4 12 (save-module-excursion #) In language/scheme/compile-tree-il.scm: 31:15 11 (_) In ice-9/psyntax.scm: 1229:36 10 (expand-top-sequence (#) ?) 1121:20 9 (lp (#) ?) 1342:32 8 (syntax-type (# ?) ?) 1562:32 7 (expand-macro # ?) In ice-9/r6rs-libraries.scm: 304:14 6 (_ # (#) ?) In ice-9/boot-9.scm: 222:29 5 (map1 (# ?)) 222:29 4 (map1 (# ?)) 222:29 3 (map1 (# ?)) 222:17 2 (map1 (#)) 3413:6 1 (resolve-interface (srfi srfi-160) #:select _ #:hide _ # ?) 1676:22 0 (lp 0) ice-9/boot-9.scm:1676:22: In procedure lp: no code for module (srfi srfi-160) --8<---------------cut here---------------end--------------->8--- Indeed, there's no such (srfi 160) module in SRFI 160, but why is it loaded in the first place? My srfi-178.sld R7RS library imports: --8<---------------cut here---------------start------------->8--- (define-library (srfi 178) (import (scheme base)) (import (scheme case-lambda)) (import (srfi 151)) (import (srfi 160 u8)) ... --8<---------------cut here---------------end--------------->8--- There seems to be something that doesn't work as expected in the (ice-9 r6rs-libraries) module: --8<---------------cut here---------------start------------->8--- (resolve-r6rs-interface '(srfi 160 u8)) ERROR: no code for module (srfi srfi-160) --8<---------------cut here---------------end--------------->8--- (srfi 160) should not be loaded; it's (srfi 160 u8) that is requested. -- Thanks, Maxim