=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> 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 elfsh-0.51b3nb4 Builting libelfsh... gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c dynamic.c -o dynamic.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c dynsym.c -o dynsym.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c elf.c -o elf.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c fixup.c -o fixup.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c got.c -o got.o got.c: In function 'elfsh_get_got_entry_by_name': got.c:109:29: warning: pointer targets in passing argument 2 of 'elfsh_get_got' differ in signedness [-Wpointer-sign] got.c:14:46: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c hash.c -o hash.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c interp.c -o interp.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c pht.c -o pht.o pht.c: In function 'elfsh_get_parent_segment': pht.c:221:62: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] pht.c: In function 'elfsh_get_object_baseaddr': pht.c:252:27: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness [-Wpointer-sign] In file included from pht.c:7: include/libelfsh.h:487:44: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c plt.c -o plt.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c section.c -o section.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c sht.c -o sht.o sht.c: In function 'elfsh_sort_sht': sht.c:81:39: warning: operation on 'actual->prev' may be undefined [-Wsequence-point] sht.c: In function 'elfsh_get_sht_entry_by_name': sht.c:762:9: warning: variable 'index' set but not used [-Wunused-but-set-variable] gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c error.c -o error.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c stab.c -o stab.o stab.c: In function 'elfsh_get_stab': stab.c:50:12: warning: pointer targets in passing argument 3 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] In file included from stab.c:7: include/libelfsh.h:552:66: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} stab.c:50:20: warning: pointer targets in passing argument 4 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] In file included from stab.c:7: include/libelfsh.h:552:73: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} stab.c:50:31: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] In file included from stab.c:7: include/libelfsh.h:552:80: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} stab.c: In function 'elfsh_get_stab_offset': stab.c:89:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c symbol.c -o symbol.o symbol.c: In function 'elfsh_shift_symtab': symbol.c:363:64: warning: pointer targets in passing argument 6 of 'elfsh_get_section_by_type' differ in signedness [-Wpointer-sign] In file included from symbol.c:7: include/libelfsh.h:550:91: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c notes.c -o notes.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c reloc.c -o reloc.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c blocks.c -o blocks.o blocks.c: In function 'elfsh_scan_blocks': blocks.c:17:17: warning: variable 'prev_fct' set but not used [-Wunused-but-set-variable] gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c ctors.c -o ctors.o ctors.c: In function 'elfsh_get_ctors_entry_by_name': ctors.c:106:33: warning: pointer targets in passing argument 2 of 'elfsh_get_ctors' differ in signedness [-Wpointer-sign] ctors.c:12:48: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c dtors.c -o dtors.o dtors.c: In function 'elfsh_get_dtors_entry_by_name': dtors.c:98:33: warning: pointer targets in passing argument 2 of 'elfsh_get_dtors' differ in signedness [-Wpointer-sign] dtors.c:12:48: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c raw.c -o raw.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c map.c -o map.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c strtab.c -o strtab.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c sht_rebuild.c -o sht_rebuild.o sht_rebuild.c: In function 'elfsh_rebuild_sht': sht_rebuild.c:360:28: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness [-Wpointer-sign] In file included from sht_rebuild.c:11: include/libelfsh.h:487:44: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c comment.c -o comment.o comment.c: In function 'elfsh_get_comments': comment.c:22:13: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] In file included from comment.c:10: include/libelfsh.h:552:80: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c sym_common.c -o sym_common.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c hijack.c -o hijack.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c obj.c -o obj.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c pax.c -o pax.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c save.c -o save.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c copy.c -o copy.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c strip.c -o strip.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c remap.c -o remap.o gcc -O2 -I/usr/include -I/usr/pkg/include -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I/usr/include -I/usr/pkg/include -c relinject.c -o relinject.o distcc[659] ERROR: compile relinject.c on 10.0.20.122:3760 failed distcc[659] (dcc_build_somewhere) Warning: remote compilation of 'relinject.c' failed, retrying locally distcc[659] Warning: failed to distribute relinject.c to 10.0.20.122:3760, running locally instead relinject.c: In function 'elfsh_relocate_i386': relinject.c:23:10: error: 'R_386_32' undeclared (first use in this function) 23 | case R_386_32: | ^~~~~~~~ relinject.c:23:10: note: each undeclared identifier is reported only once for each function it appears in relinject.c:28:10: error: 'R_386_PC32' undeclared (first use in this function) 28 | case R_386_PC32: | ^~~~~~~~~~ relinject.c: In function 'elfsh_relocate_etrel_section': relinject.c:316:42: warning: pointer targets in passing argument 3 of 'elfsh_relocate_entry' differ in signedness [-Wpointer-sign] 316 | if (elfsh_relocate_entry(new, cur, dword, addr) < 0) | ^~~~~ | | | long int * relinject.c:192:58: note: expected 'u_long *' {aka 'long unsigned int *'} but argument is of type 'long int *' 192 | u_long *dword, | ~~~~~~~~~~~~~~~~~~~~^~~~~ relinject.c: In function 'elfsh_inject_etrel': relinject.c:433:31: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness [-Wpointer-sign] 433 | sym = elfsh_get_symtab(rel, &symnbr); | ^~~~~~~ | | | u_int * {aka unsigned int *} In file included from relinject.c:9: include/libelfsh.h:332:48: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} 332 | void *elfsh_get_symtab(elfshobj_t *file, int *num); | ~~~~~^~~ distcc[659] ERROR: compile relinject.c on localhost failed *** Error code 1 Stop. make[1]: stopped in /tmp/pkgbuild/devel/elfsh/work.aarch64eb/elfsh-0.51b3/libelfsh *** Error code 1 Stop. make: stopped in /tmp/pkgbuild/devel/elfsh/work.aarch64eb/elfsh-0.51b3 *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/devel/elfsh *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/elfsh