<!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/cryintothebluesky">Milhouse Vanhouten</a> created an issue <a href="https://gitlab.com/gnutls/gnutls/-/issues/1109">#1109</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">Issues with defining _POSIX_C_SOURCE on Solaris</p>
<p dir="auto">Edit ./gnutls-3.6.15/tests/pkcs11/pkcs11-mock.h</p>
<p dir="auto">And remove this line:
#define _POSIX_C_SOURCE 200809</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">gnutls-3.6.15</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">Solaris 11.3</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">CC       pkcs11/pkcs11-mock.lo
In file included from /opt/gcc-10.2.0-sparc64/lib/gcc/sparc64-sun-solaris2.11/10.2.0/include-fixed/stdio.h:24,
from pkcs11/pkcs11-mock.h:24,
from pkcs11/pkcs11-mock.c:22:
/opt/gcc-10.2.0-sparc64/lib/gcc/sparc64-sun-solaris2.11/10.2.0/include-fixed/sys/feature_tests.h:363:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications   and pre-2001 POSIX applications"
363 | #error "Compiler or options invalid for pre-UNIX 03 X/Open applications <br>
|  ^~~~~
gmake[3]: *** [Makefile:8093: pkcs11/pkcs11-mock.lo] Error 1
gmake[3]: Leaving directory '/opt/pkgbuild/objects/security/gnutls/work/gnutls-3.6.15/tests'
gmake[2]: *** [Makefile:8476: all-recursive] Error 1
gmake[2]: Leaving directory '/opt/pkgbuild/objects/security/gnutls/work/gnutls-3.6.15/tests'
gmake[1]: *** [Makefile:1764: all-recursive] Error 1
gmake[1]: Leaving directory '/opt/pkgbuild/objects/security/gnutls/work/gnutls-3.6.15'
gmake: *** [Makefile:1689: all] Error 2
*** Error code 2</p>
<p dir="auto">Stop.
bmake[2]: stopped in /opt/pkgbuild/pkgsrc/security/gnutls
*** Error code 1</p>

</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/1109">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/f1bf53e67703f9c98d74d1af95a668bf/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/1109"}}</script>


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