From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WGB6CTrKvmItGAEAbAwnHQ (envelope-from ) for ; Fri, 01 Jul 2022 12:19:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cCyCCTrKvmIoGQAA9RJhRA (envelope-from ) for ; Fri, 01 Jul 2022 12:19:38 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BB3D21BCB7 for ; Fri, 1 Jul 2022 12:19:37 +0200 (CEST) Received: from localhost ([::1]:45096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7DkO-0004er-HO for larch@yhetil.org; Fri, 01 Jul 2022 06:19:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Dis-0003Ic-BE for bug-guix@gnu.org; Fri, 01 Jul 2022 06:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7Dis-0007pe-07 for bug-guix@gnu.org; Fri, 01 Jul 2022 06:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7Dir-0004KG-ST for bug-guix@gnu.org; Fri, 01 Jul 2022 06:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56334: Should asdf-build-system/sbcl use load-system instead of compile-system? Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 01 Jul 2022 10:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56334 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 56334@debbugs.gnu.org Cc: glv@posteo.net X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165667062516553 (code B ref -1); Fri, 01 Jul 2022 10:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jul 2022 10:17:05 +0000 Received: from localhost ([127.0.0.1]:36310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7Dhw-0004Iv-P8 for submit@debbugs.gnu.org; Fri, 01 Jul 2022 06:17:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:48944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7Dht-0004IZ-O8 for submit@debbugs.gnu.org; Fri, 01 Jul 2022 06:17:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Dht-00026w-GE for bug-guix@gnu.org; Fri, 01 Jul 2022 06:17:01 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:64271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Dhq-00063K-MX for bug-guix@gnu.org; Fri, 01 Jul 2022 06:17:00 -0400 Received: (Authenticated sender: mail@ambrevar.xyz) by mail.gandi.net (Postfix) with ESMTPSA id 36F2B40010; Fri, 1 Jul 2022 10:16:54 +0000 (UTC) From: Pierre Neidhardt Date: Fri, 01 Jul 2022 12:16:53 +0200 Message-ID: <87edz5jfxm.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.194; envelope-from=mail@ambrevar.xyz; helo=relay2-d.mail.gandi.net X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656670777; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=Bbk+SxMqohbEQipOZ/jL3iPM3lt23gRUUs6BuqFt00E=; b=toAuJP8WqdAs9MzeoTX/lF9kuT/4CxMycuwow6QlZWeEdCb0Ykky5V3Crz/t2h3YaYUNH6 fRc0WDGhwBrFuuLegyGvVN66jJM3Yr7BPEUM4g9wRWSUzSjYDEoFUujjho9tPJ9J3TJtuZ rg5OYbQm13XMq8hCjXEhClhYRzy/LeQF45jVb4fJTDp0XEFddOi95O6SIs1nhzZMZSWsOE 3k3Yql+TLENkuolt2V+nBNml/MiMClNHJqTStlfOJfza7cu3OUwm1MTvHEEM3GvYNea7kj gYlSp3Z4Ppe62TFc4A1bzSWW5AWMHCinShMWj1LVPIQeb2veXXzYqybxsw4Y+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656670777; a=rsa-sha256; cv=none; b=lDH8vR22sXwxU2f90fZ8jh26hUpfaLfyJnV9+8i7iQlIBi80nezgrRL/T9FB67ZwBCkUFy Lkf26c0RuoTluSR03kP4IUjCF4dxy7xP1WnlxxBAvlzeGkdQaki7C+gpDMM9L363tPK87j ntIA0fmGtXVN2c1jE6pyzKw0YLcIL/mDzMF/4HNK0zrGLcObJ9Pgrmf1rySOiMoU9WKfWb GNi/hL0uLVguLbJtRiFDT45neKp+yndAKFPfm0pRnj4VTnQzEls48AZBc0aTHXWU/62C/8 /R5n3oZr+uwhYsOBlJb2HNEN7qPW8+KjJrpsYOgZ0A4Ja3/k7m3EaHB4sUlY8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.75 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BB3D21BCB7 X-Spam-Score: -4.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: qseEkGz/+/nI --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable While trying to package https://github.com/s-expressionists/Cleavir I hit a strange issue in which it would fail to compile, while calling `asdf:load-system' locally worked. Then I realized that our asdf-build-system/sbcl uses `asdf:compile-system' instead of `asdf:load-system'. From=20the ASDF doc: =2D-8<---------------cut here---------------start------------->8--- This will make sure all the files in the system are compiled, but not necessarily load any of them in the current image; on most systems, it will _not_ load all compiled files in the current image. This function exists for symmetry with 'load-system' but is not recommended unless you are writing build scripts and know what you're doing. =2D-8<---------------cut here---------------end--------------->8--- So should we really use it? By the way this _may_ be related to the issue we've got with loading the tests of some packages, like sbcl-jonathan: =2D-8<---------------cut here---------------start------------->8--- ;; Tests fail with: Component JONATHAN-ASD::JONATHAN-TEST not found, ;; required by #. Why? =2D-8<---------------cut here---------------end--------------->8--- Recipe to reproduce: =2D git clone https://github.com/s-expressionists/Cleavir =2D cd Cleavir =2D guix shell sbcl sbcl-acclimation sbcl-concrete-syntax-tree sbcl-closer-= mop -- sbcl =2D (asdf:initialize-source-registry `(:source-registry (:tree ,(uiop:getcw= d)) :inherit-configuration)) =2D (asdf:compile-system :cleavir-abstract-interpreter) =2D-8<---------------cut here---------------start------------->8--- debugger invoked on a SB-PCL:CLASS-NOT-FOUND-ERROR in thread #: There is no class named CLEAVIR-ABSTRACT-INTERPRETER:STRATEGY. Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [TRY-RECOMPILING ] Recompile control and try loading it a= gain 1: [RETRY ] Retry loading FASL for #. 2: [ACCEPT ] Continue, treating loading FASL for # as having been successful. 3: Retry ASDF operation. 4: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting t= he configuration. 5: Retry ASDF operation. 6: Retry ASDF operation after resetting t= he configuration. 7: [ABORT ] Exit debugger, returning to top level. =2D-8<---------------cut here---------------end--------------->8--- And then =2D (asdf:load-system :cleavir-abstract-interpreter) works like a charm! Thoughts? Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAmK+yZUSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/I3QH/A0cPGfqAbnZBiYtwx8KJ5wStVSlodQZ rep9sWLtWpLe8+EO/RTQoz2tkV43hKf0zB7Xo8OWO5dagsFG4Q/3UD2k/Duj1NLT Tvp9GG/6BqBunTzHqNlAp5V+XXoFWU/hWli1XpxrMqS2ITtcn2NR4vary0pFGLHf pLP8UkS/5LNMGXEjFMuctxRguDFV08tH+nj630GuSj9Tc0CrMvfJV+vHGbOSQyQ1 eYkpJq5IzKYwwL1x+DFLe/yGW5vejESbhDqucFzPr/tIK7UF81GtcDaD61MWBbNX 2sW+mSPIFoYT4yMJ89N+t8nrEzb8oBOz8DLuN5Snhz3GMlkfw+D6PZE= =SecM -----END PGP SIGNATURE----- --=-=-=--