From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0H0zEAtYJmC7UQAA0tVLHw (envelope-from ) for ; Fri, 12 Feb 2021 10:27:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qOf1CwtYJmC/LQAAbx9fmQ (envelope-from ) for ; Fri, 12 Feb 2021 10:27:23 +0000 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 57271940484 for ; Fri, 12 Feb 2021 10:27:22 +0000 (UTC) Received: from localhost ([::1]:43446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAVfV-0002Bt-7A for larch@yhetil.org; Fri, 12 Feb 2021 05:27:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAVfC-0002As-8J for bug-guix@gnu.org; Fri, 12 Feb 2021 05:27:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAVfC-0007cl-17 for bug-guix@gnu.org; Fri, 12 Feb 2021 05:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lAVfB-0002Vv-UB for bug-guix@gnu.org; Fri, 12 Feb 2021 05:27:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46424: ASDF build system sometimes fails to load .asd files properly Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 12 Feb 2021 10:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46424 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt X-Debbugs-Original-Cc: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16131255679599 (code B ref -1); Fri, 12 Feb 2021 10:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2021 10:26:07 +0000 Received: from localhost ([127.0.0.1]:59979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAVeI-0002Ul-Rl for submit@debbugs.gnu.org; Fri, 12 Feb 2021 05:26:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:44140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAVeE-0002Ub-Gj for submit@debbugs.gnu.org; Fri, 12 Feb 2021 05:26:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAVeC-0001l6-TH for bug-guix@gnu.org; Fri, 12 Feb 2021 05:26:01 -0500 Received: from mout01.posteo.de ([185.67.36.65]:42483) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAVeA-00079E-3Y for bug-guix@gnu.org; Fri, 12 Feb 2021 05:26:00 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1F5CF160063 for ; Fri, 12 Feb 2021 11:25:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1613125554; bh=qNEXW46379pp9vvUGptyoIM+tvuKswY4xv3qYfytt5o=; h=From:To:Cc:Subject:Date:From; b=YnA/O3+Q7388oJo1/qbqt3FIpjP4MCCx03bxIXF1OoXXDQo3STFQpLboEAOnPxzbD dZdY2RojPhIzCuZMkoIsAaUx/+Ckl9kv1eVYuG3XWF/SsEC8soYCVF6zAJwCXPntW9 kAh2MhcFaAG5ivOPduFDazNGDOgI5lPc6T4+3JN+133VX+bbBUUb9cxuSJtx5WoUj4 Y5gkSJGWDnLjiMjtqNxRQdts7by0iLbuPVMQnAiMZafGqJ/3yVGRJb37Tb0dVa8vQT J8jsjEIHBtVMnv4L5mGlQ6ijGFT9PxpOYOy/410r2yuB2EUatH57ZznizmvLIPwtbi pJCIdwHH1lUEw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DcV5B0sVVz9rxH; Fri, 12 Feb 2021 11:25:48 +0100 (CET) References: <87blcrubfi.fsf@ambrevar.xyz> User-agent: mu4e 1.4.15; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <87blcrubfi.fsf@ambrevar.xyz> Date: Fri, 12 Feb 2021 11:25:48 +0100 Message-ID: <87v9axvaz7.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.65; envelope-from=glv@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 46424@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="YnA/O3+Q"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 57271940484 X-Spam-Score: -1.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: vxAO3CfzXM8n --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > Yesterday I pushed 3aba721da73fbdc3382cc098c41596d5cfbb29eb > "gnu: sbcl-quri: Update to 20200209", which fixes the tests for sbcl-quri. > > I noted: > > --8<---------------cut here---------------start------------->8--- > ;; Test system must be loaded before, otherwise tests fail with: > ;; Component QURI-ASD::QURI-TEST not found, required by # ;; "quri">. > '(#:asd-systems '("quri-test" "quri"))) > --8<---------------cut here---------------end--------------->8--- > > Our build system should be able to do better, we should not even have to > specify the asd-systems here. After all, ASDF is smart enough. > > Note that: > > - If we don't specify the systems, the tests are still run and > succeed(!), it's only the phase that fails with the aforementioned > error. > > - If we specify the systems in the reverse order, it still fails! > > We've got this issue for many SBCL packages. > > Any clue? Guillaume? Currently we are using the 'asdf:load-asd' function to load system definitions (see the 'build' function in 'guix/build/asdf-build-system.scm' and the 'compile-systems' function in 'guix/build/lisp-utils.scm'). This function can only load one '.asd' file at a time, which is the cause of the issue. If we find how ASDF does the "lazy-load" of all the '.asd' files in a directory tree, and if we use that instead of 'load-asd', I think it would solve the issue and we could get rid of the 'asd-files' parameter in Guix package definitions. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYCZXrA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/FbAEAgQxFKvk/egIlBKIhX0glq53OPOxFjim4Xf7j 3IRy+AUA/2rrmGvsCH1zWuAaMUSMKWRO9n7MgRcLocUJp1st0Tff =05Rc -----END PGP SIGNATURE----- --=-=-=--