>>> runit: Building community/runit 2.1.2-r7 (using abuild 3.13.0-r5) started Sat, 14 Sep 2024 10:48:27 +0000 >>> runit: Checking sanity of /home/buildozer/aports/community/runit/APKBUILD... >>> runit: Analyzing dependencies... >>> runit: Installing for build: build-base (1/1) Installing .makedepends-runit (20240914.104931) OK: 251 MiB in 103 packages >>> runit: Cleaning up srcdir >>> runit: Cleaning up pkgdir >>> runit: Cleaning up tmpdir >>> runit: Fetching https://distfiles.alpinelinux.org/distfiles/edge/runit-2.1.2.tar.gz >>> runit: Fetching https://distfiles.alpinelinux.org/distfiles/edge/runit-2.1.2.tar.gz >>> runit: Checking sha512sums... runit-2.1.2.tar.gz: OK run-service-dir.patch: OK svlogd-udp.patch: OK README.alpine: OK runit.initd: OK >>> runit: Unpacking /var/cache/distfiles/runit-2.1.2.tar.gz... >>> runit: run-service-dir.patch patching file sv.c >>> runit: svlogd-udp.patch patching file svlogd.c sh find-systype.sh > systype rm -f choose cat warn-auto.sh choose.sh \ > choose chmod 555 choose rm -f compile rm -f load sh print-cc.sh > compile rm -f makelib sh print-ld.sh > load sh print-ar.sh > makelib chmod 555 makelib chmod 555 compile ./choose c trydrent direntry.h1 direntry.h2 > direntry.h ./compile chkshsgr.c chmod 555 load ./choose c trysysel select.h1 select.h2 > select.h ./choose c tryreboot reboot_system.h1 reboot_system.h2 > \ reboot_system.h ( ./compile tryuwtmpx.c 2>/dev/null && cat uw_tmp.h2 >uw_tmp.h ) || \ ( ./compile tryuwtmp.c 2>/dev/null && cat uw_tmp.h1 >uw_tmp.h ) ./compile trysocketlib.c ./compile uidgid.c ./compile alloc.c ./compile alloc_re.c ./compile buffer.c ./compile buffer_0.c ./compile buffer_1.c ./compile buffer_2.c ./compile buffer_get.c ./compile buffer_put.c ./compile buffer_read.c ./compile buffer_write.c ./compile coe.c ./compile env.c ./compile error.c ./compile error_str.c ./compile fd_copy.c ./compile fd_move.c ./compile ndelay_off.c ./compile ndelay_on.c ./compile open_append.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./compile openreadclose.c ./compile pathexec_env.c ./compile pathexec_run.c pathexec_run.c: In function 'pathexec_run': chkshsgr.c: In function 'main': pathexec_run.c:18:5: error: implicit declaration of function 'execve' [-Wimplicit-function-declaration] 18 | execve(file,argv,envp); | ^~~~~~ chkshsgr.c:10:19: error: passing argument 2 of 'getgroups' from incompatible pointer type [-Wincompatible-pointer-types] 10 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^ | | | short int * pathexec_run.c:18:17: error: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] 18 | execve(file,argv,envp); | ^~~~ | | | const char * const* pathexec_run.c:18:17: note: expected 'char * const*' but argument is of type 'const char * const*' In file included from chkshsgr.c:3: /usr/include/fortify/unistd.h:75:69: note: expected 'gid_t *' {aka 'unsigned int *'} but argument is of type 'short int *' 75 | _FORTIFY_FN(getgroups) int getgroups(int __l, gid_t * _FORTIFY_POS0 __s) | ~~~~~~~~~~~~~~~~~~~~~~^~~ pathexec_run.c:18:22: error: passing argument 3 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] 18 | execve(file,argv,envp); | ^~~~ | | | const char * const* pathexec_run.c:18:22: note: expected 'char * const*' but argument is of type 'const char * const*' chkshsgr.c:10:44: error: passing argument 2 of 'setgroups' from incompatible pointer type [-Wincompatible-pointer-types] 10 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^ | | | short int * In file included from /usr/include/fortify/unistd.h:23: /usr/include/unistd.h:173:23: note: expected 'const gid_t *' {aka 'const unsigned int *'} but argument is of type 'short int *' 173 | int setgroups(size_t, const gid_t *); | ^~~~~~~~~~~~~ pathexec_run.c:35:18: error: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] 35 | execve(tmp.s,argv,envp); | ^~~~ | | | const char * const* pathexec_run.c:35:18: note: expected 'char * const*' but argument is of type 'const char * const*' pathexec_run.c:35:23: error: passing argument 3 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] 35 | execve(tmp.s,argv,envp); | ^~~~ | | | const char * const* pathexec_run.c:35:23: note: expected 'char * const*' but argument is of type 'const char * const*' ./compile readclose.c make: *** [Makefile:177: chkshsgr.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:293: pathexec_run.o] Error 1 ( ./load trysocketlib >/dev/null 2>&1 || \ ( ./load trysocketlib -lxnet >/dev/null 2>&1 && echo '-lxnet' ) || \ ( ./load trysocketlib -lsocket -lnsl >/dev/null 2>&1 && \ echo '-lsocket -lnsl' ) \ ) >socket.lib rm -f trysocketlib.o trysocketlib rm -f tryuwtmp.o tryuwtmpx.o >>> ERROR: runit: build failed >>> runit: Uninstalling dependencies... (1/1) Purging .makedepends-runit (20240914.104931) OK: 251 MiB in 102 packages