Summary: | net-libs/libmicrohttpd-0.9.75 fails tests (lto): test_tls_options.c:39:5: error: type of curl_check_version does not match original declaration [-Werror=lto-type-mismatch] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | k2k |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/27823 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2022-10-17 13:39:21 UTC
Created attachment 824595 [details]
build.log
build log and emerge --info
The error is generated for the old part of the test-suite. It was already fixed in the git master, but has not been released yet. The problematic part: ---------------------------------- /var/tmp/portage/net-libs/libmicrohttpd-0.9.75/work/libmicrohttpd-0.9.75/src/testcurl/https/test_tls_options.c:39:5: error: type of 'curl_check_version' does not match original declaration [-Werror=lto-type-mismatch] 39 | int curl_check_version (const char *req_version, ...); | ^ /var/tmp/portage/net-libs/libmicrohttpd-0.9.75/work/libmicrohttpd-0.9.75/src/testcurl/https/curl_version_check.c:78:1: note: types have different parameter counts 78 | curl_check_version (const char *req_version) | ^ /var/tmp/portage/net-libs/libmicrohttpd-0.9.75/work/libmicrohttpd-0.9.75/src/testcurl/https/curl_version_check.c:78:1: note: 'curl_check_version' was previously declared here ---------------------------------- There is no problem in the library code itself. The only problematic part is testcase code. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f2316ccd5516c31dd42a90ffde9ff9ab89d9b88 commit 2f2316ccd5516c31dd42a90ffde9ff9ab89d9b88 Author: Karlson2k (Evgeny Grin) <k2k@narod.ru> AuthorDate: 2022-10-17 17:49:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-20 23:34:16 +0000 net-libs/libmicrohttpd: fixed tests with LTO Bug: https://bugs.gentoo.org/877447 Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/27823 Signed-off-by: Sam James <sam@gentoo.org> ...bmicrohttpd-0.9.75-fix-testsuite-with-lto.patch | 60 ++++++++++++++++++++++ net-libs/libmicrohttpd/libmicrohttpd-0.9.72.ebuild | 3 +- net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild | 3 +- net-libs/libmicrohttpd/libmicrohttpd-0.9.74.ebuild | 2 + net-libs/libmicrohttpd/libmicrohttpd-0.9.75.ebuild | 2 + 5 files changed, 68 insertions(+), 2 deletions(-) |