DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-musl', 'aarch64-linux', 'aarch64-linux-musl', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_compile
NOTE: make -j 32
GEN utils/mermaid.js.cstr
GEN utils/mermaid.html.cstr
CC cmds/graph.o
CC cmds/live.o
CC cmds/record.o
CC cmds/recv.o
CC cmds/replay.o
CC cmds/report.o
CC utils/argspec.o
CC utils/auto-args.o
CC utils/data-file.o
CC utils/debug.o
CC utils/demangle.o
CC utils/dwarf.o
CC utils/event.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/cmds/graph.c:217:37: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
217 | graph->func = xstrdup(full_graph ? basename(sess->exename) : func);
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/cmds/graph.c:217:35: warning: pointer/integer type mismatch in conditional expression ('int' and 'void *') [-Wconditional-type-mismatch]
217 | graph->func = xstrdup(full_graph ? basename(sess->exename) : func);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/utils.h:220:24: note: expanded from macro 'xstrdup'
220 | void *__ptr = strdup(s); \
| ^
1 warning and 1 error generated.
CC utils/extern.o
make[1]: *** [Makefile:327: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/build/cmds/graph.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC utils/field.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/argspec.c:26:15: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
26 | if (!strncmp(basename(info->dlpi_name), soname, strlen(soname)))
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/argspec.c:26:15: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
26 | if (!strncmp(basename(info->dlpi_name), soname, strlen(soname)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/recipe-sysroot/usr/include/string.h:40:26: note: passing argument to parameter here
40 | int strncmp (const char *, const char *, size_t);
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/debug.c:121:29: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
121 | ret = !strnc2 errors generated.
mp("busybox", basename(path), 7);
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/debug.c:121:29: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
121 | ret = !strncmp("busybox", basename(path)make[1]: *** [Makefile:327: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/build/utils/argspec.o] Error 1
, 7);
| ^~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/recipe-sysroot/usr/include/string.h:40:40: note: passing argument to parameter here
40 | int strncmp (const char *, const char *, size_t);
| ^
GEN version.h
2 errors generated.
make[1]: *** [Makefile:327: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/build/utils/debug.o] Error 1
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/cmds/replay.c:115:14: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
115 | modname = basename(map->libname);
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/cmds/replay.c:115:12: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
115 | modname = basename(map->libname);
| ^ ~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/dwarf.c:472:35: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
472 | xasprintf(&enum_name, "_%s_%lx", basename(cu_name), off);
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/dwarf.c:472:35: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
472 | xasprintf(&enum_name, "_%s_%lx", basename(cu_name), off);
| ~~ ^~~~~~~~~~~~~~~~~
| %d
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/utils.h:238:34: note: expanded from macro 'xasprintf'
238 | int __ret = asprintf(s, fmt, ##__VA_ARGS__); \
| ~~~ ^~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/cmds/record.c:2005:56: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2005 | snprintf(path, sizeof(path), "%s/%s", opts->dirname, basename(g.gl_pathv[i]));
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/cmds/record.c:2005:56: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
2005 | snprintf(path, sizeof(path), "%s/%s", opts->dirname, basename(g.gl_pathv[i]));
| ~~ ^~~~~~~~~~~~~~~~~~~~~~~
| %d
1 warning and 1 error generated.
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/cmds/replay.c:756:15: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
756 | libname = basename(map->libname);
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/cmds/replay.c:756:13: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
756 | libname = basename(map->libname);
| ^ ~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:327: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/build/cmds/record.o] Error 1
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/dwarf.c:1882:40: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1882 | xasprintf(&tmp, "%s/%s.dbg", dirname, basename(filename));
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/dwarf.c:1882:40: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
1882 | xasprintf(&tmp, "%s/%s.dbg", dirname, basename(filename));
| ~~ ^~~~~~~~~~~~~~~~~~
| %d
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/utils.h:238:34: note: expanded from macro 'xasprintf'
238 | int __ret = asprintf(s, fmt, ##__VA_ARGS__); \
| ~~~ ^~~~~~~~~~~
4 errors generated.
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/dwarf.c:2025:32: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2025 | close_debug_file(fp, dirname, basename(filename), build_id);
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/dwarf.c:2025:32: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
2025 | close_debug_file(fp, dirname, basename(filename), build_id);
| ^~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/dwarf.c:1906:73: note: passing argument to parameter 'filename' here
1906 | static void close_debug_file(FILE *fp, const char *dirname, const char *filename, char *build_id)
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/dwarf.c:2052:45: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2052 | xasprintf(&pathname, "%s/%s.dbg", dirname, basename(filename));
| ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/dwarf.c:2052:45: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
2052 | xasprintf(&pathname, "%s/%s.dbg", dirname, basename(filename));
| ~~ ^~~~~~~~~~~~~~~~~~
| %d
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/git/utils/utils.h:238:34: note: expanded from macro 'xasprintf'
238 | int __ret = asprintf(s, fmt, ##__VA_ARGS__); \
| ~~~ ^~~~~~~~~~~
make[1]: *** [Makefile:327: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/build/cmds/replay.o] Error 1
3 warnings and 5 errors generated.
make[1]: *** [Makefile:327: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/build/utils/dwarf.o] Error 1
make: *** [Makefile:11: all] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/temp/run.do_compile.3489146:182 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/temp/run.do_compile.3489146, line 182
#2: die, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/temp/run.do_compile.3489146, line 166
#3: oe_runmake, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/temp/run.do_compile.3489146, line 161
#4: autotools_do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/temp/run.do_compile.3489146, line 156
#5: do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/temp/run.do_compile.3489146, line 151
#6: main, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/uftrace/0.14/temp/run.do_compile.3489146, line 195