I'm attaching a debdiff that should fix the issue. I built and published the result in the ppa at https://launchpad.net/~adrien-n/+archive/ubuntu/lp-1991067 and rebuild gnutls successfully.
** Patch added: "lp-1991067-fix-gnutls-ftbfs.debdiff" https://bugs.launchpad.net/ubuntu/+source/p11-kit/+bug/1991067/+attachment/5619806/+files/lp-1991067-fix-gnutls-ftbfs.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to p11-kit in Ubuntu. https://bugs.launchpad.net/bugs/1991067 Title: p11-kit 0.24.1-1ubuntu1 induces FTBFS in gnutls Status in p11-kit package in Ubuntu: In Progress Bug description: Patches added in 0.24.1-1ubuntu1 prevent gnutls from building. Upstream has indicated that an additional change should have been included as mentioned at https://github.com/p11-glue/p11-kit/issues/419#issuecomment-1259353294 . To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/p11-kit/+bug/1991067/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp