<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p class="details" style="font-style: italic; color: #626168;">
<a href="https://gitlab.com/apteryks">Maxim Cournoyer</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1633">#1633</a>
</p>
<div class="md" style="position: relative; z-index: 1; color: #3a383f; word-wrap: break-word;">
<h2 dir="auto" style="margin-top: 0; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#description-of-problem" aria-hidden="true" class="anchor" id="user-content-description-of-problem" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Description of problem:</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Building from the master branch, using the following dependencies:</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">gcc 11.4.0
libtool 2.4.7
autoconf 2.71
automake 1.16.5</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">After running ./bootstrap && ./configure, <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 0.125rem 0.25rem;'>make</code> fails (see below for log output).</p>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#version-of-gnutls-used" aria-hidden="true" class="anchor" id="user-content-version-of-gnutls-used" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Version of gnutls used:</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Lastest master branch (commit <a href="https://gitlab.com/gnutls/gnutls/-/commit/436a69e01896f521b10f0ee3b64ef908e4b8bc31" data-reference-type="commit" data-original="436a69e01" data-link="false" data-link-reference="false" data-commit="436a69e01896f521b10f0ee3b64ef908e4b8bc31" data-project="179611" data-container="body" data-placement="top" title="Merge branch 'client_early_data_size' into 'master'" class="gfm gfm-commit has-tooltip" style='font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; font-size: 95%; margin-top: 0;'>436a69e0</a>).</p>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true" class="anchor" id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">GNU Guix but N/A here.</p>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#how-reproducible" aria-hidden="true" class="anchor" id="user-content-how-reproducible" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>How reproducible:</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Steps to Reproduce:</p>
<ol dir="auto" style="text-align: initial; margin: 0 0 1rem; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">Clone project</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">Setup build environment: I used GNU Guix for that: <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 0.125rem 0.25rem;'>guix shell --pure -D gnutls libev gperf gettext gtk-doc bison autoconf automake libtool git-minimal perl wget</code>
</li>
</ol>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#actual-results" aria-hidden="true" class="anchor" id="user-content-actual-results" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Actual results:</h2>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #3a383f; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 1rem; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; border-radius: .25rem; background-color: inherit; white-space: pre; margin-top: 0; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">Making all in tests</span>
<span id="LC2" class="line" lang="plaintext">make[4]: Entering directory '/home/maxim/src/gnutls/src/gl/tests'</span>
<span id="LC3" class="line" lang="plaintext">## ---------------------------------------------------- ##</span>
<span id="LC4" class="line" lang="plaintext">## ------------------- Gnulib tests ------------------- ##</span>
<span id="LC5" class="line" lang="plaintext">## You can ignore compiler warnings in this directory. ##</span>
<span id="LC6" class="line" lang="plaintext">## ---------------------------------------------------- ##</span>
<span id="LC7" class="line" lang="plaintext">make all-recursive</span>
<span id="LC8" class="line" lang="plaintext">make[5]: Entering directory '/home/maxim/src/gnutls/src/gl/tests'</span>
<span id="LC9" class="line" lang="plaintext">Making all in .</span>
<span id="LC10" class="line" lang="plaintext">make[6]: Entering directory '/home/maxim/src/gnutls/src/gl/tests'</span>
<span id="LC11" class="line" lang="plaintext">make[6]: Nothing to be done for 'all-am'.</span>
<span id="LC12" class="line" lang="plaintext">make[6]: Leaving directory '/home/maxim/src/gnutls/src/gl/tests'</span>
<span id="LC13" class="line" lang="plaintext">make[5]: Leaving directory '/home/maxim/src/gnutls/src/gl/tests'</span>
<span id="LC14" class="line" lang="plaintext">make[4]: Leaving directory '/home/maxim/src/gnutls/src/gl/tests'</span>
<span id="LC15" class="line" lang="plaintext">make[3]: Leaving directory '/home/maxim/src/gnutls/src/gl'</span>
<span id="LC16" class="line" lang="plaintext">make[2]: Leaving directory '/home/maxim/src/gnutls/src/gl'</span>
<span id="LC17" class="line" lang="plaintext">Making all in src</span>
<span id="LC18" class="line" lang="plaintext">make[2]: Entering directory '/home/maxim/src/gnutls/src'</span>
<span id="LC19" class="line" lang="plaintext">make all-am</span>
<span id="LC20" class="line" lang="plaintext">make[3]: Entering directory '/home/maxim/src/gnutls/src'</span>
<span id="LC21" class="line" lang="plaintext"> CC psk.o</span>
<span id="LC22" class="line" lang="plaintext">In file included from psk.c:42:</span>
<span id="LC23" class="line" lang="plaintext">psk.c: In function 'main':</span>
<span id="LC24" class="line" lang="plaintext">psktool-options.h:1:30: warning: implicit declaration of function 'process_options' [-Wimplicit-function-declaration]</span>
<span id="LC25" class="line" lang="plaintext"> 1 | #define optionProcess(a,b,c) process_options(b,c)</span>
<span id="LC26" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~</span>
<span id="LC27" class="line" lang="plaintext">psk.c:84:9: note: in expansion of macro 'optionProcess'</span>
<span id="LC28" class="line" lang="plaintext"> 84 | optionProcess(&psktoolOptions, argc, argv);</span>
<span id="LC29" class="line" lang="plaintext"> | ^~~~~~~~~~~~~</span>
<span id="LC30" class="line" lang="plaintext">psktool-options.h:1:30: warning: nested extern declaration of 'process_options' [-Wnested-externs]</span>
<span id="LC31" class="line" lang="plaintext"> 1 | #define optionProcess(a,b,c) process_options(b,c)</span>
<span id="LC32" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~</span>
<span id="LC33" class="line" lang="plaintext">psk.c:84:9: note: in expansion of macro 'optionProcess'</span>
<span id="LC34" class="line" lang="plaintext"> 84 | optionProcess(&psktoolOptions, argc, argv);</span>
<span id="LC35" class="line" lang="plaintext"> | ^~~~~~~~~~~~~</span>
<span id="LC36" class="line" lang="plaintext">psk.c:86:14: warning: implicit declaration of function 'HAVE_OPT'; did you mean 'HAVE_PIPE'? [-Wimplicit-function-declaration]</span>
<span id="LC37" class="line" lang="plaintext"> 86 | if (!HAVE_OPT(PSKFILE)) {</span>
<span id="LC38" class="line" lang="plaintext"> | ^~~~~~~~</span>
<span id="LC39" class="line" lang="plaintext"> | HAVE_PIPE</span>
<span id="LC40" class="line" lang="plaintext">psk.c:86:14: warning: nested extern declaration of 'HAVE_OPT' [-Wnested-externs]</span>
<span id="LC41" class="line" lang="plaintext">psk.c:86:23: error: 'PSKFILE' undeclared (first use in this function); did you mean 'FILE'?</span>
<span id="LC42" class="line" lang="plaintext"> 86 | if (!HAVE_OPT(PSKFILE)) {</span>
<span id="LC43" class="line" lang="plaintext"> | ^~~~~~~</span>
<span id="LC44" class="line" lang="plaintext"> | FILE</span>
<span id="LC45" class="line" lang="plaintext">psk.c:86:23: note: each undeclared identifier is reported only once for each function it appears in</span>
<span id="LC46" class="line" lang="plaintext">psk.c:90:26: warning: implicit declaration of function 'OPT_ARG' [-Wimplicit-function-declaration]</span>
<span id="LC47" class="line" lang="plaintext"> 90 | passwd = OPT_ARG(PSKFILE);</span>
<span id="LC48" class="line" lang="plaintext"> | ^~~~~~~</span>
<span id="LC49" class="line" lang="plaintext">psk.c:90:26: warning: nested extern declaration of 'OPT_ARG' [-Wnested-externs]</span>
<span id="LC50" class="line" lang="plaintext">psk.c:92:23: error: 'USERNAME' undeclared (first use in this function)</span>
<span id="LC51" class="line" lang="plaintext"> 92 | if (!HAVE_OPT(USERNAME)) {</span>
<span id="LC52" class="line" lang="plaintext"> | ^~~~~~~~</span>
<span id="LC53" class="line" lang="plaintext">psk.c:109:22: error: 'KEYSIZE' undeclared (first use in this function)</span>
<span id="LC54" class="line" lang="plaintext"> 109 | if (HAVE_OPT(KEYSIZE) && OPT_VALUE_KEYSIZE > MAX_KEY_SIZE) {</span>
<span id="LC55" class="line" lang="plaintext"> | ^~~~~~~</span>
<span id="LC56" class="line" lang="plaintext">psk.c:109:34: error: 'OPT_VALUE_KEYSIZE' undeclared (first use in this function)</span>
<span id="LC57" class="line" lang="plaintext"> 109 | if (HAVE_OPT(KEYSIZE) && OPT_VALUE_KEYSIZE > MAX_KEY_SIZE) {</span>
<span id="LC58" class="line" lang="plaintext"> | ^~~~~~~~~~~~~~~~~</span>
<span id="LC59" class="line" lang="plaintext">make[3]: *** [Makefile:3305: psk.o] Error 1</span>
<span id="LC60" class="line" lang="plaintext">make[3]: Leaving directory '/home/maxim/src/gnutls/src'</span>
<span id="LC61" class="line" lang="plaintext">make[2]: *** [Makefile:3065: all] Error 2</span>
<span id="LC62" class="line" lang="plaintext">make[2]: Leaving directory '/home/maxim/src/gnutls/src'</span>
<span id="LC63" class="line" lang="plaintext">make[1]: *** [Makefile:2878: all-recursive] Error 1</span>
<span id="LC64" class="line" lang="plaintext">make[1]: Leaving directory '/home/maxim/src/gnutls'</span>
<span id="LC65" class="line" lang="plaintext">make: *** [Makefile:2803: all] Error 2</span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
<h2 dir="auto" style="margin-top: 1.5rem; margin-bottom: 1rem; border-bottom-style: solid; border-bottom-color: #dcdcde; font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; line-height: 1.25; color: #18171d; border-bottom-width: 1px; padding-bottom: 0.25rem;" align="initial">
<a href="#expected-results" aria-hidden="true" class="anchor" id="user-content-expected-results" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Expected results:</h2>
<p dir="auto" style="color: #3a383f; margin: 0;" align="initial"><code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 0.125rem 0.25rem;'>make</code> should succeed and exit with status 0.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #626168;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1633">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/01a4de48a9609f167242667fd589c267/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1633"}}</script>
</p>
</div>
</body>
</html>