g++ fails to compile modules/mbedtls/dtls_server_mbedtls.cpp because it cannot find /usr/include/mbedtls3/mbedtls/ctr_drbg.h. Reproducible: Always Steps to Reproduce: 1. emerge net-libs/mbedtls 2. emerge godot Actual Results: g++: modules/mbedtls/crypto_mbedtls.h:36:10: fatal error: mbedtls/ctr_drbg.h: No such file or directory Expected Results: Compilation succeeds. This practically the exact same error as https://bugs.gentoo.org/947592 - maybe something from there could be reused?
Created attachment 929348 [details] build.log
Created attachment 929349 [details] emerge --info '=dev-games/godot-4.4.1::gentoo' output
Created attachment 929350 [details] emerge -pqv '=dev-games/godot-4.4.1::gentoo' output
It is unrelated to that other bug, seems this got broken by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dba0ce0f7c9 It's looking for the old pkg-config names right now, so the -I/usr/include/mbedtls3 is not being added. I'll try to adjust so it works with both. This may possibly have broken more packages, CC'ing mbedtls maintainer for the record.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd42e686491a13a0829d47bbe34cb9206b78c204 commit fd42e686491a13a0829d47bbe34cb9206b78c204 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2025-05-23 11:09:42 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2025-05-23 11:13:00 +0000 dev-games/godot: update for renamed mbedtls:3 .pc files Haven't tested a full build, but -I is being added again so it should hopefully be fine. Was thinking to make it work with old mbedlts3.pc too, but simpler to just add a lower bound to get mbedtls-3.pc. Closes: https://bugs.gentoo.org/956485 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-games/godot/godot-4.4.1.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)