In file included from source_subfolder/numactl.c:29: source_subfolder/numaint.h:53:9: warning: 'howmany' macro redefined [-Wmacro-redefined] #define howmany(x,y) (((x)+((y)-1))/(y)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/types.h:188:9: note: previous definition is here #define howmany(x, y) __DARWIN_howmany(x, y) /* # y's == x bits? */ ^ In file included from source_subfolder/shm.c:34: source_subfolder/numaint.h:53:9: warning: 'howmany' macro redefined [-Wmacro-redefined] #define howmany(x,y) (((x)+((y)-1))/(y)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/types.h:188:9: note: previous definition is here #define howmany(x, y) __DARWIN_howmany(x, y) /* # y's == x bits? */ ^ source_subfolder/shm.c:146:6: warning: 'fstat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations] if (fstat64(shmfd, &st) < 0) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/stat.h:400:9: note: 'fstat64' has been explicitly marked deprecated here int fstat64(int, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA); ^ source_subfolder/shm.c:149:7: warning: implicit declaration of function 'ftruncate64' is invalid in C99 [-Wimplicit-function-declaration] if (ftruncate64(shmfd, shmlen) < 0) { ^ source_subfolder/shm.c:164:11: warning: implicit declaration of function 'mmap64' is invalid in C99 [-Wimplicit-function-declaration] shmptr = mmap64(NULL, shmlen, PROT_READ | PROT_WRITE, MAP_SHARED, shmfd, shmoffset); ^ source_subfolder/shm.c:164:9: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] shmptr = mmap64(NULL, shmlen, PROT_READ | PROT_WRITE, MAP_SHARED, shmfd, shmoffset); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source_subfolder/syscall.c:18:10: fatal error: 'asm/unistd.h' file not found #include ^~~~~~~~~~~~~~ In file included from source_subfolder/distance.c:24: source_subfolder/numaint.h:53:9: warning: 'howmany' macro redefined [-Wmacro-redefined] #define howmany(x,y) (((x)+((y)-1))/(y)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/types.h:188:9: note: previous definition is here #define howmany(x, y) __DARWIN_howmany(x, y) /* # y's == x bits? */ ^ 1 error generated. make[1]: *** [syscall.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from source_subfolder/sysfs.c:10: source_subfolder/numaint.h:53:9: warning: 'howmany' macro redefined [-Wmacro-redefined] #define howmany(x,y) (((x)+((y)-1))/(y)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/types.h:188:9: note: previous definition is here #define howmany(x, y) __DARWIN_howmany(x, y) /* # y's == x bits? */ ^ In file included from source_subfolder/libnuma.c:37: source_subfolder/numaint.h:53:9: warning: 'howmany' macro redefined [-Wmacro-redefined] #define howmany(x,y) (((x)+((y)-1))/(y)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/types.h:188:9: note: previous definition is here #define howmany(x, y) __DARWIN_howmany(x, y) /* # y's == x bits? */ ^ source_subfolder/affinity.c:40:10: fatal error: 'linux/rtnetlink.h' file not found #include ^~~~~~~~~~~~~~~~~~~ source_subfolder/libnuma.c:323:1: error: aliases are not supported on darwin make_internal_alias(numa_pagesize); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ 1 error generated. source_subfolder/libnuma.c:571:16: error: use of undeclared identifier 'cpu_set_t' n = sizeof(cpu_set_t); ^ source_subfolder/libnuma.c:684:1: error: aliases are not supported on darwin make_internal_alias(numa_max_node); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:705:1: error: aliases are not supported on darwin make_internal_alias(numa_max_possible_node_v1); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:706:1: error: aliases are not supported on darwin make_internal_alias(numa_max_possible_node_v2); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:794:1: error: aliases are not supported on darwin make_internal_alias(numa_node_size64); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:871:1: error: aliases are not supported on darwin make_internal_alias(numa_police_memory); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:887:8: warning: implicit declaration of function 'mremap' is invalid in C99 [-Wimplicit-function-declaration] mem = mremap(old_addr, old_size, new_size, MREMAP_MAYMOVE); ^ make[1]: *** [affinity.lo] Error 1 source_subfolder/libnuma.c:887:45: error: use of undeclared identifier 'MREMAP_MAYMOVE' mem = mremap(old_addr, old_size, new_size, MREMAP_MAYMOVE); ^ source_subfolder/libnuma.c:930:1: error: aliases are not supported on darwin make_internal_alias(numa_alloc_interleaved_subset_v1); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:931:1: error: aliases are not supported on darwin make_internal_alias(numa_alloc_interleaved_subset_v2); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:1065:1: error: aliases are not supported on darwin make_internal_alias(numa_set_membind_v2); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:1171:1: error: aliases are not supported on darwin make_internal_alias(numa_get_mems_allowed); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:1442:1: error: aliases are not supported on darwin make_internal_alias(numa_node_to_cpus_v1); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:1443:1: error: aliases are not supported on darwin make_internal_alias(numa_node_to_cpus_v2); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ source_subfolder/libnuma.c:1586:1: error: aliases are not supported on darwin make_internal_alias(numa_run_on_node_mask_v2); ^ source_subfolder/numaint.h:18:73: note: expanded from macro 'make_internal_alias' #define make_internal_alias(x) extern __typeof (x) x##_int __attribute((alias(#x), visibility("hidden"))) ^ 2 warnings and 15 errors generated. 1 warning generated. make[1]: *** [libnuma.lo] Error 1 1 warning generated. 5 warnings generated. source_subfolder/rtnetlink.c:3:10: fatal error: 'linux/rtnetlink.h' file not found #include ^~~~~~~~~~~~~~~~~~~ 1 warning generated. 1 error generated. make[1]: *** [rtnetlink.lo] Error 1 make: *** [all] Error 2 libnuma/2.0.14: WARN: Build folder is dirty, removing it: /Users/jenkins/w/cci_PR-4193@3/.conan/data/libnuma/2.0.14/_/_/build/8bd11c0d33f92edbe0a4a9802b5aefdad8b453f5 libnuma/2.0.14: ERROR: Package '8bd11c0d33f92edbe0a4a9802b5aefdad8b453f5' build failed libnuma/2.0.14: WARN: Build folder /Users/jenkins/w/cci_PR-4193@3/.conan/data/libnuma/2.0.14/_/_/build/8bd11c0d33f92edbe0a4a9802b5aefdad8b453f5 ERROR: libnuma/2.0.14: Error in build() method, line 70 autotools.make() ConanException: Error 2 while executing make -j8