<!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: var(--default-regular-font, "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: var(--default-regular-font, "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: #737278;">
<a href="https://gitlab.com/paulmenzel">Paul Menzel</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1542">#1542</a>
</p>
<div class="md" style="color: #333238; word-wrap: break-word;">
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Building GnuTLS 3.8.5 with p11-kit 0.24.0 fails with:</p>
<div class="gl-relative markdown-code-block js-markdown-code" style="margin-bottom: 0;">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: 4px; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">$ /dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/source/configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --sysconfdir=/etc --sharedstatedir=/var --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --datarootdir=/usr/share --datadir=/usr/share --infodir=/usr/share/info --localedir=/usr/share/locale --mandir=/usr/share/man --docdir=/usr/share/doc/gnutls --exec-prefix=/usr --with-included-libtasn1</span>
<span id="LC2" class="line" lang="plaintext">checking for p11-kit-1 >= 0.23.1... yes</span>
<span id="LC3" class="line" lang="plaintext">[…]</span>
<span id="LC4" class="line" lang="plaintext">In file included from /dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/source/lib/pkcs11.c:47:</span>
<span id="LC5" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:57:62: error: unknown type name 'CK_BBOOL'</span>
<span id="LC6" class="line" lang="plaintext">   57 |                                                              CK_BBOOL *matches,</span>
<span id="LC7" class="line" lang="plaintext">      |                                                              ^~~~~~~~</span>
<span id="LC8" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:66:62: error: unknown type name 'p11_kit_iter_callback'; did you mean 'p11_kit_pin_callback'?</span>
<span id="LC9" class="line" lang="plaintext">   66 |                                                              p11_kit_iter_callback callback,</span>
<span id="LC10" class="line" lang="plaintext">      |                                                              ^~~~~~~~~~~~~~~~~~~~~</span>
<span id="LC11" class="line" lang="plaintext">      |                                                              p11_kit_pin_callback</span>
<span id="LC12" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:71:62: error: unknown type name 'CK_ATTRIBUTE'; did you mean 'CK_ATTRIBUTE_PTR'?</span>
<span id="LC13" class="line" lang="plaintext">   71 |                                                              CK_ATTRIBUTE *matching,</span>
<span id="LC14" class="line" lang="plaintext">      |                                                              ^~~~~~~~~~~~</span>
<span id="LC15" class="line" lang="plaintext">      |                                                              CK_ATTRIBUTE_PTR</span>
<span id="LC16" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:82:62: error: unknown type name 'CK_SLOT_ID'</span>
<span id="LC17" class="line" lang="plaintext">   82 |                                                              CK_SLOT_ID slot,</span>
<span id="LC18" class="line" lang="plaintext">      |                                                              ^~~~~~~~~~</span>
<span id="LC19" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:83:62: error: unknown type name 'CK_SESSION_HANDLE'</span>
<span id="LC20" class="line" lang="plaintext">   83 |                                                              CK_SESSION_HANDLE session);</span>
<span id="LC21" class="line" lang="plaintext">      |                                                              ^~~~~~~~~~~~~~~~~</span>
<span id="LC22" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:89:1: error: unknown type name 'CK_SLOT_ID'</span>
<span id="LC23" class="line" lang="plaintext">   89 | CK_SLOT_ID            p11_kit_iter_get_slot                 (P11KitIter *iter);</span>
<span id="LC24" class="line" lang="plaintext">      | ^~~~~~~~~~</span>
<span id="LC25" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:91:1: error: unknown type name 'CK_TOKEN_INFO'; did you mean 'CK_TOKEN_INFO_PTR'?</span>
<span id="LC26" class="line" lang="plaintext">   91 | CK_TOKEN_INFO *       p11_kit_iter_get_token                (P11KitIter *iter);</span>
<span id="LC27" class="line" lang="plaintext">      | ^~~~~~~~~~~~~</span>
<span id="LC28" class="line" lang="plaintext">      | CK_TOKEN_INFO_PTR</span>
<span id="LC29" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:93:1: error: unknown type name 'CK_SESSION_HANDLE'</span>
<span id="LC30" class="line" lang="plaintext">   93 | CK_SESSION_HANDLE     p11_kit_iter_get_session              (P11KitIter *iter);</span>
<span id="LC31" class="line" lang="plaintext">      | ^~~~~~~~~~~~~~~~~</span>
<span id="LC32" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:95:1: error: unknown type name 'CK_OBJECT_HANDLE'; did you mean 'CKA_OBJECT_ID'?</span>
<span id="LC33" class="line" lang="plaintext">   95 | CK_OBJECT_HANDLE      p11_kit_iter_get_object               (P11KitIter *iter);</span>
<span id="LC34" class="line" lang="plaintext">      | ^~~~~~~~~~~~~~~~</span>
<span id="LC35" class="line" lang="plaintext">      | CKA_OBJECT_ID</span>
<span id="LC36" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:98:62: error: unknown type name 'CK_ATTRIBUTE'; did you mean 'CK_ATTRIBUTE_PTR'?</span>
<span id="LC37" class="line" lang="plaintext">   98 |                                                              CK_ATTRIBUTE *template,</span>
<span id="LC38" class="line" lang="plaintext">      |                                                              ^~~~~~~~~~~~</span>
<span id="LC39" class="line" lang="plaintext">      |                                                              CK_ATTRIBUTE_PTR</span>
<span id="LC40" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:102:62: error: unknown type name 'CK_ATTRIBUTE'; did you mean 'CK_ATTRIBUTE_PTR'?</span>
<span id="LC41" class="line" lang="plaintext">  102 |                                                              CK_ATTRIBUTE *template,</span>
<span id="LC42" class="line" lang="plaintext">      |                                                              ^~~~~~~~~~~~</span>
<span id="LC43" class="line" lang="plaintext">      |                                                              CK_ATTRIBUTE_PTR</span>
<span id="LC44" class="line" lang="plaintext">/usr/include/p11-kit-1/p11-kit/iter.h:105:1: error: unknown type name 'CK_SESSION_HANDLE'</span>
<span id="LC45" class="line" lang="plaintext">  105 | CK_SESSION_HANDLE     p11_kit_iter_keep_session             (P11KitIter *iter);</span>
<span id="LC46" class="line" lang="plaintext">      | ^~~~~~~~~~~~~~~~~</span>
<span id="LC47" class="line" lang="plaintext">/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/source/lib/pkcs11.c: In function 'find_multi_objs_cb':</span>
<span id="LC48" class="line" lang="plaintext">/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/source/lib/pkcs11.c:3247:9: warning: implicit declaration of function 'p11_kit_iter_add_filter' [-Wimplicit-function-declaration]</span>
<span id="LC49" class="line" lang="plaintext"> 3247 |         p11_kit_iter_add_filter(iter, a, tot_values);</span>
<span id="LC50" class="line" lang="plaintext">      |         ^~~~~~~~~~~~~~~~~~~~~~~</span>
<span id="LC51" class="line" lang="plaintext">/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/source/lib/pkcs11.c:3247:9: warning: nested extern declaration of 'p11_kit_iter_add_filter' [-Wnested-externs]</span>
<span id="LC52" class="line" lang="plaintext">/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/source/lib/pkcs11.c:3248:9: warning: implicit declaration of function 'p11_kit_iter_begin_with'; did you mean 'p11_kit_iter_begin'? [-Wimplicit-function-declaration]</span>
<span id="LC53" class="line" lang="plaintext"> 3248 |         p11_kit_iter_begin_with(iter, sinfo->module, sinfo->sid, sinfo->pks);</span>
<span id="LC54" class="line" lang="plaintext">      |         ^~~~~~~~~~~~~~~~~~~~~~~</span>
<span id="LC55" class="line" lang="plaintext">      |         p11_kit_iter_begin</span>
<span id="LC56" class="line" lang="plaintext">/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/source/lib/pkcs11.c:3248:9: warning: nested extern declaration of 'p11_kit_iter_begin_with' [-Wnested-externs]</span>
<span id="LC57" class="line" lang="plaintext">/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/source/lib/pkcs11.c:3275:22: warning: implicit declaration of function 'p11_kit_iter_get_attributes'; did you mean 'p11_kit_uri_get_attributes'? [-Wimplicit-function-declaration]</span>
<span id="LC58" class="line" lang="plaintext"> 3275 |                 rv = p11_kit_iter_get_attributes(iter, a, 1);</span>
<span id="LC59" class="line" lang="plaintext">      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~</span>
<span id="LC60" class="line" lang="plaintext">      |                      p11_kit_uri_get_attributes</span>
<span id="LC61" class="line" lang="plaintext">/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/source/lib/pkcs11.c:3275:22: warning: nested extern declaration of 'p11_kit_iter_get_attributes' [-Wnested-externs]</span>
<span id="LC62" class="line" lang="plaintext">make[4]: *** [Makefile:2874: pkcs11.lo] Error 1</span>
<span id="LC63" class="line" lang="plaintext">make[4]: *** Waiting for unfinished jobs....</span>
<span id="LC64" class="line" lang="plaintext">make[4]: Leaving directory '/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/build/lib'</span>
<span id="LC65" class="line" lang="plaintext">make[3]: *** [Makefile:2970: all-recursive] Error 1</span>
<span id="LC66" class="line" lang="plaintext">make[3]: Leaving directory '/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/build/lib'</span>
<span id="LC67" class="line" lang="plaintext">make[2]: *** [Makefile:2573: all] Error 2</span>
<span id="LC68" class="line" lang="plaintext">make[2]: Leaving directory '/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/build/lib'</span>
<span id="LC69" class="line" lang="plaintext">make[1]: *** [Makefile:2327: all-recursive] Error 1</span>
<span id="LC70" class="line" lang="plaintext">make[1]: Leaving directory '/dev/shm/bee-pmenzel/gnutls/gnutls-3.8.5-0/build'</span>
<span id="LC71" class="line" lang="plaintext">make: *** [Makefile:2252: all] Error 2</span></code></pre>
<copy-code></copy-code>
</div>
</div>

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

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


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