>>> cpulimit: Building community/cpulimit 0.2-r0 (using abuild 3.9.0_rc2-r1) started Thu, 21 Oct 2021 19:12:44 +0000 >>> cpulimit: Checking sanity of /home/buildozer/aports/community/cpulimit/APKBUILD... >>> cpulimit: Analyzing dependencies... >>> cpulimit: Installing for build: build-base (1/1) Installing .makedepends-cpulimit (20211021.191251) OK: 344 MiB in 96 packages >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> cpulimit: Fetching cpulimit-0.2.tar.gz::https://github.com/opsengine/cpulimit/archive/v0.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 625 0 --:--:-- --:--:-- --:--:-- 629 100 14289 0 14289 0 0 34106 0 --:--:-- --:--:-- --:--:-- 34106 >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/cpulimit-0.2.tar.gz >>> cpulimit: Checking sha512sums... cpulimit-0.2.tar.gz: OK no-sysctl.patch: OK >>> cpulimit: Unpacking /var/cache/distfiles/v3.15/cpulimit-0.2.tar.gz... >>> cpulimit: no-sysctl.patch patching file src/cpulimit.c make: Entering directory '/home/buildozer/aports/community/cpulimit/src/cpulimit-0.2/src' gcc -c list.c -Os -fomit-frame-pointer gcc -c process_iterator.c -Os -fomit-frame-pointer gcc -c process_group.c -Os -fomit-frame-pointer process_group.c: In function 'find_process_by_name': process_group.c:64:15: 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:15: 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 /usr/include/fortify/string.h:22, from process_group.c:22: /usr/include/string.h:38:14: note: expected 'const char *' but argument is of type 'int' 38 | int strncmp (const char *, const char *, size_t); | ^~~~~~~~~~~~ gcc -o cpulimit cpulimit.c list.o process_iterator.o process_group.o -Os -fomit-frame-pointer cpulimit.c:45:18: warning: extra tokens at end of #ifdef directive 45 | #ifdef __APPLE__ || __FREEBSD__ | ^~ cpulimit.c: In function 'main': cpulimit.c:327:19: warning: implicit declaration of function 'memrchr'; did you mean 'memchr'? [-Wimplicit-function-declaration] 327 | char *p = (char*)memrchr(argv[0], (unsigned int)'/', strlen(argv[0])); | ^~~~~~~ | memchr cpulimit.c:327:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 327 | char *p = (char*)memrchr(argv[0], (unsigned int)'/', strlen(argv[0])); | ^ make: Leaving directory '/home/buildozer/aports/community/cpulimit/src/cpulimit-0.2/src' make: Entering directory '/home/buildozer/aports/community/cpulimit/src/cpulimit-0.2/tests' gcc -o busy busy.c -lpthread -Os -fomit-frame-pointer gcc -I../src -o process_iterator_test process_iterator_test.c ../src/list.o ../src/process_iterator.o ../src/process_group.o -lpthread -Os -fomit-frame-pointer process_iterator_test.c:31:18: warning: extra tokens at end of #ifdef directive 31 | #ifdef __APPLE__ || __FREEBSD__ | ^~ make: Leaving directory '/home/buildozer/aports/community/cpulimit/src/cpulimit-0.2/tests' >>> cpulimit: Entering fakeroot... >>> cpulimit*: Running postcheck for cpulimit >>> cpulimit*: Preparing package cpulimit... >>> cpulimit*: Stripping binaries >>> cpulimit*: Scanning shared objects >>> cpulimit*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> cpulimit*: Package size: 40.0 KB >>> cpulimit*: Compressing data... >>> cpulimit*: Create checksum... >>> cpulimit*: Create cpulimit-0.2-r0.apk >>> cpulimit: Build complete at Thu, 21 Oct 2021 19:12:53 +0000 elapsed time 0h 0m 9s >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Uninstalling dependencies... (1/1) Purging .makedepends-cpulimit (20211021.191251) OK: 344 MiB in 95 packages >>> cpulimit: Updating the community/x86_64 repository index... >>> cpulimit: Signing the index...