==> Synchronizing chroot copy [/data/alhp-workspace/chroot/root] -> [worker-x86-64-v3-1]...done ==> Making package: cpulimit 1:0.2-2.1 (Mon Nov 29 16:44:23 2021) ==> Retrieving sources... -> Downloading cpulimit-0.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 124 100 124 0 0 572 0 --:--:-- --:--:-- --:--:-- 574 100 14289 0 14289 0 0 31180 0 --:--:-- --:--:-- --:--:-- 31180 ==> Validating source files with sha256sums... cpulimit-0.2.tar.gz ... Passed ==> Making package: cpulimit 1:0.2-2.1 (Mon 29 Nov 2021 04:44:26 PM CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found cpulimit-0.2.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting cpulimit-0.2.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... cd src && make all make[1]: Entering directory '/startdir/src/cpulimit-0.2/src' cc -c list.c -march=x86-64-v3 -O3 -falign-functions=32 -pipe -fno-plt -flto cc -c process_iterator.c -march=x86-64-v3 -O3 -falign-functions=32 -pipe -fno-plt -flto cc -c process_group.c -march=x86-64-v3 -O3 -falign-functions=32 -pipe -fno-plt -flto process_group.c: In function ‘find_process_by_name’: process_group.c:64:29: warning: implicit declaration of function ‘basename’ [-Wimplicit-function-declaration] 64 | if (strncmp(basename(proc.command), process_name, strlen(process_name))==0 && kill(pid,SIGCONT)==0) { | ^~~~~~~~ process_group.c:64:29: warning: passing argument 1 of ‘strncmp’ makes pointer from integer without a cast [-Wint-conversion] 64 | if (strncmp(basename(proc.command), process_name, strlen(process_name))==0 && kill(pid,SIGCONT)==0) { | ^~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from process_group.c:22: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘int’ 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ cc -o cpulimit cpulimit.c list.o process_iterator.o process_group.o -march=x86-64-v3 -O3 -falign-functions=32 -pipe -fno-plt -flto cpulimit.c:41:10: fatal error: sys/sysctl.h: No such file or directory 41 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:15: cpulimit] Error 1 make[1]: Leaving directory '/startdir/src/cpulimit-0.2/src' make: *** [Makefile:4: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /data/alhp-workspace/chroot/worker-x86-64-v3-1/build