From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gBcyGHlWy1+zBQAA0tVLHw (envelope-from ) for ; Sat, 05 Dec 2020 09:44:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qPACFHlWy1/FRQAA1q6Kng (envelope-from ) for ; Sat, 05 Dec 2020 09:44:25 +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 D8E65940482 for ; Sat, 5 Dec 2020 09:44:24 +0000 (UTC) Received: from localhost ([::1]:41860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klU74-0005YS-7P for larch@yhetil.org; Sat, 05 Dec 2020 04:44:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klU6k-0005XV-Oc for bug-guix@gnu.org; Sat, 05 Dec 2020 04:44:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klU6k-00034l-Hh for bug-guix@gnu.org; Sat, 05 Dec 2020 04:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klU6k-0008Ml-GU for bug-guix@gnu.org; Sat, 05 Dec 2020 04:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 09:44: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: Pierre Neidhardt Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.160716139532088 (code B ref 45017); Sat, 05 Dec 2020 09:44:02 +0000 Received: (at 45017) by debbugs.gnu.org; 5 Dec 2020 09:43:15 +0000 Received: from localhost ([127.0.0.1]:46573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klU5y-0008LT-ND for submit@debbugs.gnu.org; Sat, 05 Dec 2020 04:43:14 -0500 Received: from mout01.posteo.de ([185.67.36.65]:49745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klU5t-0008L8-FT for 45017@debbugs.gnu.org; Sat, 05 Dec 2020 04:43:13 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E45A8160060 for <45017@debbugs.gnu.org>; Sat, 5 Dec 2020 10:43:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607161382; bh=Xv3dM8QLbrZq9Unr4mU/66LlJRjl5W2PYtMVSivdI30=; h=From:To:Cc:Subject:Date:From; b=KatLCkyDKjpSC34NcOKh3yCJXtwPOa2zV2pCxEoLtcEpLLEsZi9Syd5SiP4p8prjL GJsM/oJeM5N98vLNmB5VAFzuToKOCHqH6jUKlpSRCh5DOUghMCDBRTuQ/ro27DirIm T1MfnMjRrHkG70bZMqsDYZwg1tKfExdx1wKPUzE2KbYcdHgCo50wUQod3okK6Du4Le HgA4RJW+ybPg1CuGwdgfnh0VhPntP1fZom6nIudKzN7C33o7GWajhDupmkdUDnjytu V1qa/zjl5IPyV/YRUgRhiVAUh1ZX5d2j+RcOoCcoUz6Uy7Lfr2FH3vNtcs56DYeR1T TkX6z6KrUJHag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cp4Pd3mQ9z6tmN; Sat, 5 Dec 2020 10:43:00 +0100 (CET) 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> <877dpwsm1h.fsf@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <877dpwsm1h.fsf@ambrevar.xyz> Date: Sat, 05 Dec 2020 10:42:59 +0100 Message-ID: <871rg4lhb0.fsf@yamatai> 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: , 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: -2.79 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=KatLCkyD; 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: D8E65940482 X-Spam-Score: -2.79 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: D5N85UnG1rvq --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > 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.lisp")) >> + (out (string-append (assoc-ref outputs "out"))) > > "out" is unused. By the way, the same "out" is unused in SBCL. > Indeed, I'll fix that. >> + (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. Actually, for CCL and Clisp, I get a "In procedure copy-file: Permission denied" error if I don't delete the current file before copying the new one. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8tWIw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8SygD9HSufWhgk2xmdoB5tFwVIP6+LmCkFayKi44ju 4rLfb5oA/3wUGLwn7B4+q+zzVWt5m+AC9tOG4SmEqB1yWi2I6M6k =/vO5 -----END PGP SIGNATURE----- --=-=-=--