ASDF is a tool for describing how source files are organized: what depends on which and when. It is roughly what Common Lisp hackers use to build software where C hackers would use say GNU Make. ASDF stands for Another System Definition Facility, in the continuity of the Lisp DEFSYSTEM of yore.
Questions tagged [asdf]
204 questions
1
vote
1 answer
Cannot install lparallel alongside CL21 (?) Failing with CL21.CORE.FUNCTION
I have a weird mix of errors.
I was using CL21, I was in my package, and I wanted to install lparallel. Not possible:
(ql:quickload :lparallel)
To load "lparallel":
Load 1 ASDF system:
lparallel
; Loading "lparallel"
;
; caught ERROR:
; …

Ehvince
- 17,274
- 7
- 58
- 79
1
vote
1 answer
Win10: ASDF can't load system (ASDF_OUTPUT_TRANSLATION error)
Update 2
I think @faré is right, it's an output translation problem.
So I declared the evironment variable ASDF_OUTPUT_TRANSLATIONS and set it to E:/. Now (asdf:require-system "my-system") yields a different error: Uneven number of components in…

Frank
- 433
- 3
- 10
1
vote
1 answer
Reload components list
Here is my workflow: I have a running REPL in my emacs and I create a new system. When I try to test the system with (asdf:test-system :system) I get a Component :SYSTEM not found error. Of course when I restart the lisp image the component is…

anonymous
- 1,522
- 14
- 24
1
vote
2 answers
Trying to load trivial-shell by ASDF on Mac OS X
I'm trying to load trivial-shell on Mac OS X.
When I execute the following command:
(asdf:oos 'asdf:load-op :trivial-shell)
I get the following error:
decoding error on stream
#

Paul Reiners
- 8,576
- 33
- 117
- 202
1
vote
0 answers
Recompilation triggers for asdf:defsystem
I've noticed that my asdf:defsystem :components (with dependencies) are not always recompiled following changes. Specifically, when reverting to a previous version of a file (keeping the same filename), recompilation does not occur. (But normal…

davypough
- 1,847
- 11
- 21
1
vote
0 answers
Duplicate system symbols ASDF Common Lisp
If I'm using ASDF to build my Common Lisp system and have multiple projects in my ASDF path, how can I avoid naming collisions for my system names?
For example, if project-a and project-b both use a system utilities but they use different utilities,…

audrow
- 143
- 1
- 9
1
vote
2 answers
Upgrade asdf in sbcl failed
I am failed to upgrade the asdf to version 3 as the page https://common-lisp.net/project/asdf/asdf.html#Replacing-your-implementation_0027s-ASDF said
Is there anything wrong with my environment?
CL-USER> (load…

Ray
- 41
- 1
1
vote
0 answers
Function invisible from macrolet?
I have an ASDF system with the following code in it:
;; testproj.asd
(asdf:defsystem #:testproj
:serial t
:components ((:file "testproj")))
;; testproj.lisp
(defpackage #:testproj
(:use #:cl))
(in-package #:testproj)
(defun baz (x)…

user3026691
- 497
- 2
- 11
1
vote
1 answer
How to use downloaded Lisp source or library (with one not-sure-how-it-works asdf approach)
I download a lisp source CC3.lisp started with
(if (not (find-package "CC3"))
(defpackage "CC3"))
(in-package "CC3")
(export '(true false bogus rd sunday monday tuesday wednesday))
and others.
I would like to write a test.lisp to test its…

Dennis Ng
- 79
- 6
1
vote
2 answers
ASDF System Configuration Variables?
Is there a way to make a configurable ASDF system that loads different lisp files depending on user configuration variables?
Preferably, the loading process would fail with a legible error message if a required config var was not provided.
How would…

user3026691
- 497
- 2
- 11
1
vote
1 answer
Is system name must identical with file name when do asdf:load-system?
I am learning ASDF but encountered strange issue when do loading the defined system. Here are some information.
i defined a .asd file named "hello.asd" with a single line content:
(asdf:defsystem :hellosystem)
and i put this file into a directory…

Wu Li
- 789
- 5
- 6
1
vote
2 answers
Why isn't asdf:load-system creating the package
I'm trying to to use asdf's functionality to run my test suite from the repl but when using quicklisps quickload if fails on the first attempt to load foo and success on the second.
(in-package :cl-user)
(defpackage :foo-system
(:use :cl…

PuercoPop
- 6,707
- 4
- 30
- 40
1
vote
1 answer
Getting the version of an ASDF system
Among other things you can set in an ASDF system is the :version property. Is there a way to read it at runtime? Something like (system-version :my-system-name)?
I know there are asdf:version-satisfies, and asdf:asdf-version, but neither do what I…

Inaimathi
- 13,853
- 9
- 49
- 93
1
vote
2 answers
a newbie friendly asdf (another system definition facility) user guide
I am currently trying to get a grasp on asdf, but sadly (but apparently not uncommonly) the standard user guide is not really of any help, as it does explain (I guess) the relevant parts but misses to distribute some extended examples containing…

Sim
- 4,199
- 4
- 39
- 77
1
vote
1 answer
loading cl+ssl using clisp/asdf under windows 7
I am trying to load up "cl+ssl" via
(asdf:oos 'asdf:load-op :cl+ssl)
resulting in
Component :TRIVIAL-GARBAGE not found, required by #
is this problem known to anybody and if yes/no how can I fix this, or how can I approach to fix…

Sim
- 4,199
- 4
- 39
- 77