<!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=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


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

<p class="details" style="font-style: italic; color: #666;">
<a href="https://gitlab.com/asosedkin">Alexander Sosedkin</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1253">#1253</a>
</p>
<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"><code>./configure</code> now considers valgrind unusable, test suite proceeds not to invoke it</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.7.2 / <a href="https://gitlab.com/gnutls/gnutls/-/commit/b7635d4ecddc8a63c5874978eed9f1a954a6ce08" data-original="b7635d4ecd" data-link="false" data-link-reference="false" data-project="179611" data-commit="b7635d4ecddc8a63c5874978eed9f1a954a6ce08" data-reference-type="commit" data-container="body" data-placement="top" title="gnulib: update git submodule" class="gfm gfm-commit has-tooltip">b7635d4e</a> / <a href="https://gitlab.com/gnutls/gnutls/-/commit/c70941cea73cb38e0d27395e63aafca12dac9a72" data-original="c70941cea7" data-link="false" data-link-reference="false" data-project="179611" data-commit="c70941cea73cb38e0d27395e63aafca12dac9a72" data-reference-type="commit" data-container="body" data-placement="top" title="Merge branch 'wip/dueno/sh-tests' into 'master'" class="gfm gfm-commit has-tooltip">c70941ce</a></p>
<h2 dir="auto">
<a id="user-content-distributor-of-gnutls" class="anchor" href="#distributor-of-gnutls" aria-hidden="true"></a>Distributor of gnutls:</h2>
<p dir="auto">I'm building from tarball / git checkout on Fedora 34</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<p dir="auto">always</p>
<h2 dir="auto">
<a id="user-content-steps-to-reproduce-release-tarball" class="anchor" href="#steps-to-reproduce-release-tarball" aria-hidden="true"></a>Steps to Reproduce (release tarball):</h2>
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"># clean Fedora VM</span>
<span id="LC2" class="line" lang="plaintext">dnf builddep -y gnutls</span>
<span id="LC3" class="line" lang="plaintext">dnf install -y git-core patch wget autogen gperf libtool valgrind valgrind-devel libev-devel</span>
<span id="LC4" class="line" lang="plaintext">wget https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.2.tar.xz</span>
<span id="LC5" class="line" lang="plaintext">tar xf gnutls-*.tar.xz; rm gnutls-*.tar.xz</span>
<span id="LC6" class="line" lang="plaintext">cd gnutls*</span>
<span id="LC7" class="line" lang="plaintext">./configure --enable-valgrind-tests</span></code></pre>
<h2 dir="auto">
<a id="user-content-steps-to-reproduce-which-ive-used-for-git-bisection" class="anchor" href="#steps-to-reproduce-which-ive-used-for-git-bisection" aria-hidden="true"></a>Steps to Reproduce (which I've used for git bisection):</h2>
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"># clean Fedora VM</span>
<span id="LC2" class="line" lang="plaintext">dnf builddep -y gnutls</span>
<span id="LC3" class="line" lang="plaintext">dnf install -y git-core patch wget autogen gperf libtool valgrind valgrind-devel libev-devel</span>
<span id="LC4" class="line" lang="plaintext">git clone --depth=1000 https://gitlab.com/gnutls/gnutls</span>
<span id="LC5" class="line" lang="plaintext">cd gnutls</span>
<span id="LC6" class="line" lang="plaintext">#git checkout $commit</span>
<span id="LC7" class="line" lang="plaintext">./bootstrap</span>
<span id="LC8" class="line" lang="plaintext">./configure --enable-valgrind-tests</span></code></pre>
<h2 dir="auto">
<a id="user-content-actual-results-372-tarball-b7635d4ecd-and-several-newer-commits" class="anchor" href="#actual-results-372-tarball-b7635d4ecd-and-several-newer-commits" aria-hidden="true"></a>Actual results (3.7.2 tarball; <a href="https://gitlab.com/gnutls/gnutls/-/commit/b7635d4ecddc8a63c5874978eed9f1a954a6ce08" data-original="b7635d4ecd" data-link="false" data-link-reference="false" data-project="179611" data-commit="b7635d4ecddc8a63c5874978eed9f1a954a6ce08" data-reference-type="commit" data-container="body" data-placement="top" title="gnulib: update git submodule" class="gfm gfm-commit has-tooltip">b7635d4e</a> and several newer commits):</h2>
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">checking for valgrind... valgrind</span>
<span id="LC2" class="line" lang="plaintext">checking for valgrind options for tests... ==10087== FATAL: can't open suppressions file "\$(srcdir)/suppressions.valgrind"</span>
<span id="LC3" class="line" lang="plaintext">no</span>
<span id="LC4" class="line" lang="plaintext">checking whether valgrind works on executables produced by the compiler... no</span></code></pre>
<p dir="auto">valgrind is subsequently not used for running the tests</p>
<h2 dir="auto">
<a id="user-content-expected-results-371-tarball" class="anchor" href="#expected-results-371-tarball" aria-hidden="true"></a>Expected results (3.7.1 tarball):</h2>
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">checking for valgrind... valgrind</span>
<span id="LC2" class="line" lang="plaintext">checking for valgrind options for tests... -q --error-exitcode=1 --leak-check=full --track-origins=yes --gen-suppressions=all --suppressions=$(srcdir)/suppressions.valgri</span>
<span id="LC3" class="line" lang="plaintext">nd</span></code></pre>
<p dir="auto">valgrind is used when running the tests</p>
<h2 dir="auto">
<a id="user-content-additional-info" class="anchor" href="#additional-info" aria-hidden="true"></a>Additional info:</h2>
<ul dir="auto">
<li>
<code>SUBMODULE_NOFETCH=1 ./bootstrap</code>, which I see in gitlab CI logs, seems to alleviate the problem</li>
<li>
<a href="https://gitlab.com/gnutls/gnutls/-/commit/b7635d4ecddc8a63c5874978eed9f1a954a6ce08" data-original="b7635d4ecd" data-link="false" data-link-reference="false" data-project="179611" data-commit="b7635d4ecddc8a63c5874978eed9f1a954a6ce08" data-reference-type="commit" data-container="body" data-placement="top" title="gnulib: update git submodule" class="gfm gfm-commit has-tooltip">b7635d4e</a> looks like it introduces the issue, or at least part of it</li>
</ul>

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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1253">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/b8c8bd878a703270705988b7875b957d/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/1253"}}</script>


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