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
Building include
Building librmt
[LTDEP]
[CC] isrmt.lo
isrmt.c:30:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
30 | int isrmt (fd)
| ^
1 warning generated.
[CC] rmtclose.lo
rmtclose.c:32:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
32 | int rmtclose (fildes)
| ^
1 warning generated.
[CC] rmtdev.lo
rmtdev.c:32:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
32 | int _rmt_dev (path)
| ^
1 warning generated.
[CC] rmtisatty.lo
rmtisatty.c:31:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
31 | int rmtisatty (fd)
| ^
1 warning generated.
[CC] rmtread.lo
rmtread.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
36 | int rmtread (fildes, buf, nbyte)
| ^
1 warning generated.
[CC] rmtabort.lo
[CC] rmtcommand.lo
rmtcommand.c:35:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
35 | int _rmt_command(fildes, buf)
| ^
1 warning generated.
[CC] rmtfstat.lo
rmtfstat.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
38 | int rmtfstat (fildes, buf)
| ^
1 warning generated.
[CC] rmtlseek.lo
rmtlseek.c:35:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
35 | off_t rmtlseek (fildes, offset, whence)
| ^
1 warning generated.
[CC] rmtstatus.lo
rmtstatus.c:34:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
34 | int _rmt_status(fildes)
| ^
1 warning generated.
[CC] rmtaccess.lo
rmtaccess.c:32:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
32 | int rmtaccess (path, amode)
| ^
1 warning generated.
[CC] rmtcreat.lo
rmtcreat.c:35:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
35 | int rmtcreat (path, mode)
| ^
1 warning generated.
[CC] rmtioctl.lo
[CC] rmtopen.lo
rmtopen.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
61 | int rmtopen (path, oflag, mode)
| ^
1 warning generated.
[CC] rmtwrite.lo
rmtwrite.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
36 | int rmtwrite (fildes, buf, nbyte)
| ^
1 warning generated.
[CC] rmtmsg.lo
[LD] librmt.la
Building common
Building inventory
Building invutil
[LN] global.h
[LN] mlog.h
[LN] timeutil.h
[LN] types.h
[LN] timeutil.c
[LN] inventory.h
[LN] inv_priv.h
[LN] inv_files.c
[DEP]
[CC] timeutil.o
[CC] inv_files.o
[CC] invutil.o
[CC] cmenu.o
[CC] fstab.o
[CC] invidx.o
invidx.c:120:70: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
120 | snprintf(dst_idxfile, sizeof(dst_idxfile), "%s/%s", inventory_path, basename(invidx_file[fidx].name));
| ^
invidx.c:120:70: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
120 | snprintf(dst_idxfile, sizeof(dst_idxfile), "%s/%s", inventory_path, basename(invidx_file[fidx].name));
| ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| %d
invidx.c:240:75: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
240 | snprintf(dst_stobjfile, sizeof(dst_stobjfile), "%s/%s", inventory_path, basename(stobjfile));
| ~~ ^~~~~~~~~~~~~~~~~~~
| %d
invidx.c:310:78: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
310 | snprintf(dst_stobjfile, sizeof(dst_stobjfile), "%s/%s", inventory_path, basename(stobjfile));
| ~~ ^~~~~~~~~~~~~~~~~~~
| %d
invidx.c:929:44: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
929 | snprintf(txt, len, " inv file: %s ", basename(invidx_entry[i].ie_filename));
| ^
invidx.c:929:44: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
929 | snprintf(txt, len, " inv file: %s ", basename(invidx_entry[i].ie_filename));
| ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| %d
4 warnings and 2 errors generated.
make[2]: *** [../include/buildrules:47: invidx.o] Error 1
make[1]: *** [include/buildrules:23: invutil] Error 2
make: *** [Makefile:53: default] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/xfsdump/3.1.12/temp/run.do_compile.1317032:182 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/xfsdump/3.1.12/temp/run.do_compile.1317032, line 182
#2: die, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/xfsdump/3.1.12/temp/run.do_compile.1317032, line 166
#3: oe_runmake, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/xfsdump/3.1.12/temp/run.do_compile.1317032, line 161
#4: autotools_do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/xfsdump/3.1.12/temp/run.do_compile.1317032, line 156
#5: do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/xfsdump/3.1.12/temp/run.do_compile.1317032, line 151
#6: main, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/xfsdump/3.1.12/temp/run.do_compile.1317032, line 195