=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for sformat-3.5nb1 ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/patches" NOTICE: Partial source (SRCROOT/patches) missing ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf" gmake[1]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/conf' ==> MAKING DIRECTORY "../incs/x86_64-netbsd-cc/Inull" ==> CONFIGURING RULES "../incs/x86_64-netbsd-cc/rules.cnf" creating cache ./config.cache checking host system type... Invalid configuration `amd64-unknown-netbsd9.99.51': machine `amd64-unknown' not recognized checking for Cygwin environment... no checking for mingw32 environment... no checking for EMX/OS2 environment... no checking for executable suffix... no checking how to run the C preprocessor... clang-cpp checking for ranlib... ranlib checking whether make sets ${MAKE}... yes checking for ANSI C header files... yes checking for UNIX-98 compliant inttypes.h... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking if select needs nonstd include files... no checking if sys/select.h is needed for select... no checking for varargs.h... no checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for strings.h... yes checking for unistd.h... yes checking for fcntl.h... yes checking for sys/file.h... yes checking for getopt.h... yes checking for limits.h... yes checking for a.out.h... yes checking for aouthdr.h... no checking for elf.h... yes checking for malloc.h... yes checking for termios.h... yes checking for termio.h... no checking for shadow.h... no checking for syslog.h... yes checking for sys/time.h... yes checking for sys/times.h... yes checking for utime.h... yes checking for sys/utime.h... no checking for sys/ioctl.h... yes checking for sys/filio.h... yes checking for sys/param.h... yes checking for sys/systeminfo.h... no checking for mntent.h... no checking for sys/mntent.h... no checking for sys/mnttab.h... no checking for sys/mount.h... yes checking for wait.h... no checking for sys/resource.h... yes checking for sys/procfs.h... no checking for sys/utsname.h... yes checking for sys/priocntl.h... no checking for sys/rtpriocntl.h... no checking for sys/mtio.h... yes checking for sys/mman.h... yes checking for linux/pg.h... no checking for camlib.h... no checking for sys/shm.h... yes checking for sys/ipc.h... yes checking for sys/dkio.h... yes checking for sys/dklabel.h... no checking for sun/dkio.h... no checking for sun/dklabel.h... no checking for poll.h... yes checking for sys/poll.h... yes checking for sys/select.h... yes checking for ieeefp.h... yes checking for fp.h... no checking for values.h... no checking for float.h... yes checking for bsd/dev/scsireg.h... no checking for header file containing major(), minor() and makedev()... none checking bits in minor device number... 32 checking whether bits in minor device numbers are non contiguous... yes checking for _filbuf()... no checking for __filbuf()... no checking for USG derived STDIO... no checking for errno definition in errno.h... yes checking for working const... yes checking whether byte ordering is bigendian... no checking whether bitorder in bitfields is htol... no checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for type long long... yes checking for prototypes... yes checking if we may not define our own malloc()... no checking for uid_t in sys/types.h... (cached) yes checking for size_t... yes checking for pid_t... yes checking for off_t... yes checking for mode_t... yes checking for time_t... yes checking for caddr_t... yes checking for daddr_t... yes checking for dev_t... yes checking for socklen_t... yes checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking size of char... 1 checking size of short int... 2 checking size of int... 4 checking size of long int... 8 checking size of long long... 8 checking size of char *... 8 checking size of unsigned char... 1 checking size of unsigned short int... 2 checking size of unsigned int... 4 checking size of unsigned long int... 8 checking size of unsigned long long... 8 checking size of unsigned char *... 8 checking if char is unsigned... no checking if va_list is an array... yes checking if struct mtget contains mt_type... yes checking if struct mtget contains mt_dsreg... yes checking if struct mtget contains mt_erreg... yes checking if struct mtget contains mt_resid... yes checking if struct mtget contains mt_fileno... yes checking if struct mtget contains mt_blkno... yes checking if struct mtget contains mt_flags... no checking if struct mtget contains mt_bf... no checking if struct rusage is declared in sys/resource.h... yes checking if an illegal declaration for union semun in sys/sem.h exists... no checking if union wait is declared in wait.h or sys/wait.h... yes checking if struct stat contains st_spare1... no checking if struct stat contains st_atim.tv_nsec... yes checking for st_blksize in struct stat... yes checking for st_blocks in struct stat... yes checking for st_rdev in struct stat... yes checking for wait3 that fills in rusage... yes checking for mlockall... yes checking for va_copy... yes checking for __va_copy... yes checking for working ecvt() ... no checking for working fcvt() ... no checking for working gcvt() ... no checking for __dtoa... yes checking for __dtoa that needs result ptr... no checking for unistd.h... (cached) yes checking for getpagesize... yes checking for mmap that needs ptr to size... no checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for mmap that needs ptr to size... (cached) no checking if mmap works to get shared memory... yes checking if quotactl is an ioctl... no checking for file locking via fcntl... yes checking for uname... yes checking for vfork.h... no checking for working vfork... yes checking for sys_siglist... yes checking for BSD compliant getpgrp... no checking for BSD compliant setpgrp... yes checking for brk... yes checking for sbrk... yes checking for strerror... yes checking for nice... yes checking for memmove... yes checking for flock... yes checking for lockf... yes checking for fchdir... yes checking for statvfs... yes checking for quotactl... yes checking for getcwd... yes checking for shmat... yes checking for semget... yes checking for lstat... yes checking for readlink... yes checking for link... yes checking for rename... yes checking for mkfifo... yes checking for mknod... yes checking for setreuid... yes checking for setresuid... no checking for seteuid... yes checking for setuid... yes checking for setregid... yes checking for setresgid... no checking for setegid... yes checking for setgid... yes checking for getpgid... yes checking for setpgid... yes checking for getpgrp... yes checking for setpgrp... yes checking for getspnam... no checking for getspwnam... no checking for sync... yes checking for fsync... yes checking for fork... yes checking for wait4... yes checking for waitid... yes checking for waitpid... yes checking for getrusage... yes checking for gethostid... yes checking for gethostname... yes checking for getdomainname... yes checking for getpagesize... (cached) yes checking for poll... yes checking for select... yes checking for lchown... yes checking for times... yes checking for utimes... yes checking for ecvt_r... no checking for fcvt_r... no checking for gcvt_r... no checking for econvert... no checking for fconvert... no checking for gconvert... no checking for isinf... yes checking for isnan... yes checking for rand... yes checking for drand48... yes checking for setpriority... yes checking for DosSetPriority... no checking for DosAllocSharedMem... no checking for seekdir... yes checking for strsignal... yes checking for str2sig... no checking for sig2str... no checking for killpg... yes checking for sigrelse... yes checking for sigprocmask... yes checking for sigsetmask... yes checking for nanosleep... yes checking for usleep... yes checking for putenv... yes checking for setenv... yes checking for snprintf... yes checking for strcasecmp... yes checking for valloc... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes checking if system supports Large Files at all... yes checking for crypt in -lc... no checking for crypt in -lcrypt... yes updating cache ./config.cache creating ./config.status creating rules.cnf creating xconfig.h gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/conf' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc" gmake[1]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/inc' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk" gmake[2]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/inc' ==> MAKING DIRECTORY "OBJ/x86_64-netbsd-cc" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/align_test.d" ==> COMPILING "OBJ/x86_64-netbsd-cc/align_test.o" align_test.c:177:7: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] i = ((int)buf) % 1024; ^~~~~~~~ align_test.c:597:10: warning: cast to smaller integer type 'int' from 'short *' [-Wpointer-to-int-cast] return (sm_off(struct ss *, s)); ^~~~~~~~~~~~~~~~~~~~~~ align_test.c:108:23: note: expanded from macro 'sm_off' #define sm_off(s, m) ((int)&((s)0)->m) ^~~~~~~~~~~~~~~ align_test.c:609:10: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] return (sm_off(struct si *, i)); ^~~~~~~~~~~~~~~~~~~~~~ align_test.c:108:23: note: expanded from macro 'sm_off' #define sm_off(s, m) ((int)&((s)0)->m) ^~~~~~~~~~~~~~~ align_test.c:621:10: warning: cast to smaller integer type 'int' from 'long *' [-Wpointer-to-int-cast] return (sm_off(struct sl *, l)); ^~~~~~~~~~~~~~~~~~~~~~ align_test.c:108:23: note: expanded from macro 'sm_off' #define sm_off(s, m) ((int)&((s)0)->m) ^~~~~~~~~~~~~~~ align_test.c:634:10: warning: cast to smaller integer type 'int' from 'long long *' [-Wpointer-to-int-cast] return (sm_off(struct sll *, ll)); ^~~~~~~~~~~~~~~~~~~~~~~~ align_test.c:108:23: note: expanded from macro 'sm_off' #define sm_off(s, m) ((int)&((s)0)->m) ^~~~~~~~~~~~~~~ align_test.c:647:10: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] return (sm_off(struct sf *, f)); ^~~~~~~~~~~~~~~~~~~~~~ align_test.c:108:23: note: expanded from macro 'sm_off' #define sm_off(s, m) ((int)&((s)0)->m) ^~~~~~~~~~~~~~~ align_test.c:659:10: warning: cast to smaller integer type 'int' from 'double *' [-Wpointer-to-int-cast] return (sm_off(struct sd *, d)); ^~~~~~~~~~~~~~~~~~~~~~ align_test.c:108:23: note: expanded from macro 'sm_off' #define sm_off(s, m) ((int)&((s)0)->m) ^~~~~~~~~~~~~~~ align_test.c:671:10: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] return (sm_off(struct sp *, p)); ^~~~~~~~~~~~~~~~~~~~~~ align_test.c:108:23: note: expanded from macro 'sm_off' #define sm_off(s, m) ((int)&((s)0)->m) ^~~~~~~~~~~~~~~ 8 warnings generated. ==> LINKING "OBJ/x86_64-netbsd-cc/align_test" ==> GENERATING include file "../incs/x86_64-netbsd-cc/align.h" gmake[2]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/inc' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/avoffset.mk" gmake[2]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/inc' ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/avoffset.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/getfp.d" ==> COMPILING "OBJ/x86_64-netbsd-cc/getfp.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/avoffset.o" ==> LINKING "OBJ/x86_64-netbsd-cc/avoffset" ==> GENERATING include file "../incs/x86_64-netbsd-cc/avoffset.h" gmake[2]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/inc' gmake[1]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/inc' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/lib" gmake[1]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/lib' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/lib/libschily.mk" gmake[2]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/lib' ==> MAKING DIRECTORY "OBJ/x86_64-netbsd-cc" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/usleep.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/streql.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/sprintf.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/saveargs.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/seterrno.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/serrmsg.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/strcatl.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/swabbytes.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/raisecond.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/printf.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/movebytes.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/match.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/jssprintf.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/jssnprintf.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/jsprintf.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/geterrno.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/getav0.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/getargs.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/gethostname.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/gethostid.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/getdomainname.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/getfp.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/format.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fillbytes.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fconv.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/error.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/cmpbytes.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/comerr.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/astoll.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/astoi.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fileopen64.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fcons64.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/openfd.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/niread.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/flush.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/flag.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/filewrite.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fileseek.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fileread.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fileopen.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fgetline.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fdown.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fcons.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/dat.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/cvmod.d" ==> MAKING DIRECTORY "../libs/x86_64-netbsd-cc" ==> COMPILING "OBJ/x86_64-netbsd-cc/cvmod.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/dat.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/fcons.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/fgetline.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/fdown.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/fileread.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/fileopen.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/fileseek.o" In file included from stdio/fgetline.c:21: In file included from stdio/io.h:29: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ 1 error generated. gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/fgetline.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from stdio/cvmod.c:21: In file included from stdio/io.h:29: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ 1 error generated. gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/cvmod.o] Error 1 In file included from stdio/fileseek.c:21: In file included from stdio/io.h:29: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ 1 error generated. gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/fileseek.o] Error 1 In file included from stdio/fileopen.c:21: In file included from stdio/io.h:29: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ 1 error generated. In file included from stdio/fcons.c:21: In file included from stdio/io.h:29: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ 1 error generated. gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/fileopen.o] Error 1 gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/fcons.o] Error 1 In file included from stdio/fileread.c:21: In file included from stdio/io.h:29: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ 1 error generated. gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/fileread.o] Error 1 In file included from stdio/fdown.c:21: In file included from stdio/io.h:29: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ 1 error generated. gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/fdown.o] Error 1 gmake[2]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/lib' gmake[1]: *** [../RULES/rules.mks:25: all] Error 2 gmake[1]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/lib' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libdeflt" gmake[1]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/libdeflt' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libdeflt/libdeflt.mk" gmake[2]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/libdeflt' ==> MAKING DIRECTORY "OBJ/x86_64-netbsd-cc" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/default.d" ==> COMPILING "OBJ/x86_64-netbsd-cc/default.o" ==> ARCHIVING "../libs/x86_64-netbsd-cc/libdeflt.a" ==> RANDOMIZING ARCHIVE "../libs/x86_64-netbsd-cc/libdeflt.a" gmake[2]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/libdeflt' gmake[1]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/libdeflt' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libscg" gmake[1]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/libscg' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libscg/libscg.mk" gmake[2]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/libscg' ==> MAKING DIRECTORY "OBJ/x86_64-netbsd-cc" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/rdummy.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/scgtimes.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/scsierrs.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/scsiopen.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/scgsettarget.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/scsihack.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/scsitransp.d" ==> COMPILING "OBJ/x86_64-netbsd-cc/scsitransp.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/scsiopen.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/scsihack.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/scsierrs.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/rdummy.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/scgtimes.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/scgsettarget.o" In file included from scsihack.c:59: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ scsierrs.c:523:3: warning: implicit declaration of function 'js_snprintf' is invalid in C99 [-Wimplicit-function-declaration] js_snprintf(sbuf, maxcnt, ^ scsierrs.c:528:3: warning: implicit declaration of function 'js_snprintf' is invalid in C99 [-Wimplicit-function-declaration] js_snprintf(sbuf, maxcnt, ^ scsierrs.c:534:3: warning: implicit declaration of function 'js_snprintf' is invalid in C99 [-Wimplicit-function-declaration] js_snprintf(sbuf, maxcnt, ^ scsierrs.c:543:3: warning: implicit declaration of function 'js_snprintf' is invalid in C99 [-Wimplicit-function-declaration] js_snprintf(sbuf, maxcnt, "invalid sense code 0x%X", code); ^ scsierrs.c:546:2: warning: implicit declaration of function 'js_snprintf' is invalid in C99 [-Wimplicit-function-declaration] js_snprintf(sbuf, maxcnt, "vendor unique sense code 0x%X", code); ^ scsierrs.c:631:6: warning: implicit declaration of function 'js_snprintf' is invalid in C99 [-Wimplicit-function-declaration] n = js_snprintf(obuf, sizeleft, "%sSense Key: 0x%X %s%s, Segment %d\n", ^ 1 error generated. In file included from scsitransp.c:41: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/scsihack.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from scsiopen.c:52: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ scsiopen.c:242:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] js_snprintf(errs, slen, scgp->errstr); ^~~~~~~~~~~~ scsiopen.c:242:28: note: treat the string as an argument to avoid this js_snprintf(errs, slen, scgp->errstr); ^ "%s", 1 warning and 1 error generated. scsitransp.c:1019:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] js_fprintf(f, s); ^ scsitransp.c:1019:16: note: treat the string as an argument to avoid this js_fprintf(f, s); ^ "%s", scsitransp.c:1053:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] amt = js_snprintf(p, maxcnt, s); ^ scsitransp.c:1053:31: note: treat the string as an argument to avoid this amt = js_snprintf(p, maxcnt, s); ^ "%s", gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/scsiopen.o] Error 1 scsitransp.c:1290:56: warning: invalid conversion specifier 'r' [-Wformat-invalid-specifier] cnt = js_snprintf(scgp->errptr, scg_errrsize(scgp), "%r", form, args); ~^ scsitransp.c:1290:66: warning: data argument not used by format string [-Wformat-extra-args] cnt = js_snprintf(scgp->errptr, scg_errrsize(scgp), "%r", form, args); ~~~~ ^ 4 warnings and 1 error generated. gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/scsitransp.o] Error 1 6 warnings generated. gmake[2]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/libscg' gmake[1]: *** [../RULES/rules.mks:25: all] Error 2 gmake[1]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/libscg' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/librscg" gmake[1]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/librscg' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/librscg/librscg.mk" gmake[2]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/librscg' ==> MAKING DIRECTORY "OBJ/x86_64-netbsd-cc" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/scsi-remote.d" ==> COMPILING "OBJ/x86_64-netbsd-cc/scsi-remote.o" In file included from scsi-remote.c:48: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ scsi-remote.c:243:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] js_snprintf(devname, sizeof(devname), device); ^~~~~~ scsi-remote.c:243:40: note: treat the string as an argument to avoid this js_snprintf(devname, sizeof(devname), device); ^ "%s", scsi-remote.c:471:48: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] js_snprintf(rscsiuser, sizeof(rscsiuser), "%.*s", p - host, host); ~~^~ ~~~~~~~~ 2 warnings and 1 error generated. gmake[2]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/scsi-remote.o] Error 1 gmake[2]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/librscg' gmake[1]: *** [../RULES/rules.mks:25: all] Error 2 gmake[1]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/librscg' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/sformat" gmake[1]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/sformat' ==> MAKING DIRECTORY "OBJ/x86_64-netbsd-cc" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/modeselect.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/autopart.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/rand_rw.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/check_part.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/bcrypt.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/sinfo.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/xdelay.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/checkmount.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/maptodisk.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/scsicmds.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/xpart.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/xdisk.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/xmodes.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/datio.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/acb4000.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/diskparam.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/diskfmt.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/repair.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/badblock.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/defect.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/io.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/makelabel.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/labelsubs.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/modes.d" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/fmt.d" ==> COMPILING "OBJ/x86_64-netbsd-cc/labelsubs.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/defect.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/badblock.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/modes.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/makelabel.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/fmt.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/repair.o" ==> COMPILING "OBJ/x86_64-netbsd-cc/io.o" labelsubs.c:474:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf("Schtze cap: %ld ist cap: %ld\n", maxlncyl, (long)scgp->cap->c_baddr+1); ^~~~ labelsubs.c:483:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf("Schtze lncyl: %ld\n", lncyl); ^~~~ In file included from fmt.c:36: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ In file included from makelabel.c:47: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ In file included from repair.c:33: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ fmt.c:342:54: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf("Copyright (C) 1986-1991, 93-97, 2000-2001 Jrg Schilling\n"); ^~~~ makelabel.c:868:5: warning: cast to smaller integer type 'int' from 'struct dk_map *' [-Wpointer-to-int-cast] loff(dkl_map[0]) - loff(dkl_pad[0])) >= ^~~~~~~~~~~~~~~~ makelabel.c:845:19: note: expanded from macro 'loff' #define loff(a) ((int)&((struct dk_label *)0)->a) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelabel.c:868:24: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] loff(dkl_map[0]) - loff(dkl_pad[0])) >= ^~~~~~~~~~~~~~~~ makelabel.c:845:19: note: expanded from macro 'loff' #define loff(a) ((int)&((struct dk_label *)0)->a) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelabel.c:869:5: warning: cast to smaller integer type 'int' from 'struct dk_map *' [-Wpointer-to-int-cast] loff(dkl_map[0]) - loff(dkl_pad[0])) ^~~~~~~~~~~~~~~~ makelabel.c:845:19: note: expanded from macro 'loff' #define loff(a) ((int)&((struct dk_label *)0)->a) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelabel.c:869:24: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] loff(dkl_map[0]) - loff(dkl_pad[0])) ^~~~~~~~~~~~~~~~ makelabel.c:845:19: note: expanded from macro 'loff' #define loff(a) ((int)&((struct dk_label *)0)->a) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings and 1 error generated. fmt.c:1217:23: warning: invalid conversion specifier 'Z' [-Wformat-invalid-specifier] printf("0x%02X %08Z\n", ~~~^ fmt.c:1218:19: warning: data argument not used by format string [-Wformat-extra-args] bh[i]&0xFF, bh[i]&0xFF); ^ gmake[1]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/makelabel.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... 3 warnings and 1 error generated. gmake[1]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/fmt.o] Error 1 1 error generated. gmake[1]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/repair.o] Error 1 io.c:332:11: warning: invalid conversion specifier 'r' [-Wformat-invalid-specifier] printf("%r", form, args); ~^ io.c:332:21: warning: data argument not used by format string [-Wformat-extra-args] printf("%r", form, args); ~~~~ ^ io.c:354:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(s); ^ io.c:354:9: note: treat the string as an argument to avoid this printf(s); ^ "%s", 2 warnings generated. 3 warnings generated. gmake[1]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/sformat' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/rscsi" gmake[1]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/rscsi' ==> MAKING DIRECTORY "OBJ/x86_64-netbsd-cc" ==> MAKING DEPENDENCIES "OBJ/x86_64-netbsd-cc/rscsi.d" ==> COMPILING "OBJ/x86_64-netbsd-cc/rscsi.o" In file included from rscsi.c:47: ../include/schily.h:93:12: error: conflicting types for 'fexecve' extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ^ /usr/include/unistd.h:317:5: note: previous declaration is here int fexecve(int, char * const *, char * const *); ^ 1 error generated. gmake[1]: *** [../RULES/r-gmake.obj:33: OBJ/x86_64-netbsd-cc/rscsi.o] Error 1 gmake[1]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/rscsi' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man" gmake[1]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/man' ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man/man4" gmake[2]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/man/man4' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makefiles.mk" gmake[3]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/man/man4' ==> LOCALIZING "OBJ/x86_64-netbsd-cc/man/makefiles.5" ==> MAKING DIRECTORY "OBJ/x86_64-netbsd-cc/man" gmake[3]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/man/man4' ==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makerules.mk" gmake[3]: Entering directory '/data/scratch/sysutils/sformat/work/sformat-3.5/man/man4' ==> LOCALIZING "OBJ/x86_64-netbsd-cc/man/makerules.5" gmake[3]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/man/man4' gmake[2]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/man/man4' gmake[1]: Leaving directory '/data/scratch/sysutils/sformat/work/sformat-3.5/man'