------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- /!\ openupsd-0.3.1_1: Makefile warnings, please consider fixing /!\ Please set LICENSE for this port SUCCEEDED 00:00:10 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- x/!\ openupsd-0.3.1_1: Makefile warnings, please consider fixing /!\ Please set LICENSE for this port ===> Fetching all distfiles required by openupsd-0.3.1_1 for building SUCCEEDED 00:00:10 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- x/!\ openupsd-0.3.1_1: Makefile warnings, please consider fixing /!\ Please set LICENSE for this port ===> 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:11 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- x/!\ openupsd-0.3.1_1: Makefile warnings, please consider fixing /!\ Please set LICENSE for this port ===> 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:10 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- x===> Patching for openupsd-0.3.1_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- x===> Configuring for openupsd-0.3.1_1 configure: loading site script /xports/Templates/config.site checking build system type... x86_64-portbld-dragonfly5.7 checking host system type... x86_64-portbld-dragonfly5.7 checking target system type... x86_64-portbld-dragonfly5.7 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 for malloc.h... (cached) 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:02 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- x===> 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 --- 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; ^ --- 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) { ^ --- cfg.o --- 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.o --- 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:90: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:89: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:89: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:89: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:89: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:89: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:89: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:89: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:89: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) { ^ --- openupsd --- cc -pipe -O2 -fno-strict-aliasing -Wall -DSYSCONFDIR=\"/usr/local/etc\" -o openupsd openupsd.o cfg.o support.o SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- x===> 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 ------------------------------------------------------------------------------- x====> 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:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- x===> Building package for openupsd-0.3.1_1 file sizes/checksums [3]: 0% file sizes/checksums [3]: 100% packing files [3]: 0% packing files [3]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:45