+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/acpica-utils-20160930nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/acpica-utils-20160930nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for acpica-utils-20160930nb2 gmake[1]: Entering directory '/home/pbulk/build/sysutils/acpica-utils/work/acpica-unix2-20160930/generate/unix/acpibin' gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_BIN_APP -I../../../source/tools/acpibin -std=c99 -Wall -Wbad-function-cast -Wdeclaration-after-statement -Werror -Wformat=2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-aliasing=0 -Wstrict-prototypes -Wswitch-default -Wpointer-arith -Wundef -Waddress -Waggregate-return -Winit-self -Winline -Wmissing-declarations -Wmissing-field-initializers -Wnested-externs -Wno-format-nonliteral -Wredundant-decls -Wempty-body -Wtype-limits -O2 -D_FORTIFY_SOURCE=2 -o obj/abcompare.o ../../../source/tools/acpibin/abcompare.c In file included from /usr/include/sys/klwp.h:41, from /usr/include/sys/thread.h:37, from /usr/include/sys/copyops.h:31, from /usr/include/sys/watchpoint.h:32, from /usr/include/vm/as.h:46, from /usr/include/sys/devops.h:37, from /usr/include/sys/sunddi.h:40, from ../../../source/include/platform/acsolaris.h:36, from ../../../source/include/platform/acenv.h:200, from ../../../source/include/acpi.h:56, from ../../../source/tools/acpibin/acpibin.h:44, from ../../../source/tools/acpibin/abcompare.c:44: /usr/include/sys/ucontext.h:87:9: error: unknown type name 'stack_t' 87 | stack_t uc_stack; | ^~~~~~~ /usr/include/sys/klwp.h:116:9: error: unknown type name 'stack_t' 116 | stack_t lwp_sigaltstack; /* alternate signal stack */ | ^~~~~~~ /usr/include/sys/klwp.h:119:9: error: unknown type name 'k_sigset_t' 119 | k_sigset_t lwp_sigoldmask; /* for sigsuspend */ | ^~~~~~~~~~ /usr/include/sys/thread.h:170:9: error: unknown type name 'k_sigset_t' 170 | k_sigset_t t_sig; /* signals pending to this process */ | ^~~~~~~~~~ /usr/include/sys/thread.h:171:9: error: unknown type name 'k_sigset_t' 171 | k_sigset_t t_extsig; /* signals sent from another contract */ | ^~~~~~~~~~ /usr/include/sys/thread.h:172:9: error: unknown type name 'k_sigset_t' 172 | k_sigset_t t_hold; /* hold signal bit mask */ | ^~~~~~~~~~ /usr/include/sys/thread.h:173:9: error: unknown type name 'k_sigset_t' 173 | k_sigset_t t_sigwait; /* sigtimedwait/sigfd accepting these */ | ^~~~~~~~~~ In file included from /usr/include/sys/proc.h:37, from /usr/include/vm/as.h:51: /usr/include/sys/user.h:309:28: error: 'MAXSIG' undeclared here (not in a function); did you mean 'MAXUID'? 309 | void (*u_signal[MAXSIG])(); /* Disposition of signals */ | ^~~~~~ | MAXUID /usr/include/sys/proc.h:200:9: error: unknown type name 'k_sigset_t' 200 | k_sigset_t p_sig; /* signals pending to this process */ | ^~~~~~~~~~ /usr/include/sys/proc.h:201:9: error: unknown type name 'k_sigset_t' 201 | k_sigset_t p_extsig; /* signals sent from another contract */ | ^~~~~~~~~~ /usr/include/sys/proc.h:202:9: error: unknown type name 'k_sigset_t' 202 | k_sigset_t p_ignore; /* ignore when generated */ | ^~~~~~~~~~ /usr/include/sys/proc.h:203:9: error: unknown type name 'k_sigset_t' 203 | k_sigset_t p_siginfo; /* gets signal info with signal */ | ^~~~~~~~~~ /usr/include/sys/proc.h:243:9: error: unknown type name 'k_sigset_t' 243 | k_sigset_t p_sigmask; /* mask of traced signals (/proc) */ | ^~~~~~~~~~ /usr/include/sys/proc.h:330:9: error: unknown type name 'rlim64_t' 330 | rlim64_t p_stk_ctl; /* currently enforced stack size */ | ^~~~~~~~ /usr/include/sys/proc.h:331:9: error: unknown type name 'rlim64_t' 331 | rlim64_t p_fsz_ctl; /* currently enforced file size */ | ^~~~~~~~ /usr/include/sys/proc.h:332:9: error: unknown type name 'rlim64_t' 332 | rlim64_t p_vmem_ctl; /* currently enforced addr-space size */ | ^~~~~~~~ /usr/include/sys/proc.h:333:9: error: unknown type name 'rlim64_t' 333 | rlim64_t p_fno_ctl; /* currently enforced file-desc limit */ | ^~~~~~~~ ../../../source/include/platform/acsolaris.h:69: error: "ACPI_UNUSED_VAR" redefined [-Werror] 69 | #define ACPI_UNUSED_VAR | In file included from ../../../source/include/platform/acenv.h:174: ../../../source/include/platform/acgcc.h:71: note: this is the location of the previous definition 71 | #define ACPI_UNUSED_VAR __attribute__ ((unused)) | In file included from ../../../source/include/acpi.h:64: ../../../source/include/platform/acenv.h:375:32: error: unknown type name 'FILE' 375 | #define ACPI_FILE FILE * | ^~~~ ../../../source/include/acpixf.h:85:12: note: in definition of macro 'ACPI_INIT_GLOBAL' 85 | extern type name | ^~~~ ../../../source/include/acglobal.h:390:19: note: in expansion of macro 'ACPI_FILE' 390 | ACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_DebugFile, NULL); | ^~~~~~~~~ ../../../source/include/platform/acenv.h:375:32: error: unknown type name 'FILE' 375 | #define ACPI_FILE FILE * | ^~~~ ../../../source/include/acpixf.h:85:12: note: in definition of macro 'ACPI_INIT_GLOBAL' 85 | extern type name | ^~~~ ../../../source/include/acglobal.h:391:19: note: in expansion of macro 'ACPI_FILE' 391 | ACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_OutputFile, NULL); | ^~~~~~~~~ ../../../source/include/platform/acenv.h:375:32: error: unknown type name 'FILE' 375 | #define ACPI_FILE FILE * | ^~~~ ../../../source/include/acutils.h:462:5: note: in expansion of macro 'ACPI_FILE' 462 | ACPI_FILE File, | ^~~~~~~~~ In file included from ../../../source/include/accommon.h:61, from ../../../source/tools/acpibin/acpibin.h:45: ../../../source/include/acutils.h:1:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? +++ |+#include <stdio.h> 1 | /****************************************************************************** In file included from ../../../source/include/accommon.h:63: ../../../source/include/acclib.h:97:1: error: redundant redeclaration of 'strcat' [-Werror=redundant-decls] 97 | strcat ( | ^~~~~~ In file included from /usr/include/string.h:34, from /usr/include/strings.h:36, from ../../../source/include/platform/acsolaris.h:45: /usr/include/iso/string_iso.h:73:14: note: previous declaration of 'strcat' with type 'char *(char *, const char *)' 73 | extern char *strcat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~~ ../../../source/include/acclib.h:102:1: error: redundant redeclaration of 'strchr' [-Werror=redundant-decls] 102 | strchr ( | ^~~~~~ /usr/include/iso/string_iso.h:140:14: note: previous declaration of 'strchr' with type 'char *(const char *, int)' 140 | extern char *strchr(const char *, int); | ^~~~~~ ../../../source/include/acclib.h:107:1: error: redundant redeclaration of 'strcpy' [-Werror=redundant-decls] 107 | strcpy ( | ^~~~~~ /usr/include/iso/string_iso.h:75:14: note: previous declaration of 'strcpy' with type 'char *(char *, const char *)' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~~ ../../../source/include/acclib.h:112:1: error: redundant redeclaration of 'strcmp' [-Werror=redundant-decls] 112 | strcmp ( | ^~~~~~ /usr/include/iso/string_iso.h:74:12: note: previous declaration of 'strcmp' with type 'int(const char *, const char *)' 74 | extern int strcmp(const char *, const char *); | ^~~~~~ ../../../source/include/acclib.h:117:1: error: redundant redeclaration of 'strlen' [-Werror=redundant-decls] 117 | strlen ( | ^~~~~~ /usr/include/iso/string_iso.h:79:15: note: previous declaration of 'strlen' with type 'size_t(const char *)' {aka 'long unsigned int(const char *)'} 79 | extern size_t strlen(const char *); | ^~~~~~ ../../../source/include/acclib.h:121:1: error: redundant redeclaration of 'strncat' [-Werror=redundant-decls] 121 | strncat ( | ^~~~~~~ /usr/include/iso/string_iso.h:80:14: note: previous declaration of 'strncat' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 80 | extern char *strncat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^~~~~~~ ../../../source/include/acclib.h:127:1: error: redundant redeclaration of 'strncmp' [-Werror=redundant-decls] 127 | strncmp ( | ^~~~~~~ /usr/include/iso/string_iso.h:81:12: note: previous declaration of 'strncmp' with type 'int(const char *, const char *, size_t)' {aka 'int(const char *, const char *, long unsigned int)'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~ ../../../source/include/acclib.h:133:1: error: redundant redeclaration of 'strncpy' [-Werror=redundant-decls] 133 | strncpy ( | ^~~~~~~ /usr/include/iso/string_iso.h:82:14: note: previous declaration of 'strncpy' with type 'char *(char *, const char *, size_t)' {aka 'char *(char *, const char *, long unsigned int)'} 82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^~~~~~~ ../../../source/include/acclib.h:139:1: error: conflicting types for 'strstr'; have 'char *(char *, char *)' 139 | strstr ( | ^~~~~~ /usr/include/iso/string_iso.h:143:14: note: previous declaration of 'strstr' with type 'char *(const char *, const char *)' 143 | extern char *strstr(const char *, const char *); | ^~~~~~ ../../../source/include/acclib.h:147:1: error: conflicting types for 'strtoul'; have 'UINT32(const char *, char **, UINT32)' {aka 'unsigned int(const char *, char **, unsigned int)'} 147 | strtoul ( | ^~~~~~~ In file included from /usr/include/stdlib.h:40, from ../../../source/include/platform/acsolaris.h:46: /usr/include/iso/stdlib_iso.h:158:26: note: previous declaration of 'strtoul' with type 'long unsigned int(const char * restrict, char ** restrict, int)' 158 | extern unsigned long int strtoul(const char *_RESTRICT_KYWD, | ^~~~~~~ ../../../source/include/acclib.h:156:1: error: conflicting types for 'memcmp'; have 'int(void *, void *, ACPI_SIZE)' {aka 'int(void *, void *, long unsigned int)'} 156 | memcmp ( | ^~~~~~ /usr/include/iso/string_iso.h:69:12: note: previous declaration of 'memcmp' with type 'int(const void *, const void *, size_t)' {aka 'int(const void *, const void *, long unsigned int)'} 69 | extern int memcmp(const void *, const void *, size_t); | ^~~~~~ ../../../source/include/acclib.h:162:1: error: redundant redeclaration of 'memcpy' [-Werror=redundant-decls] 162 | memcpy ( | ^~~~~~ /usr/include/iso/string_iso.h:70:14: note: previous declaration of 'memcpy' with type 'void *(void *, const void *, size_t)' {aka 'void *(void *, const void *, long unsigned int)'} 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^~~~~~ ../../../source/include/acclib.h:168:1: error: redundant redeclaration of 'memset' [-Werror=redundant-decls] 168 | memset ( | ^~~~~~ /usr/include/iso/string_iso.h:72:14: note: previous declaration of 'memset' with type 'void *(void *, int, size_t)' {aka 'void *(void *, int, long unsigned int)'} 72 | extern void *memset(void *, int, size_t); | ^~~~~~ ../../../source/include/acclib.h:177:1: error: redundant redeclaration of 'tolower' [-Werror=redundant-decls] 177 | tolower ( | ^~~~~~~ In file included from /usr/include/ctype.h:36, from ../../../source/include/platform/acsolaris.h:44: /usr/include/iso/ctype_iso.h:106:12: note: previous declaration of 'tolower' with type 'int(int)' 106 | extern int tolower(int); | ^~~~~~~ ../../../source/include/acclib.h:181:1: error: redundant redeclaration of 'toupper' [-Werror=redundant-decls] 181 | toupper ( | ^~~~~~~ /usr/include/iso/ctype_iso.h:107:12: note: previous declaration of 'toupper' with type 'int(int)' 107 | extern int toupper(int); | ^~~~~~~ ../../../source/include/acclib.h:241:5: error: unknown type name 'FILE' 241 | FILE *File, | ^~~~ ../../../source/include/acclib.h:1:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? +++ |+#include <stdio.h> 1 | /****************************************************************************** ../../../source/include/acclib.h:247:5: error: unknown type name 'FILE' 247 | FILE *File, | ^~~~ ../../../source/include/acclib.h:247:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/include/acclib.h:251:1: error: unknown type name 'FILE' 251 | FILE * | ^~~~ ../../../source/include/acclib.h:251:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/include/acclib.h:258:5: error: unknown type name 'FILE' 258 | FILE *File); | ^~~~ ../../../source/include/acclib.h:258:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/include/acclib.h:265:5: error: unknown type name 'FILE' 265 | FILE *File); | ^~~~ ../../../source/include/acclib.h:265:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/include/acclib.h:272:5: error: unknown type name 'FILE' 272 | FILE *File); | ^~~~ ../../../source/include/acclib.h:272:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/include/acclib.h:276:5: error: unknown type name 'FILE' 276 | FILE *File, | ^~~~ ../../../source/include/acclib.h:276:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/include/acclib.h:282:5: error: unknown type name 'FILE' 282 | FILE *File); | ^~~~ ../../../source/include/acclib.h:282:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? In file included from ../../../source/tools/acpibin/acpibin.h:46: ../../../source/include/acapps.h:123:5: error: unknown type name 'FILE' 123 | FILE *File); | ^~~~ ../../../source/include/acapps.h:1:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? +++ |+#include <stdio.h> 1 | /****************************************************************************** ../../../source/include/acapps.h:127:5: error: unknown type name 'FILE' 127 | FILE *File, | ^~~~ ../../../source/include/acapps.h:127:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/include/platform/acenv.h:375:32: error: unknown type name 'FILE' 375 | #define ACPI_FILE FILE * | ^~~~ ../../../source/include/acapps.h:162:5: note: in expansion of macro 'ACPI_FILE' 162 | ACPI_FILE File); | ^~~~~~~~~ ../../../source/include/platform/acenv.h:375:32: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? 375 | #define ACPI_FILE FILE * | ^~~~ ../../../source/include/acapps.h:162:5: note: in expansion of macro 'ACPI_FILE' 162 | ACPI_FILE File); | ^~~~~~~~~ ../../../source/tools/acpibin/abcompare.c: In function 'AbDisplayHeader': ../../../source/tools/acpibin/abcompare.c:207:5: error: unknown type name 'FILE' 207 | FILE *File; | ^~~~ ../../../source/tools/acpibin/abcompare.c:45:1: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? 44 | #include "acpibin.h" +++ |+#include <stdio.h> 45 | ../../../source/tools/acpibin/abcompare.c:217:14: error: implicit declaration of function 'fread' [-Werror=implicit-function-declaration] 217 | Actual = fread (&Header1, 1, sizeof (ACPI_TABLE_HEADER), File); | ^~~~~ ../../../source/tools/acpibin/abcompare.c:217:14: error: nested extern declaration of 'fread' [-Werror=nested-externs] ../../../source/tools/acpibin/abcompare.c:218:5: error: implicit declaration of function 'fclose' [-Werror=implicit-function-declaration] 218 | fclose (File); | ^~~~~~ ../../../source/tools/acpibin/abcompare.c:218:5: error: nested extern declaration of 'fclose' [-Werror=nested-externs] ../../../source/tools/acpibin/abcompare.c: In function 'AbComputeChecksum': ../../../source/tools/acpibin/abcompare.c:250:5: error: unknown type name 'FILE' 250 | FILE *File; | ^~~~ ../../../source/tools/acpibin/abcompare.c:250:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/tools/acpibin/abcompare.c:288:5: error: implicit declaration of function 'fseek' [-Werror=implicit-function-declaration] 288 | fseek (File, 0, SEEK_SET); | ^~~~~ ../../../source/tools/acpibin/abcompare.c:288:5: error: nested extern declaration of 'fseek' [-Werror=nested-externs] ../../../source/tools/acpibin/abcompare.c:323:14: error: implicit declaration of function 'fwrite' [-Werror=implicit-function-declaration] 323 | Actual = fwrite (&Header1, 1, sizeof (ACPI_TABLE_HEADER), File); | ^~~~~~ ../../../source/tools/acpibin/abcompare.c:323:14: note: include '<stdio.h>' or provide a declaration of 'fwrite' ../../../source/tools/acpibin/abcompare.c:323:14: error: incompatible implicit declaration of built-in function 'fwrite' [-Werror=builtin-declaration-mismatch] ../../../source/tools/acpibin/abcompare.c:323:14: note: include '<stdio.h>' or provide a declaration of 'fwrite' ../../../source/tools/acpibin/abcompare.c: In function 'AbCompareAmlFiles': ../../../source/tools/acpibin/abcompare.c:364:5: error: unknown type name 'FILE' 364 | FILE *File1; | ^~~~ ../../../source/tools/acpibin/abcompare.c:364:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/tools/acpibin/abcompare.c:365:5: error: unknown type name 'FILE' 365 | FILE *File2; | ^~~~ ../../../source/tools/acpibin/abcompare.c:365:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/tools/acpibin/abcompare.c: In function 'AbGetFile': ../../../source/tools/acpibin/abcompare.c:501:5: error: unknown type name 'FILE' 501 | FILE *File; | ^~~~ ../../../source/tools/acpibin/abcompare.c:501:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? ../../../source/tools/acpibin/abcompare.c:518:12: error: implicit declaration of function 'CmGetFileSize' [-Werror=implicit-function-declaration] 518 | Size = CmGetFileSize (File); | ^~~~~~~~~~~~~ ../../../source/tools/acpibin/abcompare.c:518:12: error: nested extern declaration of 'CmGetFileSize' [-Werror=nested-externs] ../../../source/tools/acpibin/abcompare.c: In function 'AbDumpAmlFile': ../../../source/tools/acpibin/abcompare.c:567:5: error: unknown type name 'FILE' 567 | FILE *FileOutHandle; | ^~~~ ../../../source/tools/acpibin/abcompare.c:567:5: note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? cc1: all warnings being treated as errors gmake[1]: *** [../Makefile.rules:18: obj/abcompare.o] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/sysutils/acpica-utils/work/acpica-unix2-20160930/generate/unix/acpibin' gmake: *** [generate/unix/Makefile.common:25: acpibin] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/acpica-utils *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/acpica-utils