=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ptpd-2.2.2
--- ptpd.o ---
--- arith.o ---
--- bmc.o ---
--- ptpd.o ---
clang -c -pipe -Os -Wall -g -fPIC -DRUNTIME_DEBUG -DDBG_SIGUSR2_CHANGE_DEBUG -DPTP_EXPERIMENTAL  -o ptpd.o ptpd.c
--- arith.o ---
clang -c -pipe -Os -Wall -g -fPIC -DRUNTIME_DEBUG -DDBG_SIGUSR2_CHANGE_DEBUG -DPTP_EXPERIMENTAL  -o arith.o arith.c
--- bmc.o ---
clang -c -pipe -Os -Wall -g -fPIC -DRUNTIME_DEBUG -DDBG_SIGUSR2_CHANGE_DEBUG -DPTP_EXPERIMENTAL  -o bmc.o bmc.c
--- protocol.o ---
clang -c -pipe -Os -Wall -g -fPIC -DRUNTIME_DEBUG -DDBG_SIGUSR2_CHANGE_DEBUG -DPTP_EXPERIMENTAL  -o protocol.o protocol.c
--- display.o ---
clang -c -pipe -Os -Wall -g -fPIC -DRUNTIME_DEBUG -DDBG_SIGUSR2_CHANGE_DEBUG -DPTP_EXPERIMENTAL  -o display.o display.c
--- management.o ---
clang -c -pipe -Os -Wall -g -fPIC -DRUNTIME_DEBUG -DDBG_SIGUSR2_CHANGE_DEBUG -DPTP_EXPERIMENTAL  -o management.o management.c
management.c:1008:10: warning: variable 'data' set but not used [-Wunused-but-set-variable]
        MMTime* data = NULL;
                ^
--- protocol.o ---
protocol.c:789:6: warning: implicit declaration of function 'unsetTimexFlags' is invalid in C99 [-Wimplicit-function-declaration]
                                        unsetTimexFlags(STA_INS | STA_DEL, TRUE);
                                        ^
protocol.c:789:22: error: use of undeclared identifier 'STA_INS'
                                        unsetTimexFlags(STA_INS | STA_DEL, TRUE);
                                                        ^
protocol.c:789:32: error: use of undeclared identifier 'STA_DEL'
                                        unsetTimexFlags(STA_INS | STA_DEL, TRUE);
                                                                  ^
protocol.c:1062:39: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                                if ((ptpClock->recvSyncSequenceId == 
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
protocol.c:1062:39: note: remove extraneous parentheses around the comparison to silence this warning
                                if ((ptpClock->recvSyncSequenceId == 
                                    ~                             ^
protocol.c:1062:39: note: use '=' to turn this equality comparison into an assignment
                                if ((ptpClock->recvSyncSequenceId == 
                                                                  ^~
                                                                  =
2 warnings and 2 errors generated.
*** [protocol.o] Error code 1

bmake: stopped in /Users/pbulk/build/wip/ptpd/work/ptpd-2.2.2/src
--- management.o ---
1 warning generated.
1 error

bmake: stopped in /Users/pbulk/build/wip/ptpd/work/ptpd-2.2.2/src
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/wip/ptpd
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/wip/ptpd