=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for apcupsd-3.14.14nb5
        src
        src/lib
  CXX   src/lib/apcconfig.c
  CXX   src/lib/apcerror.c
  CXX   src/lib/apcevents.c
  CXX   src/lib/apcexec.c
  CXX   src/lib/apcfile.c
  CXX   src/lib/apclibnis.c
  CXX   src/lib/apclock.c
  CXX   src/lib/apclog.c
  CXX   src/lib/apcsignal.c
  CXX   src/lib/apcstatus.c
  CXX   src/lib/asys.c
  CXX   src/lib/newups.c
  CXX   src/lib/md5.c
  CXX   src/lib/statmgr.cpp
  CXX   src/lib/gethostname.c
  CXX   src/lib/amutex.cpp
  CXX   src/lib/astring.cpp
  CXX   src/lib/autil.cpp
  CXX   src/lib/atimer.cpp
  CXX   src/lib/athread.cpp
  CXX   src/lib/usbvidpid.cpp
  CXX   src/lib/cloexec.c
  AR    src/lib/libapc.a
        src/drivers
        src/drivers/apcsmart
  CXX   src/drivers/apcsmart/smart.c
  CXX   src/drivers/apcsmart/smarteeprom.c
  CXX   src/drivers/apcsmart/smartoper.c
  CXX   src/drivers/apcsmart/smartsetup.c
  CXX   src/drivers/apcsmart/smartsetup2.c
  AR    src/drivers/apcsmart/libapcsmartdrv.a
        src/drivers/dumb
  CXX   src/drivers/dumb/dumboper.c
  CXX   src/drivers/dumb/dumbsetup.c
  AR    src/drivers/dumb/libdumbdrv.a
        src/drivers/net
  CXX   src/drivers/net/net.c
  AR    src/drivers/net/libnetdrv.a
        src/drivers/pcnet
  CXX   src/drivers/pcnet/pcnet.c
  AR    src/drivers/pcnet/libpcnetdrv.a
        src/drivers/usb
        src/drivers/usb/generic
  CXX   src/drivers/usb/generic/generic-usb.c
  CXX   src/drivers/usb/usb.c
  AR    src/drivers/usb/libusbdrv.a
        src/drivers/snmplite
  CXX   src/drivers/snmplite/apc-mib.cpp
  CXX   src/drivers/snmplite/asn.cpp
  CXX   src/drivers/snmplite/mge-mib.cpp
  CXX   src/drivers/snmplite/mibs.cpp
  CXX   src/drivers/snmplite/rfc1628-mib.cpp
  CXX   src/drivers/snmplite/snmp.cpp
  CXX   src/drivers/snmplite/snmplite.cpp
  AR    src/drivers/snmplite/libsnmplitedrv.a
        src/drivers/modbus
  CXX   src/drivers/modbus/mapping.cpp
  CXX   src/drivers/modbus/modbus.cpp
  CXX   src/drivers/modbus/ModbusComm.cpp
  CXX   src/drivers/modbus/ModbusRs232Comm.cpp
  AR    src/drivers/modbus/libmodbusdrv.a
  CXX   src/drivers/drivers.c
  AR    src/drivers/libdrivers.a
        src/cgi
  CXX   src/cgi/upsfetch.c
  CXX   src/cgi/cgilib.c
  CXX   src/cgi/multimon.c
  LD    src/cgi/multimon.cgi
  CXX   src/cgi/upsstats.c
  LD    src/cgi/upsstats.cgi
  CXX   src/cgi/upsfstats.c
  LD    src/cgi/upsfstats.cgi
  CXX   src/cgi/upsimage.c
  LD    src/cgi/apcupsimage.cgi
        src/libusbhid
  CXX   src/libusbhid/parse.c
  CXX   src/libusbhid/data.c
  CXX   src/libusbhid/descr.c
  CXX   src/libusbhid/HidUps.cpp
  AR    src/libusbhid/libusbhid.a
        src/apcagent
  OBJC  src/apcagent/ActiveNumberFormatter.m
  OBJC  src/apcagent/AppController.m
AppController.m:398:33: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
- (BOOL)userNotificationCenter:(NSUserNotificationCenter *)center 
                                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
@interface NSUserNotificationCenter : NSObject {
           ^
AppController.m:399:31: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
   shouldPresentNotification:(NSUserNotification *)notification
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
@interface NSUserNotification : NSObject <NSCopying> {
           ^
AppController.m:49:16: warning: 'setHighlightMode:' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.cell.highlightsBy instead [-Wdeprecated-declarations]
   [statusItem setHighlightMode:YES];
               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:78:16: note: property 'highlightMode' is declared deprecated here
@property BOOL highlightMode API_DEPRECATED("Use the receiver's button.cell.highlightsBy instead", macos(10.0,10.14));
               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:78:16: note: 'setHighlightMode:' has been explicitly marked deprecated here
AppController.m:50:16: warning: 'setImage:' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.image instead [-Wdeprecated-declarations]
   [statusItem setImage:commlostImage];
               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here
@property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14));
                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: 'setImage:' has been explicitly marked deprecated here
