DEBUG: Executing shell function do_compile
NOTE: cmake --build TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/build --target all --
[1/85] Building C object CMakeFiles/json-c.dir/json_c_version.c.o
[2/85] Building C object CMakeFiles/json-c.dir/debug.c.o
[3/85] Building C object CMakeFiles/json-c.dir/arraylist.c.o
[4/85] Building C object CMakeFiles/json-c.dir/json_object_iterator.c.o
[5/85] Building C object CMakeFiles/json-c.dir/json_visit.c.o
[6/85] Building C object CMakeFiles/json-c.dir/json_util.c.o
FAILED: CMakeFiles/json-c.dir/json_util.c.o 
TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-clang -D_GNU_SOURCE -Djson_c_EXPORTS -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/json-c-0.16 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/build -target aarch64-yoe-linux  -mcpu=cortex-a57 -march=armv8-a+crc -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -ffile-compilation-dir=. -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0=/usr/src/debug/json-c/0.16-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0=/usr/src/debug/json-c/0.16-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/recipe-sysroot-native=  -ffunction-sections -fdata-sections -Werror -Wall -Wcast-qual -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -Wstrict-prototypes -g -fPIC   -D JSON_C_DLL -D_REENTRANT -MD -MT CMakeFiles/json-c.dir/json_util.c.o -MF CMakeFiles/json-c.dir/json_util.c.o.d -o CMakeFiles/json-c.dir/json_util.c.o -c TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/json-c-0.16/json_util.c
TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/json-c-0.16/json_util.c:63:35: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
const char *json_util_get_last_err()
                                  ^
                                   void
1 error generated.
[7/85] Building C object CMakeFiles/json-c.dir/strerror_override.c.o
[8/85] Building C object CMakeFiles/json-c.dir/random_seed.c.o
[9/85] Building C object CMakeFiles/json-c-static.dir/json_c_version.c.o
[10/85] Building C object CMakeFiles/json-c.dir/printbuf.c.o
[11/85] Building C object CMakeFiles/json-c-static.dir/debug.c.o
[12/85] Building C object CMakeFiles/json-c-static.dir/arraylist.c.o
[13/85] Building C object CMakeFiles/json-c.dir/json_pointer.c.o
[14/85] Building C object CMakeFiles/json-c.dir/linkhash.c.o
[15/85] Building C object CMakeFiles/json-c.dir/json_object.c.o
[16/85] Building C object CMakeFiles/json-c.dir/json_tokener.c.o
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/temp/run.do_compile.2855387:154 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script): 
	#1: cmake_runcmake_build, TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/temp/run.do_compile.2855387, line 154
	#2: cmake_do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/temp/run.do_compile.2855387, line 148
	#3: do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/temp/run.do_compile.2855387, line 143
	#4: main, TOPDIR/build/tmp/work/cortexa57-yoe-linux/json-c/0.16-r0/temp/run.do_compile.2855387, line 167

Error details

Submitted on:
13/08/22 07:22
Error type:
Recipe
Task:
do_compile
Recipe:
json-c
Recipe version:
0.16-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
x86_64-linux
Target system:
aarch64-yoe-linux
Host distro:
universal/arch
Branch:
yoe/mut
Commit:
17de8528752069620c828a8130afd10f29d5cede
Build:
#151430
Submitter:
raj.khem@gmail.com
Similar errors:
21
Open a bug