=> 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 -mieee -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 -mieee -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 -mieee -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 -mieee -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 -mieee -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] 109 | got = elfsh_get_got(file, &nbr); | ^~~~ | | | u_int * {aka unsigned int *} got.c:14:47: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} 14 | u_long *elfsh_get_got(elfshobj_t *file, int *num) | ~~~~~^~~ gcc -O2 -mieee -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 -mieee -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 -mieee -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:65: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 221 | (NULL == new->parent->pht && elfsh_load_pht(new->parent)) < 0) | ^ 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] 252 | if (elfsh_get_pht(file, &nbr) == NULL) | ^~~~ | | | u_int * {aka unsigned int *} In file included from pht.c:7: include/libelfsh.h:487:45: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} 487 | void *elfsh_get_pht(elfshobj_t *file, int *num); | ~~~~~^~~ gcc -O2 -mieee -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 -mieee -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 -mieee -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] 81 | actual->prev->next = actual->prev = actual->next; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ sht.c: In function 'elfsh_get_sht_entry_by_name': sht.c:762:11: warning: variable 'index' set but not used [-Wunused-but-set-variable] 762 | u_int index; | ^~~~~ gcc -O2 -mieee -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 -mieee -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] 50 | &index, &strindex, &nbr); | ^~~~~~ | | | u_int * {aka unsigned int *} 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 *'} 552 | elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); | ^~~~~ stab.c:50:20: warning: pointer targets in passing argument 4 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] 50 | &index, &strindex, &nbr); | ^~~~~~~~~ | | | u_int * {aka unsigned int *} 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 *'} 552 | elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); | ^~~~~ stab.c:50:31: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] 50 | &index, &strindex, &nbr); | ^~~~ | | | u_int * {aka unsigned int *} 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 *'} 552 | elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, 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] 89 | return ((void *) ((int) (s->value))); | ^ gcc -O2 -mieee -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:71: warning: pointer targets in passing argument 6 of 'elfsh_get_section_by_type' differ in signedness [-Wpointer-sign] 363 | actual = elfsh_get_section_by_type(file, SHT_SYMTAB, 0, NULL, NULL, &nbr); | ^~~~ | | | u_int * {aka unsigned int *} 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 *'} 550 | elfshsect_t *elfsh_get_section_by_type(elfshobj_t *, u_int type, int range, int *, int *, int *); | ^~~~~ gcc -O2 -mieee -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 -mieee -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 -mieee -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:18: warning: variable 'prev_fct' set but not used [-Wunused-but-set-variable] 17 | elfshblock_t *prev_fct; | ^~~~~~~~ gcc -O2 -mieee -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] 106 | ctors = elfsh_get_ctors(file, &nbr); | ^~~~ | | | u_int * {aka unsigned int *} ctors.c:12:49: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} 12 | u_long *elfsh_get_ctors(elfshobj_t *file, int *num) | ~~~~~^~~ gcc -O2 -mieee -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] 98 | dtors = elfsh_get_dtors(file, &nbr); | ^~~~ | | | u_int * {aka unsigned int *} dtors.c:12:49: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} 12 | u_long *elfsh_get_dtors(elfshobj_t *file, int *num) | ~~~~~^~~ gcc -O2 -mieee -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 -mieee -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 -mieee -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 -mieee -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] 360 | if (!elfsh_get_pht(file, &num) || init_sht(file, num) < 0) | ^~~~ | | | u_int * {aka unsigned int *} In file included from sht_rebuild.c:11: include/libelfsh.h:487:45: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'} 487 | void *elfsh_get_pht(elfshobj_t *file, int *num); | ~~~~~^~~ gcc -O2 -mieee -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:19: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness [-Wpointer-sign] 22 | NULL, NULL, &size); | ^~~~~ | | | u_int * {aka unsigned int *} 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 *'} 552 | elfshsect_t *elfsh_get_section_by_name(elfshobj_t *, char *name, int *, int *, int *); | ^~~~~ gcc -O2 -mieee -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 -mieee -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 -mieee -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 -mieee -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 -mieee -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 -mieee -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 -mieee -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 -mieee -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 -mieee -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 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); | ~~~~~^~~ *** Error code 1 Stop. make[1]: stopped in /tmp/pkgbuild/devel/elfsh/work.alpha/elfsh-0.51b3/libelfsh *** Error code 1 Stop. make: stopped in /tmp/pkgbuild/devel/elfsh/work.alpha/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