=> 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 tripwire-1.2nb4 (cd aux; make CC=gcc CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2" LDFLAGS="" CPP="cpp" SHELL=/bin/sh all) ### ### Ignore warnings about shift count negative/too large on line 36 ### gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 byteorder.c -o byteorder byteorder.c: In function 'main': byteorder.c:36:8: warning: large integer implicitly truncated to unsigned type [-Woverflow] u.l = (0x08070605L << 32) | 0x04030201L; ^ (./byteorder; cat ./ntohl.h) > ../include/byteorder.h gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 types.c -o types types.c: In function 'main': types.c:38:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(pc, "mode_t") == 0) { ^~~~~~ types.c: In function 'typeis': types.c:79:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(sign, "unsigned"); ^~~~~~ types.c:79:2: warning: incompatible implicit declaration of built-in function 'strcpy' types.c:79:2: note: include '' or provide a declaration of 'strcpy' types.c:81:2: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(sign, "signed"); ^~~~~~ types.c:81:2: note: include '' or provide a declaration of 'strcpy' /bin/sh ./types.sh "cpp" > ../include/inode.h (cd src; make CC=gcc CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2" LIBS="" LDFLAGS="" CPP="cpp" SHELL=/bin/sh YACC="yacc" LEX="lex" all) /bin/sh help.sh help.txt > help.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c config.parse.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c main.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c list.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c ignorevec.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c dbase.build.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c utils.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c preen.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c preen.interp.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c preen.report.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c nullsig.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c config.prim.c config.prim.c: In function 'tw_mac_ifhost': config.prim.c:125:9: warning: implicit declaration of function 'gethostname'; did you mean 'tzgetname'? [-Wimplicit-function-declaration] if (gethostname(realhostname, MAXHOSTNAMELEN) < 0) ^~~~~~~~~~~ tzgetname gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c dbase.update.c lex config.pre.l mv lex.yy.c config.lex.c yacc config.pre.y sed 's/lex\.yy\.c/config.lex.c/' < y.tab.c > config.pre.c rm y.tab.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c config.pre.c config.pre.y:426:1: warning: return type defaults to 'int' [-Wimplicit-int] yyerror(s) ^~~~~~~ config.pre.y:476:1: warning: return type defaults to 'int' [-Wimplicit-int] yywrap() ^~~~~~ gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c help.c (cd ../sigs/md5; make CC="gcc" CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I..") gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c md5.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c md5wrapper.c (cd ../sigs/snefru; make CC="gcc" CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I..") gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c snefru.c (cd ../sigs/crc32; make CC="gcc" CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I..") gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c crc32.c (cd ../sigs/crc; make CC="gcc" CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I..") gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c crc.c (cd ../sigs/md4; make CC="gcc" CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I..") gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c md4.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c md4wrapper.c (cd ../sigs/md2; make CC="gcc" CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I..") gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c md2wrapper.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c md2.c (cd ../sigs/sha; make CC="gcc" CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I..") gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c sha.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c shawrapper.c (cd ../sigs/haval; make CC="gcc" CFLAGS="-O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I..") gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c haval.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I. -I.. -c havalwrapper.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -o tripwire config.parse.o main.o list.o ignorevec.o dbase.build.o utils.o preen.o preen.interp.o preen.report.o nullsig.o config.prim.o dbase.update.o config.pre.o help.o ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sigs/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../sigs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.o ../sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -o siggen siggen.c ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sigs/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../sigs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.o ../sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o nullsig.o utils.o siggen.c: In function 'main': siggen.c:118:17: warning: implicit declaration of function 'getopt'; did you mean 'getdate'? [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "0123456789aqvh")) != -1) { ^~~~~~ getdate siggen.c:158:6: warning: implicit declaration of function 'siggen'; did you mean 'strlen'? [-Wimplicit-function-declaration] if (siggen(fd) < 0) ^~~~~~ strlen siggen.c:162:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose siggen.c:180:2: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink(tmpfilename); ^~~~~~