<!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 style="color: #777777;">
<a href="https://gitlab.com/teknokatze">Nikita Gillmann</a>
commented:
</p>
<div style="">
<p dir="auto"><code>x86_64--netbsd</code> is pretty normal for us (in pkgsrc), I'll track down the file where it is set.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">This file contains any messages produced by compilers while</span>
<span id="LC2" class="line" lang="plaintext">running configure, to aid debugging if configure makes a mistake.</span>
<span id="LC3" class="line" lang="plaintext"></span>
<span id="LC4" class="line" lang="plaintext">It was created by GnuTLS configure 3.6.13, which was</span>
<span id="LC5" class="line" lang="plaintext">generated by GNU Autoconf 2.69. Invocation command line was</span>
<span id="LC6" class="line" lang="plaintext"></span>
<span id="LC7" class="line" lang="plaintext"> $ ./configure --disable-openssl-compatibility --disable-libdane --without-idn --without-tpm --disable-valgrind-tests --with-default-trust-store-file=/usr/pkg/share/mozilla-rootcerts/cacert.pem --with-libintl-prefix=/usr --enable-local-libopts --enable-libdane --enable-guile --prefix=/usr/pkg --build=x86_64--netbsd --host=x86_64--netbsd --infodir=/usr/pkg/info --mandir=/usr/pkg/man --enable-option-checking=yes</span></code></pre>
<p dir="auto">...</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">## ----------- ##</span>
<span id="LC2" class="line" lang="plaintext">## Core tests. ##</span>
<span id="LC3" class="line" lang="plaintext">## ----------- ##</span>
<span id="LC4" class="line" lang="plaintext"></span>
<span id="LC5" class="line" lang="plaintext">configure:4536: checking build system type</span>
<span id="LC6" class="line" lang="plaintext">configure:4550: result: x86_64--netbsd</span>
<span id="LC7" class="line" lang="plaintext">configure:4570: checking host system type</span>
<span id="LC8" class="line" lang="plaintext">configure:4583: result: x86_64--netbsd</span></code></pre>
<p dir="auto">is produced by configure.</p>
<p dir="auto">this happens on platforms which don't set the vendor, for which some exist (pkgsrc targets many OS, NetBSD is just an example where it is not done).
This is www/curl:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">It was created by curl configure -, which was</span>
<span id="LC2" class="line" lang="plaintext">generated by GNU Autoconf 2.69. Invocation command line was</span>
<span id="LC3" class="line" lang="plaintext"></span>
<span id="LC4" class="line" lang="plaintext"> $ ./configure --with-ssl=/usr --with-ca-path=/etc/openssl/certs --with-zlib=/u</span>
<span id="LC5" class="line" lang="plaintext">sr --enable-ipv6 --without-libssh2 --with-gssapi=/usr --with-gssapi-includes=/us</span>
<span id="LC6" class="line" lang="plaintext">r/include/gssapi --disable-ldap --without-librtmp --with-libidn2 --with-nghttp2=</span>
<span id="LC7" class="line" lang="plaintext">/usr/pkg --prefix=/usr/pkg --build=x86_64--netbsd --host=x86_64--netbsd --mandir</span>
<span id="LC8" class="line" lang="plaintext">=/usr/pkg/man --enable-option-checking=yes</span>
<span id="LC9" class="line" lang="plaintext"></span>
<span id="LC10" class="line" lang="plaintext">## --------- ##</span>
<span id="LC11" class="line" lang="plaintext">## Platform. ##</span>
<span id="LC12" class="line" lang="plaintext">## --------- ##</span>
<span id="LC13" class="line" lang="plaintext"></span>
<span id="LC14" class="line" lang="plaintext">hostname = hex</span>
<span id="LC15" class="line" lang="plaintext">uname -m = amd64</span>
<span id="LC16" class="line" lang="plaintext">uname -r = 9.0</span>
<span id="LC17" class="line" lang="plaintext">uname -s = NetBSD</span>
<span id="LC18" class="line" lang="plaintext">uname -v = NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC</span></code></pre>
<p dir="auto">in <a href="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/mk/bsd.prefs.mk?rev=1.407&content-type=text/x-cvsweb-markup" rel="nofollow noreferrer noopener" target="_blank">http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/mk/bsd.prefs.mk?rev=1.407&content-type=text/x-cvsweb-markup</a>
you are looking for
keyword <code>MACHINE_GNU_PLATFORM</code>
specifically here:
<code>LOWER_VENDOR?= # empty ("arch--opsys")</code></p>
<p dir="auto">in addition to that we usually replace config.status with our own version to make it easier to patch if we require it.
Following that the vendor string can be empty, the check for the vendor string should accept an empty string as well.
Does this explanation make more sense?</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/996#note_340183371">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/29459b79d556cfd36f304e6ae6146739/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/996#note_340183371"}}</script>
</p>
</div>
</body>
</html>