Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944900 - 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]
Summary: mail-mta/courier-1.3.13 fails to compile: starttls.c:536:22: error: assignmen...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-25 08:38 UTC by Agostino Sarubbo
Modified: 2025-03-21 11:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,500.28 KB, text/plain)
2024-11-25 08:38 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-25 08:38:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: mail-mta/courier-1.3.13 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-25 08:38:17 UTC
Created attachment 911853 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-25 08:38:19 UTC
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]]
Comment 3 Hanno Böck gentoo-dev 2025-03-19 12:14:34 UTC
(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
Comment 4 Hanno Böck gentoo-dev 2025-03-21 11:53:44 UTC
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.