------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/openupsd XDG_CONFIG_HOME=/construction/sysutils/openupsd XDG_CACHE_HOME=/construction/sysutils/openupsd/.cache HOME=/construction/sysutils/openupsd TMPDIR="/tmp" PATH=/construction/sysutils/openupsd/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/sysutils/openupsd/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --program-transform-name= --bindir=/usr/local/sbin --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/openupsd XDG_CONFIG_HOME=/construction/sysutils/openupsd XDG_CACHE_HOME=/construction/sysutils/openupsd/.cache HOME=/construction/sysutils/openupsd TMPDIR="/tmp" PATH=/construction/sysutils/openupsd/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/sysutils/openupsd/.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 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/sysutils/openupsd/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/openupsd" EXAMPLESDIR="share/examples/openupsd" DATADIR="share/openupsd" WWWDIR="www/openupsd" ETCDIR="etc/openupsd" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> openupsd-0.3.1_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> openupsd-0.3.1_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openupsd-0.3.1_1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> openupsd-0.3.1_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openupsd-0.3.1_1 for building => SHA256 Checksum OK for openupsd-0.3.1.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> openupsd-0.3.1_1 depends on file: /usr/local/sbin/pkg - found ===> 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. Extracted Memory Use: 0.52M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for openupsd-0.3.1_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> openupsd-0.3.1_1 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> openupsd-0.3.1_1 depends on file: /usr/local/bin/ccache - found ===> Configuring for openupsd-0.3.1_1 configure: loading site script /xports/Templates/config.site checking build system type... x86_64-portbld-dragonfly6.5 checking host system type... x86_64-portbld-dragonfly6.5 checking target system type... x86_64-portbld-dragonfly6.5 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... no checking malloc.h presence... no checking for malloc.h... no checking for syslog... yes checking for sysconf... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> 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_SYSLOG=1 -DHAVE_SYSCONF=1 -I. -I. -pipe -O2 -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_SYSLOG=1 -DHAVE_SYSCONF=1 -I. -I. -pipe -O2 -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_SYSLOG=1 -DHAVE_SYSCONF=1 -I. -I. -pipe -O2 -fno-strict-aliasing -Wall -DSYSCONFDIR=\"/usr/local/etc\" -c `test -f 'support.c' || echo './'`support.c --- openupsd.o --- openupsd.c: In function 'getalarmstr': openupsd.c:524:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned int)alarm < UPSD_ALARM_MAXINT) { ^ openupsd.c: In function 'init_loops': openupsd.c:978:33: warning: pointer targets in passing argument 2 of 'serial_write' differ in signedness [-Wpointer-sign] if (serial_write (device->fd, "~\003\002\001\000\204", 6, 3, 100000) != 6) { ^~~~~~~~~~~~~~~~~~~~~~~ openupsd.c:324:12: note: expected 'unsigned char *' but argument is of type 'char *' static int serial_write (int fd, unsigned char *buffer, int len, int retry, int interval) ^~~~~~~~~~~~ openupsd.c: In function 'stock_initialisation': openupsd.c:1027:31: warning: pointer targets in passing argument 2 of 'do_command' differ in signedness [-Wpointer-sign] if ((n = do_command (device, "~00P003MNU", 10, pbuf, 127)) < 0) { ^~~~~~~~~~~~ openupsd.c:922:12: note: expected 'unsigned char *' but argument is of type 'char *' 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: pointer targets in passing argument 2 of 'do_command' differ in signedness [-Wpointer-sign] if ((n = do_command (device, "~00P003MOD", 10, pbuf, 127)) < 0) { ^~~~~~~~~~~~ openupsd.c:922:12: note: expected 'unsigned char *' but argument is of type 'char *' 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: pointer targets in passing argument 2 of 'do_command' differ in signedness [-Wpointer-sign] if ((n = do_command (device, "~00P003VER", 10, pbuf, 127)) < 0) { ^~~~~~~~~~~~ openupsd.c:922:12: note: expected 'unsigned char *' but argument is of type 'char *' static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) ^~~~~~~~~~ openupsd.c: In function 'grab_data': openupsd.c:1061:31: warning: pointer targets in passing argument 2 of 'do_command' differ in signedness [-Wpointer-sign] if ((n = do_command (device, "~00P003MOD", 10, pbuf, 1023)) < 0) { ^~~~~~~~~~~~ openupsd.c:922:12: note: expected 'unsigned char *' but argument is of type 'char *' 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:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (ds->model_name, pbuf + 7); ~~~~~^~~ In file included from openupsd.c:29: /usr/include/string.h:95:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ openupsd.c:1070:31: warning: pointer targets in passing argument 2 of 'do_command' differ in signedness [-Wpointer-sign] if ((n = do_command (device, "~00P003STB", 10, pbuf, 1023)) < 0) { ^~~~~~~~~~~~ openupsd.c:922:12: note: expected 'unsigned char *' but argument is of type 'char *' 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: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] ds->x_bvolts = atoi (ch); ^~ In file included from openupsd.c:30: /usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ openupsd.c:1101:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] ds->btemp = atoi (ch); ^~ In file included from openupsd.c:30: /usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ openupsd.c:1104:24: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] ds->bcharge = atoi (ch); ^~ In file included from openupsd.c:30: /usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ openupsd.c:1111:31: warning: pointer targets in passing argument 2 of 'do_command' differ in signedness [-Wpointer-sign] if ((n = do_command (device, "~00P003STI", 10, pbuf, 1023)) < 0) { ^~~~~~~~~~~~ openupsd.c:922:12: note: expected 'unsigned char *' but argument is of type 'char *' 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: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] ds->x_ifreq = atoi (ch); ^~ In file included from openupsd.c:30: /usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ openupsd.c:1130:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] ds->x_ivolts = atoi (ch); ^~ In file included from openupsd.c:30: /usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ openupsd.c:1137:31: warning: pointer targets in passing argument 2 of 'do_command' differ in signedness [-Wpointer-sign] if ((n = do_command (device, "~00P003STO", 10, pbuf, 1023)) < 0) { ^~~~~~~~~~~~ openupsd.c:922:12: note: expected 'unsigned char *' but argument is of type 'char *' 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: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] ds->x_ofreq = atoi (ch); ^~ In file included from openupsd.c:30: /usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ openupsd.c:1163:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] ds->x_ovolts = atoi (ch); ^~ In file included from openupsd.c:30: /usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ openupsd.c:1166:25: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] ds->out_load = atoi (ch); ^~ In file included from openupsd.c:30: /usr/include/stdlib.h:95:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ openupsd.c:1173:31: warning: pointer targets in passing argument 2 of 'do_command' differ in signedness [-Wpointer-sign] if ((n = do_command (device, "~00P003STA", 10, pbuf, 1023)) < 0) { ^~~~~~~~~~~~ openupsd.c:922:12: note: expected 'unsigned char *' but argument is of type 'char *' static int do_command (openupsd_sdev_t *device, unsigned char *to_ups, int to_len, unsigned char *from_ups, int from_len) ^~~~~~~~~~ openupsd.c: In function 'checkfortrigger': openupsd.c:1370:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((data->bat_flags & UPSD_BAT_WEAK_MASK) == UPSD_BAT_WEAK) && ((int)trig->rhs)) { ^ openupsd.c:1377:79: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((data->bat_flags & UPSD_BAT_DISCHARGE_MASK) == UPSD_BAT_DISCHARGE) && ((int)trig->rhs)) { ^ openupsd.c:1384:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((data->out_flags & UPSD_OUT_INVERTER_MASK) == UPSD_OUT_INVERTER) && ((int)trig->rhs)) { ^ openupsd.c:1414:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (ifield == ((int)trig->rhs)); ^ openupsd.c:1416:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (ifield != ((int)trig->rhs)); ^ openupsd.c:1418:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (ifield < ((int)trig->rhs)); ^ openupsd.c:1420:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (ifield > ((int)trig->rhs)); ^ openupsd.c:1422:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (ifield <= ((int)trig->rhs)); ^ openupsd.c:1424:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (ifield >= ((int)trig->rhs)); ^ openupsd.c:1429:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((data->st_flags & ((int)trig->rhs)) == ((int)trig->rhs)) { ^ openupsd.c:1429:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((data->st_flags & ((int)trig->rhs)) == ((int)trig->rhs)) { ^ openupsd.c: In function 'checkforalarm': openupsd.c:1446:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned int)alarm < UPSD_ALARM_MAXINT) { ^ openupsd.c: In function 'openupsd_mainprog': openupsd.c:2054:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)tmp->alarm) { ^ openupsd.c: In function 'main': openupsd.c:2768:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)(tt->rhs)) { ^ openupsd.c:2775:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)(tt->rhs)) { ^ openupsd.c:2786:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf (stderr, "%.1f", (double)((int)(tt->rhs)) / 10.0); ^ openupsd.c:2791:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf (stderr, "%d", (int)(tt->rhs)); ^ openupsd.c:2797:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] for (fld = (int)(tt->rhs); fld; fld &= ~match) { ^ --- cfg.o --- cfg.c: In function 'makeaddtrigger': cfg.c:746:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((x * 10) + y); ^ cfg.c:755:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)x; ^ cfg.c:779:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_OVERHEAT); ^ cfg.c:779:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_OVERHEAT); ^ cfg.c:781:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_ONBATTERY); ^ cfg.c:781:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_ONBATTERY); ^ cfg.c:783:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_OUTPUTBAD); ^ cfg.c:783:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_OUTPUTBAD); ^ cfg.c:785:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_OVERLOAD); ^ cfg.c:785:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_OVERLOAD); ^ cfg.c:787:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_BYPASSBAD); ^ cfg.c:787:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_BYPASSBAD); ^ cfg.c:789:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_OUTPUTOFF); ^ cfg.c:789:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_OUTPUTOFF); ^ cfg.c:791:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_CHARGERBAD); ^ cfg.c:791:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_CHARGERBAD); ^ cfg.c:793:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_UPSOFF); ^ cfg.c:793:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_UPSOFF); ^ cfg.c:795:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_FANFAIL); ^ cfg.c:795:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_FANFAIL); ^ cfg.c:797:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_FUSEBREAK); ^ cfg.c:797:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_FUSEBREAK); ^ cfg.c:799:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_FAULT); ^ cfg.c:799:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_FAULT); ^ cfg.c:801:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_AWAITPOWER); ^ cfg.c:801:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_AWAITPOWER); ^ cfg.c:803:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nrhs = (void *)((int)nrhs | UPSD_ST_BUZZERON); ^ cfg.c:803:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nrhs = (void *)((int)nrhs | UPSD_ST_BUZZERON); ^ --- openupsd --- cc -pipe -O2 -fno-strict-aliasing -Wall -DSYSCONFDIR=\"/usr/local/etc\" -o openupsd openupsd.o cfg.o support.o SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for openupsd-0.3.1_1 ===> Generating temporary packing list /bin/sh ./mkinstalldirs /construction/sysutils/openupsd/stage/usr/local/sbin install -s -m 555 openupsd /construction/sysutils/openupsd/stage/usr/local/sbin/openupsd install -m 0644 /construction/sysutils/openupsd/openupsd-0.3.1/openupsd.conf /construction/sysutils/openupsd/stage/usr/local/etc/openupsd.conf.sample ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for openupsd-0.3.1_1 file sizes/checksums [3]: 0% file sizes/checksums [3]: 100% Service unavailablepacking files [3]: 0% packing files [3]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:06