Summary: | net-libs/mbedtls-2.24.0 uses -Werror for build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, slyfox |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260867, 732706 |
Description
Agostino Sarubbo
2020-09-27 13:23:38 UTC
The -Werror also happens to break the build on gcc-11: https://github.com/ARMmbed/mbedtls/issues/3782 CMakeLists.txt already exposes a mechanism to disable -Werror. The following seems to work: --- a/net-libs/mbedtls/mbedtls-2.24.0.ebuild +++ b/net-libs/mbedtls/mbedtls-2.24.0.ebuild @@ -53,6 +53,7 @@ multilib_src_configure() { -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DINSTALL_MBEDTLS_HEADERS=ON -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + -DMBEDTLS_FATAL_WARNINGS=OFF ) cmake_src_configure Pushed as https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb0aa68ec8614f38545961a55a30d59b9d5d572 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f6e77da684f70ea10256e40f88cab0d45573d9 commit 93f6e77da684f70ea10256e40f88cab0d45573d9 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2021-09-19 06:23:03 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2021-09-19 07:12:34 +0000 net-libs/mbedtls: Remove old Closes: https://bugs.gentoo.org/744946 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org> net-libs/mbedtls/Manifest | 2 - net-libs/mbedtls/mbedtls-2.16.10.ebuild | 93 --------------------------------- net-libs/mbedtls/mbedtls-2.16.11.ebuild | 93 --------------------------------- 3 files changed, 188 deletions(-) |