AppController.m:67:9: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
      [[NSUserNotificationCenter defaultUserNotificationCenter] setDelegate:self];
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
@interface NSUserNotificationCenter : NSObject {
           ^
AppController.m:142:19: warning: 'setImage:' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.image instead [-Wdeprecated-declarations]
      [statusItem setImage:commlostImage];
                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here
@property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14));
                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: 'setImage:' has been explicitly marked deprecated here
AppController.m:159:19: warning: 'setImage:' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.image instead [-Wdeprecated-declarations]
      [statusItem setImage:commlostImage];
                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here
@property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14));
                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: 'setImage:' has been explicitly marked deprecated here
AppController.m:161:19: warning: 'setImage:' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.image instead [-Wdeprecated-declarations]
      [statusItem setImage:onbattImage];
                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here
@property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14));
                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: 'setImage:' has been explicitly marked deprecated here
AppController.m:163:19: warning: 'setImage:' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.image instead [-Wdeprecated-declarations]
      [statusItem setImage:onlineImage];
                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here
@property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14));
                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: 'setImage:' has been explicitly marked deprecated here
AppController.m:165:19: warning: 'setImage:' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.image instead [-Wdeprecated-declarations]
      [statusItem setImage:chargingImage];   
                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here
@property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14));
                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: 'setImage:' has been explicitly marked deprecated here
AppController.m:174:16: warning: 'setToolTip:' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.toolTip instead [-Wdeprecated-declarations]
   [statusItem setToolTip:tooltip];
               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:79:38: note: property 'toolTip' is declared deprecated here
@property (nullable, copy) NSString *toolTip API_DEPRECATED("Use the receiver's button.toolTip instead", macos(10.0,10.14));
                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:79:38: note: 'setToolTip:' has been explicitly marked deprecated here
AppController.m:237:7: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
      NSUserNotification *notification = [[NSUserNotification alloc] init];
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
@interface NSUserNotification : NSObject <NSCopying> {
           ^
AppController.m:237:44: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
      NSUserNotification *notification = [[NSUserNotification alloc] init];
                                           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
@interface NSUserNotification : NSObject <NSCopying> {
           ^
AppController.m:245:47: warning: 'image' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.image instead [-Wdeprecated-declarations]
      notification.contentImage = [statusItem image];
                                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here
@property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14));
                                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: 'image' has been explicitly marked deprecated here
AppController.m:246:9: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
      [[NSUserNotificationCenter defaultUserNotificationCenter] 
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
@interface NSUserNotificationCenter : NSObject {
           ^
AppController.m:394:55: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
   [startAtLogin setState:([manager isStartAtLogin] ? NSOnState : NSOffState)];
                                                      ^~~~~~~~~
                                                      NSControlStateValueOn
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here
static const NSControlStateValue NSOnState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOn", macos(10.0,10.14)) = NSControlStateValueOn;
                                 ^
AppController.m:394:67: warning: 'NSOffState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
   [startAtLogin setState:([manager isStartAtLogin] ? NSOnState : NSOffState)];
                                                                  ^~~~~~~~~~
                                                                  NSControlStateValueOff
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:352:34: note: 'NSOffState' has been explicitly marked deprecated here
static const NSControlStateValue NSOffState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOff", macos(10.0,10.14)) = NSControlStateValueOff;
                                 ^
17 warnings generated.
  OBJC  src/apcagent/InstanceConfig.m
  OBJC  src/apcagent/InstanceManager.m
InstanceManager.m:50:36: warning: 'kLSSharedFileListSessionLoginItems' is deprecated: first deprecated in macOS 10.11 [-Wdeprecated-declarations]
      LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   Use a LaunchAgent, XPCService or the ServiceManagement APIs instead.
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:126:20: note: 'kLSSharedFileListSessionLoginItems' has been explicitly marked deprecated here
extern CFStringRef kLSSharedFileListSessionLoginItems                API_DEPRECATED_WITH_REPLACEMENT("Use a LaunchAgent, XPCService or the ServiceManagement APIs instead.", macos(10.5, 10.11)) API_UNAVAILABLE(ios, tvos, watchos);
                   ^
InstanceManager.m:50:7: warning: 'LSSharedFileListCreate' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations]
      LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:365:1: note: 'LSSharedFileListCreate' has been explicitly marked deprecated here
LSSharedFileListCreate(
^
InstanceManager.m:55:18: warning: 'LSSharedFileListCopySnapshot' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations]
      (NSArray *)LSSharedFileListCopySnapshot(fileList, &seed);
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:623:1: note: 'LSSharedFileListCopySnapshot' has been explicitly marked deprecated here
LSSharedFileListCopySnapshot(
^
InstanceManager.m:72:24: warning: 'LSSharedFileListItemCopyResolvedURL' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations]
         url = (NSURL*)LSSharedFileListItemCopyResolvedURL(item, 0, NULL);
                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:990:1: note: 'LSSharedFileListItemCopyResolvedURL' has been explicitly marked deprecated here
LSSharedFileListItemCopyResolvedURL(
^
InstanceManager.m:105:39: warning: 'kLSSharedFileListSessionLoginItems' is deprecated: first deprecated in macOS 10.11 [-Wdeprecated-declarations]
         LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      Use a LaunchAgent, XPCService or the ServiceManagement APIs instead.
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:126:20: note: 'kLSSharedFileListSessionLoginItems' has been explicitly marked deprecated here
extern CFStringRef kLSSharedFileListSessionLoginItems                API_DEPRECATED_WITH_REPLACEMENT("Use a LaunchAgent, XPCService or the ServiceManagement APIs instead.", macos(10.5, 10.11)) API_UNAVAILABLE(ios, tvos, watchos);
                   ^
InstanceManager.m:105:10: warning: 'LSSharedFileListCreate' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations]
         LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:365:1: note: 'LSSharedFileListCreate' has been explicitly marked deprecated here
LSSharedFileListCreate(
^
InstanceManager.m:109:23: warning: 'kLSSharedFileListItemLast' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations]
            fileList, kLSSharedFileListItemLast, NULL, NULL, (CFURLRef)[self appURL], NULL, NULL);
                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:234:32: note: 'kLSSharedFileListItemLast' has been explicitly marked deprecated here
