=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/heyu", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for heyu-1.35nb1 --- all --- You are using a dummy make file. Just a moment while the configure script runs to create a valid makefile ./Configure This script will create a valid Makefile based on the results of the uname(1) output. Please stand-by a moment. checking for siginterrupt() Using siginterrupt() The Makefile has been created for sunos. Continuing with the make --- date.o --- --- erase.o --- --- date.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c date.c --- erase.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c erase.c --- date.o --- date.c: In function 'c_date': date.c:44:10: warning: variable 'today' set but not used [-Wunused-but-set-variable] 44 | int today; | ^~~~~ --- info.o --- --- message.o --- --- info.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c info.c --- message.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c message.c --- relay.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c relay.c --- monitor.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c monitor.c --- relay.o --- relay.c: In function 'start_relay': relay.c:189:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 189 | sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile); | ^~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:83, from relay.c:41: /usr/include/iso/stdio_iso.h:212:25: note: expected 'char *' but argument is of type 'unsigned char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^~~~~~ relay.c:190:25: warning: pointer targets in passing argument 2 of 'syslog' differ in signedness [-Wpointer-sign] 190 | syslog(LOG_ERR, ibuff); | ^~~~~ | | | unsigned char * In file included from relay.c:46: /usr/include/syslog.h:41:18: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | void syslog(int, const char *, ...); | ^~~~~~~~~~~~ relay.c:189:53: warning: '%s' directive writing up to 1023 bytes into a region of size 52 [-Wformat-overflow=] 189 | sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile); | ^~ ~~~~~~~~~ relay.c:189:9: note: 'sprintf' output between 30 and 1053 bytes into a destination of size 80 189 | sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- reset.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c reset.c --- setclock.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c setclock.c --- stop.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c stop.c --- setclock.o --- setclock.c: In function 'c_setclock': setclock.c:48:18: warning: variable 'n' set but not used [-Wunused-but-set-variable] 48 | unsigned int n; | ^ --- tty.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c tty.c --- turn.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c turn.c --- xread.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c xread.c --- xwrite.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c xwrite.c --- xread.o --- xread.c: In function 'xread': xread.c:96:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 96 | cbuf = buf; | ^ --- status.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c status.c --- cm11a.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c cm11a.c --- status.o --- status.c: In function 'get_status': status.c:68:50: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 68 | if( buf[0] == 0x5a || n == 0 || (strncmp(buf, powerfail,n) == 0 )) | ^~~ | | | unsigned char * In file included from /usr/include/string.h:35, from /usr/include/strings.h:36, from status.c:21: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ status.c:68:55: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 68 | if( buf[0] == 0x5a || n == 0 || (strncmp(buf, powerfail,n) == 0 )) | ^~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:34: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ status.c:70:35: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 70 | if( n > 0 && (strncmp(buf, powerfail,n) == 0) ) | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ status.c:70:40: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 70 | if( n > 0 && (strncmp(buf, powerfail,n) == 0) ) | ^~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:34: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ --- eeprom.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c eeprom.c --- preset.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c preset.c preset.c: In function 'c_preset': preset.c:52:40: warning: variable 'bits' set but not used [-Wunused-but-set-variable] 52 | unsigned int hcode, unit, unitx10, bits; | ^~~~ --- parse_sched.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c parse_sched.c --- x10.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c x10.c --- parse_sched.o --- parse_sched.c: In function 'validate_sched': parse_sched.c:284:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 284 | inbuf[161] =(char) NULL; /* make sure the string is NULL terminated*/ | ^ parse_sched.c:495:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 495 | macro_label[31] = (char)NULL; /* make sure it's terminated */ | ^ parse_sched.c:557:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 557 | while( *ptmp != (char) NULL ) | ^ parse_sched.c:710:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 710 | if( macro_xref[x].label[0] == (char)NULL ) /* no label = end of macros*/ | ^ parse_sched.c: In function 'find_all_macros': parse_sched.c:918:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 918 | inbuf[80] =(char) NULL; /* make sure the string is NULL terminated*/ | ^ parse_sched.c:948:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 948 | type[9] = (char) NULL; | ^ parse_sched.c:949:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 949 | label[31] = (char) NULL; | ^ parse_sched.c: In function 'storedmacro': parse_sched.c:985:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 985 | if( macroxref[0] == (char) NULL) | ^ parse_sched.c:1002:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1002 | line[sizeof(line) -1] = (char) NULL; | ^ parse_sched.c:1019:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1019 | label[sizeof(label) -1] = (char)NULL; | ^ --- x10.o --- x10.c: In function 'main': x10.c:248:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 248 | if( x10_tty[0] == (char)NULL ) | ^ x10.c: In function 'read_config': x10.c:595:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 595 | x10_tty[0] = (char)NULL; | ^ x10.c:628:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 628 | line[254] = (char)NULL; | ^ x10.c:678:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 678 | opt[sizeof(opt) -1] = (char)NULL; | ^ x10.c:703:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 703 | latitude[sizeof(latitude) - 1] = (char) NULL; | ^ x10.c:711:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 711 | longitude[sizeof(longitude) - 1] = (char) NULL; | ^ x10.c:719:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 719 | macroxref[sizeof(macroxref) - 1] = (char) NULL; | ^ x10.c:793:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 793 | if( x10_tty[0] == (char)NULL ) | ^ x10.c: In function 'check4poll': x10.c:1074:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1074 | if( macroxref[0] == (char) NULL) | ^ x10.c:1197:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1197 | if( macroxref[0] == (char) NULL) | ^ --- dusk.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c dusk.c --- sunrise.o --- gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall -c sunrise.c --- heyu --- gcc -Wl,-R/opt/pkg/lib -o heyu date.o erase.o info.o message.o relay.o monitor.o reset.o setclock.o stop.o tty.o turn.o x10.o xread.o xwrite.o status.o cm11a.o eeprom.o preset.o parse_sched.o -lm -lc --- sunrise.o --- sunrise.c: In function 'sun_': sunrise.c:72:59: warning: variable 'zz' set but not used [-Wunused-but-set-variable] 72 | double d, dy, x, e, y, z, la, cl, sd, td, st, cd, zz; | ^~ --- dawndusk --- gcc -o dawndusk dusk.o sunrise.o -lm -lc