>>> cpulimit: Building community/cpulimit 0.2-r1 (using abuild 3.10.0_rc1-r2) started Tue, 01 Nov 2022 00:37:34 +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 (20221101.003736) OK: 267 MiB in 93 packages >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/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 21354 0 --:--:-- --:--:-- --:--:-- 21390 >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/cpulimit-0.2.tar.gz >>> cpulimit: Checking sha512sums... cpulimit-0.2.tar.gz: OK no-sysctl.patch: OK >>> cpulimit: Unpacking /var/cache/distfiles/v3.17/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: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 /usr/include/fortify/string.h:22, from process_group.c:22: /usr/include/string.h:40:14: note: expected 'const char *' but argument is of type 'int' 40 | 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:26: 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:19: 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-r1.apk >>> cpulimit: Build complete at Tue, 01 Nov 2022 00:37:38 +0000 elapsed time 0h 0m 4s >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Uninstalling dependencies... (1/1) Purging .makedepends-cpulimit (20221101.003736) OK: 267 MiB in 92 packages >>> cpulimit: Updating the community/x86_64 repository index... >>> cpulimit: Signing the index...