>>> cpulimit: Building community/cpulimit 0.2-r2 (using abuild 3.13.0-r3) started Fri, 26 Apr 2024 21:48:17 +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 (20240426.214824) OK: 473 MiB in 108 packages >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Cleaning up tmpdir >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/cpulimit-0.2.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> cpulimit: Fetching cpulimit-0.2.tar.gz::https://github.com/opsengine/cpulimit/archive/v0.2.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.9:443) saving to '/var/cache/distfiles/cpulimit-0.2.tar.gz.part' cpulimit-0.2.tar.gz. 100% |********************************| 14289 0:00:00 ETA '/var/cache/distfiles/cpulimit-0.2.tar.gz.part' saved >>> cpulimit: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/cpulimit-0.2.tar.gz >>> cpulimit: Checking sha512sums... cpulimit-0.2.tar.gz: OK no-sysctl.patch: OK >>> cpulimit: Unpacking /var/cache/distfiles/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 -fstack-clash-protection -Wformat -Werror=format-security gcc -c process_iterator.c -Os -fstack-clash-protection -Wformat -Werror=format-security gcc -c process_group.c -Os -fstack-clash-protection -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 -fstack-clash-protection -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 -fstack-clash-protection -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 -fstack-clash-protection -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-aarch64.so.1 >>> cpulimit*: Package size: 80.0 KB >>> cpulimit*: Compressing data... >>> cpulimit*: Create checksum... >>> cpulimit*: Create cpulimit-0.2-r2.apk >>> cpulimit: Build complete at Fri, 26 Apr 2024 21:48:25 +0000 elapsed time 0h 0m 8s >>> cpulimit: Cleaning up srcdir >>> cpulimit: Cleaning up pkgdir >>> cpulimit: Uninstalling dependencies... (1/1) Purging .makedepends-cpulimit (20240426.214824) OK: 473 MiB in 107 packages >>> cpulimit: Updating the community/aarch64 repository index... >>> cpulimit: Signing the index...