-
-
Save TruePikachu/06ff1b30117a71a3d5b0a81a9852831a to your computer and use it in GitHub Desktop.
Launchpad #1660547
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defsystem :bar | |
:depends-on (:foo) | |
:components ((:file "bar"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(foo:foo "Hello, world!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-ECL (error "This file is intended for ECL") | |
(format t "ASDF: ~A~%" (asdf:asdf-version)) | |
(push (truename #P".") asdf:*central-registry*) | |
(asdf:make-build :bar :type :program :move-here (truename #P".")) | |
(quit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defsystem :foo | |
:depends-on (:asdf) | |
:components ((:file "foo"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defpackage :foo | |
(:use :common-lisp) | |
(:export :foo)) | |
(in-package :foo) | |
(defun foo (string) | |
(format *standard-output* "~A~%ASDF: ~A~%" string | |
(asdf:asdf-version))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian-VM:/~/common-lisp/launchpad-1660547 | |
chris:$ ecl --load ecl-build.lisp | |
;;; Loading "/home/chris/quicklisp/setup.lisp" | |
;;; Loading #P"/usr/local/lib/ecl-16.1.3/asdf.fas" | |
;;; Loading "/home/chris/common-lisp/launchpad-1660547/ecl-build.lisp" | |
ASDF: 3.1.8.2 | |
;;; | |
;;; Compiling /home/chris/common-lisp/launchpad-1660547/foo.lisp. | |
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0 | |
;;; | |
;;; Compiling (DEFUN FOO ...). | |
;;; End of Pass 1. | |
;;; Emitting code for FOO. | |
;;; Finished compiling /home/chris/common-lisp/launchpad-1660547/foo.lisp. | |
;;; | |
;;; | |
;;; Compiling /home/chris/common-lisp/launchpad-1660547/bar.lisp. | |
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0 | |
;;; | |
;;; End of Pass 1. | |
;;; Finished compiling /home/chris/common-lisp/launchpad-1660547/bar.lisp. | |
;;; | |
debian-VM:/~/common-lisp/launchpad-1660547 | |
chris:$ ./bar | |
Condition of type: SIMPLE-ERROR | |
Package ((ASDF/UPGRADE . #<ASDF/UPGRADE package>)) referenced in compiled file | |
NIL | |
but has not been created | |
Available restarts: | |
1. (IGNORE) Ignore the error, and try the operation again | |
Top level in: #<process TOP-LEVEL>. | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment