=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libetm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libetm-1.09nb1 make - BATCH=1 DEPENDS_TARGET=/nonexistent LOWER_OPSYS=solaris NATIVE_LOWER_OPSYS=solaris _CC=/opt/tools/gcc15/bin/gcc _MAKE=/opt/pkg/bin/bmake _PATH_ORIG=/sbin:/usr/bin:/usr/sbin:/opt/tools/bin _PKGSRCDIR=/data/jenkins/workspace/pkgsrc-upstream-trunk _PKGSRC_BARRIER=yes etm.internal.h.new rm -f etm.internal.h.new sed etm.internal.h.new 's/\${ABORTSIGNAL}/SIGABRT/' mv -f etm.internal.h.new etm.internal.h etm.internal.h updated make - BATCH=1 DEPENDS_TARGET=/nonexistent LOWER_OPSYS=solaris NATIVE_LOWER_OPSYS=solaris _CC=/opt/tools/gcc15/bin/gcc _MAKE=/opt/pkg/bin/bmake _PATH_ORIG=/sbin:/usr/bin:/usr/sbin:/opt/tools/bin _PKGSRCDIR=/data/jenkins/workspace/pkgsrc-upstream-trunk _PKGSRC_BARRIER=yes etm.h.new rm -f etm.h.new sed etm.h.new 's/\${ETMVOIDTYPE}/void/' mv -f etm.h.new etm.h etm.h updated rm -f etm.o cc -c -O -I/opt/pkg/include -DSYSV -DVARARGS -DHASVOIDTYPE=1 etm.c In file included from etm.c:64: etm.c: In function '_ETMInit': etm.h:30:41: warning: old-style function definition [-Wold-style-definition] 30 | # define ETMInit _ETMInit | ^~~~~~~~ etm.c:146:16: note: in expansion of macro 'ETMInit' 146 | ETMProcRetType ETMInit (p) | ^~~~~~~ etm.c:148:1: error: number of arguments doesn't match prototype 148 | { | ^ etm.h:30:41: error: prototype declaration 30 | # define ETMInit _ETMInit | ^~~~~~~~ etm.h:48:25: note: in expansion of macro 'ETMInit' 48 | extern ETMProcRetType ETMInit (); | ^~~~~~~ etm.h:32:41: error: too many arguments to function '_ETMAddShutdownProc'; expected 0, have 1 32 | # define ETMAddShutdownProc _ETMAddShutdownProc | ^~~~~~~~~~~~~~~~~~~ etm.c:151:9: note: in expansion of macro 'ETMAddShutdownProc' 151 | ETMAddShutdownProc (p); | ^~~~~~~~~~~~~~~~~~ etm.h:32:41: note: declared here 32 | # define ETMAddShutdownProc _ETMAddShutdownProc | ^~~~~~~~~~~~~~~~~~~ etm.h:50:25: note: in expansion of macro 'ETMAddShutdownProc' 50 | extern ETMProcRetType ETMAddShutdownProc (); | ^~~~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:156:9: note: in expansion of macro 'ETMSetSignalProc' 156 | ETMSetSignalProc (SIGHUP, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:159:9: note: in expansion of macro 'ETMSetSignalProc' 159 | ETMSetSignalProc (SIGINT, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:162:9: note: in expansion of macro 'ETMSetSignalProc' 162 | ETMSetSignalProc (SIGQUIT, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:165:9: note: in expansion of macro 'ETMSetSignalProc' 165 | ETMSetSignalProc (SIGILL, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:168:9: note: in expansion of macro 'ETMSetSignalProc' 168 | ETMSetSignalProc (SIGBUS, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:171:9: note: in expansion of macro 'ETMSetSignalProc' 171 | ETMSetSignalProc (SIGSEGV, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:174:9: note: in expansion of macro 'ETMSetSignalProc' 174 | ETMSetSignalProc (SIGSYS, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:177:9: note: in expansion of macro 'ETMSetSignalProc' 177 | ETMSetSignalProc (SIGTERM, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:183:9: note: in expansion of macro 'ETMSetSignalProc' 183 | ETMSetSignalProc (SIGFPE, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:186:9: note: in expansion of macro 'ETMSetSignalProc' 186 | ETMSetSignalProc (SIGPIPE, Catch); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.c: In function '_ETMAddShutdownProc': etm.h:32:41: warning: old-style function definition [-Wold-style-definition] 32 | # define ETMAddShutdownProc _ETMAddShutdownProc | ^~~~~~~~~~~~~~~~~~~ etm.c:215:16: note: in expansion of macro 'ETMAddShutdownProc' 215 | ETMProcRetType ETMAddShutdownProc (p) | ^~~~~~~~~~~~~~~~~~ etm.c:217:1: error: number of arguments doesn't match prototype 217 | { | ^ etm.h:32:41: error: prototype declaration 32 | # define ETMAddShutdownProc _ETMAddShutdownProc | ^~~~~~~~~~~~~~~~~~~ etm.h:50:25: note: in expansion of macro 'ETMAddShutdownProc' 50 | extern ETMProcRetType ETMAddShutdownProc (); | ^~~~~~~~~~~~~~~~~~ etm.c: In function '_ETMRemoveShutdownProc': etm.h:33:41: warning: old-style function definition [-Wold-style-definition] 33 | # define ETMRemoveShutdownProc _ETMRemoveShutdownProc | ^~~~~~~~~~~~~~~~~~~~~~ etm.c:239:16: note: in expansion of macro 'ETMRemoveShutdownProc' 239 | ETMProcRetType ETMRemoveShutdownProc (p) | ^~~~~~~~~~~~~~~~~~~~~ etm.c:241:1: error: number of arguments doesn't match prototype 241 | { | ^ etm.h:33:41: error: prototype declaration 33 | # define ETMRemoveShutdownProc _ETMRemoveShutdownProc | ^~~~~~~~~~~~~~~~~~~~~~ etm.h:51:25: note: in expansion of macro 'ETMRemoveShutdownProc' 51 | extern ETMProcRetType ETMRemoveShutdownProc (); | ^~~~~~~~~~~~~~~~~~~~~ etm.c: In function '_ETMSetSignalProc': etm.h:34:41: warning: old-style function definition [-Wold-style-definition] 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:289:16: note: in expansion of macro 'ETMSetSignalProc' 289 | ETMProcRetType ETMSetSignalProc (signo, p) | ^~~~~~~~~~~~~~~~ etm.c:292:1: error: number of arguments doesn't match prototype 292 | { | ^ etm.h:34:41: error: prototype declaration 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:52:25: note: in expansion of macro 'ETMSetSignalProc' 52 | extern ETMProcRetType ETMSetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.c:333:31: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 333 | (void) signal (signo, CatchManager); | ^~~~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from etm.c:53: /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); | ^~~~~~~~~~~~~ etm.c:111:17: note: 'CatchManager' declared here 111 | static SIGRET CatchManager (); | ^~~~~~~~~~~~ etm.c: In function '_ETMGetSignalProc': etm.h:35:41: warning: old-style function definition [-Wold-style-definition] 35 | # define ETMGetSignalProc _ETMGetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:337:12: note: in expansion of macro 'ETMGetSignalProc' 337 | ETMProcPtr ETMGetSignalProc (signo) | ^~~~~~~~~~~~~~~~ etm.c:339:1: error: number of arguments doesn't match prototype 339 | { | ^ etm.h:35:41: error: prototype declaration 35 | # define ETMGetSignalProc _ETMGetSignalProc | ^~~~~~~~~~~~~~~~~ etm.h:53:25: note: in expansion of macro 'ETMGetSignalProc' 53 | extern ETMProcPtr ETMGetSignalProc (); | ^~~~~~~~~~~~~~~~ etm.c: In function 'CatchManager': etm.c:359:15: warning: old-style function definition [-Wold-style-definition] 359 | static SIGRET CatchManager (signo) | ^~~~~~~~~~~~ etm.c:369:26: error: too many arguments to function 'cp->sigProc'; expected 0, have 1 369 | (*(cp->sigProc)) (signo); | ~^~~~~~~~~~~~~~~ ~~~~~ etm.c:129:25: note: declared here 129 | ETMProcPtr sigProc; | ^~~~~~~ etm.c: In function 'Catch': etm.c:383:23: warning: old-style function definition [-Wold-style-definition] 383 | static ETMProcRetType Catch (signo) | ^~~~~ etm.c: In function '_ETMPanic': etm.c:418:17: error: too many arguments to function 'PrintMsg'; expected 0, have 1 418 | PrintMsg (loopMsg); | ^~~~~~~~ ~~~~~~~ etm.c:112:25: note: declared here 112 | static ETMProcRetType PrintMsg (); | ^~~~~~~~ etm.c:426:9: error: too many arguments to function 'PrintMsg'; expected 0, have 1 426 | PrintMsg (buf); | ^~~~~~~~ ~~~ etm.c:112:25: note: declared here 112 | static ETMProcRetType PrintMsg (); | ^~~~~~~~ etm.h:34:41: error: too many arguments to function '_ETMSetSignalProc'; expected 0, have 2 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:430:17: note: in expansion of macro 'ETMSetSignalProc' 430 | ETMSetSignalProc (abortSignal, ETMSigDefault); | ^~~~~~~~~~~~~~~~ etm.h:34:41: note: declared here 34 | # define ETMSetSignalProc _ETMSetSignalProc | ^~~~~~~~~~~~~~~~~ etm.c:289:16: note: in expansion of macro 'ETMSetSignalProc' 289 | ETMProcRetType ETMSetSignalProc (signo, p) | ^~~~~~~~~~~~~~~~ etm.c: In function '_ETMMsg': etm.c:518:9: error: too many arguments to function 'PrintMsg'; expected 0, have 1 518 | PrintMsg (buf); | ^~~~~~~~ ~~~ etm.c:112:25: note: declared here 112 | static ETMProcRetType PrintMsg (); | ^~~~~~~~ etm.c: In function '_ETMSetPrintProc': etm.h:36:41: warning: old-style function definition [-Wold-style-definition] 36 | # define ETMSetPrintProc _ETMSetPrintProc | ^~~~~~~~~~~~~~~~ etm.c:563:1: note: in expansion of macro 'ETMSetPrintProc' 563 | ETMSetPrintProc (p) | ^~~~~~~~~~~~~~~ etm.c:565:1: error: number of arguments doesn't match prototype 565 | { | ^ etm.h:36:41: error: prototype declaration 36 | # define ETMSetPrintProc _ETMSetPrintProc | ^~~~~~~~~~~~~~~~ etm.h:54:25: note: in expansion of macro 'ETMSetPrintProc' 54 | extern ETMProcRetType ETMSetPrintProc (); | ^~~~~~~~~~~~~~~ etm.c: In function 'PrintMsg': etm.c:580:1: warning: old-style function definition [-Wold-style-definition] 580 | PrintMsg (s) | ^~~~~~~~ etm.c:596:18: error: too many arguments to function 'printProc'; expected 0, have 1 596 | (*printProc) (s); | ~^~~~~~~~~~~ ~ etm.c: In function '_ETMSetExitStatus': etm.h:38:41: warning: old-style function definition [-Wold-style-definition] 38 | # define ETMSetExitStatus _ETMSetExitStatus | ^~~~~~~~~~~~~~~~~ etm.c:603:1: note: in expansion of macro 'ETMSetExitStatus' 603 | ETMSetExitStatus (status) | ^~~~~~~~~~~~~~~~ etm.c:605:1: error: number of arguments doesn't match prototype 605 | { | ^ etm.h:38:41: error: prototype declaration 38 | # define ETMSetExitStatus _ETMSetExitStatus | ^~~~~~~~~~~~~~~~~ etm.h:56:25: note: in expansion of macro 'ETMSetExitStatus' 56 | extern ETMProcRetType ETMSetExitStatus (); | ^~~~~~~~~~~~~~~~ etm.c: In function '_ETMSetAbort': etm.h:40:41: warning: old-style function definition [-Wold-style-definition] 40 | # define ETMSetAbort _ETMSetAbort | ^~~~~~~~~~~~ etm.c:618:1: note: in expansion of macro 'ETMSetAbort' 618 | ETMSetAbort (abortVal) | ^~~~~~~~~~~ etm.c:620:1: error: number of arguments doesn't match prototype 620 | { | ^ etm.h:40:41: error: prototype declaration 40 | # define ETMSetAbort _ETMSetAbort | ^~~~~~~~~~~~ etm.h:58:25: note: in expansion of macro 'ETMSetAbort' 58 | extern ETMProcRetType ETMSetAbort (); | ^~~~~~~~~~~ *** Error code 1 Stop. bmake: stopped making "all" in /tmp/work/devel/libetm/work/etm *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libetm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libetm