=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/apcupsd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for apcupsd-3.14.14nb12 src doc src/lib src/drivers MAN apcupsd.8 -> apcupsd.man.txt src/drivers/apcsmart CXX src/drivers/apcsmart/smart.c CXX src/lib/apcconfig.c 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 CXX src/drivers/apcsmart/smarteeprom.c CXX src/lib/apcerror.c CXX src/lib/apcevents.c src/libusbhid CXX src/drivers/apcsmart/smartoper.c CXX src/libusbhid/parse.c CXX src/lib/apcexec.c CXX src/libusbhid/data.c CXX src/drivers/apcsmart/smartsetup.c CXX src/lib/apcfile.c CXX src/libusbhid/descr.c CXX src/lib/apclibnis.c CXX src/drivers/apcsmart/smartsetup2.c CXX src/libusbhid/HidUps.cpp AR src/drivers/apcsmart/libapcsmartdrv.a CXX src/lib/apclock.c src/drivers/dumb AR src/libusbhid/libusbhid.a CXX src/drivers/dumb/dumboper.c CXX src/drivers/dumb/dumbsetup.c CXX src/lib/apclog.c src/drivers/net CXX src/drivers/net/net.c AR src/drivers/dumb/libdumbdrv.a src/drivers/pcnet CXX src/drivers/pcnet/pcnet.c CXX src/lib/apcsignal.c AR src/drivers/net/libnetdrv.a CXX src/lib/apcstatus.c CXX src/lib/asys.c AR src/drivers/pcnet/libpcnetdrv.a src/drivers/usb src/drivers/usb/generic CXX src/drivers/usb/generic/generic-usb.c CXX src/lib/newups.c src/drivers/snmplite CXX src/drivers/snmplite/apc-mib.cpp CXX src/drivers/usb/usb.c CXX src/lib/md5.c CXX src/drivers/snmplite/asn.cpp CXX src/lib/statmgr.cpp asn.cpp:491:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 491 | unsigned int vals[cnt]; | ^~~ asn.cpp:491:22: note: read of non-const variable 'cnt' is not allowed in a constant expression asn.cpp:490:17: note: declared here 490 | unsigned int cnt = _count-1; | ^ 1 warning generated. AR src/drivers/usb/libusbdrv.a CXX src/drivers/snmplite/mge-mib.cpp CXX src/drivers/snmplite/mibs.cpp CXX src/lib/gethostname.c CXX src/drivers/snmplite/rfc1628-mib.cpp src/drivers/modbus CXX src/drivers/modbus/mapping.cpp CXX src/lib/amutex.cpp CXX src/drivers/modbus/modbus.cpp CXX src/lib/astring.cpp CXX src/drivers/snmplite/snmp.cpp modbus.cpp:662:17: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 662 | uint8_t data[len]; | ^~~ modbus.cpp:662:17: note: read of non-const variable 'len' is not allowed in a constant expression modbus.cpp:661:17: note: declared here 661 | unsigned int len = reg.nregs * sizeof(uint16_t); | ^ 1 warning generated. CXX src/lib/autil.cpp CXX src/drivers/modbus/ModbusComm.cpp CXX src/drivers/snmplite/snmplite.cpp CXX src/lib/atimer.cpp CXX src/drivers/modbus/ModbusRs232Comm.cpp AR src/drivers/snmplite/libsnmplitedrv.a CXX src/lib/athread.cpp CXX src/lib/usbvidpid.cpp AR src/drivers/modbus/libmodbusdrv.a CXX src/lib/cloexec.c CXX src/drivers/drivers.c AR src/lib/libapc.a AR src/drivers/libdrivers.a src/cgi src/apcagent CXX src/cgi/upsfetch.c OBJC src/apcagent/ActiveNumberFormatter.m OBJC src/apcagent/AppController.m CXX src/cgi/cgilib.c CXX src/cgi/multimon.c CXX src/cgi/upsstats.c CXX src/cgi/upsfstats.c CXX src/cgi/upsimage.c 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] 398 | - (BOOL)userNotificationCenter:(NSUserNotificationCenter *)center | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here 118 | @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] 399 | shouldPresentNotification:(NSUserNotification *)notification | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here 24 | @interface NSUserNotification : NSObject { | ^ AppController.m:49:16: warning: 'setHighlightMode:' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.cell.highlightsBy instead [-Wdeprecated-declarations] 49 | [statusItem setHighlightMode:YES]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:78:16: note: property 'highlightMode' is declared deprecated here 78 | @property BOOL highlightMode API_DEPRECATED("Use the receiver's button.cell.highlightsBy instead", macos(10.0,10.14)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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] 50 | [statusItem setImage:commlostImage]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here 75 | @property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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] 67 | [[NSUserNotificationCenter defaultUserNotificationCenter] setDelegate:self]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here 118 | @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] 142 | [statusItem setImage:commlostImage]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here 75 | @property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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] 159 | [statusItem setImage:commlostImage]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here 75 | @property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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] 161 | [statusItem setImage:onbattImage]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here 75 | @property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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] 163 | [statusItem setImage:onlineImage]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here 75 | @property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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] 165 | [statusItem setImage:chargingImage]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here 75 | @property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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] 174 | [statusItem setToolTip:tooltip]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:79:38: note: property 'toolTip' is declared deprecated here 79 | @property (nullable, copy) NSString *toolTip API_DEPRECATED("Use the receiver's button.toolTip instead", macos(10.0,10.14)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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] 237 | NSUserNotification *notification = [[NSUserNotification alloc] init]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here 24 | @interface NSUserNotification : NSObject { | ^ 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] 237 | NSUserNotification *notification = [[NSUserNotification alloc] init]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here 24 | @interface NSUserNotification : NSObject { | ^ AppController.m:245:47: warning: 'image' is deprecated: first deprecated in macOS 10.14 - Use the receiver's button.image instead [-Wdeprecated-declarations] 245 | notification.contentImage = [statusItem image]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStatusItem.h:75:39: note: property 'image' is declared deprecated here 75 | @property (nullable, strong) NSImage *image API_DEPRECATED("Use the receiver's button.image instead", macos(10.0,10.14)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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] 246 | [[NSUserNotificationCenter defaultUserNotificationCenter] | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here 118 | @interface NSUserNotificationCenter : NSObject { | ^ AppController.m:394:55: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations] 394 | [startAtLogin setState:([manager isStartAtLogin] ? NSOnState : NSOffState)]; | ^~~~~~~~~ | NSControlStateValueOn /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here 353 | 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] 394 | [startAtLogin setState:([manager isStartAtLogin] ? NSOnState : NSOffState)]; | ^~~~~~~~~~ | NSControlStateValueOff /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:352:34: note: 'NSOffState' has been explicitly marked deprecated here 352 | static const NSControlStateValue NSOffState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOff", macos(10.0,10.14)) = NSControlStateValueOff; | ^ 17 warnings generated. LD src/cgi/multimon.cgi LD src/cgi/upsstats.cgi LD src/cgi/upsfstats.cgi LD src/cgi/apcupsimage.cgi OBJC src/apcagent/InstanceConfig.m OBJC src/apcagent/InstanceManager.m OBJC src/apcagent/NSString+uuid.m InstanceManager.m:50:36: warning: 'kLSSharedFileListSessionLoginItems' is deprecated: first deprecated in macOS 10.11 [-Wdeprecated-declarations] 50 | LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Use a LaunchAgent, XPCService or the ServiceManagement APIs instead. /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:129:20: note: 'kLSSharedFileListSessionLoginItems' has been explicitly marked deprecated here 129 | 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] 50 | LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:368:1: note: 'LSSharedFileListCreate' has been explicitly marked deprecated here 368 | LSSharedFileListCreate( | ^ InstanceManager.m:55:18: warning: 'LSSharedFileListCopySnapshot' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations] 55 | (NSArray *)LSSharedFileListCopySnapshot(fileList, &seed); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:626:1: note: 'LSSharedFileListCopySnapshot' has been explicitly marked deprecated here 626 | LSSharedFileListCopySnapshot( | ^ InstanceManager.m:72:24: warning: 'LSSharedFileListItemCopyResolvedURL' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations] 72 | url = (NSURL*)LSSharedFileListItemCopyResolvedURL(item, 0, NULL); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:993:1: note: 'LSSharedFileListItemCopyResolvedURL' has been explicitly marked deprecated here 993 | LSSharedFileListItemCopyResolvedURL( | ^ InstanceManager.m:105:39: warning: 'kLSSharedFileListSessionLoginItems' is deprecated: first deprecated in macOS 10.11 [-Wdeprecated-declarations] 105 | LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Use a LaunchAgent, XPCService or the ServiceManagement APIs instead. /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:129:20: note: 'kLSSharedFileListSessionLoginItems' has been explicitly marked deprecated here 129 | 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] 105 | LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:368:1: note: 'LSSharedFileListCreate' has been explicitly marked deprecated here 368 | LSSharedFileListCreate( | ^ InstanceManager.m:109:23: warning: 'kLSSharedFileListItemLast' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations] 109 | fileList, kLSSharedFileListItemLast, NULL, NULL, (CFURLRef)[self appURL], NULL, NULL); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:237:32: note: 'kLSSharedFileListItemLast' has been explicitly marked deprecated here 237 | 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] 108 | LSSharedFileListItemRef item = LSSharedFileListInsertItemURL( | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:683:1: note: 'LSSharedFileListInsertItemURL' has been explicitly marked deprecated here 683 | LSSharedFileListInsertItemURL( | ^ InstanceManager.m:121:36: warning: 'kLSSharedFileListSessionLoginItems' is deprecated: first deprecated in macOS 10.11 [-Wdeprecated-declarations] 121 | LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Use a LaunchAgent, XPCService or the ServiceManagement APIs instead. /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:129:20: note: 'kLSSharedFileListSessionLoginItems' has been explicitly marked deprecated here 129 | 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] 121 | LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:368:1: note: 'LSSharedFileListCreate' has been explicitly marked deprecated here 368 | LSSharedFileListCreate( | ^ InstanceManager.m:127:10: warning: 'LSSharedFileListItemRemove' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations] 127 | LSSharedFileListItemRemove(fileList, item); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/SharedFileList.framework/Headers/LSSharedFileList.h:821:1: note: 'LSSharedFileListItemRemove' has been explicitly marked deprecated here 821 | LSSharedFileListItemRemove( | ^ InstanceManager.m:140:24: warning: 'NSOffState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations] 140 | [sender setState:NSOffState]; | ^~~~~~~~~~ | NSControlStateValueOff /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:352:34: note: 'NSOffState' has been explicitly marked deprecated here 352 | 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] 145 | [sender setState:NSOnState]; | ^~~~~~~~~ | NSControlStateValueOn /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here 353 | static const NSControlStateValue NSOnState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOn", macos(10.0,10.14)) = NSControlStateValueOn; | ^ 13 warnings generated. 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 CXX src/apcaccess.c CXX src/apctest.c LD src/apcupsd LD src/apcaccess 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. bmake[1]: don't know how to make /var/tmp/work/sysutils/apcupsd/work/apcupsd-3.14.14/platforms/darwin/apcupsd. Stop bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/apcupsd *** Error code 2 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/apcupsd