[gnutls-devel] GnuTLS | --with-tests always passed to src/gl (#1912)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Fri Jun 26 16:54:20 CEST 2026
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260626/027326f5/attachment.html>
More information about the Gnutls-devel
mailing list