Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 911115 Details for
Bug 944352
app-shells/heirloom-sh-050706-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] fault.c: error: initialization of void ( )(void) from incompatible pointer type void ( )(int)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-shells:heirloom-sh-050706-r1:20241121-040547.log
app-shells:heirloom-sh-050706-r1:20241121-040547.log (text/plain), 10.21 KB, created by
Toralf Förster
on 2024-11-21 20:22:18 UTC
(
hide
)
Description:
app-shells:heirloom-sh-050706-r1:20241121-040547.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-11-21 20:22:18 UTC
Size:
10.21 KB
patch
obsolete
> * Package: app-shells/heirloom-sh-050706-r1:0 > * Repository: gentoo > * Maintainer: patrick@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking heirloom-sh-050706.tar.bz2 to /var/tmp/portage/app-shells/heirloom-sh-050706-r1/work >>>> Source unpacked in /var/tmp/portage/app-shells/heirloom-sh-050706-r1/work >>>> Preparing source in /var/tmp/portage/app-shells/heirloom-sh-050706-r1/work/heirloom-sh-050706 ... > * Applying heirloom-sh-glibc-2.34.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-shells/heirloom-sh-050706-r1/work/heirloom-sh-050706 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-shells/heirloom-sh-050706-r1/work/heirloom-sh-050706 ... >make -O -j4 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color' 'CPPFLAGS= -D_GNU_SOURCE' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 ' LARGEF= CC=x86_64-pc-linux-gnu-gcc >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE blok.c >blok.c: In function âallocâ: >blok.c:59:1: warning: old-style function definition [-Wold-style-definition] > 59 | alloc(nbytes) > | ^~~~~ >In file included from blok.c:41: >blok.c: In function âsh_freeâ: >defs.h:186:17: warning: old-style function definition [-Wold-style-definition] > 186 | #define free sh_free > | ^~~~~~~ >blok.c:165:1: note: in expansion of macro âfreeâ > 165 | free(ap) > | ^~~~ >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE ctype.c >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE args.c >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE bltin.c >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE defs.c >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE cmd.c >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE error.c >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE fault.c >fault.c:55:32: error: initialization of âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 55 | static void (*psig0_func)() = SIG_ERR; /* previous signal handler for signal 0 */ > | ^~~~~~~ >fault.c: In function âclrsigâ: >fault.c:176:33: error: passing argument 2 of âhandleâ from incompatible pointer type [-Wincompatible-pointer-types] > 176 | handle(i, sigval[i]); > | ~~~~~~^~~ > | | > | void (*)(void) >In file included from fault.c:41: >defs.h:226:17: note: expected âvoid (*)(int)â but argument is of type âvoid (*)(void)â > 226 | int handle(int, void (*)(int)); > | ^~~~~~~~~~~~~ >fault.c: In function âhandleâ: >fault.c:278:35: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] > 278 | ret = (psig0_func != func); > | ^~ >fault.c:279:28: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 279 | psig0_func = func; > | ^ >fault.c: In function âstdsigsâ: >fault.c:319:33: error: passing argument 2 of âhandleâ from incompatible pointer type [-Wincompatible-pointer-types] > 319 | handle(i, sigval[i]); > | ~~~~~~^~~ > | | > | void (*)(void) >fault.c:247:24: note: expected âvoid (*)(int)â but argument is of type âvoid (*)(void)â > 247 | handle(int sig, void (*func)(int)) > | ~~~~~~~^~~~~~~~~~ >fault.c: In function âinit_sigvalâ: >fault.c:529:32: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 529 | sigval[SIGHUP] = done; > | ^ >fault.c:533:32: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 533 | sigval[SIGINT] = fault; > | ^ >fault.c:537:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 537 | sigval[SIGQUIT] = fault; > | ^ >fault.c:541:32: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 541 | sigval[SIGILL] = done; > | ^ >fault.c:545:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 545 | sigval[SIGTRAP] = done; > | ^ >fault.c:549:32: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 549 | sigval[SIGIOT] = done; > | ^ >fault.c:553:32: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 553 | sigval[SIGBUS] = done; > | ^ >fault.c:557:32: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 557 | sigval[SIGFPE] = done; > | ^ >fault.c:565:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 565 | sigval[SIGUSR1] = done; > | ^ >fault.c:569:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int, siginfo_t *)â [-Wincompatible-pointer-types] > 569 | sigval[SIGSEGV] = sigsegv; > | ^ >fault.c:577:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 577 | sigval[SIGUSR2] = done; > | ^ >fault.c:581:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 581 | sigval[SIGPIPE] = done; > | ^ >fault.c:585:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 585 | sigval[SIGALRM] = fault; > | ^ >fault.c:589:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 589 | sigval[SIGTERM] = fault; > | ^ >fault.c:593:35: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 593 | sigval[SIGSTKFLT] = done; > | ^ >fault.c:625:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 625 | sigval[SIGXCPU] = done; > | ^ >fault.c:629:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 629 | sigval[SIGXFSZ] = done; > | ^ >fault.c:633:35: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 633 | sigval[SIGVTALRM] = done; > | ^ >fault.c:637:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 637 | sigval[SIGPROF] = done; > | ^ >fault.c:645:33: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 645 | sigval[SIGPOLL] = done; > | ^ >fault.c:649:32: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 649 | sigval[SIGPWR] = done; > | ^ >fault.c:653:32: error: assignment to âvoid (*)(void)â from incompatible pointer type âvoid (*)(int)â [-Wincompatible-pointer-types] > 653 | sigval[SIGSYS] = done; > | ^ >make: *** [makefile:79: fault.o] Error 1 >make: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE echo.c >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE expand.c >x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE func.c > * ERROR: app-shells/heirloom-sh-050706-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-shells/heirloom-sh-050706-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-shells/heirloom-sh-050706-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-shells:heirloom-sh-050706-r1:20241121-040547.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-shells/heirloom-sh-050706-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-shells/heirloom-sh-050706-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-shells/heirloom-sh-050706-r1/work/heirloom-sh-050706' > * S: '/var/tmp/portage/app-shells/heirloom-sh-050706-r1/work/heirloom-sh-050706' >
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 944352
:
911114
| 911115 |
911116
|
911117
|
911118
|
911119
|
911120
|
911121