Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944060 - net-mail/mailutils-3.17-r100 fails to compile with gcc15.0.0_pre20241117-r2::gentoo
Summary: net-mail/mailutils-3.17-r100 fails to compile with gcc15.0.0_pre20241117-r2::...
Status: RESOLVED DUPLICATE of bug 943873
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-19 23:38 UTC by OldManSeph
Modified: 2024-11-20 04:07 UTC (History)
2 users (show)

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


Attachments
net-mail/mailutils-3.17-r100 build log (mailutils-3.17r100.build.log,165.20 KB, text/x-log)
2024-11-19 23:38 UTC, OldManSeph
Details
OldManSeph emerge --info (emerge_info.txt,6.93 KB, text/plain)
2024-11-19 23:39 UTC, OldManSeph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OldManSeph 2024-11-19 23:38:45 UTC
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
Comment 1 OldManSeph 2024-11-19 23:39:06 UTC
Created attachment 910412 [details]
OldManSeph emerge --info
Comment 2 immolo 2024-11-20 04:07:22 UTC

*** This bug has been marked as a duplicate of bug 943873 ***