=> 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 bin86-0.16.17nb1 cd /tmp/devel/bin86/work/bin86-0.16.17 && /usr/pkg/bin/gmake PREFIX=/usr/pkg gmake[2]: Entering directory '/tmp/devel/bin86/work/bin86-0.16.17' set -e ; for d in ld as; do \ (cd $d && /usr/pkg/bin/gmake "LIBS=" "CFLAGS=-O2 -D_POSIX_SOURCE" "LDFLAGS=" "BINDIR=/usr/pkg/bin" "LIBDIR=/usr/pkg/lib" "CC=cc" all;); \ done gmake[3]: Entering directory '/tmp/devel/bin86/work/bin86-0.16.17/ld' cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c dumps.c -o dumps.o cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c io.c -o io.o cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c ld.c -o ld.o ld.c: In function 'main': ld.c:221:8: warning: implicit declaration of function 'ld86r' [-Wimplicit-function-declaration] ld86r(argc, argv); ^~~~~ cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c readobj.c -o readobj.o cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c table.c -o table.o cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c typeconv.c -o typeconv.o cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c linksyms.c -o linksyms.o cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c mkar.c -o mkar.o mkar.c: In function 'ld86r': mkar.c:41:7: warning: implicit declaration of function 'fatalerror'; did you mean 'strerror'? [-Wimplicit-function-declaration] fatalerror("-o option required for -r"); ^~~~~~~~~~ strerror cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c writex86.c -o writex86.o writex86.c: In function 'write_elks': writex86.c:52:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^ writex86.c:433:26: note: in expansion of macro 'offsetof' seekout((unsigned long) offsetof(struct exec, a_syms)); ^~~~~~~~ cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c writebin.c cc -O2 -D_POSIX_SOURCE -DREL_OUTPUT -c writeemu.c -o writeemu.o In file included from writeemu.c:20:0: writebin.c: In function 'write_dosemu': writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^ writebin.c:560:26: note: in expansion of macro 'offsetof' seekout((unsigned long) offsetof(struct exec, a_syms)); ^~~~~~~~ writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^ writebin.c:565:26: note: in expansion of macro 'offsetof' if( FILEHEADERLENGTH >= offsetof(struct exec, a_trsize)+8) ^~~~~~~~ writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^ writebin.c:567:27: note: in expansion of macro 'offsetof' seekout((unsigned long) offsetof(struct exec, a_trsize)); ^~~~~~~~ writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) ^ writebin.c:571:27: note: in expansion of macro 'offsetof' seekout((unsigned long) offsetof(struct exec, a_drsize)); ^~~~~~~~ cc dumps.o io.o ld.o readobj.o table.o typeconv.o linksyms.o mkar.o writex86.o writebin.o writeemu.o -o ld86 cc -O2 -D_POSIX_SOURCE objchop.c -o objchop objchop.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ objchop.c: In function 'main': objchop.c:14:20: warning: implicit declaration of function 'fatal'; did you mean 'atol'? [-Wimplicit-function-declaration] if( argc != 5 ) fatal("Usage: objchop a.out text.bin data.bin sizes.asm"); ^~~~~ atol objchop.c:28:4: warning: implicit declaration of function 'write_file'; did you mean 'tmpfile'? [-Wimplicit-function-declaration] write_file(argv[2], header.a_text); ^~~~~~~~~~ tmpfile objchop.c: At top level: objchop.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] write_file(fname, bsize) ^~~~~~~~~~ objchop.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] fatal(str) ^~~~~ cc -O2 -D_POSIX_SOURCE catimage.c -o catimage catimage.c: In function 'main': catimage.c:47:7: warning: implicit declaration of function 'fatal'; did you mean 'atol'? [-Wimplicit-function-declaration] fatal("Usage: catimage mem.bin boot.out [a1.out] ... [a9.out]"); ^~~~~ atol catimage.c:49:4: warning: implicit declaration of function 'open_obj' [-Wimplicit-function-declaration] open_obj(argv[2]); ^~~~~~~~ catimage.c:54:4: warning: implicit declaration of function 'read_symtable' [-Wimplicit-function-declaration] read_symtable(); ^~~~~~~~~~~~~ catimage.c:71:10: warning: implicit declaration of function 'copy_segment' [-Wimplicit-function-declaration] copy_segment(image_offset, A_TEXTPOS(header), header.a_text); ^~~~~~~~~~~~ catimage.c: At top level: catimage.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] open_obj(fname) ^~~~~~~~ catimage.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_segment(out_offset, in_offset, length) ^~~~~~~~~~~~ catimage.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] read_symtable() ^~~~~~~~~~~~~ catimage.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] fatal(str) ^~~~~ cc -O2 -D_POSIX_SOURCE objdump86.c -o objdump86 gmake[3]: Leaving directory '/tmp/devel/bin86/work/bin86-0.16.17/ld' gmake[3]: Entering directory '/tmp/devel/bin86/work/bin86-0.16.17/as' cc -O2 -D_POSIX_SOURCE -c as.c cc -O2 -D_POSIX_SOURCE -c assemble.c cc -O2 -D_POSIX_SOURCE -c errors.c cc -O2 -D_POSIX_SOURCE -c express.c cc -O2 -D_POSIX_SOURCE -c genbin.c cc -O2 -D_POSIX_SOURCE -c genlist.c cc -O2 -D_POSIX_SOURCE -c genobj.c cc -O2 -D_POSIX_SOURCE -c gensym.c cc -O2 -D_POSIX_SOURCE -c keywords.c cc -O2 -D_POSIX_SOURCE -c macro.c cc -O2 -D_POSIX_SOURCE -c mops.c cc -O2 -D_POSIX_SOURCE -c pops.c cc -O2 -D_POSIX_SOURCE -c readsrc.c cc -O2 -D_POSIX_SOURCE -c scan.c cc -O2 -D_POSIX_SOURCE -c table.c cc -O2 -D_POSIX_SOURCE -c typeconv.c cc -O2 -D_POSIX_SOURCE -c alloc.c cc as.o assemble.o errors.o express.o genbin.o genlist.o genobj.o gensym.o keywords.o macro.o mops.o pops.o readsrc.o scan.o table.o typeconv.o alloc.o -o as86 sed -e "s:%%LIBDIR%%:/usr/pkg/lib:" -e "s:%%BINDIR%%:/usr/pkg/bin:" \ < as86_encap.sh > tmp chmod +x as86_encap gmake[3]: Leaving directory '/tmp/devel/bin86/work/bin86-0.16.17/as' gmake[2]: Leaving directory '/tmp/devel/bin86/work/bin86-0.16.17'