>>> cpulimit: Building community/cpulimit 0.2-r2 (using abuild 3.11.0_rc13-r0) started Mon, 24 Apr 2023 23:28:09 +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 (20230424.232810) OK: 371 MiB in 99 packages >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/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 100 14289 100 14289 0 0 43007 0 --:--:-- --:--:-- --:--:-- 42909 >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/cpulimit-0.2.tar.gz >>> cpulimit: Checking sha512sums... cpulimit-0.2.tar.gz: OK no-sysctl.patch: OK >>> cpulimit: Unpacking /var/cache/distfiles/v3.18/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 -Wformat -Werror=format-security gcc -c process_iterator.c -Os -Wformat -Werror=format-security gcc -c process_group.c -Os -Wformat -Werror=format-security 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:23, 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 -Wformat -Werror=format-security 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 -Wformat -Werror=format-security gcc -I../src -o process_iterator_test process_iterator_test.c ../src/list.o ../src/process_iterator.o ../src/process_group.o -lpthread -Os -Wformat -Werror=format-security 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-s390x.so.1 >>> cpulimit*: Package size: 36.0 KB >>> cpulimit*: Compressing data... >>> cpulimit*: Create checksum... >>> cpulimit*: Create cpulimit-0.2-r2.apk >>> cpulimit: Build complete at Mon, 24 Apr 2023 23:28:11 +0000 elapsed time 0h 0m 2s >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Uninstalling dependencies... (1/1) Purging .makedepends-cpulimit (20230424.232810) OK: 371 MiB in 98 packages >>> cpulimit: Updating the community/s390x repository index... >>> cpulimit: Signing the index...