=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/audio/cutmp3", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for cutmp3-3.0.1 cp /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/cutmp3/files/Makefile /home/pbulk/work/audio/cutmp3/work/cutmp3-3.0.1/Makefile --- main.o --- --- mpglib.o --- --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -c main.c --- mpglib.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include -c mpglib.c --- main.o --- main.c: In function 'term_ctrlz': main.c:2460:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 2460 | signal(SIGTSTP, term_ctrlz); | ^~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from cutmp3.h:7, from main.c:17: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ main.c:2459:7: note: 'term_ctrlz' declared here 2459 | void term_ctrlz () { | ^~~~~~~~~~ main.c: In function 'term_cont': main.c:2467:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 2467 | signal(SIGCONT, term_cont); | ^~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ main.c:2466:7: note: 'term_cont' declared here 2466 | void term_cont () { | ^~~~~~~~~ main.c: In function 'term_init': main.c:2478:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 2478 | signal(SIGINT, term_exit); /* We _must_ clean up when we exit */ | ^~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ main.c:2452:7: note: 'term_exit' declared here 2452 | void term_exit () { | ^~~~~~~~~ main.c:2479:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 2479 | signal(SIGQUIT, term_exit); | ^~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ main.c:2452:7: note: 'term_exit' declared here 2452 | void term_exit () { | ^~~~~~~~~ main.c:2480:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 2480 | signal(SIGTSTP, term_ctrlz); /* Ctrl-Z must also be handled */ | ^~~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ main.c:2459:7: note: 'term_ctrlz' declared here 2459 | void term_ctrlz () { | ^~~~~~~~~~ main.c:2481:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 2481 | signal(SIGCONT, term_cont); | ^~~~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ main.c:2466:7: note: 'term_cont' declared here 2466 | void term_cont () { | ^~~~~~~~~ *** [main.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/audio/cutmp3/work/cutmp3-3.0.1 bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/audio/cutmp3/work/cutmp3-3.0.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/cutmp3 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/cutmp3