<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<div style="">
<p dir="auto">Thanks for this fix.</p>
<p dir="auto">I think there's [yet another] Autoconf bug in play here. With the patch applied I encounter the following when attempting to build a discardable GnuTLS for testing. It is being installed into <code>/var/tmp</code> and the directory is deleted once testing completes. The directory includes all of the GnuTLS dependencies.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">configure: checking for guile 2.2</span>
<span id="LC2" class="line" lang="plaintext">configure: found guile 2.2</span>
<span id="LC3" class="line" lang="plaintext">checking for guile-2.2... no</span>
<span id="LC4" class="line" lang="plaintext">checking for guile2.2... no</span>
<span id="LC5" class="line" lang="plaintext">checking for guile-2... no</span>
<span id="LC6" class="line" lang="plaintext">checking for guile2... /bin/guile2</span>
<span id="LC7" class="line" lang="plaintext">configure: error: found development files for Guile 2.2, but /bin/guile2 has effective version 2.0</span></code></pre>
<p dir="auto">And:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">$ ls /var/tmp/lib64/*guile*</span>
<span id="LC2" class="line" lang="plaintext">/var/tmp/lib64/libguile-2.2.a   /var/tmp/lib64/libguile-2.2.so.1</span>
<span id="LC3" class="line" lang="plaintext">/var/tmp/lib64/libguile-2.2.la  /var/tmp/lib64/libguile-2.2.so.1.3.1</span>
<span id="LC4" class="line" lang="plaintext">/var/tmp/lib64/libguile-2.2.so  /var/tmp/lib64/libguile-2.2.so.1.3.1-gdb.scm</span>
<span id="LC5" class="line" lang="plaintext"></span>
<span id="LC6" class="line" lang="plaintext">/var/tmp/lib64/guile:</span>
<span id="LC7" class="line" lang="plaintext">2.2</span>
<span id="LC8" class="line" lang="plaintext"></span>
<span id="LC9" class="line" lang="plaintext">$ /var/tmp/bin/guile --version</span>
<span id="LC10" class="line" lang="plaintext">guile (GNU Guile) 2.2.4</span>
<span id="LC11" class="line" lang="plaintext">Copyright (C) 2018 Free Software Foundation, Inc.</span></code></pre>
<p dir="auto">Finally:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">$ cat /var/tmp/lib64/pkgconfig/guile-2.2.pc</span>
<span id="LC2" class="line" lang="plaintext">prefix=/var/tmp</span>
<span id="LC3" class="line" lang="plaintext">exec_prefix=/var/tmp</span>
<span id="LC4" class="line" lang="plaintext">bindir=/var/tmp/bin</span>
<span id="LC5" class="line" lang="plaintext">libdir=/var/tmp/lib64</span>
<span id="LC6" class="line" lang="plaintext">includedir=/var/tmp/include</span>
<span id="LC7" class="line" lang="plaintext">datarootdir=/var/tmp/share</span>
<span id="LC8" class="line" lang="plaintext">datadir=/var/tmp/share</span>
<span id="LC9" class="line" lang="plaintext">pkgdatadir=/var/tmp/share/guile</span>
<span id="LC10" class="line" lang="plaintext">pkgincludedir=/var/tmp/include/guile</span>
<span id="LC11" class="line" lang="plaintext"></span>
<span id="LC12" class="line" lang="plaintext">sitedir=/var/tmp/share/guile/site/2.2</span>
<span id="LC13" class="line" lang="plaintext">extensiondir=/var/tmp/lib64/guile/2.2/extensions</span>
<span id="LC14" class="line" lang="plaintext">siteccachedir=/var/tmp/lib64/guile/2.2/site-ccache</span>
<span id="LC15" class="line" lang="plaintext">libguileinterface=4:1:3</span>
<span id="LC16" class="line" lang="plaintext"></span>
<span id="LC17" class="line" lang="plaintext"># Actual name of the 'guile' and 'guild' programs.  This is</span>
<span id="LC18" class="line" lang="plaintext"># particularly useful when '--program-transform-name' or similar has</span>
<span id="LC19" class="line" lang="plaintext"># been used.</span>
<span id="LC20" class="line" lang="plaintext">guild=${bindir}/guild</span>
<span id="LC21" class="line" lang="plaintext">guile=${bindir}/guile</span>
<span id="LC22" class="line" lang="plaintext"></span>
<span id="LC23" class="line" lang="plaintext">Name: GNU Guile</span>
<span id="LC24" class="line" lang="plaintext">Description: GNU's Ubiquitous Intelligent Language for Extension</span>
<span id="LC25" class="line" lang="plaintext">Version: 2.2.4</span>
<span id="LC26" class="line" lang="plaintext">Libs: -L${libdir} -lguile-2.2 -lgc</span>
<span id="LC27" class="line" lang="plaintext">Libs.private:  /var/tmp/lib64/libgmp.so -ldl -lpthread -Wl,-rpath -Wl,/var/tmp/lib64 -lltdl -L/var/tmp/lib64/../lib64 -lffi     \</span>
<span id="LC28" class="line" lang="plaintext">  /var/tmp/lib64/libunistring.so /var/tmp/lib64/libiconv.so -ldl -lpthread -Wl,-rpath -Wl,/var/tmp/lib64 -L/var/tmp/lib64 -Wl,-R,/var/tmp/lib64 -Wl,--enable-new-dtags  -lcrypt -ldl -lpthread -lm /var/tmp/lib64/libiconv.so -Wl,-rpath -Wl,/var/tmp/lib64             \</span>
<span id="LC29" class="line" lang="plaintext">                \</span>
<span id="LC30" class="line" lang="plaintext"></span>
<span id="LC31" class="line" lang="plaintext">Cflags: -I${pkgincludedir}/2.2 -I/var/tmp/include</span></code></pre>
<p dir="auto">There's no reason for Autoconf to get confused.</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/commit/ae715f6703f73476dbe51b1281da6f69fdad0de5#note_148650532">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/gnutls/gnutls/commit/ae715f6703f73476dbe51b1281da6f69fdad0de5#note_148650532"}}</script>

</p>
</div>
</body>
</html>