Re: GnuTLS | --with-tests always passed to src/gl (#1912)

Read-only notification of GnuTLS library development activities <[email protected]> Fri, 26 Jun 2026 14:54:20 +0000
Newsgroups gmane.comp.encryption.gpg.gnutls.devel
Message-ID <[email protected]>
--===============4563150855558005983==
Content-Type: multipart/alternative;
 boundary="--==_mimepart_6a3e929c2feca_3719980826823f";
 charset=UTF-8
Content-Transfer-Encoding: 7bit


----==_mimepart_6a3e929c2feca_3719980826823f
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit




Craig Carnell commented: https://gitlab.com/gnutls/gnutls/-/work_items/1912#note_3497948112


gnutls is failing to compile with wasm. I encounter the following error:

```
## ---------------------------------------------------- ##
## ------------------- Gnulib tests ------------------- ##
## You can ignore compiler warnings in this directory.  ##
## ---------------------------------------------------- ##
/Applications/Xcode_15.2.app/Contents/Developer/usr/bin/make  all-recursive
Making all in .
  CC       locale.o
  CC       btoc32.o
  CC       btowc.o
  CC       binary-io.o
  CC       c32tob.o
  CC       concat-filename.o
  CC       dtotimespec.o
  CC       getcwd-lgpl.o
  CC       localename-table.o
  CC       getlocalename_l-unsafe.o
  CC       localename.o
  CC       localename-environ.o
getlocalename_l-unsafe.c:662:3: error: "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib."
  662 |  #error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib."
      |   ^
1 error generated.
```

gnutls was configured like so:
```
CONFIGURE=./configure --prefix=$(PREFIX) \
                      --disable-shared \
                      --without-p11-kit \
                      --disable-nls \
                      --with-included-unistring \
                      --with-included-libtasn1 \
                      --enable-local-libopts \
                      --disable-doc \
                      --disable-tests \
                      --disable-guile \
                      --disable-tools \
                      --without-idn \
                      --without-brotli \
                      --without-zstd \
                      --without-tests \
                      $(CONFIGURE_OPTIONS)
```

Is there anyway for the setting disable-tests to make its way to gnulib dependency so it does not try and compile its own tests? They are not needed.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/work_items/1912#note_3497948112
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/namespace/17175643/sent_notifications/5-0le6tb86pvq7s5w1ravuzhk7l-a84t7/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help



----==_mimepart_6a3e929c2feca_3719980826823f
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www=
.w3.org/TR/REC-html40/loose.dtd">
<html lang=3D"en" style=3D'--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, monospac=
e;'>
<head>
<meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Type">=

<title>
GitLab
</title>

<style data-premailer=3D"ignore" type=3D"text/css">
a { color: #1068bf; }
</style>

<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: hsla(0,0%,100%,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Ro=
boto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Colo=
r Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size=
: inherit;
}
</style>
</head>
<body style=3D'font-size: inherit; -webkit-text-shadow: hsla(0,0%,100%,.0=
1) 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=3D"content">

<p style=3D"color: #777777;">
<a href=3D"https://gitlab.com/craigcarnell">Craig Carnell</a>
<a href=3D"https://gitlab.com/gnutls/gnutls/-/work_items/1912#note_349794=
8112">commented</a>:
</p>
<div class=3D"md" style=3D"position: relative; z-index: 1; color: #3a383f=
; word-wrap: break-word;">
<p dir=3D"auto" style=3D"color: #3a383f; margin: 0px 0px 1rem;" align=3D"=
initial">gnutls is failing to compile with wasm. I encounter the followin=
g error:</p>
<div class=3D"gl-relative markdown-code-block js-markdown-code">
<pre class=3D"code highlight js-syntax-highlight language-plaintext" v-pr=
e=3D"true" style=3D'display: block; font-size: 14px; color: #3a383f; line=
-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relati=
ve; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans M=
ono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andal=
e mono", "lucida console", monospace; font-variant-ligatures: none; word-=
break: break-all; word-wrap: break-word; background-color: #fbfafd; margi=
n: 0px 0 1rem; padding: 12px; border: 1px solid #dcdcde;'><code style=3D'=
font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-a=
ll; background-color: inherit; border-radius: .25rem; white-space: pre; m=
argin-top: 0px; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "D=
ejaVu 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=3D"LC1" class=3D"=
line" data-lang=3D"plaintext" style=3D"margin-top: 0px;">## -------------=
--------------------------------------- ##</span>
<span id=3D"LC2" class=3D"line" data-lang=3D"plaintext">## --------------=
----- Gnulib tests ------------------- ##</span>
<span id=3D"LC3" class=3D"line" data-lang=3D"plaintext">## You can ignore=
 compiler warnings in this directory.  ##</span>
<span id=3D"LC4" class=3D"line" data-lang=3D"plaintext">## --------------=
-------------------------------------- ##</span>
<span id=3D"LC5" class=3D"line" data-lang=3D"plaintext">/Applications/Xco=
de_15.2.app/Contents/Developer/usr/bin/make  all-recursive</span>
<span id=3D"LC6" class=3D"line" data-lang=3D"plaintext">Making all in .</=
span>
<span id=3D"LC7" class=3D"line" data-lang=3D"plaintext">  CC       locale=
.o</span>
<span id=3D"LC8" class=3D"line" data-lang=3D"plaintext">  CC       btoc32=
.o</span>
<span id=3D"LC9" class=3D"line" data-lang=3D"plaintext">  CC       btowc.=
o</span>
<span id=3D"LC10" class=3D"line" data-lang=3D"plaintext">  CC       binar=
y-io.o</span>
<span id=3D"LC11" class=3D"line" data-lang=3D"plaintext">  CC       c32to=
b.o</span>
<span id=3D"LC12" class=3D"line" data-lang=3D"plaintext">  CC       conca=
t-filename.o</span>
<span id=3D"LC13" class=3D"line" data-lang=3D"plaintext">  CC       dtoti=
mespec.o</span>
<span id=3D"LC14" class=3D"line" data-lang=3D"plaintext">  CC       getcw=
d-lgpl.o</span>
<span id=3D"LC15" class=3D"line" data-lang=3D"plaintext">  CC       local=
ename-table.o</span>
<span id=3D"LC16" class=3D"line" data-lang=3D"plaintext">  CC       getlo=
calename_l-unsafe.o</span>
<span id=3D"LC17" class=3D"line" data-lang=3D"plaintext">  CC       local=
ename.o</span>
<span id=3D"LC18" class=3D"line" data-lang=3D"plaintext">  CC       local=
ename-environ.o</span>
<span id=3D"LC19" class=3D"line" data-lang=3D"plaintext">getlocalename_l-=
unsafe.c:662:3: error: "Please port gnulib getlocalename_l-unsafe.c to yo=
ur platform! Report this to bug-gnulib."</span>
<span id=3D"LC20" class=3D"line" data-lang=3D"plaintext">  662 |  #error =
"Please port gnulib getlocalename_l-unsafe.c to your platform! Report thi=
s to bug-gnulib."</span>
<span id=3D"LC21" class=3D"line" data-lang=3D"plaintext">      |   ^</spa=
n>
<span id=3D"LC22" class=3D"line" data-lang=3D"plaintext">1 error generate=
d.</span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
<p dir=3D"auto" style=3D"color: #3a383f; margin: 0px 0px 1rem;" align=3D"=
initial">gnutls was configured like so:</p>
<div class=3D"gl-relative markdown-code-block js-markdown-code">
<pre class=3D"code highlight js-syntax-highlight language-plaintext" v-pr=
e=3D"true" style=3D'display: block; font-size: 14px; color: #3a383f; line=
-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relati=
ve; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans M=
ono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andal=
e mono", "lucida console", monospace; font-variant-ligatures: none; word-=
break: break-all; word-wrap: break-word; background-color: #fbfafd; margi=
n: 0px 0 1rem; padding: 12px; border: 1px solid #dcdcde;'><code style=3D'=
font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-a=
ll; background-color: inherit; border-radius: .25rem; white-space: pre; m=
argin-top: 0px; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "D=
ejaVu 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=3D"LC1" class=3D"=
line" data-lang=3D"plaintext" style=3D"margin-top: 0px;">CONFIGURE=3D./co=
nfigure --prefix=3D$(PREFIX) \</span>
<span id=3D"LC2" class=3D"line" data-lang=3D"plaintext">                 =
     --disable-shared \</span>
<span id=3D"LC3" class=3D"line" data-lang=3D"plaintext">                 =
     --without-p11-kit \</span>
<span id=3D"LC4" class=3D"line" data-lang=3D"plaintext">                 =
     --disable-nls \</span>
<span id=3D"LC5" class=3D"line" data-lang=3D"plaintext">                 =
     --with-included-unistring \</span>
<span id=3D"LC6" class=3D"line" data-lang=3D"plaintext">                 =
     --with-included-libtasn1 \</span>
<span id=3D"LC7" class=3D"line" data-lang=3D"plaintext">                 =
     --enable-local-libopts \</span>
<span id=3D"LC8" class=3D"line" data-lang=3D"plaintext">                 =
     --disable-doc \</span>
<span id=3D"LC9" class=3D"line" data-lang=3D"plaintext">                 =
     --disable-tests \</span>
<span id=3D"LC10" class=3D"line" data-lang=3D"plaintext">                =
      --disable-guile \</span>
<span id=3D"LC11" class=3D"line" data-lang=3D"plaintext">                =
      --disable-tools \</span>
<span id=3D"LC12" class=3D"line" data-lang=3D"plaintext">                =
      --without-idn \</span>
<span id=3D"LC13" class=3D"line" data-lang=3D"plaintext">                =
      --without-brotli \</span>
<span id=3D"LC14" class=3D"line" data-lang=3D"plaintext">                =
      --without-zstd \</span>
<span id=3D"LC15" class=3D"line" data-lang=3D"plaintext">                =
      --without-tests \</span>
<span id=3D"LC16" class=3D"line" data-lang=3D"plaintext">                =
      $(CONFIGURE_OPTIONS)</span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
<p dir=3D"auto" style=3D"color: #3a383f; margin: 0px;" align=3D"initial">=
Is there anyway for the setting disable-tests to make its way to gnulib d=
ependency so it does not try and compile its own tests? They are not need=
ed.</p>
</div>


</div>
<div class=3D"footer" style=3D"margin-top: 10px;">
<p style=3D"font-size: small; color: #626168;">
=E2=80=94
<br>
Reply to this email directly or <a href=3D"https://gitlab.com/gnutls/gnut=
ls/-/work_items/1912#note_3497948112">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target=3D"_blan=
k" rel=3D"noopener noreferrer" href=3D"https://gitlab.com">gitlab.com</a>=
. <a href=3D"https://gitlab.com/-/namespace/17175643/sent_notifications/5=
-0le6tb86pvq7s5w1ravuzhk7l-a84t7/unsubscribe" target=3D"_blank" rel=3D"no=
opener noreferrer">Unsubscribe</a> from this thread =C2=B7 <a href=3D"htt=
ps://gitlab.com/-/profile/notifications" target=3D"_blank" rel=3D"noopene=
r noreferrer" class=3D"mng-notif-link">Manage all notifications</a> =C2=B7=
 <a href=3D"https://gitlab.com/help" target=3D"_blank" rel=3D"noopener no=
referrer" class=3D"help-link">Help</a>
<span style=3D"color: transparent; font-size: 0; display: none; overflow:=
 hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.com/gnutls/gnutls/-/work_it=
ems/1912#note_3497948112 at 1782485660
</span>
<script type=3D"application/ld+json">{"@context":"http://schema.org","@ty=
pe":"EmailMessage","action":{"@type":"ViewAction","name":"View Work item"=
,"url":"https://gitlab.com/gnutls/gnutls/-/work_items/1912#note_349794811=
2"}}</script>


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

----==_mimepart_6a3e929c2feca_3719980826823f--


--===============4563150855558005983==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel

--===============4563150855558005983==--