>>> socklog: Building community/socklog 2.1.0-r3 (using abuild 3.13.0-r5) started Tue, 10 Sep 2024 02:52:30 +0000 >>> socklog: Checking sanity of /home/buildozer/aports/community/socklog/APKBUILD... >>> socklog: Analyzing dependencies... >>> socklog: Installing for build: build-base (1/1) Installing .makedepends-socklog (20240910.025406) OK: 251 MiB in 103 packages >>> socklog: Cleaning up srcdir >>> socklog: Cleaning up pkgdir >>> socklog: Cleaning up tmpdir >>> socklog: Fetching https://distfiles.alpinelinux.org/distfiles/edge/socklog-2.1.0.tar.gz >>> socklog: Fetching https://distfiles.alpinelinux.org/distfiles/edge/socklog-2.1.0.tar.gz >>> socklog: Checking sha512sums... socklog-2.1.0.tar.gz: OK socklog.setup: OK >>> socklog: Unpacking /var/cache/distfiles/socklog-2.1.0.tar.gz... 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 compile chmod 555 makelib ./choose c trydrent direntry.h1 direntry.h2 > direntry.h ./compile chkshsgr.c chmod 555 load ./choose c trysysel select.h1 select.h2 > select.h ./compile socklog.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 ./compile readclose.c ./compile seek_set.c ./compile sgetopt.c chkshsgr.c: In function 'main': 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 * 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) | ~~~~~~~~~~~~~~~~~~~~~~^~~ 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: In function 'pathexec_run': pathexec_run.c:18:5: error: implicit declaration of function 'execve' [-Wimplicit-function-declaration] 18 | execve(file,argv,envp); | ^~~~~~ 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*' 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*' 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*' make: *** [Makefile:124: chkshsgr.o] Error 1 make: *** Waiting for unfinished jobs.... seek_set.c: In function 'seek_set': seek_set.c:9:7: error: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] 9 | { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } | ^~~~~ make: *** [Makefile:240: pathexec_run.o] Error 1 make: *** [Makefile:253: seek_set.o] Error 1 >>> ERROR: socklog: build failed >>> socklog: Uninstalling dependencies... (1/1) Purging .makedepends-socklog (20240910.025406) OK: 251 MiB in 102 packages