=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for libetm-1.09
make - .MAKE.LEVEL.ENV=MAKELEVEL ALLOW_VULNERABLE_PACKAGES= BATCH=1 DEPENDS_TARGET=/nonexistent LOWER_OPSYS=darwin OPSYS=Darwin OPSYS_VERSION=130600 OSX_SDK_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk OS_VERSION=22.6.0 PKGTOOLS_VERSION=20211115 UNPRIVILEGED_GROUP=staff UNPRIVILEGED_GROUPS=staff UNPRIVILEGED_USER=pbulk WRKLOG=/tmp/bulklog/libetm-1.09/work.log _MAKE=/opt/pkg/bin/bmake _PATH_ORIG=/sbin:/bin:/usr/sbin:/usr/bin _PKGSRCDIR=/Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64 _PKGSRC_BARRIER=yes  etm.internal.h.new
rm -f etm.internal.h.new
sed <etm.internal.h.dist > etm.internal.h.new 's/\${ABORTSIGNAL}/SIGABRT/'
mv -f etm.internal.h.new etm.internal.h
etm.internal.h updated
make - .MAKE.LEVEL.ENV=MAKELEVEL ALLOW_VULNERABLE_PACKAGES= BATCH=1 DEPENDS_TARGET=/nonexistent LOWER_OPSYS=darwin OPSYS=Darwin OPSYS_VERSION=130600 OSX_SDK_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk OS_VERSION=22.6.0 PKGTOOLS_VERSION=20211115 UNPRIVILEGED_GROUP=staff UNPRIVILEGED_GROUPS=staff UNPRIVILEGED_USER=pbulk WRKLOG=/tmp/bulklog/libetm-1.09/work.log _MAKE=/opt/pkg/bin/bmake _PATH_ORIG=/sbin:/bin:/usr/sbin:/usr/bin _PKGSRCDIR=/Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64 _PKGSRC_BARRIER=yes  etm.h.new
rm -f etm.h.new
sed <etm.h.dist > 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
etm.c:149:21: warning: passing arguments to '_ETMAddShutdownProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMAddShutdownProc (p);
                           ^
etm.c:154:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGHUP, Catch);
                         ^
etm.c:157:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGINT, Catch);
                         ^
etm.c:160:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGQUIT, Catch);
                         ^
etm.c:163:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGILL, Catch);
                         ^
etm.c:166:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGBUS, Catch);
                         ^
etm.c:169:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGSEGV, Catch);
                         ^
etm.c:172:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGSYS, Catch);
                         ^
etm.c:175:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGTERM, Catch);
                         ^
etm.c:181:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGFPE, Catch);
                         ^
etm.c:184:19: warning: passing arguments to '_ETMSetSignalProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ETMSetSignalProc (SIGPIPE, Catch);
                         ^
etm.c:144:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ETMProcRetType ETMInit (p)
               ^
./etm.h:30:20: note: expanded from macro 'ETMInit'
# define        ETMInit                 _ETMInit
                                        ^
./etm.h:48:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern ETMProcRetType   ETMInit ();
                        ^
./etm.h:30:20: note: expanded from macro 'ETMInit'
# define        ETMInit                 _ETMInit
                                        ^
etm.c:213:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ETMProcRetType ETMAddShutdownProc (p)
               ^
./etm.h:32:29: note: expanded from macro 'ETMAddShutdownProc'
# define        ETMAddShutdownProc      _ETMAddShutdownProc
                                        ^
./etm.h:50:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern ETMProcRetType   ETMAddShutdownProc ();
                        ^
./etm.h:32:29: note: expanded from macro 'ETMAddShutdownProc'
# define        ETMAddShutdownProc      _ETMAddShutdownProc
                                        ^
etm.c:237:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ETMProcRetType ETMRemoveShutdownProc (p)
               ^
./etm.h:33:32: note: expanded from macro 'ETMRemoveShutdownProc'
# define        ETMRemoveShutdownProc   _ETMRemoveShutdownProc
                                        ^
./etm.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern ETMProcRetType   ETMRemoveShutdownProc ();
                        ^
./etm.h:33:32: note: expanded from macro 'ETMRemoveShutdownProc'
# define        ETMRemoveShutdownProc   _ETMRemoveShutdownProc
                                        ^
etm.c:287:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ETMProcRetType ETMSetSignalProc (signo, p)
               ^
./etm.h:34:27: note: expanded from macro 'ETMSetSignalProc'
# define        ETMSetSignalProc        _ETMSetSignalProc
                                        ^
./etm.h:52:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern ETMProcRetType   ETMSetSignalProc ();
                        ^
./etm.h:34:27: note: expanded from macro 'ETMSetSignalProc'
# define        ETMSetSignalProc        _ETMSetSignalProc
                                        ^
etm.c:335:30: warning: parameter 'signo' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
ETMProcPtr ETMGetSignalProc (signo)
                             ^
etm.c:335:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ETMProcPtr ETMGetSignalProc (signo)
           ^
./etm.h:35:27: note: expanded from macro 'ETMGetSignalProc'
# define        ETMGetSignalProc        _ETMGetSignalProc
                                        ^
./etm.h:53:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern ETMProcPtr       ETMGetSignalProc ();
                        ^
