GNU bug report logs -
#45017
asdf-build-system packages have priority over user ones
Previous Next
Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>
Date: Thu, 3 Dec 2020 09:43:02 UTC
Severity: normal
Done: Guillaume Le Vaillant <glv <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Pierre Neidhardt <mail <at> ambrevar.xyz> 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.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 246 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.