Summary: | mail-mta/courier-1.3.13 fails to compile: starttls.c:536:22: error: assignment to void ()(int) from incompatible pointer type void ()(void) [-Wincompatible-pointer-types] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Hanno Böck <hanno> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hanno |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 880545 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 911853 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: ./configure: line 2564: spellcheck: command not found starttls.c:536:22: error: assignment to 'void (*)(int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]] (In reply to Agostino Sarubbo from comment #0) > Info about the issue: > https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003 FYI, all the links there are broken: https://wiki.g.o/wiki/Modern_C_porting#-Wincompatible-pointer-types I guess that should be wiki.gentoo.org, not wiki.g.o I have submitted a few patches upstream that should resolve this: https://github.com/svarshavchik/courier-libs/commit/cfd14303c8a769c7674d4012b02a4bf2ff9c3d30 https://github.com/svarshavchik/courier/commit/af8b79ca19b1ddb31f82dcda1edd4802a96522cf Should therefore be fixed once the next courier release is out. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b02333ed0c65b9158e5e1be7ee34c2b10bad668e commit b02333ed0c65b9158e5e1be7ee34c2b10bad668e Author: Hanno Böck <hanno@gentoo.org> AuthorDate: 2025-04-07 14:46:57 +0000 Commit: Hanno Böck <hanno@gentoo.org> CommitDate: 2025-04-07 14:46:58 +0000 mail-mta/courier: add 1.4.1 Should contain various upstream fixes for C23 compatibility. Bug: https://bugs.gentoo.org/944141 Bug: https://bugs.gentoo.org/944900 Signed-off-by: Hanno Böck <hanno@gentoo.org> mail-mta/courier/Manifest | 1 + mail-mta/courier/courier-1.4.1.ebuild | 313 ++++++++++++++++++++++++++++++++++ 2 files changed, 314 insertions(+) Can you please check if this still happens with 1.4.1? 1.4.1 works, thank you! |