Received: (at submit) by debbugs.gnu.org; 23 Nov 2023 19:45:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 23 14:45:46 2023 Received: from localhost ([127.0.0.1]:35157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r6Fdx-0001GY-Dc for submit <at> debbugs.gnu.org; Thu, 23 Nov 2023 14:45:45 -0500 Received: from lists.gnu.org ([2001:470:142::17]:47028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>) id 1r6Fdv-0001GI-PR for submit <at> debbugs.gnu.org; Thu, 23 Nov 2023 14:45:44 -0500 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 <maxim.cournoyer@HIDDEN>) id 1r6Fdi-0000jt-6m for bug-guile@HIDDEN; Thu, 23 Nov 2023 14:45:33 -0500 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 <maxim.cournoyer@HIDDEN>) id 1r6Fdg-00060M-2v for bug-guile@HIDDEN; Thu, 23 Nov 2023 14:45:29 -0500 Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-41f155c862bso5764181cf.2 for <bug-guile@HIDDEN>; 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) 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 <bug-guile@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 11:45:24 -0800 (PST) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> To: bug-guile <bug-guile@HIDDEN> Subject: (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@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::833; envelope-from=maxim.cournoyer@HIDDEN; 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) 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 #<procedure 7f77d26e94c0 at system/base/comp?>) In ice-9/boot-9.scm: 1755:12 18 (with-exception-handler #<procedure 7f77d65faf00 at ic?> ?) In system/base/compile.scm: 69:11 17 (_) 190:11 16 (_ #<closed: file 7f77d35f78c0>) 309:6 15 (read-and-compile #<input: srfi/srfi-178.sld 15> #:from ?) 331:39 14 (with-compiler #<<language> name: scheme title: "Schem?> ?) 261:27 13 (_ #<syntax:srfi-178.sld:1:0 (#<syntax:srfi-178.sld:1:?> ?) In ice-9/boot-9.scm: 2919:4 12 (save-module-excursion #<procedure 7f77d660c200 at lang?>) In language/scheme/compile-tree-il.scm: 31:15 11 (_) In ice-9/psyntax.scm: 1229:36 10 (expand-top-sequence (#<syntax:srfi-178.sld:1:0 (#<sy?>) ?) 1121:20 9 (lp (#<syntax:srfi-178.sld:1:0 (#<syntax:srfi-178.sld?>) ?) 1342:32 8 (syntax-type (#<syntax:r6rs-libraries.scm:291:12 li?> ?) ?) 1562:32 7 (expand-macro #<procedure 7f77d64d1d30 at ice-9/r6rs-l?> ?) In ice-9/r6rs-libraries.scm: 304:14 6 (_ #<syntax:r6rs-libraries.scm:291:21 srfi> (#<syntax?>) ?) In ice-9/boot-9.scm: 222:29 5 (map1 (#<syntax:srfi-178.sld:2:10 (#<syntax:srfi-178?> ?)) 222:29 4 (map1 (#<syntax:srfi-178.sld:3:10 (#<syntax:srfi-178?> ?)) 222:29 3 (map1 (#<syntax:srfi-178.sld:4:10 (#<syntax:srfi-178?> ?)) 222:17 2 (map1 (#<syntax:srfi-178.sld:5:10 (#<syntax:srfi-178.s?>)) 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
Maxim Cournoyer <maxim.cournoyer@HIDDEN>
:bug-guile@HIDDEN
.
Full text available.bug-guile@HIDDEN
:bug#67412
; Package guile
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.