[MacPorts] #71514: nut fails to build: error: expected ‘)’ before ‘kIOPSTypeKey’
MacPorts
noreply at macports.org
Wed Dec 11 12:42:42 UTC 2024
#71514: nut fails to build: error: expected ‘)’ before ‘kIOPSTypeKey’
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: nut
--------------------------+--------------------
{{{
usbhid-ups.c: In function ‘callback’:
usbhid-ups.c:1503: warning: comparison is always true due to limited range
of data type
CC mge-hid.o
CC powercom-hid.o
CC tripplite-hid.o
CC idowell-hid.o
CC openups-hid.o
CC powervar-hid.o
CC ever-hid.o
CC delta_ups-hid.o
CC legrand-hid.o
CC salicru-hid.o
CC bcmxcp_usb.o
CC bcmxcp.o
CC tripplite_usb.o
CC blazer.o
CC blazer_usb.o
CC richcomm_usb.o
CC riello.o
CC riello_usb.o
CC nutdrv_atcl_usb.o
CC netxml-ups.o
CC mge-xml.o
CC macosx-ups.o
CC upsdrvctl.o
In file included from /opt/local/include/neon/ne_string.h:26,
from /opt/local/include/neon/ne_request.h:26,
from netxml-ups.c:32:
/opt/local/include/neon/ne_alloc.h:46: warning: ‘alloc_size’ attribute
directive ignored
/opt/local/include/neon/ne_alloc.h:47: warning: ‘alloc_size’ attribute
directive ignored
/opt/local/include/neon/ne_alloc.h:48: warning: ‘alloc_size’ attribute
directive ignored
CCLD libdummy.la
macosx-ups.c: In function ‘upsdrv_initinfo’:
macosx-ups.c:124: error: expected ‘)’ before ‘kIOPSTypeKey’
macosx-ups.c:125: error: expected ‘)’ before ‘kIOPSInternalBatteryType’
CCLD libdummy_upsdrvquery.la
make[1]: *** [macosx-ups.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_nut/nut/work/nut-2.8.2/drivers'
make: *** [all-recursive] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71514>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list