1
0
Fork 0
cl-sites/asdf.common-lisp.dev/asdf/How-can-I-debug-problems-finding-ASDF-systems.html
2023-11-12 11:34:18 +01:00

125 lines
5.6 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- This manual describes ASDF, a system definition facility
for Common Lisp programs and libraries.
You can find the latest version of this manual at
https://common-lisp.net/project/asdf/asdf.html.
ASDF Copyright (C) 2001-2019 Daniel Barlow and contributors.
This manual Copyright (C) 2001-2019 Daniel Barlow and contributors.
This manual revised (C) 2009-2019 Robert P. Goldman and Francois-Rene Rideau.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<title>How can I debug problems finding ASDF systems (ASDF Manual)</title>
<meta name="description" content="How can I debug problems finding ASDF systems (ASDF Manual)">
<meta name="keywords" content="How can I debug problems finding ASDF systems (ASDF Manual)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="index.html" rel="start" title="Top">
<link href="Concept-Index.html" rel="index" title="Concept Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Issues-with-configuring-ASDF.html" rel="up" title="Issues with configuring ASDF">
<link href="How-can-I-wholly-disable-the-compiler-output-cache_003f.html" rel="prev" title="How can I wholly disable the compiler output cache?">
<style type="text/css">
<!--
a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
span:hover a.copiable-anchor {visibility: visible}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<div class="subsection" id="How-can-I-debug-problems-finding-ASDF-systems">
<div class="header">
<p>
Previous: <a href="How-can-I-wholly-disable-the-compiler-output-cache_003f.html" accesskey="p" rel="prev">&ldquo;How can I wholly disable the compiler output cache?&rdquo;</a>, Up: <a href="Issues-with-configuring-ASDF.html" accesskey="u" rel="up">Issues with configuring ASDF</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<span id="How-can-I-debug-problems-finding-ASDF-systems_003f"></span><h4 class="subsection">13.5.3 How can I debug problems finding ASDF systems?</h4>
<p>Sometimes ASDF will be unable to find and load your systems, although
you believe that it should be able to. There are a number of things you
can do to debug such issues.
</p>
<span id="index-_002acentral_002dregistry_002a-1"></span>
<p>If you are using <code>asdf:*central-registry*</code> (see <a href="Configuring-ASDF-to-find-your-systems-_002d_002d_002d-old-style.html">Configuring ASDF to find your systems &mdash; old style</a>),
you can
simply look at the pathnames and namestrings in this variable, and use
conventional tools such as <code>cl:probe-file</code> and <code>cl:directory</code>
to poke around and see why your systems are not being found.
</p>
<p>If you are using one of the newer methods for configuring ASDF&rsquo;s system
finding (see <a href="Controlling-where-ASDF-searches-for-systems.html">Controlling where ASDF searches for systems</a>), you can try:
</p>
<span id="index-_002asource_002dregistry_002a"></span>
<div class="example">
<pre class="example">(alexandria:hash-table-alist asdf/source-registry::*source-registry*)
</pre></div>
<p>(alphabetizing the results here may be helpful). Or for a higher-level
view:
</p>
<span id="index-flatten_002dsource_002dregistry"></span>
<div class="example">
<pre class="example">(asdf/source-registry:flatten-source-registry)
</pre></div>
<p>Finally, if you use the source registry cache (see <a href="Caching-Results.html">Caching Results</a>), you can:
</p><div class="example">
<pre class="example">find ~/common-lisp -name .cl-source-registry.cache
</pre></div>
<p>at the shell.
</p>
<p>It is still, unfortunately, an open question how to monitor ASDF&rsquo;s
interpretation of its source configuration as it happens.
</p>
</div>
</body>
</html>