From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 eCtdDsjbvmI2cgAAbAwnHQ (envelope-from ) for ; Fri, 01 Jul 2022 13:34:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4N5lDcjbvmLq+gAAG6o9tA (envelope-from ) for ; Fri, 01 Jul 2022 13:34:32 +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 02FBE1E0C1 for ; Fri, 1 Jul 2022 13:34:31 +0200 (CEST) Received: from localhost ([::1]:57420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7Eur-0004Dw-Gl for larch@yhetil.org; Fri, 01 Jul 2022 07:34:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Erq-000484-AM for bug-guix@gnu.org; Fri, 01 Jul 2022 07:31:42 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7ErW-0003fd-NT for bug-guix@gnu.org; Fri, 01 Jul 2022 07:31:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7ErW-0003Zv-G1 for bug-guix@gnu.org; Fri, 01 Jul 2022 07:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56334: Should asdf-build-system/sbcl use load-system instead of compile-system? Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 01 Jul 2022 11:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56334 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 56334@debbugs.gnu.org Received: via spool by 56334-submit@debbugs.gnu.org id=B56334.165667503211987 (code B ref 56334); Fri, 01 Jul 2022 11:31:02 +0000 Received: (at 56334) by debbugs.gnu.org; 1 Jul 2022 11:30:32 +0000 Received: from localhost ([127.0.0.1]:36437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7Er2-00036u-05 for submit@debbugs.gnu.org; Fri, 01 Jul 2022 07:30:32 -0400 Received: from mout01.posteo.de ([185.67.36.65]:53343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7Eqz-0002y2-Jv for 56334@debbugs.gnu.org; Fri, 01 Jul 2022 07:30:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 51A72240026 for <56334@debbugs.gnu.org>; Fri, 1 Jul 2022 13:30:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1656675023; bh=tzeX7WoPIyoZ7/bA9TZKNJikufLWrI1DnsXoScwGFD0=; h=From:To:Cc:Subject:Date:From; b=ftUvmZ5VS70K7MsrvX3XtjoLMqjWNaIYWfB+FMCzBsvxL1HLWH9CFM+EkDVjgGwz0 xKr4HDcvVKDzCdoqlcCO8ujYHzQfTRoworC6qJgEh1faF8bwwgr1sgUna1MY1CCrgd 0WWQ2u4iBaLYsyPZxCaKjaCcumOVHnF3wq/h5eiBkwGEwb7ZjkD2mTH63aVr/bF8wt nYZcSTvzOWuKBcy22EG2Xt3mhiytGNgp5zIb9dSV36xJwRoO6eSI+b4SO/oWBxVhR2 2NkxJ8xAshHHbLW7YkWIMWpm7RijElwzWhkeGEiuzpCU+wPvoQ9GqXLfqHWduDcKxv V/IoOKm8aYXPA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LZCg20sxwz6tm9; Fri, 1 Jul 2022 13:30:21 +0200 (CEST) References: <87edz5jfxm.fsf@ambrevar.xyz> From: Guillaume Le Vaillant Date: Fri, 01 Jul 2022 11:13:30 +0000 In-reply-to: <87edz5jfxm.fsf@ambrevar.xyz> Message-ID: <87o7y9yss4.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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=1656675272; 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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=MkEdPHV3/BROY2nF5MkxsdaI6Ako1hY5xhOLx6iY7l8=; b=bh+aYCp9/YJeLmQqdPTqjCIgjYkx/KmvHXmQP4x0K4PLkIcgupstu00/2i/SNtWBWhbX1h exsUb5TPSbyVBl0PC7h2yZUL+sudrCakW8jMyFxnQelLvxDP0kSS/hWxYjq4YQR7DZzAYx 0hpHduZdPP0feMLaGE27xss746B9A60Y3kOJYgZnRpFrKdehEyZUI9cTK/Pg9n7C/LoBFZ o1wYkpzdfDX97K9ZsvI8HcFXS7hiRrTsq4DHo8n2u9v0gTlsw6+N7B9+zlnGSDgvnD0fD0 Mn1I5WIAONr/l89JSZUbn3OuZwCVSocAIrZXksqYG0llkxyBRol/MQQSA6tj8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656675272; a=rsa-sha256; cv=none; b=B/hYMb2xziTa+6ODOq2nSUIoYAsnk8Pja4fAj97l9FigPA+yCdYg+p6FCquKHrwAgnM73S xsYmAu1hAIsOhQtoO4yKBZdCGC/FwTtt8T2KvirEosb/eJxxXYHVRvAgUWbjpBgoGjG647 8hFOO2Wh9U4LyRXq37KVnvcxTLtlgY1p13BuXPLaye/V8x1/b3bNjrBNdXM5A8/M5l28FQ 6dTWA1h4mGV1gf9oGckeRbOzELiD2/xq83+xJwDeEfesQ35KWlSm0pJ9nnW1a738Xp6AeP jU3we3w5ebwDxQ3PoscSOugHeLvsJMvAakD2QDcnh3i815SIdvSUGp5/s7Zsmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ftUvmZ5V; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ftUvmZ5V; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 02FBE1E0C1 X-Spam-Score: 4.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: QIjXMT4AYf4u --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > 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 the ASDF doc: > > 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. > > > 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: > > ;; Tests fail with: Component JONATHAN-ASD::JONATHAN-TEST not found, > ;; required by #. Why? > > [...] Hi, The cl-gamepad package has a similar issue (and a custom build phase using load-system instead of compile-system as a workaround). If the doc of ASDF indicates that load-system is the preferred way to compile systems, we should probably do that, and remove current workarounds and check if everything is still working. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYr7ayw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j85gwD8DCcYTON9Xz6HHIJzg7JhBKpfEdkHJfmVWcgp cP/8aCgA/A8adxjVcoJBJSJ8LCSF8bNvmv9wG0/ZZW3XSUlYl3Na =f1GX -----END PGP SIGNATURE----- --=-=-=--