Skip to content

Instantly share code, notes, and snippets.

@TruePikachu
Last active January 31, 2017 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TruePikachu/06ff1b30117a71a3d5b0a81a9852831a to your computer and use it in GitHub Desktop.
Save TruePikachu/06ff1b30117a71a3d5b0a81a9852831a to your computer and use it in GitHub Desktop.
Launchpad #1660547
(defsystem :bar
:depends-on (:foo)
:components ((:file "bar")))
(foo:foo "Hello, world!")
#-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)
(defsystem :foo
:depends-on (:asdf)
:components ((:file "foo")))
(defpackage :foo
(:use :common-lisp)
(:export :foo))
(in-package :foo)
(defun foo (string)
(format *standard-output* "~A~%ASDF: ~A~%" string
(asdf:asdf-version)))
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