<!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></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">Building gnutls from source, better from the release tarball, doesn't work with guile 2.2.</p>
<h2 dir="auto">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true"></a>Version of gnutls used:</h2>
<p dir="auto">3.6.4</p>
<h2 dir="auto">
<a id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" class="anchor" href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto">openSUSE Tumbleweed</p>
<p dir="auto">Steps to Reproduce:</p>
<ul dir="auto">
<li>environment with guile 2.2 only</li>
<li>extract release tarball from ftp.gnutls.org</li>
<li>run ./configure</li>
</ul>
<h2 dir="auto">
<a id="user-content-actual-results" class="anchor" href="#actual-results" aria-hidden="true"></a>Actual results:</h2>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">checking pkg-config is at least version 0.9.0... yes</span>
<span id="LC2" class="line" lang="plaintext">configure: error: in `/home/abuild/rpmbuild/BUILD/gnutls-3.6.4':</span>
<span id="LC3" class="line" lang="plaintext">configure: error: searching for guile development files for versions 2.0 1.8, but previously found /usr/bin/guile version 2.2</span></code></pre>
<p dir="auto">For openSUSE I created a little patch to bypass this error.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">--- gnutls-3.6.4/aclocal.m4.orig       2018-10-16 17:52:16.972960988 +0200</span>
<span id="LC2" class="line" lang="plaintext">+++ gnutls-3.6.4/aclocal.m4    2018-10-16 17:52:32.797099492 +0200</span>
<span id="LC3" class="line" lang="plaintext">@@ -162,7 +162,7 @@</span>
<span id="LC4" class="line" lang="plaintext"> #</span>
<span id="LC5" class="line" lang="plaintext"> AC_DEFUN([GUILE_PKG],</span>
<span id="LC6" class="line" lang="plaintext">  [PKG_PROG_PKG_CONFIG</span>
<span id="LC7" class="line" lang="plaintext">-  _guile_versions_to_search="m4_default([$1], [2.0 1.8])"</span>
<span id="LC8" class="line" lang="plaintext">+  _guile_versions_to_search="m4_default([$1], [2.2 2.0 1.8])"</span>
<span id="LC9" class="line" lang="plaintext">   if test -n "$GUILE_EFFECTIVE_VERSION"; then</span>
<span id="LC10" class="line" lang="plaintext">     _guile_tmp=""</span>
<span id="LC11" class="line" lang="plaintext">     for v in $_guile_versions_to_search; do</span>
<span id="LC12" class="line" lang="plaintext">--- gnutls-3.6.4/configure.orig       2018-10-16 18:00:13.661141247 +0200</span>
<span id="LC13" class="line" lang="plaintext">+++ gnutls-3.6.4/configure    2018-10-16 18:00:29.857283556 +0200</span>
<span id="LC14" class="line" lang="plaintext">@@ -62704,7 +62704,7 @@</span>
<span id="LC15" class="line" lang="plaintext">              PKG_CONFIG=""</span>
<span id="LC16" class="line" lang="plaintext">      fi</span>
<span id="LC17" class="line" lang="plaintext"> fi</span>
<span id="LC18" class="line" lang="plaintext">-  _guile_versions_to_search="2.0 1.8"</span>
<span id="LC19" class="line" lang="plaintext">+  _guile_versions_to_search="2.2 2.0 1.8"</span>
<span id="LC20" class="line" lang="plaintext">   if test -n "$GUILE_EFFECTIVE_VERSION"; then</span>
<span id="LC21" class="line" lang="plaintext">     _guile_tmp=""</span>
<span id="LC22" class="line" lang="plaintext">     for v in $_guile_versions_to_search; do</span></code></pre>
<p dir="auto">Can this issue be fixed in the next release or is there anything block guile 2.2?</p>

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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/631">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
<a href="https://gitlab.com/sent_notifications/bbe558ead0573b61206c9dff975df27d/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/issues/631"}}</script>
</p>
</div>
</body>
</html>