From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oHDBLbxCy1+CaAAA0tVLHw (envelope-from ) for ; Sat, 05 Dec 2020 08:20:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yFuPKbxCy19UMgAAB5/wlQ (envelope-from ) for ; Sat, 05 Dec 2020 08:20:12 +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 06CE09402B1 for ; Sat, 5 Dec 2020 08:20:11 +0000 (UTC) Received: from localhost ([::1]:44540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klSna-00079z-Ea for larch@yhetil.org; Sat, 05 Dec 2020 03:20:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klSnS-00079a-Pa for bug-guix@gnu.org; Sat, 05 Dec 2020 03:20:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34952) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klSnS-0008Ow-IY for bug-guix@gnu.org; Sat, 05 Dec 2020 03:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klSnS-0004Cs-ED for bug-guix@gnu.org; Sat, 05 Dec 2020 03:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.160715634316096 (code B ref 45017); Sat, 05 Dec 2020 08:20:02 +0000 Received: (at 45017) by debbugs.gnu.org; 5 Dec 2020 08:19:03 +0000 Received: from localhost ([127.0.0.1]:46498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klSmV-0004BY-0h for submit@debbugs.gnu.org; Sat, 05 Dec 2020 03:19:03 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:47441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klSmT-0004B4-93 for 45017@debbugs.gnu.org; Sat, 05 Dec 2020 03:19:02 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 47F6CE0004; Sat, 5 Dec 2020 08:18:53 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87y2idsmnv.fsf@yamatai> References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <87k0tyuf6y.fsf@ambrevar.xyz> <871rg6szo9.fsf@yamatai> <87blf9u4bf.fsf@ambrevar.xyz> <87y2idsmnv.fsf@yamatai> Date: Sat, 05 Dec 2020 09:18:50 +0100 Message-ID: <877dpwsm1h.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; 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: , Cc: 45017@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.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 06CE09402B1 X-Spam-Score: -1.89 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: uteWTMR8cvJx --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable A few comments: > @@ -603,7 +603,8 @@ statistical profiler, a code coverage tool, and many = other extensions.") > "0x4bjx6cxsjvxyagijhlvmc7jkyxifdvz5q5zvz37028va65243c") > (_ "15l7cfa4a7jkfwdzsfm4q3n22jnb57imxahpql3h77xin57v1gbz"= )))))))) > (native-inputs > - `(("m4" ,m4))) > + `(("cl-asdf" ,cl-asdf) > + ("m4" ,m4))) > (arguments > `(#:tests? #f ;no 'check' target > #:modules ((ice-9 match) > @@ -615,6 +616,17 @@ statistical profiler, a code coverage tool, and many= other extensions.") > (add-after 'unpack 'unpack-image > (lambda* (#:key inputs #:allow-other-keys) > (invoke "tar" "xzvf" (assoc-ref inputs "ccl-bootstrap")))) > + (add-after 'unpack 'replace-asdf > + ;; Use system ASDF instead of bundled one. > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let* ((cl-asdf (assoc-ref inputs "cl-asdf")) > + (guix-asdf (string-append > + cl-asdf > + "/share/common-lisp/source/asdf/asdf.lis= p")) > + (out (string-append (assoc-ref outputs "out"))) "out" is unused. By the way, the same "out" is unused in SBCL. > + (contrib-asdf "tools/asdf.lisp")) > + (delete-file contrib-asdf) I think you don't need to delete the file, copy-file should overwrite. That's what SBCL does. Same with CLISP. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/LQmoSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/vF4H/2tUeB2QV3uI4ICjowEp3aA/ZTZkRr/v hQ2uI/hSz0yqJIO9xRr3TY2oubtgZfVd9w4iKOUHgLRDF77LUk9OWHk/ye3ujTSo 9CcCI5YXX9S4Dsj2lipDaocv+xlzUk/P11w9dm9oCXF4RgXgsCPv/sDMBpZlBtU8 VeG4IMUY0PPlI/nfxTduHdGlBNx6G4SIVmqX6cOgK7oCaZQH+Kmcaf6FBombxsUk zuaCYEVT4N1K/U4fqp4pbF/BY3/51C7zpKu6MFn3s+KF9xHt+Kk0hASgc4MxAeq6 vTUtalwZfA41dwFCM2o7Y6fXbUyqfT+R5p3WLHYv0HV2N1FT5PW7bmE= =QYa3 -----END PGP SIGNATURE----- --=-=-=--