[gnutls-devel] GnuTLS | Not able to build gnutls on ubuntu 22 (#1724)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Mon Jul 14 13:04:18 CEST 2025
Karthikdasari0423 created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1724
## Description of problem:
Tried to build gnutls using
./bootstrap
./configure
make
## Version of gnutls used:
Used master. Able to build on 3.8.10
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubunut
root at ubuntu:~/gnutls# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
root at ubuntu:~/gnutls#
## How reproducible:
Steps to Reproduce:
git clone https://gitlab.com/gnutls/gnutls.git
cd gnutls/
./bootstrap
./configure
make
## Actual results:
CC vko.lo
CC tpm2/tpm2.lo
CC tpm2/tpm2_esys.lo
In file included from tpm2/tpm2_esys.c:90:
./dlwrap/tss2_esysfuncs.h:19:68: error: unknown type name 'ESYS_CRYPTO_CALLBACKS'
19 | FUNC(TSS2_RC, Esys_SetCryptoCallbacks, (ESYS_CONTEXT *esysContext, ESYS_CRYPTO_CALLBACKS *callbacks), (esysContext, callbacks))
| ^~~~~~~~~~~~~~~~~~~~~
./dlwrap/tss2_esys.h:16:36: note: in definition of macro 'FUNC'
16 | ret gnutls_tss2_esys_func_##name args;
| ^~~~
make[4]: *** [Makefile:3704: tpm2/tpm2_esys.lo] Error 1
make[4]: Leaving directory '/root/gnutls/lib'
make[3]: *** [Makefile:3809: all-recursive] Error 1
make[3]: Leaving directory '/root/gnutls/lib'
make[2]: *** [Makefile:3280: all] Error 2
make[2]: Leaving directory '/root/gnutls/lib'
make[1]: *** [Makefile:2917: all-recursive] Error 1
make[1]: Leaving directory '/root/gnutls'
make: *** [Makefile:2842: all] Error 2
root at ubuntu:~/gnutls# git log
commit eba5229a603a989ab79b2111a74366b46e11d629 (HEAD -> master, origin/master, origin/HEAD)
Merge: 8a36455fd 017cab7da
Author: Daiki Ueno <ueno at gnu.org>
Date: Fri Jul 11 18:29:22 2025 +0900
Merge branch 'ddudas/tpm2-switch-crypto-backend' into 'master'
Make TPM2 support self-contained
See merge request gnutls/gnutls!1946
## Expected results:
Expected to build sucesfully.
Am I missing anything here?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1724
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20250714/2d1e8a69/attachment-0001.html>
More information about the Gnutls-devel
mailing list