Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 919790 Details for
Bug 950208
sys-apps/ucspi-unix-1.0 - [gcc-15] unixserver.c: error: passing argument 2 of signal from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-apps:ucspi-unix-1.0:20250223-205658.log
sys-apps:ucspi-unix-1.0:20250223-205658.log (text/plain), 6.44 KB, created by
Toralf Förster
on 2025-02-23 21:50:39 UTC
(
hide
)
Description:
sys-apps:ucspi-unix-1.0:20250223-205658.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2025-02-23 21:50:39 UTC
Size:
6.44 KB
patch
obsolete
> * Package: sys-apps/ucspi-unix-1.0:0 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking ucspi-unix-1.0.tar.gz to /var/tmp/portage/sys-apps/ucspi-unix-1.0/work >>>> Source unpacked in /var/tmp/portage/sys-apps/ucspi-unix-1.0/work >>>> Preparing source in /var/tmp/portage/sys-apps/ucspi-unix-1.0/work/ucspi-unix-1.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-apps/ucspi-unix-1.0/work/ucspi-unix-1.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-apps/ucspi-unix-1.0/work/ucspi-unix-1.0 ... >make -O -j4 >( echo '#!/bin/sh';\ > echo 'main="$1"; shift';\ > echo exec `head -n 1 conf-ld` -L. '-o "$main" "$main.o" ${1+"$@"}'; \ >) >load >chmod 755 load >( echo '#!/bin/sh'; \ > echo 'source=$1; shift'; \ > echo 'base=`echo "$source" | sed -e s:\\\\.c$::`'; \ > echo exec `head -n 1 conf-cc` -I. '-o ${base}.o -c $source ${1+"$@"}'; \ >) >compile >chmod 755 compile >cat warn-auto.sh unixcat.sh >unixcat >chmod 755 unixcat >Checking for socket libraries: no >./compile utoa.c >( ( ./compile trypeercred.c && ./load trypeercred; ) && cat haspeercred.h1 || cat haspeercred.h0 ) > haspeercred.h >./compile unixclient.c >( ( ./compile trywaitp.c && ./load trywaitp; ) && cat haswaitp.h1 || cat haswaitp.h0 ) > haswaitp.h >./compile env.c >./load unixclient env.o utoa.o `cat socket.lib` >./compile unixserver.c >unixserver.c: In function âhandle_childrenâ: >unixserver.c:270:19: error: passing argument 2 of âsignalâ from incompatible pointer type [-Wincompatible-pointer-types] > 270 | signal(SIGCHLD, handle_children); > | ^~~~~~~~~~~~~~~ > | | > | void (*)(void) >In file included from unixserver.c:1: >/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) > | ~~~~~~~~~~~~~~~^~~~~~~~~ >unixserver.c:256:6: note: âhandle_childrenâ declared here > 256 | void handle_children() > | ^~~~~~~~~~~~~~~ >/usr/include/signal.h:72:16: note: â__sighandler_tâ declared here > 72 | typedef void (*__sighandler_t) (int); > | ^~~~~~~~~~~~~~ >unixserver.c: In function âmainâ: >unixserver.c:294:19: error: passing argument 2 of âsignalâ from incompatible pointer type [-Wincompatible-pointer-types] > 294 | signal(SIGCHLD, handle_children); > | ^~~~~~~~~~~~~~~ > | | > | void (*)(void) >/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) > | ~~~~~~~~~~~~~~~^~~~~~~~~ >unixserver.c:256:6: note: âhandle_childrenâ declared here > 256 | void handle_children() > | ^~~~~~~~~~~~~~~ >/usr/include/signal.h:72:16: note: â__sighandler_tâ declared here > 72 | typedef void (*__sighandler_t) (int); > | ^~~~~~~~~~~~~~ >unixserver.c:295:18: error: passing argument 2 of âsignalâ from incompatible pointer type [-Wincompatible-pointer-types] > 295 | signal(SIGINT, handle_intr); > | ^~~~~~~~~~~ > | | > | void (*)(void) >/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) > | ~~~~~~~~~~~~~~~^~~~~~~~~ >unixserver.c:283:6: note: âhandle_intrâ declared here > 283 | void handle_intr() > | ^~~~~~~~~~~ >/usr/include/signal.h:72:16: note: â__sighandler_tâ declared here > 72 | typedef void (*__sighandler_t) (int); > | ^~~~~~~~~~~~~~ >unixserver.c:296:19: error: passing argument 2 of âsignalâ from incompatible pointer type [-Wincompatible-pointer-types] > 296 | signal(SIGTERM, handle_intr); > | ^~~~~~~~~~~ > | | > | void (*)(void) >/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) > | ~~~~~~~~~~~~~~~^~~~~~~~~ >unixserver.c:283:6: note: âhandle_intrâ declared here > 283 | void handle_intr() > | ^~~~~~~~~~~ >/usr/include/signal.h:72:16: note: â__sighandler_tâ declared here > 72 | typedef void (*__sighandler_t) (int); > | ^~~~~~~~~~~~~~ >unixserver.c:297:19: error: passing argument 2 of âsignalâ from incompatible pointer type [-Wincompatible-pointer-types] > 297 | signal(SIGQUIT, handle_intr); > | ^~~~~~~~~~~ > | | > | void (*)(void) >/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) > | ~~~~~~~~~~~~~~~^~~~~~~~~ >unixserver.c:283:6: note: âhandle_intrâ declared here > 283 | void handle_intr() > | ^~~~~~~~~~~ >/usr/include/signal.h:72:16: note: â__sighandler_tâ declared here > 72 | typedef void (*__sighandler_t) (int); > | ^~~~~~~~~~~~~~ >make: *** [Makefile:83: unixserver.o] Error 1 > * ERROR: sys-apps/ucspi-unix-1.0::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-apps/ucspi-unix-1.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-apps/ucspi-unix-1.0::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-apps:ucspi-unix-1.0:20250223-205658.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/ucspi-unix-1.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-apps/ucspi-unix-1.0/temp/environment'. > * Working directory: '/var/tmp/portage/sys-apps/ucspi-unix-1.0/work/ucspi-unix-1.0' > * S: '/var/tmp/portage/sys-apps/ucspi-unix-1.0/work/ucspi-unix-1.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 950208
:
919784
|
919785
|
919786
|
919787
|
919788
|
919789
| 919790 |
919791