=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> 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 netbsd. Continuing with the make --- date.o --- --- erase.o --- --- info.o --- --- message.o --- --- erase.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c erase.c --- info.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c info.c --- date.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c date.c --- message.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c message.c --- info.o --- info.c: In function 'c_info': info.c:36:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] int c_info(argc, argv) ^~~~~~ --- date.o --- date.c: In function 'c_date': date.c:42:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] int c_date(argc, argv) ^~~~~~ date.c:45:10: warning: variable 'today' set but not used [-Wunused-but-set-variable] int today; ^~~~~ --- relay.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c relay.c --- monitor.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c monitor.c --- reset.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c reset.c --- setclock.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c setclock.c --- reset.o --- reset.c: In function 'c_reset': reset.c:25:6: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] void c_reset(argc, argv) ^~~~~~~ --- relay.o --- In file included from /usr/include/stdio.h:597:0, from relay.c:41: relay.c: In function 'start_relay': relay.c:189:10: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile); ^ relay.c:189:10: note: expected 'char *' but argument is of type 'unsigned char *' relay.c:190:25: warning: pointer targets in passing argument 2 of 'syslog' differ in signedness [-Wpointer-sign] syslog(LOG_ERR, ibuff); ^~~~~ In file included from relay.c:46:0: /usr/include/syslog.h:206:6: note: expected 'const char *' but argument is of type 'unsigned char *' void syslog(int, const char *, ...) __sysloglike(2, 3); ^~~~~~ --- setclock.o --- setclock.c: In function 'c_setclock': setclock.c:42:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] int c_setclock(argc, argv) ^~~~~~~~~~ setclock.c:48:18: warning: variable 'n' set but not used [-Wunused-but-set-variable] unsigned int n; ^ --- stop.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c stop.c --- tty.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c tty.c --- turn.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c turn.c --- xread.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c xread.c --- xwrite.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c xwrite.c --- turn.o --- turn.c: In function 'c_turn': turn.c:36:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] int c_turn(argc, argv) ^~~~~~ --- xread.o --- xread.c: In function 'xread': xread.c:96:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cbuf = buf; ^ --- status.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c status.c --- cm11a.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c cm11a.c --- eeprom.o --- --- preset.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c preset.c --- eeprom.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c eeprom.c --- status.o --- status.c: In function 'get_status': status.c:68:43: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if( buf[0] == 0x5a || n == 0 || (strncmp(buf, powerfail,n) == 0 )) ^~~ In file included from /usr/include/strings.h:68:0, from status.c:21: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t); ^~~~~~~ status.c:68:48: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if( buf[0] == 0x5a || n == 0 || (strncmp(buf, powerfail,n) == 0 )) ^~~~~~~~~ In file included from /usr/include/strings.h:68:0, from status.c:21: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t); ^~~~~~~ status.c:70:28: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if( n > 0 && (strncmp(buf, powerfail,n) == 0) ) ^~~ In file included from /usr/include/strings.h:68:0, from status.c:21: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t); ^~~~~~~ status.c:70:33: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if( n > 0 && (strncmp(buf, powerfail,n) == 0) ) ^~~~~~~~~ In file included from /usr/include/strings.h:68:0, from status.c:21: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t); ^~~~~~~ --- preset.o --- preset.c: In function 'c_preset': preset.c:49:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] int c_preset(argc, argv) ^~~~~~~~ preset.c:53:40: warning: variable 'bits' set but not used [-Wunused-but-set-variable] unsigned int hcode, unit, unitx10, bits; ^~~~ --- parse_sched.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c parse_sched.c --- x10.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c x10.c --- dusk.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c dusk.c --- sunrise.o --- gcc -g -O -DPOSIX -DLOCKDIR=\"/var/spool/lock\" -DNETBSD -DNEEDGTIME -Wall -c sunrise.c --- parse_sched.o --- parse_sched.c: In function 'validate_sched': parse_sched.c:284:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] inbuf[161] =(char) NULL; /* make sure the string is NULL terminated*/ ^ parse_sched.c:495:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] macro_label[31] = (char)NULL; /* make sure it's terminated */ ^ parse_sched.c:557:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while( *ptmp != (char) NULL ) ^ parse_sched.c:710:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] inbuf[80] =(char) NULL; /* make sure the string is NULL terminated*/ ^ parse_sched.c:948:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] type[9] = (char) NULL; ^ parse_sched.c:949:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] if( macroxref[0] == (char) NULL) ^ parse_sched.c:1002:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] line[sizeof(line) -1] = (char) NULL; ^ parse_sched.c:1019:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] label[sizeof(label) -1] = (char)NULL; ^ --- sunrise.o --- sunrise.c: In function 'sun_': sunrise.c:72:52: warning: variable 'zz' set but not used [-Wunused-but-set-variable] double d, dy, x, e, y, z, la, cl, sd, td, st, cd, zz; ^~ --- x10.o --- x10.c: In function 'main': x10.c:248:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( x10_tty[0] == (char)NULL ) ^ x10.c: In function 'read_config': x10.c:595:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] x10_tty[0] = (char)NULL; ^ x10.c:628:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] line[254] = (char)NULL; ^ x10.c:678:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] opt[sizeof(opt) -1] = (char)NULL; ^ x10.c:703:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] latitude[sizeof(latitude) - 1] = (char) NULL; ^ x10.c:711:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] longitude[sizeof(longitude) - 1] = (char) NULL; ^ x10.c:719:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] macroxref[sizeof(macroxref) - 1] = (char) NULL; ^ x10.c:793:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( x10_tty[0] == (char)NULL ) ^ x10.c: In function 'check4poll': x10.c:1074:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( macroxref[0] == (char) NULL) ^ x10.c:1197:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( macroxref[0] == (char) NULL) ^ --- dawndusk --- gcc -o dawndusk dusk.o sunrise.o -lm -lc --- heyu --- gcc -Wl,-zrelro -Wl,-R/usr/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