=> 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 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 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 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 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 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:9: 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 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 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 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:0: include/libelfsh.h:487:7: 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 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 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 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 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 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:0: include/libelfsh.h:552:14: 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:0: include/libelfsh.h:552:14: 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:0: include/libelfsh.h:552:14: 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 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:0: include/libelfsh.h:550:14: 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 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 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 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 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:9: 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 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:9: 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 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 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 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 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:0: include/libelfsh.h:487:7: 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 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:0: include/libelfsh.h:552:14: 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 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 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 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 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 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 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 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 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 distcc[505] ERROR: compile relinject.c on 10.0.20.122:3642 failed distcc[505] (dcc_build_somewhere) Warning: remote compilation of 'relinject.c' failed, retrying locally distcc[505] Warning: failed to distribute relinject.c to 10.0.20.122:3642, running locally instead relinject.c: In function 'elfsh_relocate_i386': relinject.c:23:10: error: 'R_386_32' undeclared (first use in this function); did you mean 'R_SPARC_32'? case R_386_32: ^~~~~~~~ R_SPARC_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); did you mean 'R_386_32'? case R_386_PC32: ^~~~~~~~~~ R_386_32 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] if (elfsh_relocate_entry(new, cur, dword, addr) < 0) ^~~~~ relinject.c:190:17: note: expected 'u_long * {aka long unsigned int *}' but argument is of type 'long int *' static int elfsh_relocate_entry(elfshsect_t *new, ^~~~~~~~~~~~~~~~~~~~ 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] sym = elfsh_get_symtab(rel, &symnbr); ^ In file included from relinject.c:9:0: include/libelfsh.h:332:8: note: expected 'int *' but argument is of type 'u_int * {aka unsigned int *}' void *elfsh_get_symtab(elfshobj_t *file, int *num); ^~~~~~~~~~~~~~~~ distcc[505] ERROR: compile relinject.c on localhost failed *** Error code 1 Stop. make[1]: stopped in /tmp/pkgbuild/devel/elfsh/work.sparc64/elfsh-0.51b3/libelfsh *** Error code 1 Stop. make: stopped in /tmp/pkgbuild/devel/elfsh/work.sparc64/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