=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for libunwind-5.0.2 Scanning dependencies of target unwind_objects [ 11%] Building CXX object src/CMakeFiles/unwind_objects.dir/libunwind.cpp.o [ 22%] Building CXX object src/CMakeFiles/unwind_objects.dir/Unwind-EHABI.cpp.o [ 33%] Building C object src/CMakeFiles/unwind_objects.dir/UnwindLevel1.c.o [ 44%] Building C object src/CMakeFiles/unwind_objects.dir/UnwindLevel1-gcc-ext.c.o [ 55%] Building C object src/CMakeFiles/unwind_objects.dir/Unwind-sjlj.c.o [ 66%] Building C object src/CMakeFiles/unwind_objects.dir/UnwindRegistersRestore.S.o [ 77%] Building C object src/CMakeFiles/unwind_objects.dir/UnwindRegistersSave.S.o In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:27: /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/AddressSpace.hpp:381:28: warning: declaration shadows a typedef in namespace 'libunwind' [-Wshadow] typedef ElfW(Half) Elf_Half; ^ /usr/include/sys/elf_generic.h:59:1: note: previous declaration is here __ElfType(Half); ^ /usr/include/sys/elf_generic.h:56:40: note: expanded from macro '__ElfType' #define __ElfType(x) typedef __ElfN(x) __CONCAT(Elf_,x) ^ /usr/include/sys/cdefs.h:157:23: note: expanded from macro '__CONCAT' #define __CONCAT(x,y) __CONCAT1(x,y) ^ /usr/include/sys/cdefs.h:156:24: note: expanded from macro '__CONCAT1' #define __CONCAT1(x,y) x ## y ^ :45:1: note: expanded from here Elf_Half ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:27: /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/AddressSpace.hpp:384:28: warning: declaration shadows a typedef in namespace 'libunwind' [-Wshadow] typedef ElfW(Phdr) Elf_Phdr; ^ /usr/include/sys/elf_generic.h:65:1: note: previous declaration is here __ElfType(Phdr); ^ /usr/include/sys/elf_generic.h:56:40: note: expanded from macro '__ElfType' #define __ElfType(x) typedef __ElfN(x) __CONCAT(Elf_,x) ^ /usr/include/sys/cdefs.h:157:23: note: expanded from macro '__CONCAT' #define __CONCAT(x,y) __CONCAT1(x,y) ^ /usr/include/sys/cdefs.h:156:24: note: expanded from macro '__CONCAT1' #define __CONCAT1(x,y) x ## y ^ :69:1: note: expanded from here Elf_Phdr ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:46: /usr/include/sched.h:236:24: error: C++ requires a type specifier for all declarations int sched_getparam(pid_t, struct sched_param *); ^ /usr/include/sched.h:237:28: error: unknown type name 'pid_t'; did you mean 'libunwind::pid_t'? int sched_getscheduler(pid_t); ^ /usr/include/sys/types.h:183:18: note: 'libunwind::pid_t' declared here typedef __pid_t pid_t; /* process id */ ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:46: /usr/include/sched.h:238:31: error: C++ requires a type specifier for all declarations int sched_rr_get_interval(pid_t, struct timespec *); ^ /usr/include/sched.h:239:24: error: C++ requires a type specifier for all declarations int sched_setparam(pid_t, const struct sched_param *); ^ /usr/include/sched.h:240:28: error: C++ requires a type specifier for all declarations int sched_setscheduler(pid_t, int, const struct sched_param *); ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:145:1: error: unknown type name 'clock_t'; did you mean 'libunwind::clock_t'? clock_t clock(void); ^ /usr/include/sys/types.h:92:19: note: 'libunwind::clock_t' declared here typedef __clock_t clock_t; ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:146:19: error: unknown type name 'time_t'; did you mean 'libunwind::time_t'? char *ctime(const time_t *); ^ /usr/include/sys/types.h:214:18: note: 'libunwind::time_t' declared here typedef __time_t time_t; ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:148:25: error: unknown type name 'time_t'; did you mean 'libunwind::time_t'? double difftime(time_t, time_t); ^ /usr/include/sys/types.h:214:18: note: 'libunwind::time_t' declared here typedef __time_t time_t; ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:148:17: error: C++ requires a type specifier for all declarations double difftime(time_t, time_t); ^ /usr/include/time.h:151:25: error: unknown type name 'time_t'; did you mean 'libunwind::time_t'? struct tm *gmtime(const time_t *); ^ /usr/include/sys/types.h:214:18: note: 'libunwind::time_t' declared here typedef __time_t time_t; ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:152:28: error: unknown type name 'time_t'; did you mean 'libunwind::time_t'? struct tm *localtime(const time_t *); ^ /usr/include/sys/types.h:214:18: note: 'libunwind::time_t' declared here typedef __time_t time_t; ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:153:1: error: unknown type name 'time_t'; did you mean 'libunwind::time_t'? time_t mktime(struct tm *); ^ /usr/include/sys/types.h:214:18: note: 'libunwind::time_t' declared here typedef __time_t time_t; ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:156:1: error: unknown type name 'time_t'; did you mean 'libunwind::time_t'? time_t time(time_t *); ^ /usr/include/sys/types.h:214:18: note: 'libunwind::time_t' declared here typedef __time_t time_t; ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:156:13: error: unknown type name 'time_t' time_t time(time_t *); ^ /usr/include/time.h:159:18: error: C++ requires a type specifier for all declarations int timer_create(clockid_t, struct sigevent *__restrict, timer_t *__restrict); ^ /usr/include/time.h:159:58: error: unknown type name 'timer_t'; did you mean 'libunwind::timer_t'? int timer_create(clockid_t, struct sigevent *__restrict, timer_t *__restrict); ^ /usr/include/sys/types.h:219:19: note: 'libunwind::timer_t' declared here typedef __timer_t timer_t; ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:160:18: error: unknown type name 'timer_t'; did you mean 'libunwind::timer_t'? int timer_delete(timer_t); ^ /usr/include/sys/types.h:219:19: note: 'libunwind::timer_t' declared here typedef __timer_t timer_t; ^ In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/libunwind.cpp:28: In file included from /var/pkgsrc/work/lang/libunwind/work/libunwind-5.0.2.src/src/UnwindCursor.hpp:20: In file included from /usr/include/pthread.h:47: /usr/include/time.h:161:19: error: C++ requires a type specifier for all declarations int timer_gettime(timer_t, struct itimerspec *); ^ /usr/include/time.h:162:22: error: unknown type name 'timer_t'; did you mean 'libunwind::timer_t'? int timer_getoverrun(timer_t); ^ /usr/include/sys/types.h:219:19: note: 'libunwind::timer_t' declared here typedef __timer_t timer_t; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. --- src/CMakeFiles/unwind_objects.dir/libunwind.cpp.o --- *** [src/CMakeFiles/unwind_objects.dir/libunwind.cpp.o] Error code 1 bmake[2]: stopped in /var/pkgsrc/work/lang/libunwind/work/build 1 error bmake[2]: stopped in /var/pkgsrc/work/lang/libunwind/work/build --- src/CMakeFiles/unwind_objects.dir/all --- *** [src/CMakeFiles/unwind_objects.dir/all] Error code 2 bmake[1]: stopped in /var/pkgsrc/work/lang/libunwind/work/build 1 error bmake[1]: stopped in /var/pkgsrc/work/lang/libunwind/work/build *** [all] Error code 2 bmake: stopped in /var/pkgsrc/work/lang/libunwind/work/build 1 error bmake: stopped in /var/pkgsrc/work/lang/libunwind/work/build *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/lang/libunwind *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/lang/libunwind