DEBUG: Executing shell function do_compile
NOTE: make -j 20 all
cd src && make all
make[1]: Entering directory 'TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/git/src'
i586-yoe-linux-musl-gcc -m32 -march=i586 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot -c list.c -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0=/usr/src/debug/cpulimit/0.2-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0=/usr/src/debug/cpulimit/0.2-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now
i586-yoe-linux-musl-gcc -m32 -march=i586 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot -c process_iterator.c -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0=/usr/src/debug/cpulimit/0.2-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0=/usr/src/debug/cpulimit/0.2-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now
i586-yoe-linux-musl-gcc -m32 -march=i586 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot -c process_group.c -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0=/usr/src/debug/cpulimit/0.2-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0=/usr/src/debug/cpulimit/0.2-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now
process_group.c: In function 'find_process_by_name':
process_group.c:64:15: warning: implicit declaration of function 'basename'; did you mean 'ptsname'? [-Wimplicit-function-declaration]
if (strncmp(basename(proc.command), process_name, strlen(process_name))==0 && kill(pid,SIGCONT)==0) {
^~~~~~~~
ptsname
process_group.c:64:15: warning: passing argument 1 of 'strncmp' makes pointer from integer without a cast [-Wint-conversion]
if (strncmp(basename(proc.command), process_name, strlen(process_name))==0 && kill(pid,SIGCONT)==0) {
^~~~~~~~~~~~~~~~~~~~~~
In file included from process_group.c:22:
TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot/usr/include/string.h:38:14: note: expected 'const char *' but argument is of type 'int'
int strncmp (const char *, const char *, size_t);
^~~~~~~~~~~~
i586-yoe-linux-musl-gcc -m32 -march=i586 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot -o cpulimit cpulimit.c list.o process_iterator.o process_group.o -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0=/usr/src/debug/cpulimit/0.2-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0=/usr/src/debug/cpulimit/0.2-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now
cpulimit.c:41:10: fatal error: sys/sysctl.h: No such file or directory
#include <sys/sysctl.h>
^~~~~~~~~~~~~~
compilation terminated.
Makefile:15: recipe for target 'cpulimit' failed
make[1]: *** [cpulimit] Error 1
make[1]: Leaving directory 'TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/git/src'
ERROR: oe_runmake failed
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
WARNING: TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/temp/run.do_compile.12746:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at TOPDIR/build/tmpfs/work/i586-yoe-linux-musl/cpulimit/0.2-r0/temp/log.do_compile.12746)