=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for libdwarf-20161124 cd libdwarf && make gcc -I/usr/pkg/include/libelf -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libelf -I. -I. -fPIC -c ./dwgetopt.c gcc -I/usr/pkg/include/libelf -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libelf -I. -I. -fPIC ./gennames.c dwgetopt.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o gennames grep DW_DLE libdwarf.h >errmsg_check_list gcc -I/usr/pkg/include/libelf -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libelf -I. -I. -fPIC -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -DTESTING ./dwarf_errmsg_list.c -o errmsg_check ./errmsg_check -f errmsg_check_list rm -f dwarf_names.h dwarf_names.c ./gennames -s -i . -o . ./gennames [ 2016-11-24 14:21:17-08:00 Release] Arguments: -s -i . -o . gcc -I/usr/pkg/include/libelf -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_abbrev.c gcc -I/usr/pkg/include/libelf -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_alloc.c gcc -I/usr/pkg/include/libelf -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_arange.c gcc -I/usr/pkg/include/libelf -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_die_deliv.c gcc -I/usr/pkg/include/libelf -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_dsc.c gcc -I/usr/pkg/include/libelf -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/libelf -I. -I. -fPIC -I/usr/pkg/include/libelf -c dwarf_elf_access.c In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:94:3: error: conflicting types for 'Elf32_Ehdr' } Elf32_Ehdr; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:112:3: note: previous declaration of 'Elf32_Ehdr' was here } Elf32_Ehdr; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:112:3: error: conflicting types for 'Elf64_Ehdr' } Elf64_Ehdr; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:129:3: note: previous declaration of 'Elf64_Ehdr' was here } Elf64_Ehdr; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:155:0: warning: "ELFOSABI_NONE" redefined #define ELFOSABI_NONE 0 /* No extensions or unspecified */ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:189:0: note: this is the location of the previous definition #define ELFOSABI_NONE ELFOSABI_SYSV In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:156:0: warning: "ELFOSABI_SYSV" redefined #define ELFOSABI_SYSV ELFOSABI_NONE In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:169:0: note: this is the location of the previous definition #define ELFOSABI_SYSV 0 /* UNIX System V ABI */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:161:0: warning: "ELFOSABI_AIX" redefined #define ELFOSABI_AIX 7 /* AIX */ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:190:0: note: this is the location of the previous definition #define ELFOSABI_AIX ELFOSABI_MONTEREY In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:266:0: warning: "EM_OPENRISC" redefined #define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:286:0: note: this is the location of the previous definition #define EM_OPENRISC EM_OR1K In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:285:0: warning: "EM_NUM" redefined #define EM_NUM 111 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:317:0: note: this is the location of the previous definition #define EM_NUM 36903 In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:308:3: error: conflicting types for 'Elf32_Shdr' } Elf32_Shdr; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:394:3: note: previous declaration of 'Elf32_Shdr' was here } Elf32_Shdr; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:322:3: error: conflicting types for 'Elf64_Shdr' } Elf64_Shdr; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:407:3: note: previous declaration of 'Elf64_Shdr' was here } Elf64_Shdr; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:391:0: warning: "SHT_GNU_verdef" redefined #define SHT_GNU_verdef 0x6ffffffd In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:442:0: note: this is the location of the previous definition #define SHT_GNU_verdef SHT_SUNW_verdef In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:392:0: warning: "SHT_GNU_verneed" redefined #define SHT_GNU_verneed 0x6ffffffe In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:444:0: note: this is the location of the previous definition #define SHT_GNU_verneed SHT_SUNW_verneed In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:393:0: warning: "SHT_GNU_versym" redefined #define SHT_GNU_versym 0x6fffffff In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:446:0: note: this is the location of the previous definition #define SHT_GNU_versym SHT_SUNW_versym In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:398:0: warning: "SHF_WRITE" redefined #define SHF_WRITE 0x1 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:466:0: note: this is the location of the previous definition #define SHF_WRITE 0x00000001 /* Contains writable data */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:399:0: warning: "SHF_ALLOC" redefined #define SHF_ALLOC 0x2 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:467:0: note: this is the location of the previous definition #define SHF_ALLOC 0x00000002 /* Occupies memory */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:400:0: warning: "SHF_EXECINSTR" redefined #define SHF_EXECINSTR 0x4 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:468:0: note: this is the location of the previous definition #define SHF_EXECINSTR 0x00000004 /* Contains executable insns */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:401:0: warning: "SHF_MERGE" redefined #define SHF_MERGE 0x10 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:469:0: note: this is the location of the previous definition #define SHF_MERGE 0x00000010 /* Might be merged */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:402:0: warning: "SHF_STRINGS" redefined #define SHF_STRINGS 0x20 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:470:0: note: this is the location of the previous definition #define SHF_STRINGS 0x00000020 /* Contains nul terminated strings */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:403:0: warning: "SHF_INFO_LINK" redefined #define SHF_INFO_LINK 0x40 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:471:0: note: this is the location of the previous definition #define SHF_INFO_LINK 0x00000040 /* "sh_info" contains SHT index */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:404:0: warning: "SHF_LINK_ORDER" redefined #define SHF_LINK_ORDER 0x80 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:472:0: note: this is the location of the previous definition #define SHF_LINK_ORDER 0x00000080 /* Preserve order after combining */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:405:0: warning: "SHF_OS_NONCONFORMING" redefined #define SHF_OS_NONCONFORMING 0x100 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:473:0: note: this is the location of the previous definition #define SHF_OS_NONCONFORMING 0x00000100 /* OS specific handling required */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:406:0: warning: "SHF_GROUP" redefined #define SHF_GROUP 0x200 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:474:0: note: this is the location of the previous definition #define SHF_GROUP 0x00000200 /* Is member of a group */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:407:0: warning: "SHF_TLS" redefined #define SHF_TLS 0x400 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:475:0: note: this is the location of the previous definition #define SHF_TLS 0x00000400 /* Holds thread-local data */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:435:3: error: conflicting types for 'Elf32_Sym' } Elf32_Sym; ^~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:491:3: note: previous declaration of 'Elf32_Sym' was here } Elf32_Sym; ^~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:445:3: error: conflicting types for 'Elf64_Sym' } Elf64_Sym; ^~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:500:3: note: previous declaration of 'Elf64_Sym' was here } Elf64_Sym; ^~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:456:0: warning: "ELF32_ST_BIND" redefined #define ELF32_ST_BIND(i) ((i)>>4) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1151:0: note: this is the location of the previous definition #define ELF32_ST_BIND(info) ELF_ST_BIND(info) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:457:0: warning: "ELF32_ST_TYPE" redefined #define ELF32_ST_TYPE(i) ((i)&0xf) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1152:0: note: this is the location of the previous definition #define ELF32_ST_TYPE(info) ELF_ST_TYPE(info) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:458:0: warning: "ELF32_ST_INFO" redefined #define ELF32_ST_INFO(b,t) (((b)<<4)+((t)&0xf)) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1153:0: note: this is the location of the previous definition #define ELF32_ST_INFO(bind,type) ELF_ST_INFO(bind,type) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:461:0: warning: "ELF64_ST_BIND" redefined #define ELF64_ST_BIND(i) ((i)>>4) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1156:0: note: this is the location of the previous definition #define ELF64_ST_BIND(info) ELF_ST_BIND(info) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:462:0: warning: "ELF64_ST_TYPE" redefined #define ELF64_ST_TYPE(i) ((i)&0xf) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1157:0: note: this is the location of the previous definition #define ELF64_ST_TYPE(info) ELF_ST_TYPE(info) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:463:0: warning: "ELF64_ST_INFO" redefined #define ELF64_ST_INFO(b,t) (((b)<<4)+((t)&0xf)) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1158:0: note: this is the location of the previous definition #define ELF64_ST_INFO(bind,type) ELF_ST_INFO(bind,type) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:497:0: warning: "ELF32_ST_VISIBILITY" redefined #define ELF32_ST_VISIBILITY(o) ((o)&0x3) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1154:0: note: this is the location of the previous definition #define ELF32_ST_VISIBILITY(other) ELF_ST_VISIBILITY(other) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:499:0: warning: "ELF64_ST_VISIBILITY" redefined #define ELF64_ST_VISIBILITY(o) ((o)&0x3) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1159:0: note: this is the location of the previous definition #define ELF64_ST_VISIBILITY(other) ELF_ST_VISIBILITY(other) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:516:3: error: conflicting types for 'Elf32_Rel' } Elf32_Rel; ^~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:577:3: note: previous declaration of 'Elf32_Rel' was here } Elf32_Rel; ^~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:522:3: error: conflicting types for 'Elf32_Rela' } Elf32_Rela; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:583:3: note: previous declaration of 'Elf32_Rela' was here } Elf32_Rela; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:528:3: error: conflicting types for 'Elf64_Rel' } Elf64_Rel; ^~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:593:3: note: previous declaration of 'Elf64_Rel' was here } Elf64_Rel; ^~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:534:3: error: conflicting types for 'Elf64_Rela' } Elf64_Rela; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:599:3: note: previous declaration of 'Elf64_Rela' was here } Elf64_Rela; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:540:0: warning: "ELF32_R_SYM" redefined #define ELF32_R_SYM(i) ((i)>>8) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:586:0: note: this is the location of the previous definition #define ELF32_R_SYM(info) ((info) >> 8) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:541:0: warning: "ELF32_R_TYPE" redefined #define ELF32_R_TYPE(i) ((unsigned char)(i)) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:587:0: note: this is the location of the previous definition #define ELF32_R_TYPE(info) ((info) & 0xff) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:542:0: warning: "ELF32_R_INFO" redefined #define ELF32_R_INFO(s,t) (((s)<<8)+(unsigned char)(t)) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:588:0: note: this is the location of the previous definition #define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type)) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:545:0: warning: "ELF64_R_SYM" redefined #define ELF64_R_SYM(i) ((Elf64_Xword)(i)>>32) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:602:0: note: this is the location of the previous definition #define ELF64_R_SYM(info) ((info) >> 32) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:546:0: warning: "ELF64_R_TYPE" redefined #define ELF64_R_TYPE(i) ((i)&0xffffffffL) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:603:0: note: this is the location of the previous definition #define ELF64_R_TYPE(info) ((info) & 0xffffffff) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:547:0: warning: "ELF64_R_INFO" redefined #define ELF64_R_INFO(s,t) (((Elf64_Xword)(s)<<32)+((t)&0xffffffffL)) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:604:0: note: this is the location of the previous definition #define ELF64_R_INFO(sym,type) (((sym) << 32) + (type)) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:557:3: error: conflicting types for 'Elf32_Nhdr' } Elf32_Nhdr; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:826:3: note: previous declaration of 'Elf32_Nhdr' was here } Elf32_Nhdr; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:566:3: error: conflicting types for 'Elf64_Nhdr' } Elf64_Nhdr; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:832:3: note: previous declaration of 'Elf64_Nhdr' was here } Elf64_Nhdr; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:588:3: error: conflicting types for 'Elf32_Phdr' } Elf32_Phdr; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:331:3: note: previous declaration of 'Elf32_Phdr' was here } Elf32_Phdr; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:600:3: error: conflicting types for 'Elf64_Phdr' } Elf64_Phdr; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:342:3: note: previous declaration of 'Elf64_Phdr' was here } Elf64_Phdr; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:655:3: error: conflicting types for 'Elf32_Dyn' } Elf32_Dyn; ^~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:661:3: note: previous declaration of 'Elf32_Dyn' was here } Elf32_Dyn; ^~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:664:3: error: conflicting types for 'Elf64_Dyn' } Elf64_Dyn; ^~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:669:3: note: previous declaration of 'Elf64_Dyn' was here } Elf64_Dyn; ^~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:702:0: warning: "DT_ENCODING" redefined #define DT_ENCODING 32 /* odd/even encoding rule starts here */ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:703:0: note: this is the location of the previous definition #define DT_ENCODING 31 /* ??? */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:706:0: warning: "DT_LOOS" redefined #define DT_LOOS 0x6000000D In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:708:0: note: this is the location of the previous definition #define DT_LOOS 0x60000000 /* Operating system specific range */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:707:0: warning: "DT_HIOS" redefined #define DT_HIOS 0x6ffff000 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:715:0: note: this is the location of the previous definition #define DT_HIOS 0x6fffffff In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:714:0: warning: "DF_ORIGIN" redefined #define DF_ORIGIN 0x1 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:720:0: note: this is the location of the previous definition #define DF_ORIGIN 0x00000001 /* uses $ORIGIN */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:715:0: warning: "DF_SYMBOLIC" redefined #define DF_SYMBOLIC 0x2 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:721:0: note: this is the location of the previous definition #define DF_SYMBOLIC 0x00000002 /* */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:716:0: warning: "DF_TEXTREL" redefined #define DF_TEXTREL 0x4 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:722:0: note: this is the location of the previous definition #define DF_TEXTREL 0x00000004 /* */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:717:0: warning: "DF_BIND_NOW" redefined #define DF_BIND_NOW 0x8 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:723:0: note: this is the location of the previous definition #define DF_BIND_NOW 0x00000008 /* */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:718:0: warning: "DF_STATIC_TLS" redefined #define DF_STATIC_TLS 0x10 In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:724:0: note: this is the location of the previous definition #define DF_STATIC_TLS 0x00000010 /* */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:799:3: error: conflicting types for 'Elf32_Syminfo' } Elf32_Syminfo; ^~~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1164:3: note: previous declaration of 'Elf32_Syminfo' was here } Elf32_Syminfo; ^~~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:805:3: error: conflicting types for 'Elf64_Syminfo' } Elf64_Syminfo; ^~~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1169:3: note: previous declaration of 'Elf64_Syminfo' was here } Elf64_Syminfo; ^~~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:825:0: warning: "SYMINFO_FLG_DIRECT" redefined #define SYMINFO_FLG_DIRECT 0x01 /* bound to an object */ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1171:0: note: this is the location of the previous definition #define SYMINFO_FLG_DIRECT 0x0001 /* symbol ref has direct association In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:826:0: warning: "SYMINFO_FLG_PASSTHRU" redefined #define SYMINFO_FLG_PASSTHRU 0x02 /* pass-thru symbol */ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1173:0: note: this is the location of the previous definition #define SYMINFO_FLG_PASSTHRU 0x0002 /* ignored - see SYMINFO_FLG_FILTER */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:827:0: warning: "SYMINFO_FLG_COPY" redefined #define SYMINFO_FLG_COPY 0x04 /* result of a copy relocation */ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1174:0: note: this is the location of the previous definition #define SYMINFO_FLG_COPY 0x0004 /* symbol is a copy-reloc */ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:828:0: warning: "SYMINFO_FLG_LAZYLOAD" redefined #define SYMINFO_FLG_LAZYLOAD 0x08 /* bound to lazy-loaded object */ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1175:0: note: this is the location of the previous definition #define SYMINFO_FLG_LAZYLOAD 0x0008 /* object containing defn should be In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:841:3: error: conflicting types for 'Elf32_Verdef' } Elf32_Verdef; ^~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1254:3: note: previous declaration of 'Elf32_Verdef' was here } Elf32_Verdef; ^~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:846:3: error: conflicting types for 'Elf32_Verdaux' } Elf32_Verdaux; ^~~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1260:3: note: previous declaration of 'Elf32_Verdaux' was here } Elf32_Verdaux; ^~~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:854:3: error: conflicting types for 'Elf32_Verneed' } Elf32_Verneed; ^~~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1269:3: note: previous declaration of 'Elf32_Verneed' was here } Elf32_Verneed; ^~~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:862:3: error: conflicting types for 'Elf32_Vernaux' } Elf32_Vernaux; ^~~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1278:3: note: previous declaration of 'Elf32_Vernaux' was here } Elf32_Vernaux; ^~~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:864:20: error: conflicting types for 'Elf32_Versym' typedef Elf32_Half Elf32_Versym; ^~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1283:3: note: previous declaration of 'Elf32_Versym' was here } Elf32_Versym; ^~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:876:3: error: conflicting types for 'Elf64_Verdef' } Elf64_Verdef; ^~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1255:22: note: previous declaration of 'Elf64_Verdef' was here typedef Elf32_Verdef Elf64_Verdef; ^~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:881:3: error: conflicting types for 'Elf64_Verdaux' } Elf64_Verdaux; ^~~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1261:23: note: previous declaration of 'Elf64_Verdaux' was here typedef Elf32_Verdaux Elf64_Verdaux; ^~~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:889:3: error: conflicting types for 'Elf64_Verneed' } Elf64_Verneed; ^~~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1270:23: note: previous declaration of 'Elf64_Verneed' was here typedef Elf32_Verneed Elf64_Verneed; ^~~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:897:3: error: conflicting types for 'Elf64_Vernaux' } Elf64_Vernaux; ^~~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1279:23: note: previous declaration of 'Elf64_Vernaux' was here typedef Elf32_Vernaux Elf64_Vernaux; ^~~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:899:20: error: conflicting types for 'Elf64_Versym' typedef Elf64_Half Elf64_Versym; ^~~~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:1284:22: note: previous declaration of 'Elf64_Versym' was here typedef Elf32_Versym Elf64_Versym; ^~~~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:944:3: error: conflicting types for 'Elf32_Move' } Elf32_Move; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:615:3: note: previous declaration of 'Elf32_Move' was here } Elf32_Move; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:952:3: error: conflicting types for 'Elf64_Move' } Elf64_Move; ^~~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:627:3: note: previous declaration of 'Elf64_Move' was here } Elf64_Move; ^~~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:954:0: warning: "ELF32_M_SYM" redefined #define ELF32_M_SYM(info) ((info)>>8) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:617:0: note: this is the location of the previous definition #define ELF32_M_SYM(info) ((info) >> 8) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:955:0: warning: "ELF32_M_SIZE" redefined #define ELF32_M_SIZE(info) ((unsigned char)(info)) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:618:0: note: this is the location of the previous definition #define ELF32_M_SIZE(info) ((info) & 0xff) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:956:0: warning: "ELF32_M_INFO" redefined #define ELF32_M_INFO(sym, sz) (((sym)<<8)+(unsigned char)(sz)) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:619:0: note: this is the location of the previous definition #define ELF32_M_INFO(sym, size) (((sym) << 8) + (unsigned char)(size)) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:958:0: warning: "ELF64_M_SYM" redefined #define ELF64_M_SYM(info) ((Elf64_Xword)(info)>>8) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:629:0: note: this is the location of the previous definition #define ELF64_M_SYM(info) ((info) >> 8) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:959:0: warning: "ELF64_M_SIZE" redefined #define ELF64_M_SIZE(info) ((unsigned char)(info)) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:630:0: note: this is the location of the previous definition #define ELF64_M_SIZE(info) ((info) & 0xff) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:960:0: warning: "ELF64_M_INFO" redefined #define ELF64_M_INFO(sym, sz) (((Elf64_Xword)(sym)<<8)+(unsigned char)(sz)) In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:631:0: note: this is the location of the previous definition #define ELF64_M_INFO(sym, size) (((sym) << 8) + (unsigned char)(size)) In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:974:3: error: conflicting types for 'Elf32_Cap' } Elf32_Cap; ^~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:642:3: note: previous declaration of 'Elf32_Cap' was here } Elf32_Cap; ^~~~~~~~~ In file included from /tmp/devel/libdwarf/work/.buildlink/include/libelf/sys_elf.h:75:0, from /tmp/devel/libdwarf/work/.buildlink/include/libelf/libelf.h:31, from dwarf_elf_access.c:48: /tmp/devel/libdwarf/work/.buildlink/include/libelf/elf_repl.h:984:3: error: conflicting types for 'Elf64_Cap' } Elf64_Cap; ^~~~~~~~~ In file included from dwarf_incl.h:48:0, from dwarf_elf_access.c:32: /usr/include/elf.h:650:3: note: previous declaration of 'Elf64_Cap' was here } Elf64_Cap; ^~~~~~~~~ *** Error code 1 Stop. make[1]: stopped in /tmp/devel/libdwarf/work/dwarf-20161124/libdwarf *** Error code 1 Stop. make: stopped in /tmp/devel/libdwarf/work/dwarf-20161124 *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libdwarf *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/libdwarf