=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for acpidump-20020711nb1 clang -O2 -I. -Icompat -include config.h -c -o acpidump.o acpidump.c clang -O2 -I. -Icompat -include config.h -c -o acpi.o acpi.c clang -O2 -I. -Icompat -include config.h -c -o acpi_user.o acpi_user.c In file included from acpi.c:39: In file included from ./acpidump.h:33: compat/md_types.h:4:22: error: typedef redefinition with different types ('unsigned int' vs '__vm_offset_t' (aka 'unsigned long')) typedef unsigned int vm_offset_t; ^ /usr/include/sys/types.h:252:23: note: previous definition is here typedef __vm_offset_t vm_offset_t; ^ acpi.c:68:19: warning: passing 'u_char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] acpi_trim_string(dsdt_header.oemid, 6); ^~~~~~~~~~~~~~~~~ acpi.c:52:24: note: passing argument to parameter 's' here acpi_trim_string(char *s, size_t length) ^ acpi.c:69:19: warning: passing 'u_char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] acpi_trim_string(dsdt_header.oemtblid, 8); ^~~~~~~~~~~~~~~~~~~~ acpi.c:52:24: note: passing argument to parameter 's' here acpi_trim_string(char *s, size_t length) ^ acpi.c:70:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(oemid, dsdt_header.oemid, 6); ^ acpi.c:70:2: note: include the header or explicitly provide a declaration for 'strncpy' acpi.c:70:17: warning: passing 'u_char [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(oemid, dsdt_header.oemid, 6); ^~~~~~~~~~~~~~~~~ acpi.c:72:20: warning: passing 'u_char [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(oemtblid, dsdt_header.oemtblid, 8); ^~~~~~~~~~~~~~~~~~~~ acpi.c:136:34: warning: passing 'char [6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] newname = aml_create_name(&env, "\\_OS_"); ^~~~~~~~ ./aml/aml_name.h:76:67: note: passing argument to parameter here struct aml_name *aml_create_name(struct aml_environ *, u_int8_t *); ^ acpi.c:139:32: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] newname->property->str.string = "Microsoft Windows NT"; ^ ~~~~~~~~~~~~~~~~~~~~~~ acpi.c:156:2: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero(&asl_env, sizeof(asl_env)); ^ acpi.c:156:2: note: include the header or explicitly provide a declaration for 'bzero' acpi.c:163:2: warning: implicit declaration of function 'aml_parse_objectlist' is invalid in C99 [-Wimplicit-function-declaration] aml_parse_objectlist(&asl_env, 0); ^ acpi.c:180:20: warning: passing 'u_char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] acpi_print_string(sdp->signature, 4); ^~~~~~~~~~~~~~ acpi.c:86:25: note: passing argument to parameter 's' here acpi_print_string(char *s, size_t length) ^ acpi.c:184:20: warning: passing 'u_char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] acpi_print_string(sdp->oemid, 6); ^~~~~~~~~~ acpi.c:86:25: note: passing argument to parameter 's' here acpi_print_string(char *s, size_t length) ^ acpi.c:186:20: warning: passing 'u_char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] acpi_print_string(sdp->oemtblid, 8); ^~~~~~~~~~~~~ acpi.c:86:25: note: passing argument to parameter 's' here acpi_print_string(char *s, size_t length) ^ acpi.c:189:20: warning: passing 'u_char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] acpi_print_string(sdp->creator, 4); ^~~~~~~~~~~~ acpi.c:86:25: note: passing argument to parameter 's' here acpi_print_string(char *s, size_t length) ^ acpi.c:192:7: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration] if (!memcmp(sdp->signature, "DSDT", 4)) { ^ acpi.c:192:7: note: include the header or explicitly provide a declaration for 'memcmp' acpi.c:193:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(&dsdt_header, sdp, sizeof(dsdt_header)); ^ acpi.c:193:3: note: include the header or explicitly provide a declaration for 'memcpy' acpi.c:332:20: warning: passing 'u_char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] acpi_print_string(rp->oem, 6); ^~~~~~~ acpi.c:86:25: note: passing argument to parameter 's' here acpi_print_string(char *s, size_t length) ^ 16 warnings and 1 error generated. : recipe for target 'acpi.o' failed gmake: *** [acpi.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from acpi_user.c:53: In file included from ./acpidump.h:33: compat/md_types.h:4:22: error: typedef redefinition with different types ('unsigned int' vs '__vm_offset_t' (aka 'unsigned long')) typedef unsigned int vm_offset_t; ^ /usr/include/sys/types.h:252:23: note: previous definition is here typedef __vm_offset_t vm_offset_t; ^ acpi_user.c:163:14: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(dp, "DSDT", 4) == 0) { ^~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 1 warning and 1 error generated. : recipe for target 'acpi_user.o' failed gmake: *** [acpi_user.o] Error 1 In file included from acpidump.c:37: In file included from ./acpidump.h:33: compat/md_types.h:4:22: error: typedef redefinition with different types ('unsigned int' vs '__vm_offset_t' (aka 'unsigned long')) typedef unsigned int vm_offset_t; ^ /usr/include/sys/types.h:252:23: note: previous definition is here typedef __vm_offset_t vm_offset_t; ^ acpidump.c:62:6: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration] if (memcmp(rsdp->signature, "RSDT", 4) || ^ acpidump.c:62:6: note: include the header or explicitly provide a declaration for 'memcmp' 1 warning and 1 error generated. : recipe for target 'acpidump.o' failed gmake: *** [acpidump.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/sysutils/acpidump *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/acpidump