./etm.h:35:27: note: expanded from macro 'ETMGetSignalProc'
# define        ETMGetSignalProc        _ETMGetSignalProc
                                        ^
etm.c:366:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        (*(cp->sigProc)) (signo);
                                         ^
etm.c:356:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static SIGRET CatchManager (signo)
              ^
etm.c:109:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static SIGRET   CatchManager ();
                ^
etm.c:380:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static ETMProcRetType Catch (signo)
                      ^
etm.c:108:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static ETMProcRetType   Catch ();
                        ^
etm.c:415:12: warning: passing arguments to 'PrintMsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                PrintMsg (loopMsg);
                         ^
etm.c:422:2: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        strcat (buf, "\n");
        ^
etm.c:422:2: note: include the header <string.h> or explicitly provide a declaration for 'strcat'
etm.c:423:11: warning: passing arguments to 'PrintMsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        PrintMsg (buf);
                 ^
etm.c:515:11: warning: passing arguments to 'PrintMsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        PrintMsg (buf);
                 ^
etm.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ETMSetPrintProc (p)
^
./etm.h:36:27: note: expanded from macro 'ETMSetPrintProc'
# define        ETMSetPrintProc         _ETMSetPrintProc
                                        ^
./etm.h:54:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern ETMProcRetType   ETMSetPrintProc ();
                        ^
./etm.h:36:27: note: expanded from macro 'ETMSetPrintProc'
# define        ETMSetPrintProc         _ETMSetPrintProc
                                        ^
etm.c:593:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (*printProc) (s);
                             ^
etm.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
PrintMsg (s)
^
etm.c:110:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static ETMProcRetType   PrintMsg ();
                        ^
etm.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ETMSetExitStatus (status)
^
./etm.h:38:27: note: expanded from macro 'ETMSetExitStatus'
# define        ETMSetExitStatus        _ETMSetExitStatus
                                        ^
./etm.h:56:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern ETMProcRetType   ETMSetExitStatus ();
                        ^
./etm.h:38:27: note: expanded from macro 'ETMSetExitStatus'
# define        ETMSetExitStatus        _ETMSetExitStatus
                                        ^
etm.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ETMSetAbort (abortVal)
^
./etm.h:40:23: note: expanded from macro 'ETMSetAbort'
# define        ETMSetAbort             _ETMSetAbort
                                        ^
./etm.h:58:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern ETMProcRetType   ETMSetAbort ();
                        ^
./etm.h:40:23: note: expanded from macro 'ETMSetAbort'
# define        ETMSetAbort             _ETMSetAbort
                                        ^
40 warnings generated.
rm -f libetm.a
ar clq libetm.a etm.o
rm -f etm.h.new
sed <etm.h.dist > etm.h.new 's/\${ETMVOIDTYPE}/void/'
rm -f etm.internal.h.new
sed <etm.internal.h.dist > etm.internal.h.new 's/\${ABORTSIGNAL}/SIGABRT/'
rm -f etmtest.o
cc -c -O    -I/opt/pkg/include -DSYSV  -DVARARGS  -DHASVOIDTYPE=1 etmtest.c
etmtest.c:52:10: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        switch (atoi (argv[1]))
                ^
etmtest.c:56:11: warning: passing arguments to '_ETMInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMInit (Shutdown1);
                        ^
etmtest.c:61:11: warning: passing arguments to '_ETMInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMInit (Shutdown2);
                        ^
etmtest.c:65:11: warning: passing arguments to '_ETMInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMInit ((ETMProcPtr) NULL);
                        ^
etmtest.c:66:19: warning: passing arguments to '_ETMSetPrintProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMSetPrintProc (PrintProc3);
                                ^
etmtest.c:71:11: warning: passing arguments to '_ETMInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMInit ((ETMProcPtr) NULL);
                        ^
etmtest.c:72:19: warning: passing arguments to '_ETMSetPrintProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMSetPrintProc (PrintProc4);
                                ^
etmtest.c:78:11: warning: passing arguments to '_ETMInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMInit ((ETMProcPtr) NULL);
                        ^
etmtest.c:79:22: warning: passing arguments to '_ETMAddShutdownProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMAddShutdownProc (Shutdown5);
                                   ^
etmtest.c:80:25: warning: passing arguments to '_ETMRemoveShutdownProc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMRemoveShutdownProc (Shutdown5);
                                      ^
etmtest.c:84:11: warning: passing arguments to '_ETMInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMInit ((ETMProcPtr) NULL);
                        ^
etmtest.c:85:15: warning: passing arguments to '_ETMSetAbort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ETMSetAbort (1);
                            ^
etmtest.c:93:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        exit (0);
        ^
etmtest.c:93:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
etmtest.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main (argc, argv)
^
etmtest.c:122:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static ETMProcRetType PrintProc3 (s)
                      ^
etmtest.c:25:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static ETMProcRetType   PrintProc3 ();
                        ^
etmtest.c:134:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static ETMProcRetType PrintProc4 (s)
                      ^
etmtest.c:26:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static ETMProcRetType   PrintProc4 ();
                        ^
18 warnings generated.
rm -f etmtest
cc -o etmtest etmtest.o -O  			-L/opt/pkg/lib  -L/opt/pkg/lib ./libetm.a