=>> Building sysutils/openupsd build started at Tue May 6 01:58:58 EDT 2025 port directory: /usr/ports/sysutils/openupsd package name: openupsd-0.3.1_1 building for: FreeBSD 13amd64-weekly-desktop-job-04 13.4-RELEASE-p4 FreeBSD 13.4-RELEASE-p4 amd64 maintained by: tdb@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 561 Feb 24 2024 /usr/ports/sysutils/openupsd/Makefile Ports top last git commit: 57a50b106b87 Ports top unclean checkout: yes Port dir last git commit: d9c7e0b18ad0 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1304000 Job Id: 04 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1304000 UNAME_v=FreeBSD 13.4-RELEASE-p4 UNAME_r=13.4-RELEASE-p4 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/mnt/data/.m/13amd64-weekly-desktop/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/mnt/data/.m/13amd64-weekly-desktop/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13amd64-weekly-desktop SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/mnt/data/.m/13amd64-weekly-desktop/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- tdb@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --program-transform-name= --bindir=/usr/local/sbin --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/openupsd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/openupsd/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/openupsd/work/.cache HOME=/wrkdirs/usr/ports/sysutils/openupsd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/openupsd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/openupsd/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/openupsd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/openupsd/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/openupsd/work/.cache HOME=/wrkdirs/usr/ports/sysutils/openupsd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/openupsd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/openupsd/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/openupsd" EXAMPLESDIR="share/examples/openupsd" DATADIR="share/openupsd" WWWDIR="www/openupsd" ETCDIR="etc/openupsd" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/openupsd DOCSDIR=/usr/local/share/doc/openupsd EXAMPLESDIR=/usr/local/share/examples/openupsd WWWDIR=/usr/local/www/openupsd ETCDIR=/usr/local/etc/openupsd --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### # Work around some weirdness when fetching golang modules GO_TAGS+=netcgo .if ${.CURDIR:M*/www/chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/www/ungoogled-chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/lang/rust*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/lang/gcc*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/www/iridium*} MAKE_JOBS_NUMBER=16 .endif .if ${.CURDIR:M*/devel/electron*} MAKE_JOBS_NUMBER=20 .endif .if ${.CURDIR:M*/databases/mongodb*} MAKE_JOBS_NUMBER=12 .endif .if ${.CURDIR:M*/devel/llvm*} MAKE_JOBS_NUMBER=16 .endif # Speed things up a bit MAKE_JOBS_NUMBER?=8 #### #### #MAKE_JOBS_NUMBER?=4 # Alows us to build ports non-interactivly DISABLE_LICENSES=yes LICENSES_ACCEPTED+= DCC # Enable SNDIO on anything that supports it #OPTIONS_SET+=PULSEAUDIO OPTIONS_SET+=SNDIO # Yes we have MS Windows x11-fonts_webfonts_SET+=EXTRAFONTS CLEARTYPE # Desktop Specific Options sysutils_gksu_UNSET+=NAUTILUS x11-wm_compiz-fusion_UNSET+=EMERALD accessibility_redshift_SET+=GUI VIDMODE # These ports default to other audio servers, audio_espeak_UNSET+=PORTAUDIO www_qt5-webengine_UNSET+=ALSA www_qt6-webengine_UNSET+=ALSA audio_rhvoice_UNSET+=AO comms_morse_UNSET+=OSS audio_harp_UNSET+=OSS # Somehow these options are being set and result in ports being rebuilt needlessly becuase they are actually turned off audio_alsa-plugins_SET+=FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> openupsd-0.3.1_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.0.6.pkg [13amd64-weekly-desktop-job-04] Installing pkg-2.0.6... [13amd64-weekly-desktop-job-04] Extracting pkg-2.0.6: .......... done ===> openupsd-0.3.1_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of openupsd-0.3.1_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by openupsd-0.3.1_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by openupsd-0.3.1_1 for building => SHA256 Checksum OK for openupsd-0.3.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Fetching all distfiles required by openupsd-0.3.1_1 for building ===> Extracting for openupsd-0.3.1_1 => SHA256 Checksum OK for openupsd-0.3.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for openupsd-0.3.1_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for openupsd-0.3.1_1 configure: loading site script /usr/ports/Templates/config.site checking build system type... amd64-portbld-freebsd13.4 checking host system type... amd64-portbld-freebsd13.4 checking target system type... amd64-portbld-freebsd13.4 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for unistd.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for sys/select.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for syslog... yes checking for sysconf... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for openupsd-0.3.1_1 --- openupsd.o --- --- cfg.o --- --- support.o --- --- openupsd.o --- source='openupsd.c' object='openupsd.o' libtool=no depfile='.deps/openupsd.Po' tmpdepfile='.deps/openupsd.TPo' depmode=gcc3 /bin/sh ./depcomp cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openupsd\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYSLOG=1 -DHAVE_SYSCONF=1 -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DSYSCONFDIR=\"/usr/local/etc\" -c `test -f 'openupsd.c' || echo './'`openupsd.c --- cfg.o --- source='cfg.c' object='cfg.o' libtool=no depfile='.deps/cfg.Po' tmpdepfile='.deps/cfg.TPo' depmode=gcc3 /bin/sh ./depcomp cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openupsd\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYSLOG=1 -DHAVE_SYSCONF=1 -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DSYSCONFDIR=\"/usr/local/etc\" -c `test -f 'cfg.c' || echo './'`cfg.c --- support.o --- source='support.c' object='support.o' libtool=no depfile='.deps/support.Po' tmpdepfile='.deps/support.TPo' depmode=gcc3 /bin/sh ./depcomp cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openupsd\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYSLOG=1 -DHAVE_SYSCONF=1 -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DSYSCONFDIR=\"/usr/local/etc\" -c `test -f 'support.c' || echo './'`support.c --- openupsd.o --- openupsd.c:524:6: warning: cast to smaller integer type 'unsigned int' from 'openupsd_trigger_t *' (aka 'struct TAG_openupsd_trigger_t *') [-Wpointer-to-int-cast] 524 | if ((unsigned int)alarm < UPSD_ALARM_MAXINT) { | ^~~~~~~~~~~~~~~~~~~ --- cfg.o --- cfg.c:746:10: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 746 | nrhs = (void *)((x * 10) + y); | ^~~~~~~~~~~~~~~~~~~~~~ cfg.c:755:10: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 755 | nrhs = (void *)x; | ^~~~~~~~~ cfg.c:779:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 779 | nrhs = (void *)((int)nrhs | UPSD_ST_OVERHEAT); | ^~~~~~~~~ cfg.c:779:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 779 | nrhs = (void *)((int)nrhs | UPSD_ST_OVERHEAT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:781:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 781 | nrhs = (void *)((int)nrhs | UPSD_ST_ONBATTERY); | ^~~~~~~~~ cfg.c:781:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 781 | nrhs = (void *)((int)nrhs | UPSD_ST_ONBATTERY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:783:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 783 | nrhs = (void *)((int)nrhs | UPSD_ST_OUTPUTBAD); | ^~~~~~~~~ cfg.c:783:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 783 | nrhs = (void *)((int)nrhs | UPSD_ST_OUTPUTBAD); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:785:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 785 | nrhs = (void *)((int)nrhs | UPSD_ST_OVERLOAD); | ^~~~~~~~~ cfg.c:785:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 785 | nrhs = (void *)((int)nrhs | UPSD_ST_OVERLOAD); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:787:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 787 | nrhs = (void *)((int)nrhs | UPSD_ST_BYPASSBAD); | ^~~~~~~~~ cfg.c:787:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 787 | nrhs = (void *)((int)nrhs | UPSD_ST_BYPASSBAD); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:789:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 789 | nrhs = (void *)((int)nrhs | UPSD_ST_OUTPUTOFF); | ^~~~~~~~~ cfg.c:789:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 789 | nrhs = (void *)((int)nrhs | UPSD_ST_OUTPUTOFF); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:791:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 791 | nrhs = (void *)((int)nrhs | UPSD_ST_CHARGERBAD); | ^~~~~~~~~ cfg.c:791:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 791 | nrhs = (void *)((int)nrhs | UPSD_ST_CHARGERBAD); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:793:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 793 | nrhs = (void *)((int)nrhs | UPSD_ST_UPSOFF); | ^~~~~~~~~ cfg.c:793:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 793 | nrhs = (void *)((int)nrhs | UPSD_ST_UPSOFF); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:795:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 795 | nrhs = (void *)((int)nrhs | UPSD_ST_FANFAIL); | ^~~~~~~~~ cfg.c:795:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 795 | nrhs = (void *)((int)nrhs | UPSD_ST_FANFAIL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:797:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 797 | nrhs = (void *)((int)nrhs | UPSD_ST_FUSEBREAK); | ^~~~~~~~~ cfg.c:797:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 797 | nrhs = (void *)((int)nrhs | UPSD_ST_FUSEBREAK); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:799:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 799 | nrhs = (void *)((int)nrhs | UPSD_ST_FAULT); | ^~~~~~~~~ cfg.c:799:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 799 | nrhs = (void *)((int)nrhs | UPSD_ST_FAULT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:801:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 801 | nrhs = (void *)((int)nrhs | UPSD_ST_AWAITPOWER); | ^~~~~~~~~ cfg.c:801:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 801 | nrhs = (void *)((int)nrhs | UPSD_ST_AWAITPOWER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg.c:803:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 803 | nrhs = (void *)((int)nrhs | UPSD_ST_BUZZERON); | ^~~~~~~~~ cfg.c:803:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 803 | nrhs = (void *)((int)nrhs | UPSD_ST_BUZZERON); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- openupsd.o --- openupsd.c:978:33: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 978 | if (serial_write (device->fd, "~\003\002\001\000\204", 6, 3, 100000) != 6) { | ^~~~~~~~~~~~~~~~~~~~~~~ openupsd.c:324:49: note: passing argument to parameter 'buffer' here 324 | static int serial_write (int fd, unsigned char *buffer, int len, int retry, int interval) | ^ openupsd.c:1027:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1027 | if ((n = do_command (device, "~00P003MNU", 10, pbuf, 127)) < 0) { | ^~~~~~~~~~~~ openupsd.c:922:64: note: passing argument to parameter 'to_ups' here 922 | static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) | ^ openupsd.c:1034:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1034 | if ((n = do_command (device, "~00P003MOD", 10, pbuf, 127)) < 0) { | ^~~~~~~~~~~~ openupsd.c:922:64: note: passing argument to parameter 'to_ups' here 922 | static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) | ^ openupsd.c:1041:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1041 | if ((n = do_command (device, "~00P003VER", 10, pbuf, 127)) < 0) { | ^~~~~~~~~~~~ openupsd.c:922:64: note: passing argument to parameter 'to_ups' here 922 | static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) | ^ openupsd.c:1061:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1061 | if ((n = do_command (device, "~00P003MOD", 10, pbuf, 1023)) < 0) { | ^~~~~~~~~~~~ openupsd.c:922:64: note: passing argument to parameter 'to_ups' here 922 | static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) | ^ openupsd.c:1069:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1069 | strcpy (ds->model_name, pbuf + 7); | ^~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ openupsd.c:1070:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1070 | if ((n = do_command (device, "~00P003STB", 10, pbuf, 1023)) < 0) { | ^~~~~~~~~~~~ openupsd.c:922:64: note: passing argument to parameter 'to_ups' here 922 | static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) | ^ openupsd.c:1098:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1098 | ds->x_bvolts = atoi (ch); | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ openupsd.c:1101:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1101 | ds->btemp = atoi (ch); | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ openupsd.c:1104:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1104 | ds->bcharge = atoi (ch); | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ openupsd.c:1111:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1111 | if ((n = do_command (device, "~00P003STI", 10, pbuf, 1023)) < 0) { | ^~~~~~~~~~~~ openupsd.c:922:64: note: passing argument to parameter 'to_ups' here 922 | static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) | ^ openupsd.c:1127:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1127 | ds->x_ifreq = atoi (ch); | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ openupsd.c:1130:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1130 | ds->x_ivolts = atoi (ch); | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ openupsd.c:1137:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1137 | if ((n = do_command (device, "~00P003STO", 10, pbuf, 1023)) < 0) { | ^~~~~~~~~~~~ openupsd.c:922:64: note: passing argument to parameter 'to_ups' here 922 | static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) | ^ openupsd.c:1160:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1160 | ds->x_ofreq = atoi (ch); | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ openupsd.c:1163:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1163 | ds->x_ovolts = atoi (ch); | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ openupsd.c:1166:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1166 | ds->out_load = atoi (ch); | ^~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ openupsd.c:1173:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1173 | if ((n = do_command (device, "~00P003STA", 10, pbuf, 1023)) < 0) { | ^~~~~~~~~~~~ openupsd.c:922:64: note: passing argument to parameter 'to_ups' here 922 | static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) | ^ openupsd.c:1370:69: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1370 | if (((data->bat_flags & UPSD_BAT_WEAK_MASK) == UPSD_BAT_WEAK) && ((int)trig->rhs)) { | ^~~~~~~~~~~~~~ openupsd.c:1377:79: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1377 | if (((data->bat_flags & UPSD_BAT_DISCHARGE_MASK) == UPSD_BAT_DISCHARGE) && ((int)trig->rhs)) { | ^~~~~~~~~~~~~~ openupsd.c:1384:77: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1384 | if (((data->out_flags & UPSD_OUT_INVERTER_MASK) == UPSD_OUT_INVERTER) && ((int)trig->rhs)) { | ^~~~~~~~~~~~~~ openupsd.c:1414:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1414 | return (ifield == ((int)trig->rhs)); | ^~~~~~~~~~~~~~ openupsd.c:1416:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1416 | return (ifield != ((int)trig->rhs)); | ^~~~~~~~~~~~~~ openupsd.c:1418:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1418 | return (ifield < ((int)trig->rhs)); | ^~~~~~~~~~~~~~ openupsd.c:1420:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1420 | return (ifield > ((int)trig->rhs)); | ^~~~~~~~~~~~~~ openupsd.c:1422:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1422 | return (ifield <= ((int)trig->rhs)); | ^~~~~~~~~~~~~~ openupsd.c:1424:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1424 | return (ifield >= ((int)trig->rhs)); | ^~~~~~~~~~~~~~ openupsd.c:1429:26: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1429 | if ((data->st_flags & ((int)trig->rhs)) == ((int)trig->rhs)) { | ^~~~~~~~~~~~~~ openupsd.c:1429:47: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1429 | if ((data->st_flags & ((int)trig->rhs)) == ((int)trig->rhs)) { | ^~~~~~~~~~~~~~ openupsd.c:1446:6: warning: cast to smaller integer type 'unsigned int' from 'openupsd_trigger_t *' (aka 'struct TAG_openupsd_trigger_t *') [-Wpointer-to-int-cast] 1446 | if ((unsigned int)alarm < UPSD_ALARM_MAXINT) { | ^~~~~~~~~~~~~~~~~~~ openupsd.c:2054:13: warning: cast to smaller integer type 'int' from 'openupsd_trigger_t *' (aka 'struct TAG_openupsd_trigger_t *') [-Wpointer-to-int-cast] 2054 | switch ((int)tmp->alarm) { | ^~~~~~~~~~~~~~~ openupsd.c:2768:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2768 | if ((int)(tt->rhs)) { | ^~~~~~~~~~~~~~ openupsd.c:2775:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2775 | if ((int)(tt->rhs)) { | ^~~~~~~~~~~~~~ openupsd.c:2786:40: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2786 | fprintf (stderr, "%.1f", (double)((int)(tt->rhs)) / 10.0); | ^~~~~~~~~~~~~~ openupsd.c:2791:29: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2791 | fprintf (stderr, "%d", (int)(tt->rhs)); | ^~~~~~~~~~~~~~ openupsd.c:2797:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2797 | for (fld = (int)(tt->rhs); fld; fld &= ~match) { | ^~~~~~~~~~~~~~ --- cfg.o --- 28 warnings generated. --- openupsd.o --- 37 warnings generated. --- openupsd --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DSYSCONFDIR=\"/usr/local/etc\" -fstack-protector-strong -o openupsd openupsd.o cfg.o support.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for openupsd-0.3.1_1 ===> Generating temporary packing list /bin/sh ./mkinstalldirs /wrkdirs/usr/ports/sysutils/openupsd/work/stage/usr/local/sbin install -s -m 555 openupsd /wrkdirs/usr/ports/sysutils/openupsd/work/stage/usr/local/sbin/openupsd install -m 0644 /wrkdirs/usr/ports/sysutils/openupsd/work/openupsd-0.3.1/openupsd.conf /wrkdirs/usr/ports/sysutils/openupsd/work/stage/usr/local/etc/openupsd.conf.sample ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-06T05:58:58+0000' 'PKG_NOTE_ports_top_git_hash=57a50b106b87' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=d9c7e0b18ad0' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for openupsd-0.3.1_1 ===> Building openupsd-0.3.1_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for openupsd-0.3.1_1 build of sysutils/openupsd | openupsd-0.3.1_1 ended at Tue May 6 01:59:04 EDT 2025 build time: 00:00:07