>>> cpulimit: Building community/cpulimit 0.2-r0 (using abuild 3.7.0_rc1-r2) started Wed, 23 Dec 2020 14:55:36 +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 (20201223.145539) OK: 310 MiB in 87 packages >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.13/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 14289 100 14289 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.13/cpulimit-0.2.tar.gz >>> cpulimit: Checking sha512sums... cpulimit-0.2.tar.gz: OK no-sysctl.patch: OK >>> cpulimit: Unpacking /var/cache/distfiles/v3.13/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 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.so.1 >>> cpulimit*: Package size: 36.0 KB >>> cpulimit*: Compressing data... >>> cpulimit*: Create checksum... >>> cpulimit*: Create cpulimit-0.2-r0.apk >>> cpulimit: Build complete at Wed, 23 Dec 2020 14:55:41 +0000 elapsed time 0h 0m 5s >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Uninstalling dependencies... (1/1) Purging .makedepends-cpulimit (20201223.145539) OK: 310 MiB in 86 packages >>> cpulimit: Updating the community/x86 repository index... >>> cpulimit: Signing the index...