=> Building misc/heyu2 Started : Friday, 8 MAR 2019 at 00:33:25 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for heyu2-2.10_1: CM17A=on: X10 CM17A "Firecracker" Support DMX=on: Digimax Thermostat Support EXAMPLES=on: Build and/or install examples EXTENDED=on: Extended Type 0 (Shutter/Shade) Support OREGON=on: Oregon Support RFXMETER=on: RFXMeter (RF) Support RFXSENS=on: RFXSensors (RF) Support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/heyu2 XDG_CONFIG_HOME=/construction/misc/heyu2 HOME=/construction/misc/heyu2 TMPDIR="/tmp" PATH=/construction/misc/heyu2/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- freebsd -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/heyu2 XDG_CONFIG_HOME=/construction/misc/heyu2 HOME=/construction/misc/heyu2 TMPDIR="/tmp" PATH=/construction/misc/heyu2/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/misc/heyu2/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTEXAMPLES="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/heyu2" EXAMPLESDIR="share/examples/heyu2" DATADIR="share/heyu2" WWWDIR="www/heyu2" ETCDIR="etc/heyu2" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/heyu2 DOCSDIR=/usr/local/share/doc/heyu2 EXAMPLESDIR=/usr/local/share/examples/heyu2 WWWDIR=/usr/local/www/heyu2 ETCDIR=/usr/local/etc/heyu2 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> heyu2-2.10_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> heyu2-2.10_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of heyu2-2.10_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by heyu2-2.10_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by heyu2-2.10_1 for building => SHA256 Checksum OK for heyu-2.10.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by heyu2-2.10_1 for building ===> Extracting for heyu2-2.10_1 => SHA256 Checksum OK for heyu-2.10.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for heyu2-2.10_1 ===> Applying ports patches for heyu2-2.10_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for heyu2-2.10_1 This script will create a Makefile based by default on the output of uname(1), or otherwise on the system type parameter you enter. The Makefile has been created for freebsd. Note: If you are upgrading from an earlier version, run 'heyu stop' before proceeding further. ** Now run 'make' as a normal user ** -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for heyu2-2.10_1 --- date.o --- --- erase.o --- --- message.o --- --- relay.o --- --- monitor.o --- --- date.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c date.c --- erase.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c erase.c --- relay.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c relay.c --- message.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c message.c --- monitor.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c monitor.c --- date.o --- date.c: In function 'c_date': date.c:53:10: warning: variable 'today' set but not used [-Wunused-but-set-variable] int today; ^~~~~ --- reset.o --- --- setclock.o --- --- reset.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c reset.c --- setclock.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c setclock.c --- relay.o --- relay.c: In function 'start_relay': relay.c:145:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ --- stop.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c stop.c --- reset.o --- reset.c: In function 'c_set_status_bits': reset.c:91:18: warning: variable 'n' set but not used [-Wunused-but-set-variable] unsigned int n; ^ --- setclock.o --- setclock.c: In function 'c_setclock': setclock.c:76:10: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ setclock.c: In function 'c_stop_cm11a_poll': setclock.c:355:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ --- tty.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c tty.c tty.c: In function 'lockpid': tty.c:471:10: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ tty.c:470:11: warning: variable 'ignorep' set but not used [-Wunused-but-set-variable] char *ignorep; ^~~~~~~ --- stop.o --- stop.c: In function 'c_stop': stop.c:70:32: warning: '%s' directive writing up to 127 bytes into a region of size 120 [-Wformat-overflow=] sprintf(auxfilename, "%s%s", AUXFILE, configp->suffixaux); ^~ stop.c:70:8: note: 'sprintf' output between 9 and 136 bytes into a destination of size 128 sprintf(auxfilename, "%s%s", AUXFILE, configp->suffixaux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stop.c:88:31: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(relayfilename, "%s%s", RELAYFILE, configp->suffix); ^~ stop.c:88:5: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(relayfilename, "%s%s", RELAYFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xread.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c xread.c --- monitor.o --- monitor.c: In function 'engine_quit': monitor.c:82:31: warning: '%s' directive writing up to 127 bytes into a region of size 96 [-Wformat-overflow=] sprintf(buffer, "%s/LCK..%s%s", LOCKDIR, STATE_LOCKFILE, configp->suffix); ^~ monitor.c:82:4: note: 'sprintf' output between 33 and 160 bytes into a destination of size 128 sprintf(buffer, "%s/LCK..%s%s", LOCKDIR, STATE_LOCKFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- relay.o --- relay.c: In function 'flag_intr': relay.c:580:27: warning: '%s' directive writing up to 127 bytes into a region of size 120 [-Wformat-overflow=] sprintf(buffer, "%s%s", AUXFILE, saved_suffixaux); ^~ ~~~~~~~~~~~~~~~ relay.c:580:8: note: 'sprintf' output between 9 and 136 bytes into a destination of size 128 sprintf(buffer, "%s%s", AUXFILE, saved_suffixaux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:572:27: warning: '%s' directive writing up to 127 bytes into a region of size 120 [-Wformat-overflow=] sprintf(buffer, "%s%s", AUXFILE, configp->suffixaux); ^~ relay.c:572:8: note: 'sprintf' output between 9 and 136 bytes into a destination of size 128 sprintf(buffer, "%s%s", AUXFILE, configp->suffixaux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:588:24: warning: '%s' directive writing up to 127 bytes into a region of size 117 [-Wformat-overflow=] sprintf(buffer, "%s%s", STATE_LOCKFILE, configp->suffix); ^~ relay.c:588:5: note: 'sprintf' output between 12 and 139 bytes into a destination of size 128 sprintf(buffer, "%s%s", STATE_LOCKFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:594:24: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(buffer, "%s%s", RELAYFILE, configp->suffix); ^~ relay.c:594:5: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(buffer, "%s%s", RELAYFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:597:24: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(buffer, "%s%s", WRITEFILE, configp->suffix); ^~ relay.c:597:5: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(buffer, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c: In function 'start_relay': relay.c:157:30: warning: '%s' directive writing up to 127 bytes into a region of size 120 [-Wformat-overflow=] sprintf(spoolfilename, "%s%s", SPOOLFILE, configp->suffix); ^~ relay.c:157:4: note: 'sprintf' output between 9 and 136 bytes into a destination of size 128 sprintf(spoolfilename, "%s%s", SPOOLFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:158:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(relayfilename, "%s%s", RELAYFILE, configp->suffix); ^~ relay.c:158:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(relayfilename, "%s%s", RELAYFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:159:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ relay.c:159:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- monitor.o --- monitor.c: In function 'c_monitor': monitor.c:95:31: warning: '%s' directive writing up to 127 bytes into a region of size 78 [-Wformat-overflow=] sprintf( spoolfile, "%s/%s%s", SPOOLDIR, SPOOLFILE, configp->suffix); ^~ monitor.c:95:5: note: 'sprintf' output between 23 and 150 bytes into a destination of size 100 sprintf( spoolfile, "%s/%s%s", SPOOLDIR, SPOOLFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xwrite.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c xwrite.c --- monitor.o --- monitor.c: In function 'c_engine': monitor.c:163:31: warning: '%s' directive writing up to 127 bytes into a region of size 78 [-Wformat-overflow=] sprintf( spoolfile, "%s/%s%s", SPOOLDIR, SPOOLFILE, configp->suffix); ^~ monitor.c:163:5: note: 'sprintf' output between 23 and 150 bytes into a destination of size 100 sprintf( spoolfile, "%s/%s%s", SPOOLDIR, SPOOLFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xwrite.o --- xwrite.c: In function 'xwrite': xwrite.c:85:9: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ --- status.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c status.c --- cm11a.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c cm11a.c --- eeprom.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c eeprom.c --- sun.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c sun.c --- cmd.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c cmd.c cmd.c: In function 'send_checksum_alert': cmd.c:1228:9: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ cmd.c: In function 'relay_ri_control': cmd.c:1574:9: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ cmd.c: In function 'relay_ping': cmd.c:1657:9: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ cmd.c: In function 'busywait': cmd.c:1715:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ cmd.c: In function 'display_internal_help': cmd.c:1775:9: warning: variable 'szlbl' set but not used [-Wunused-but-set-variable] int szlbl, szarg, sztot; ^~~~~ cmd.c: In function 'command_help': cmd.c:1856:8: warning: variable 'szlbl' set but not used [-Wunused-but-set-variable] int szlbl, szarg, sztot, list = 0; ^~~~~ --- relay.o --- relay.c: In function 'cleanup_files': relay.c:546:32: warning: '%s' directive writing up to 127 bytes into a region of size 97 [-Wformat-overflow=] sprintf(buffer, "%s/LCK..%s%s", LOCKDIR, RELAYFILE, configp->suffix); ^~ relay.c:546:5: note: 'sprintf' output between 32 and 159 bytes into a destination of size 128 sprintf(buffer, "%s/LCK..%s%s", LOCKDIR, RELAYFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:548:32: warning: '%s' directive writing up to 127 bytes into a region of size 97 [-Wformat-overflow=] sprintf(buffer, "%s/LCK..%s%s", LOCKDIR, WRITEFILE, configp->suffix); ^~ relay.c:548:5: note: 'sprintf' output between 32 and 159 bytes into a destination of size 128 sprintf(buffer, "%s/LCK..%s%s", LOCKDIR, WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:550:32: warning: '%s' directive writing up to 127 bytes into a region of size 96 [-Wformat-overflow=] sprintf(buffer, "%s/LCK..%s%s", LOCKDIR, STATE_LOCKFILE, configp->suffix); ^~ relay.c:550:5: note: 'sprintf' output between 33 and 160 bytes into a destination of size 128 sprintf(buffer, "%s/LCK..%s%s", LOCKDIR, STATE_LOCKFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:552:29: warning: '%s' directive writing up to 127 bytes into a region of size 108 [-Wformat-overflow=] sprintf(buffer, "%s/LCK.%s", LOCKDIR, configp->suffix); ^~ relay.c:552:5: note: 'sprintf' output between 21 and 148 bytes into a destination of size 128 sprintf(buffer, "%s/LCK.%s", LOCKDIR, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- config.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c config.c --- relay.o --- relay.c: In function 'quick_ports_check': relay.c:620:30: warning: '%s' directive writing up to 127 bytes into a region of size 108 [-Wformat-overflow=] sprintf(lockpath, "%s/LCK.%s", LOCKDIR, configp->suffixaux); ^~ relay.c:620:4: note: 'sprintf' output between 21 and 148 bytes into a destination of size 128 sprintf(lockpath, "%s/LCK.%s", LOCKDIR, configp->suffixaux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c:624:30: warning: '%s' directive writing up to 127 bytes into a region of size 108 [-Wformat-overflow=] sprintf(lockpath, "%s/LCK.%s", LOCKDIR, configp->suffix); ^~ relay.c:624:4: note: 'sprintf' output between 21 and 148 bytes into a destination of size 128 sprintf(lockpath, "%s/LCK.%s", LOCKDIR, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- poll.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c poll.c --- tty.o --- tty.c: In function 'lock_for_write': tty.c:543:31: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ tty.c:543:5: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- poll.o --- poll.c: In function 'check4poll': poll.c:193:37: warning: variable 'hexaddr' set but not used [-Wunused-but-set-variable] static unsigned char newbuf[8], hexaddr = 0; ^~~~~~~ poll.c:139:19: warning: variable 'fdata' set but not used [-Wunused-but-set-variable] int temperat, fdata; ^~~~~ --- cmd.o --- cmd.c: In function 'direct_command': cmd.c:2309:48: warning: variable 'timeout' set but not used [-Wunused-but-set-variable] int dimval, dimcode, fullbright, timeout; ^~~~~~~ --- config.o --- config.c: In function 'config_dump_category': config.c:4947:13: warning: variable 'igntable' set but not used [-Wunused-but-set-variable] IGNLIST *igntable; ^~~~~~~~ config.c: In function 'webhook_config_dump': config.c:5017:11: warning: variable 'mtable' set but not used [-Wunused-but-set-variable] MULTI *mtable; ^~~~~~ --- cmd.o --- cmd.c: In function 'c_restart': cmd.c:5734:10: warning: variable 'ignoretp' set but not used [-Wunused-but-set-variable] char *ignoretp; ^~~~~~~~ cmd.c: In function 'restore_groups': cmd.c:6000:24: warning: variable 'xgrc' set but not used [-Wunused-but-set-variable] int unit, xgrc; ^~~~ cmd.c:5996:25: warning: variable 'lastgroup' set but not used [-Wunused-but-set-variable] int group, lastgroup; ^~~~~~~~~ --- config.o --- config.c: In function 'set_format': config.c:4753:4: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] strncpy(sp, "..", 2); ^~~~~~~~~~~~~~~~~~~~ --- cmd.o --- cmd.c: In function 'c_command': cmd.c:5285:11: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] strncpy(sp, "; ", 2); ^~~~~~~~~~~~~~~~~~~~ --- modules.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c modules.c --- cm17a.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c cm17a.c cm17a.c: In function 'display_rf_xmit': cm17a.c:423:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ --- xsync.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c xsync.c xsync.c: In function 'wait_external_trigger': xsync.c:136:19: warning: variable 'retcode' set but not used [-Wunused-but-set-variable] int j, status, retcode, jmax = 20; ^~~~~~~ --- timing.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c timing.c --- cm10a.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c cm10a.c cm10a.c: In function 'c_cm10a_init': cm10a.c:305:9: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ --- tty_aux.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c tty_aux.c --- modules.o --- modules.c: In function 'display_module_options': modules.c:610:33: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] sprintf(keystr, "%d", k + 1); ^~ modules.c:610:32: note: directive argument in the range [-2147483646, 2147483647] sprintf(keystr, "%d", k + 1); ^~~~ modules.c:610:16: note: 'sprintf' output between 2 and 12 bytes into a destination of size 4 sprintf(keystr, "%d", k + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- relay_aux.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c relay_aux.c --- x10aux.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c x10aux.c --- relay_aux.o --- relay_aux.c: In function 'aux_shutdown_port': relay_aux.c:180:25: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ( configp->ttyaux != '\0' ) { ^~ relay_aux.c:180:9: note: did you mean to dereference the pointer? if ( configp->ttyaux != '\0' ) { ^ relay_aux.c: In function 'c_start_aux': relay_aux.c:266:8: warning: variable 'is_idle' set but not used [-Wunused-but-set-variable] int is_idle; ^~~~~~~ relay_aux.c:265:10: warning: variable 'was_locked' set but not used [-Wunused-but-set-variable] PID_T was_locked; ^~~~~~~~~~ relay_aux.c:254:8: warning: variable 'first_byte' set but not used [-Wunused-but-set-variable] int first_byte; ^~~~~~~~~~ relay_aux.c:253:8: warning: variable 'in_sync' set but not used [-Wunused-but-set-variable] int in_sync; ^~~~~~~ --- x10aux.o --- x10aux.c: In function 'rfxcom_version': x10aux.c:176:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10aux.c: In function 'configure_rfxcom': x10aux.c:228:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10aux.c: In function 'display_aux_message': x10aux.c:440:10: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10aux.c: In function 'forward_variable_aux_data': x10aux.c:492:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10aux.c: In function 'forward_standard_aux_data': x10aux.c:534:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10aux.c: In function 'send_virtual_aux_data': x10aux.c:566:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10aux.c: In function 'send_virtual_cmd_data': x10aux.c:603:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10aux.c: In function 'forward_aux_longdata': x10aux.c:635:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10aux.c: In function 'forward_gen_longdata': x10aux.c:679:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10aux.c: In function 'aux_w800': x10aux.c:965:49: warning: variable 'addr' set but not used [-Wunused-but-set-variable] unsigned char hcode, ucode, fcode, rfflood, addr; ^~~~ --- relay_aux.o --- relay_aux.c: In function 'aux_shutdown_port': relay_aux.c:177:28: warning: '%s' directive writing up to 127 bytes into a region of size 120 [-Wformat-overflow=] sprintf(filename, "%s%s", AUXFILE, saved_suffix); ^~ ~~~~~~~~~~~~ relay_aux.c:177:7: note: 'sprintf' output between 9 and 136 bytes into a destination of size 128 sprintf(filename, "%s%s", AUXFILE, saved_suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay_aux.c:182:28: warning: '%s' directive writing up to 127 bytes into a region of size 120 [-Wformat-overflow=] sprintf(filename, "%s%s", AUXFILE, configp->suffixaux); ^~ relay_aux.c:182:7: note: 'sprintf' output between 9 and 136 bytes into a destination of size 128 sprintf(filename, "%s%s", AUXFILE, configp->suffixaux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- x10aux.o --- x10aux.c: In function 'aux_rfxcomvl': x10aux.c:1738:56: warning: variable 'addr' set but not used [-Wunused-but-set-variable] unsigned char hcode, ucode, fcode, rfflood, nbits, addr, xmtr, rcvr; ^~~~ x10aux.c: In function 'verify_w800': x10aux.c:2345:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ --- relay_aux.o --- relay_aux.c: In function 'aux_local_setup': relay_aux.c:214:31: warning: '%s' directive writing up to 127 bytes into a region of size 120 [-Wformat-overflow=] sprintf(auxfilename, "%s%s", AUXFILE, configp->suffixaux); ^~ relay_aux.c:214:7: note: 'sprintf' output between 9 and 136 bytes into a destination of size 128 sprintf(auxfilename, "%s%s", AUXFILE, configp->suffixaux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay_aux.c: In function 'c_start_aux': relay_aux.c:280:30: warning: '%s' directive writing up to 127 bytes into a region of size 120 [-Wformat-overflow=] sprintf(spoolfilename, "%s%s", SPOOLFILE, configp->suffix); ^~ relay_aux.c:280:4: note: 'sprintf' output between 9 and 136 bytes into a destination of size 128 sprintf(spoolfilename, "%s%s", SPOOLFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay_aux.c:281:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(relayfilename, "%s%s", RELAYFILE, configp->suffix); ^~ relay_aux.c:281:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(relayfilename, "%s%s", RELAYFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay_aux.c:282:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ relay_aux.c:282:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay_aux.c:283:30: warning: '%s' directive writing up to 127 bytes into a region of size 120 [-Wformat-overflow=] sprintf(auxfilename, "%s%s", AUXFILE, configp->suffixaux); ^~ relay_aux.c:283:4: note: 'sprintf' output between 9 and 136 bytes into a destination of size 128 sprintf(auxfilename, "%s%s", AUXFILE, configp->suffixaux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay_aux.c: In function 'check_for_aux': relay_aux.c:395:33: warning: '%s' directive writing up to 127 bytes into a region of size 99 [-Wformat-overflow=] sprintf(lockpath, "%s/LCK..%s%s", LOCKDIR, AUXFILE, configp->suffixaux); ^~ relay_aux.c:395:4: note: 'sprintf' output between 30 and 157 bytes into a destination of size 128 sprintf(lockpath, "%s/LCK..%s%s", LOCKDIR, AUXFILE, configp->suffixaux); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- rfxcom.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c rfxcom.c rfxcom.c: In function 'send_rfxtype_message': rfxcom.c:77:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ rfxcom.c: In function 'send_rfxsensor_ident': rfxcom.c:126:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ rfxcom.c: In function 'c_rfxcmds': rfxcom.c:422:22: warning: variable 'unit' set but not used [-Wunused-but-set-variable] int j, unit, index, panelid; ^~~~ --- x10aux.o --- x10aux.c: In function 'display_aux_message': x10aux.c:451:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ x10aux.c:451:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- rfxcom.o --- rfxcom.c: In function 'x10state_update_rfxsensor': rfxcom.c:879:29: warning: variable 'gfuncmap' set but not used [-Wunused-but-set-variable] unsigned long afuncmap, gfuncmap, xfuncmap; ^~~~~~~~ rfxcom.c:879:19: warning: variable 'afuncmap' set but not used [-Wunused-but-set-variable] unsigned long afuncmap, gfuncmap, xfuncmap; ^~~~~~~~ rfxcom.c:874:28: warning: variable 'genfunc' set but not used [-Wunused-but-set-variable] unsigned char actfunc, genfunc, xactfunc; ^~~~~~~ rfxcom.c:874:19: warning: variable 'actfunc' set but not used [-Wunused-but-set-variable] unsigned char actfunc, genfunc, xactfunc; ^~~~~~~ rfxcom.c: In function 'x10state_update_rfxmeter': rfxcom.c:1094:29: warning: variable 'gfuncmap' set but not used [-Wunused-but-set-variable] unsigned long afuncmap, gfuncmap, xfuncmap; ^~~~~~~~ rfxcom.c:1094:19: warning: variable 'afuncmap' set but not used [-Wunused-but-set-variable] unsigned long afuncmap, gfuncmap, xfuncmap; ^~~~~~~~ rfxcom.c:1090:28: warning: variable 'genfunc' set but not used [-Wunused-but-set-variable] unsigned char actfunc, genfunc, xactfunc; ^~~~~~~ rfxcom.c:1090:19: warning: variable 'actfunc' set but not used [-Wunused-but-set-variable] unsigned char actfunc, genfunc, xactfunc; ^~~~~~~ --- x10aux.o --- x10aux.c: In function 'forward_variable_aux_data': x10aux.c:498:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ x10aux.c:498:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- rfxcom.o --- rfxcom.c: In function 'translate_rfxmeter': rfxcom.c:1618:40: warning: variable 'seq' set but not used [-Wunused-but-set-variable] unsigned char func, *vdatap, vtype, seq; ^~~ rfxcom.c: In function 'translate_kaku': rfxcom.c:1848:19: warning: variable 'sublabel' set but not used [-Wunused-but-set-variable] char *sublabel; ^~~~~~~~ rfxcom.c:1846:31: warning: variable 'actfunc' set but not used [-Wunused-but-set-variable] int nbits, func, actfunc, kactfunc; ^~~~~~~ rfxcom.c:1835:26: warning: variable 'afuncmap' set but not used [-Wunused-but-set-variable] unsigned int bitmap, afuncmap; ^~~~~~~~ --- x10aux.o --- x10aux.c: In function 'forward_standard_aux_data': x10aux.c:540:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ x10aux.c:540:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10aux.c: In function 'send_virtual_aux_data': x10aux.c:572:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ x10aux.c:572:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10aux.c: In function 'forward_aux_longdata': x10aux.c:641:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ x10aux.c:641:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10aux.c: In function 'forward_gen_longdata': x10aux.c:690:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ x10aux.c:690:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10aux.c: In function 'transceive_std': x10aux.c:780:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ x10aux.c:780:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- rfxcom.o --- rfxcom.c: In function 'send_rfxtype_message': rfxcom.c:84:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ rfxcom.c:84:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- config.o --- config.c: In function 'create_file_paths': config.c:4359:40: warning: '%s' directive writing up to 127 bytes into a region of size 96 [-Wformat-overflow=] sprintf(enginelockfile, "%s/LCK..%s%s", LOCKDIR, STATE_LOCKFILE, configp->suffix); ^~ config.c:4359:5: note: 'sprintf' output between 33 and 160 bytes into a destination of size 128 sprintf(enginelockfile, "%s/LCK..%s%s", LOCKDIR, STATE_LOCKFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- digimax.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c digimax.c digimax.c: In function 'translate_digimax': digimax.c:98:19: warning: variable 'afuncmap' set but not used [-Wunused-but-set-variable] unsigned long afuncmap, xfuncmap; ^~~~~~~~ digimax.c:94:19: warning: variable 'actfunc' set but not used [-Wunused-but-set-variable] unsigned char actfunc, xactfunc; ^~~~~~~ digimax.c: In function 'show_digimax': digimax.c:424:32: warning: variable 'status' set but not used [-Wunused-but-set-variable] unsigned char hcode, ucode, status, onoff; ^~~~~~ digimax.c:424:18: warning: variable 'hcode' set but not used [-Wunused-but-set-variable] unsigned char hcode, ucode, status, onoff; ^~~~~ digimax.c: In function 'c_dmxcmds': digimax.c:501:19: warning: variable 'hcode' set but not used [-Wunused-but-set-variable] unsigned char hcode, ucode, mode; ^~~~~ --- config.o --- config.c: In function 'parse_config_tail': config.c:912:49: warning: '%s' directive writing up to 127 bytes into a region of size 61 [-Wformat-overflow=] sprintf(errbuffer, "Invalid Directive '%s'", directive); ^~ ~~~~~~~~~ config.c:912:10: note: 'sprintf' output between 21 and 148 bytes into a destination of size 80 sprintf(errbuffer, "Invalid Directive '%s'", directive); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:922:25: warning: '%s' directive writing up to 127 bytes into a region of size 69 [-Wformat-overflow=] "Directive '%s' appears more than once in the file", searchstr); ^~ ~~~~~~~~~ config.c:921:10: note: 'sprintf' output between 48 and 175 bytes into a destination of size 80 sprintf(errbuffer, ^~~~~~~~~~~~~~~~~~ "Directive '%s' appears more than once in the file", searchstr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:945:27: warning: '%s' directive writing up to 127 bytes into a region of size 70 [-Wformat-overflow=] "Directive %s is obsolete and is being ignored.", searchstr); ^~ ~~~~~~~~~ config.c:944:13: note: 'sprintf' output between 45 and 172 bytes into a destination of size 80 sprintf(errbuffer, ^~~~~~~~~~~~~~~~~~ "Directive %s is obsolete and is being ignored.", searchstr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- digimax.o --- digimax.c: In function 'translate_digimax': digimax.c:205:64: warning: '%s' directive writing up to 32 bytes into a region of size between 10 and 123 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d Temp %dC %s %s(%s)", ^~ digimax.c:205:10: note: 'sprintf' output 39 or more bytes (assuming 184) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d Temp %dC %s %s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, tempc, flagslist, unknown, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- oregon.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c oregon.c oregon.c: In function 'translate_oregon': oregon.c:609:25: warning: variable 'extra' set but not used [-Wunused-but-set-variable] unsigned char extra; ^~~~~ oregon.c:596:25: warning: variable 'batchange' set but not used [-Wunused-but-set-variable] static unsigned char batchange; ^~~~~~~~~ oregon.c:583:19: warning: variable 'afuncmap' set but not used [-Wunused-but-set-variable] unsigned long afuncmap, ofuncmap; ^~~~~~~~ oregon.c:580:19: warning: variable 'actfunc' set but not used [-Wunused-but-set-variable] unsigned char actfunc, oactfunc; ^~~~~~~ oregon.c: In function 'translate_ore_emu': oregon.c:2099:18: warning: variable 'prevdata' set but not used [-Wunused-but-set-variable] unsigned long prevdata, lastchdata; ^~~~~~~~ oregon.c:2092:19: warning: variable 'afuncmap' set but not used [-Wunused-but-set-variable] unsigned long afuncmap, ofuncmap; ^~~~~~~~ oregon.c:2089:19: warning: variable 'actfunc' set but not used [-Wunused-but-set-variable] unsigned char actfunc, oactfunc; ^~~~~~~ oregon.c: In function 'show_oregon': oregon.c:2393:19: warning: variable 'hcode' set but not used [-Wunused-but-set-variable] unsigned char hcode, ucode, func; ^~~~~ oregon.c: In function 'c_orecmds': oregon.c:2648:19: warning: variable 'hcode' set but not used [-Wunused-but-set-variable] unsigned char hcode, ucode, func; ^~~~~ oregon.c: In function 'send_ore_emu': oregon.c:2841:9: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ oregon.c: In function 'translate_oregon': oregon.c:1435:29: warning: '%s' directive writing up to 79 bytes into a region of size between 50 and 128 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sBP "FMT_OREBP"%s %s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1437:35: fcast_txt, batstr, flagslist, aliasp[index].label); ~~~~~~~~~ oregon.c:1435:75: note: format string is defined here sprintf(outbuf, "func %12s : hu %c%-2d %sBP "FMT_OREBP"%s %s%s%s(%s)", ^~ oregon.c:1435:13: note: 'sprintf' output 35 or more bytes (assuming 224) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sBP "FMT_OREBP"%s %s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, dbaro, configp->ore_bpunits, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fcast_txt, batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1392:67: warning: '%s' directive writing up to 32 bytes into a region of size between 7 and 126 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sRH %d%% %s%s(%s)", ^~ oregon.c:1392:13: note: 'sprintf' output 36 or more bytes (assuming 187) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sRH %d%% %s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, humid, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1361:29: warning: '%s' directive writing up to 32 bytes into a region of size between 5 and 122 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sTemp "FMT_ORET"%c %s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1361:77: note: format string is defined here sprintf(outbuf, "func %12s : hu %c%-2d %sTemp "FMT_ORET"%c %s%s(%s)", ^~ oregon.c:1361:13: note: 'sprintf' output 40 or more bytes (assuming 189) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sTemp "FMT_ORET"%c %s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, temp, configp->ore_tscale, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1516:26: warning: '%s' directive writing up to 79 bytes into a region of size between 56 and 125 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sWgt "FMT_OREWGT"%s %s%s(%s) ub = 0x%04lx", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1518:21: batstr, flagslist, aliasp[index].label, uknbytes); ~~~~~~~~~ oregon.c:1516:72: note: format string is defined here sprintf(outbuf, "func %12s : hu %c%-2d %sWgt "FMT_OREWGT"%s %s%s(%s) ub = 0x%04lx", ^~ oregon.c:1516:26: note: directive argument in the range [0, 65535] sprintf(outbuf, "func %12s : hu %c%-2d %sWgt "FMT_OREWGT"%s %s%s(%s) ub = 0x%04lx", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1516:10: note: 'sprintf' output 50 or more bytes (assuming 230) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sWgt "FMT_OREWGT"%s %s%s(%s) ub = 0x%04lx", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, weight, configp->ore_wgtunits, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ batstr, flagslist, aliasp[index].label, uknbytes); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1749:74: warning: '%s' directive writing up to 79 bytes into a region of size between 32 and 116 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sEnergy %.4f%s %s%s%s%s(%s)", ^~ oregon.c:1752:44: rawstring, cntrstr, batstr, flagslist, aliasp[index].label); ~~~~~~~~~ oregon.c:1749:13: note: 'sprintf' output 47 or more bytes (assuming 242) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sEnergy %.4f%s %s%s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((double)energyll / 10000.0 * OWLESC * configp->owl_calib_energy * (configp->owl_voltage / OWLVREF)), "kWh", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawstring, cntrstr, batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1675:73: warning: '%s' directive writing up to 79 bytes into a region of size between 35 and 119 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sPower %.3f%s %s%s%s%s(%s)", ^~ oregon.c:1678:44: rawstring, cntrstr, batstr, flagslist, aliasp[index].label); ~~~~~~~~~ oregon.c:1675:13: note: 'sprintf' output 44 or more bytes (assuming 239) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sPower %.3f%s %s%s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((double)power / 1000.0 * OWLPSC * configp->owl_calib_power * (configp->owl_voltage / OWLVREF)), "kW", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawstring, cntrstr, batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1585:67: warning: '%s' directive writing up to 32 bytes into a region of size between 5 and 122 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sCurr %.1fA %s%s(%s)", ^~ oregon.c:1585:10: note: 'sprintf' output 40 or more bytes (assuming 189) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sCurr %.1fA %s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, (double)deciamps/10.0, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pwrstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1256:68: warning: '%s' directive writing up to 79 bytes into a region of size between 50 and 121 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sUV Factor %d%s %s%s(%s)", ^~ oregon.c:1258:13: flagslist, aliasp[index].label); ~~~~~~~~~ oregon.c:1256:10: note: 'sprintf' output 42 or more bytes (assuming 224) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sUV Factor %d%s %s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, uvfactor, rawstring, batstr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:853:62: warning: '%s' directive writing up to 79 bytes into a region of size between 60 and 129 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sDir %s%s%s(%s)", ^~ oregon.c:855:24: batstr, flagslist, aliasp[index].label); ~~~~~~~~~ oregon.c:853:13: note: 'sprintf' output 34 or more bytes (assuming 214) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sDir %s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, minibuf, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:794:73: warning: '%s' directive writing up to 79 bytes into a region of size between 8 and 123 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sSpeed %.1f%s%s %s%s%s(%s)", ^~ oregon.c:797:43: bftstr, rawstring, batstr, flagslist, aliasp[index].label); ~~~~~~~~~ oregon.c:794:13: note: 'sprintf' output 40 or more bytes (assuming 266) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sSpeed %.1f%s%s %s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((double)dspeed / 10.0) * configp->ore_windscale, configp->ore_windunits, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bftstr, rawstring, batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:756:75: warning: '%s' directive writing up to 79 bytes into a region of size between 6 and 121 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sAvSpeed %.1f%s%s %s%s%s(%s)", ^~ oregon.c:758:43: bftstr, rawstring, batstr, flagslist, aliasp[index].label); ~~~~~~~~~ oregon.c:756:13: note: 'sprintf' output 42 or more bytes (assuming 268) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sAvSpeed %.1f%s%s %s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, ((double)davspeed / 10.0) * configp->ore_windscale, configp->ore_windunits, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bftstr, rawstring, batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1021:29: warning: '%s' directive writing up to 31 bytes into a region of size between 20 and 120 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sTotRain "FMT_ORERTOT"%s %s%s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:1023:36: rawstring, flipstr, batstr, flagslist, aliasp[index].label); ~~~~~~ oregon.c:1021:82: note: format string is defined here sprintf(outbuf, "func %12s : hu %c%-2d %sTotRain "FMT_ORERTOT"%s %s%s%s%s(%s)", ^~ oregon.c:1021:13: note: 'sprintf' output 43 or more bytes (assuming 285) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sTotRain "FMT_ORERTOT"%s %s%s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, ((double)train / 1000.0) * configp->ore_raintotscale, unitstring, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawstring, flipstr, batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:958:29: warning: '%s' directive writing up to 31 bytes into a region of size between 23 and 123 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sRate "FMT_ORERRATE"%s %s%s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:960:36: rawstring, flipstr, batstr, flagslist, aliasp[index].label); ~~~~~~ oregon.c:958:80: note: format string is defined here sprintf(outbuf, "func %12s : hu %c%-2d %sRate "FMT_ORERRATE"%s %s%s%s%s(%s)", ^~ oregon.c:958:13: note: 'sprintf' output 40 or more bytes (assuming 282) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sRate "FMT_ORERRATE"%s %s%s%s%s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, ((double)drain / 1000.0) * configp->ore_rainratescale, unitstring, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawstring, flipstr, batstr, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- info.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c info.c --- cmd.o --- cmd.c: In function 'direct_command': cmd.c:3039:37: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ cmd.c:3039:11: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:2971:37: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ cmd.c:2971:11: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:3073:37: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ cmd.c:3073:11: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- info.o --- info.c: In function 'c_info': info.c:91:37: warning: '%s' directive writing up to 127 bytes into a region of size 97 [-Wformat-overflow=] "No response from the CM11A on %s\nProgram exiting.", ^~ info.c:90:3: note: 'sprintf' output between 48 and 175 bytes into a destination of size 127 sprintf(error_msg, ^~~~~~~~~~~~~~~~~~ "No response from the CM11A on %s\nProgram exiting.", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configp->tty); ~~~~~~~~~~~~~ info.c: In function 'c_readclock': info.c:185:37: warning: '%s' directive writing up to 127 bytes into a region of size 97 [-Wformat-overflow=] "No response from the CM11A on %s\nProgram exiting.", ^~ info.c:184:3: note: 'sprintf' output between 48 and 175 bytes into a destination of size 127 sprintf(error_msg, ^~~~~~~~~~~~~~~~~~ "No response from the CM11A on %s\nProgram exiting.", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configp->tty); ~~~~~~~~~~~~~ --- x10state.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c x10state.c x10state.c: In function 'send_pfail_msg': x10state.c:1302:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'send_launch_request': x10state.c:1413:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'send_showbuffer': x10state.c:1431:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'send_virtual_data': x10state.c:1473:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'send_sptty_x10state_command': x10state.c:1497:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret = 0; ^~~~~~~ x10state.c: In function 'send_initstate_command': x10state.c:1528:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret = 0; ^~~~~~~ x10state.c: In function 'display_x10state_message': x10state.c:1570:10: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'c_sendarbst': x10state.c:1655:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'x10state_update_func': x10state.c:2409:51: warning: variable 'applmask' set but not used [-Wunused-but-set-variable] unsigned int resumask, fullmask, fulloffmask, applmask, bbdimask, ext3dimask, lofmask, ext0mask; ^~~~~~~~ x10state.c:2409:38: warning: variable 'fulloffmask' set but not used [-Wunused-but-set-variable] unsigned int resumask, fullmask, fulloffmask, applmask, bbdimask, ext3dimask, lofmask, ext0mask; ^~~~~~~~~~~ --- oregon.o --- oregon.c: In function 'translate_ore_emu': oregon.c:2247:26: warning: '%s' directive writing up to 32 bytes into a region of size between 1 and 127 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %sBP "FMT_OREBP"%s %s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oregon.c:2247:71: note: format string is defined here sprintf(outbuf, "func %12s : hu %c%-2d %sBP "FMT_OREBP"%s %s(%s)", ^~ oregon.c:2247:10: note: 'sprintf' output 35 or more bytes (assuming 193) into a destination of size 160 sprintf(outbuf, "func %12s : hu %c%-2d %sBP "FMT_OREBP"%s %s(%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, chstr, dbaro, configp->ore_bpunits, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- x10state.o --- x10state.c: In function 'x10state_update_ext3func': x10state.c:2964:27: warning: variable 'dimstate' set but not used [-Wunused-but-set-variable] unsigned int onstate, dimstate, changestate, startupstate; ^~~~~~~~ x10state.c:2964:18: warning: variable 'onstate' set but not used [-Wunused-but-set-variable] unsigned int onstate, dimstate, changestate, startupstate; ^~~~~~~ x10state.c: In function 'x10state_update_ext0func': x10state.c:3471:61: warning: variable 'limit' set but not used [-Wunused-but-set-variable] unsigned char hcode, func, xfunc, ucode, subunit, level, limit; ^~~~~ x10state.c: In function 'x10state_update_virtual': x10state.c:3828:32: warning: variable 'xfunc' set but not used [-Wunused-but-set-variable] unsigned char hcode, func, xfunc, ucode, vdata, vtype, hibyte, lobyte; ^~~~~ x10state.c: In function 'x10state_update_duskdawn': x10state.c:4095:19: warning: variable 'hc' set but not used [-Wunused-but-set-variable] char hc; ^~ x10state.c:4090:63: warning: variable 'vflags' set but not used [-Wunused-but-set-variable] unsigned int bitmap, trigaddr, mask, active, trigactive, vflags; ^~~~~~ x10state.c: In function 'show_launcher': x10state.c:5016:18: warning: variable 'bmaptrigemu' set but not used [-Wunused-but-set-variable] unsigned int bmaptrigemu; ^~~~~~~~~~~ --- config.o --- config.c: In function 'finalize_config': config.c:3676:34: warning: '%s' directive writing up to 127 bytes into a region of size 70 [-Wformat-overflow=] sprintf(errmsg, "Log file '%s' is not writable - check permissions.", ^~ config.c:3676:7: note: 'sprintf' output between 49 and 176 bytes into a destination of size 80 sprintf(errmsg, "Log file '%s' is not writable - check permissions.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configp->logfile); ~~~~~~~~~~~~~~~~~ config.c:3684:36: warning: '%s' directive writing up to 127 bytes into a region of size 68 [-Wformat-overflow=] sprintf(errmsg, "State file '%s' is not writable - check permissions.", ^~ statefile); ~~~~~~~~~ config.c:3684:7: note: 'sprintf' output between 51 and 178 bytes into a destination of size 80 sprintf(errmsg, "State file '%s' is not writable - check permissions.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ statefile); ~~~~~~~~~~ config.c:3617:7: warning: 'strncat' accessing 1 byte at offsets 360 and 232 may overlap 1 byte at offset 360 [-Wrestrict] strncat(configp->suffix, configp->tty, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(config.suffix) - 1 - strlen(configp->suffix)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:3628:10: warning: 'strncat' accessing 1 byte at offsets 682 and 488 may overlap 1 byte at offset 682 [-Wrestrict] strncat(configp->suffixaux, configp->ttyaux, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(config.suffixaux) - 1 - strlen(configp->suffixaux)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:3661:7: warning: 'strncat' accessing 1 byte at offsets 1212 and 360 may overlap 1 byte at offset 1212 [-Wrestrict] strncat(configp->logfile, configp->suffix, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(config.logfile) - 1 - strlen(configp->logfile)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- x10state.o --- x10state.c: In function 'translate_sent': x10state.c:6316:44: warning: variable 'subunit' set but not used [-Wunused-but-set-variable] unsigned char hcode, func, level, unit, subunit, chksum; ^~~~~~~ x10state.c: In function 'create_normal_launcher': x10state.c:10541:26: warning: variable 'generic' set but not used [-Wunused-but-set-variable] unsigned char actual, generic, signal, module, address; ^~~~~~~ x10state.c:10541:18: warning: variable 'actual' set but not used [-Wunused-but-set-variable] unsigned char actual, generic, signal, module, address; ^~~~~~ x10state.c:10540:18: warning: variable 'hcode' set but not used [-Wunused-but-set-variable] unsigned char hcode, change; ^~~~~ x10state.c: In function 'send_long_flag_update': x10state.c:11943:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'send_flag_update': x10state.c:11968:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'send_clear_statusflags': x10state.c:11990:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'send_settimer_msg': x10state.c:12326:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ x10state.c: In function 'sensor_elapsed_func': x10state.c:12597:19: warning: variable 'afuncmap' set but not used [-Wunused-but-set-variable] unsigned long afuncmap = 0, gfuncmap = 0, sfuncmap = 0; ^~~~~~~~ x10state.c:12595:32: warning: variable 'startupstate' set but not used [-Wunused-but-set-variable] unsigned int changestate, startupstate; ^~~~~~~~~~~~ x10state.c:12592:32: warning: variable 'ucode' set but not used [-Wunused-but-set-variable] unsigned char hcode, func, ucode, vdata; ^~~~~ x10state.c: In function 'show_extended_groups': x10state.c:13457:32: warning: variable 'relmask' set but not used [-Wunused-but-set-variable] unsigned int bitmap, mask, relmask; ^~~~~~~ x10state.c: In function 'translate_counter_action': x10state.c:13655:15: warning: variable 'count' set but not used [-Wunused-but-set-variable] int index, count, mode; ^~~~~ x10state.c: In function 'send_setcounter_msg': x10state.c:13676:8: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ --- config.o --- config.c: In function 'webhook_helpinfo': config.c:5196:31: warning: '%s' directive writing up to 32 bytes into a region of size between 16 and 80 [-Wformat-overflow=] sprintf(outformat, "%s%s%s\n", hooks.label_format, hooks.mult_format, hooks.body_format); ^~ ~~~~~~~~~~~~~~~~~ config.c:5196:7: note: 'sprintf' output between 2 and 98 bytes into a destination of size 80 sprintf(outformat, "%s%s%s\n", hooks.label_format, hooks.mult_format, hooks.body_format); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- x10.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c x10.c x10.c: In function 'main': x10.c:500:34: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ x10.c:500:8: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- oregon.o --- oregon.c: In function 'send_ore_emu': oregon.c:2847:30: warning: '%s' directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=] sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~ oregon.c:2847:4: note: 'sprintf' output between 11 and 138 bytes into a destination of size 128 sprintf(writefilename, "%s%s", WRITEFILE, configp->suffix); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- process.o --- cc -pipe -O2 -fno-strict-aliasing -g -O -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" -DHASCM17A -DHASEXT0 -DHASRFXS -DHASRFXM -DHASDMX -DHASORE -DHASKAKU -Wall -c process.c process.c: In function 'calendar_today': process.c:1831:24: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] struct tm tmstr, *tmp, *tms; ^~~ process.c: In function 'resolve_sun_times': process.c:6353:18: warning: variable 'dawnerr' set but not used [-Wunused-but-set-variable] int dawnerr, duskerr, error; ^~~~~~~ process.c:6352:31: warning: variable 'day' set but not used [-Wunused-but-set-variable] int year, month, day, yday; ^~~ process.c:6352:24: warning: variable 'month' set but not used [-Wunused-but-set-variable] int year, month, day, yday; ^~~~~ process.c:6352:18: warning: variable 'year' set but not used [-Wunused-but-set-variable] int year, month, day, yday; ^~~~ process.c: In function 'display_events': process.c:8560:28: warning: variable 'endday' set but not used [-Wunused-but-set-variable] int createday, endday, lostday; ^~~~~~ process.c:8560:17: warning: variable 'createday' set but not used [-Wunused-but-set-variable] int createday, endday, lostday; ^~~~~~~~~ process.c: In function 'final_report': process.c:9640:28: warning: variable 'current' set but not used [-Wunused-but-set-variable] int original, current; ^~~~~~~ process.c:9640:18: warning: variable 'original' set but not used [-Wunused-but-set-variable] int original, current; ^~~~~~~~ process.c: In function 'find_heyu_path': process.c:9773:11: warning: variable 'ignoret' set but not used [-Wunused-but-set-variable] int ignoret; ^~~~~~~ --- x10state.o --- x10state.c: In function 'translate_virtual': x10state.c:6228:64: warning: '%s' directive writing up to 32 bytes into a region of size between 24 and 84 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d Temp2 %s%c (%s)", ^~ x10state.c:6228:13: note: 'sprintf' output 38 or more bytes (assuming 130) into a destination of size 120 sprintf(outbuf, "func %12s : hu %c%-2d Temp2 %s%c (%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, valbuf, configp->rfx_tscale, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10state.c:6223:59: warning: '%s' directive writing up to 31 bytes into a region of size between 28 and 88 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d Vad %s %s (%s)", ^~ x10state.c:6223:13: note: 'sprintf' output 36 or more bytes (assuming 159) into a destination of size 120 sprintf(outbuf, "func %12s : hu %c%-2d Vad %s %s (%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, valbuf, configp->rfx_vadunits, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10state.c:6203:61: warning: '%s' directive writing up to 31 bytes into a region of size between 29 and 89 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d BP %s %s (%s)", ^~ x10state.c:6203:16: note: 'sprintf' output 35 or more bytes (assuming 158) into a destination of size 120 sprintf(outbuf, "func %12s : hu %c%-2d BP %s %s (%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, valbuf, configp->rfx_bpunits, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10state.c:6192:64: warning: '%s' directive writing up to 32 bytes into a region of size between 27 and 87 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d RH %s%% (%s)", ^~ x10state.c:6192:16: note: 'sprintf' output 35 or more bytes (assuming 127) into a destination of size 120 sprintf(outbuf, "func %12s : hu %c%-2d RH %s%% (%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, valbuf, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10state.c:6181:60: warning: '%s' directive writing up to 32 bytes into a region of size between 25 and 85 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d Temp %s%c (%s)", ^~ x10state.c:6181:10: note: 'sprintf' output 37 or more bytes (assuming 129) into a destination of size 120 sprintf(outbuf, "func %12s : hu %c%-2d Temp %s%c (%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, valbuf, configp->rfx_tscale, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10state.c:6060:56: warning: '%s' directive writing up to 32 bytes into a region of size between 11 and 91 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d %s (%s)", ^~ x10state.c:6060:13: note: 'sprintf' output 31 or more bytes (assuming 143) into a destination of size 120 sprintf(outbuf, "func %12s : hu %c%-2d %s (%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x10state.c:6056:69: warning: '%s' directive writing up to 32 bytes into a region of size between 0 and 80 [-Wformat-overflow=] sprintf(outbuf, "func %12s : hu %c%-2d vdata 0x%02x %s (%s)", ^~ x10state.c:6056:13: note: 'sprintf' output 42 or more bytes (assuming 154) into a destination of size 120 sprintf(outbuf, "func %12s : hu %c%-2d vdata 0x%02x %s (%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ funclabel[func], hc, unit, vdata, flagslist, aliasp[index].label); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- process.o --- process.c:9859:36: warning: '%s' directive writing up to 127 bytes into a region of size 108 [-Wformat-overflow=] (void)sprintf(heyu_path, "%s/%s", SYSBASEDIR, subdir); ^~ ~~~~~~ process.c:9859:13: note: 'sprintf' output between 21 and 148 bytes into a destination of size 128 (void)sprintf(heyu_path, "%s/%s", SYSBASEDIR, subdir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- heyu --- cc -o heyu date.o erase.o info.o message.o relay.o monitor.o reset.o setclock.o stop.o tty.o x10.o xread.o xwrite.o status.o cm11a.o eeprom.o process.o sun.o cmd.o config.o x10state.o poll.o modules.o cm17a.o xsync.o timing.o cm10a.o tty_aux.o relay_aux.o x10aux.o rfxcom.o digimax.o oregon.o -lm -lc ** Now become root and run 'make install' ** -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for heyu2-2.10_1 ===> Generating temporary packing list install -s -m 555 /construction/misc/heyu2/heyu-2.10/heyu /construction/misc/heyu2/stage/usr/local/bin /bin/mkdir -p /construction/misc/heyu2/stage/usr/local/share/examples/heyu2 install -m 0644 /construction/misc/heyu2/heyu-2.10/heyu.1 /construction/misc/heyu2/stage/usr/local/man/man1 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10aux.5 /construction/misc/heyu2/stage/usr/local/man/man5 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10config.5 /construction/misc/heyu2/stage/usr/local/man/man5 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10cm17a.5 /construction/misc/heyu2/stage/usr/local/man/man5 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10digimax.5 /construction/misc/heyu2/stage/usr/local/man/man5 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10oregon.5 /construction/misc/heyu2/stage/usr/local/man/man5 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10sched.5 /construction/misc/heyu2/stage/usr/local/man/man5 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10scripts.5 /construction/misc/heyu2/stage/usr/local/man/man5 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10rfxmeters.5 /construction/misc/heyu2/stage/usr/local/man/man5 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10rfxsensors.5 /construction/misc/heyu2/stage/usr/local/man/man5 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10config.sample /construction/misc/heyu2/stage/usr/local/share/examples/heyu2 install -m 0644 /construction/misc/heyu2/heyu-2.10/x10.sched.sample /construction/misc/heyu2/stage/usr/local/share/examples/heyu2 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for heyu2-2.10_1 file sizes/checksums [13]: . done packing files [13]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 00:33:42 UTC Duration: 00:00:17