Summary: |
net-mail/mailutils-3.17-r100 fails to compile with gcc15.0.0_pre20241117-r2::gentoo |
Product: |
Gentoo Linux
|
Reporter: |
OldManSeph <sschaefering> |
Component: |
Current packages | Assignee: |
Gentoo Linux bug wranglers <bug-wranglers> |
Status: |
RESOLVED
DUPLICATE
|
|
|
Severity: |
normal
|
CC: |
immoloism, sschaefering
|
Priority: |
Normal
|
|
|
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Linux | |
|
Whiteboard: |
|
Package list:
|
|
Runtime testing required:
|
---
|
Bug Depends on: |
|
|
|
Bug Blocks: |
880545
|
|
|
Attachments: |
net-mail/mailutils-3.17-r100 build log
OldManSeph emerge --info
|
Created attachment 910411 [details] net-mail/mailutils-3.17-r100 build log libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../include -I/libmailutils -DSYSCONFDIR=\"/etc\" -O2 -pipe -fno-strict-aliasing -c mailer.c -fPIC -DPIC -o .libs/mailer.o progmailer.c: In function 'mu_progmailer_create': progmailer.c:63:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 63 | pm->sighandler = SIG_ERR; | ^ progmailer.c: In function 'mu_progmailer_open': progmailer.c:116:23: error: assignment to 'void (*)(void)' from incompatible pointer type '__sighandler_t' {aka 'void (*)(int)'} [-Wincompatible-pointer-types] 116 | if ((pm->sighandler = signal (SIGCHLD, SIG_DFL)) == SIG_ERR) | ^ progmailer.c:116:52: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 116 | if ((pm->sighandler = signal (SIGCHLD, SIG_DFL)) == SIG_ERR) | ^~ progmailer.c: In function 'mu_progmailer_close': progmailer.c:295:22: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 295 | if (pm->sighandler != SIG_ERR | ^~ progmailer.c:296:29: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 296 | && signal (SIGCHLD, pm->sighandler) == SIG_ERR) | ~~^~~~~~~~~~~~ | | | void (*)(void) In file included from progmailer.c:27: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ progmailer.c:302:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 302 | pm->sighandler = SIG_ERR; | ^ make[3]: *** [Makefile:1276: progmailer.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/var/tmp/portage/net-mail/mailutils-3.17-r100/work/mailutils-3.17/libmailutils/mailer' make[2]: *** [Makefile:1446: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-mail/mailutils-3.17-r100/work/mailutils-3.17/libmailutils' make[1]: *** [Makefile:1379: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-mail/mailutils-3.17-r100/work/mailutils-3.17' make: *** [Makefile:1263: all] Error 2 * ERROR: net-mail/mailutils-3.17-r100::gentoo failed (compile phase): * emake failed