extern LSSharedFileListItemRef kLSSharedFileListItemLast             API_DEPRECATED("No longer supported", macos(10.5, 10.11)) API_UNAVAILABLE(ios, tvos, watchos);
                               ^
InstanceManager.m:108:41: warning: 'LSSharedFileListInsertItemURL' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations]
         LSSharedFileListItemRef item = LSSharedFileListInsertItemURL(
                                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:680:1: note: 'LSSharedFileListInsertItemURL' has been explicitly marked deprecated here
LSSharedFileListInsertItemURL(
^
InstanceManager.m:121:36: warning: 'kLSSharedFileListSessionLoginItems' is deprecated: first deprecated in macOS 10.11 [-Wdeprecated-declarations]
      LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   Use a LaunchAgent, XPCService or the ServiceManagement APIs instead.
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:126:20: note: 'kLSSharedFileListSessionLoginItems' has been explicitly marked deprecated here
extern CFStringRef kLSSharedFileListSessionLoginItems                API_DEPRECATED_WITH_REPLACEMENT("Use a LaunchAgent, XPCService or the ServiceManagement APIs instead.", macos(10.5, 10.11)) API_UNAVAILABLE(ios, tvos, watchos);
                   ^
InstanceManager.m:121:7: warning: 'LSSharedFileListCreate' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations]
      LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:365:1: note: 'LSSharedFileListCreate' has been explicitly marked deprecated here
LSSharedFileListCreate(
^
InstanceManager.m:127:10: warning: 'LSSharedFileListItemRemove' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations]
         LSSharedFileListItemRemove(fileList, item);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:818:1: note: 'LSSharedFileListItemRemove' has been explicitly marked deprecated here
LSSharedFileListItemRemove(
^
InstanceManager.m:140:24: warning: 'NSOffState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
      [sender setState:NSOffState];
                       ^~~~~~~~~~
                       NSControlStateValueOff
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:352:34: note: 'NSOffState' has been explicitly marked deprecated here
static const NSControlStateValue NSOffState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOff", macos(10.0,10.14)) = NSControlStateValueOff;
                                 ^
InstanceManager.m:145:24: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
      [sender setState:NSOnState];
                       ^~~~~~~~~
                       NSControlStateValueOn
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here
static const NSControlStateValue NSOnState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOn", macos(10.0,10.14)) = NSControlStateValueOn;
                                 ^
13 warnings generated.
  OBJC  src/apcagent/NSString+uuid.m
  OBJC  src/apcagent/main.m
  LD    src/apcagent/apcagent
  BUNDL apcagent.app
  CXX   src/options.c
  CXX   src/device.c
  CXX   src/reports.c
  CXX   src/action.c
  CXX   src/apcupsd.c
  CXX   src/apcnis.c
  LD    src/apcupsd
  CXX   src/apcaccess.c
  LD    src/apcaccess
  CXX   src/apctest.c
  LD    src/apctest
        platforms
        platforms/etc
        platforms/darwin
security: SecIdentityCopyPreference: The specified item could not be found in the keychain.
security: SecIdentityCopyPreference: The specified item could not be found in the keychain.
        doc
  MAN   apcupsd.8 -> apcupsd.man.txt
  MAN   apcaccess.8 -> apcaccess.man.txt
  MAN   apctest.8 -> apctest.man.txt
  MAN   apccontrol.8 -> apccontrol.man.txt
  MAN   apcupsd.conf.5 -> apcupsd.conf.man.txt
bmake[1]: don't know how to make /Users/pbulk/build/sysutils/apcupsd/work/apcupsd-3.14.14/platforms/darwin/apcupsd. Stop

bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/apcupsd
*** Error code 2

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/apcupsd