>>> lsof: Building main/lsof 4.99.4-r1 (using abuild 3.15.0-r1) started Wed, 15 Oct 2025 19:58:22 +0000 >>> lsof: Validating /home/udu/aports/main/lsof/APKBUILD... >>> lsof: Analyzing dependencies... >>> lsof: Installing for build: build-base bash linux-headers perl WARNING: opening /home/udu/packages//main: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (1/6) Installing linux-headers (6.14.2-r0) (2/6) Installing perl (5.40.3-r0) (3/6) Installing .makedepends-lsof (20251015.195839) (4/6) Installing perl-error (0.17030-r0) (5/6) Installing perl-git (2.49.1-r0) (6/6) Installing git-perl (2.49.1-r0) Executing busybox-1.37.0-r19.trigger OK: 339 MiB in 95 packages >>> lsof: Cleaning up srcdir >>> lsof: Cleaning up pkgdir >>> lsof: Cleaning up tmpdir >>> lsof: Fetching https://github.com/lsof-org/lsof/archive/4.99.4/lsof-4.99.4.tar.gz >>> lsof: Fetching https://github.com/lsof-org/lsof/archive/4.99.4/lsof-4.99.4.tar.gz >>> lsof: Checking sha512sums... lsof-4.99.4.tar.gz: OK hassecurity.patch: OK >>> lsof: Unpacking /var/cache/distfiles/lsof-4.99.4.tar.gz... >>> lsof: hassecurity.patch patching file lib/dialects/linux/machine.h Testing C library type with cc ... done The C library type is not glibc. rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c dzfs.h kernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile Makefile.zfs ./tests/config.cflags rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags Testing C library for localtime() and strftime(), using cc ... present ln -s lib/dialects/linux/dfile.c dfile.c ln -s lib/dialects/linux/dlsof.h dlsof.h ln -s lib/dialects/linux/dmnt.c dmnt.c ln -s lib/dialects/linux/dnode.c dnode.c ln -s lib/dialects/linux/dproc.c dproc.c ln -s lib/dialects/linux/dproto.h dproto.h ln -s lib/dialects/linux/dsock.c dsock.c ln -s lib/dialects/linux/dstore.c dstore.c ln -s lib/dialects/linux/machine.h machine.h ln -s src/arg.c arg.c ln -s src/main.c main.c ln -s src/print.c print.c ln -s src/ptti.c ptti.c ln -s src/store.c store.c ln -s src/usage.c usage.c ln -s src/util.c util.c ln -s src/dialects/linux/dprint.c dprint.c Makefile and lib/Makefile created. ./tests/config.cc created ./tests/config.cflags created ./tests/config.ldflags created ./tests/config.xobj created (cd lib; make DEBUG="" CFGF="-DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\"") cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o dfile.o dfile.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o dmnt.o dmnt.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o dnode.o dnode.c make[1]: Entering directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/lib' cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o ckkv.o ckkv.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o dprint.o dprint.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o cvfs.o cvfs.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o dproc.o dproc.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o dvch.o dvch.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o dsock.o dsock.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o fino.o fino.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o isfn.o isfn.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o dstore.o dstore.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o lkud.o lkud.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o arg.o arg.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o lsof.o lsof.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o main.o main.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o misc.o misc.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o print.o print.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o node.o node.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o store.o store.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o pdvn.o pdvn.c print.c: In function 'human_readable_size': print.c:1765:9: warning: unused variable 'len' [-Wunused-variable] 1765 | int len; | ^~~ print.c: In function 'printuid': print.c:1712:37: warning: '%*lu' directive output may be truncated writing between 8 and 10 bytes into a region of size 9 [-Wformat-truncation=] 1712 | (void)snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); | ^~~~ print.c:1712:36: note: directive argument in the range [0, 4294967295] 1712 | (void)snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); | ^~~~~~ In file included from lib/common.h:42, from print.c:31: ./machine.h:552:18: note: 'snprintf' output between 9 and 11 bytes into a destination of size 9 552 | # define snpf snprintf /* use the system's snprintf() */ print.c:1712:11: note: in expansion of macro 'snpf' 1712 | (void)snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); | ^~~~ cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o prfp.o prfp.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o print.o print.c Constructing version.h cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o proc.o proc.c main.c: In function 'main': cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o ptti.o ptti.c main.c:1304:62: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1304 | (void)fprintf(stderr, "%s: no space for %d sort pointers\n", | ~^ | | | int | %ld dnode.c: In function 'process_proc_node': dnode.c:716:11: warning: unused variable 'tn' [-Wunused-variable] 716 | char *tn; | ^~ cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o rdev.o rdev.c cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o util.o util.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o rmnt.o rmnt.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o rnam.o rnam.c arg.c: In function 'enter_id': arg.c:1127:21: warning: unused variable 's' [-Wunused-variable] 1127 | struct int_lst *s; | ^ arg.c:1126:35: warning: unused variable 'nx' [-Wunused-variable] 1126 | int err, i, id, j, mx, n, ni, nx, x; | ^~ arg.c:1126:31: warning: unused variable 'ni' [-Wunused-variable] 1126 | int err, i, id, j, mx, n, ni, nx, x; | ^~ arg.c:1126:28: warning: unused variable 'n' [-Wunused-variable] 1126 | int err, i, id, j, mx, n, ni, nx, x; | ^ cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o rnch.o rnch.c cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o rnmh.o rnmh.c dsock.c: In function 'prt_uxs': dsock.c:1076:9: warning: unused variable 'i' [-Wunused-variable] 1076 | int i; /* temporary index */ | ^ dsock.c: In function 'prt_nets_common': arg.c:1126:24: warning: unused variable 'mx' [-Wunused-variable] 1126 | int err, i, id, j, mx, n, ni, nx, x; | ^~ arg.c:1126:21: warning: unused variable 'j' [-Wunused-variable] 1126 | int err, i, id, j, mx, n, ni, nx, x; | ^ dsock.c:1244:9: warning: unused variable 'i' [-Wunused-variable] 1244 | int i; /* temporary index */ | ^ cc -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -I.. -I../include -Idialects/linux -c -o rnmt.o rnmt.c arg.c: In function 'enter_cmd': arg.c:1944:21: warning: unused variable 'lpt' [-Wunused-variable] 1944 | struct str_lst *lpt; | ^~~ arg.c:1943:14: warning: unused variable 'len' [-Wunused-variable] 1943 | MALLOC_S len; | ^~~ arg.c:1941:11: warning: unused variable 'cp' [-Wunused-variable] 1941 | char *cp; | ^~ arg.c: In function 'enter_uid': arg.c:1972:29: warning: unused variable 'lp' [-Wunused-variable] 1972 | char lnm[LOGINML + 1], *lp; | ^~ arg.c:1971:14: warning: unused variable 'len' [-Wunused-variable] 1971 | MALLOC_S len; | ^~~ cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o usage.o usage.c dsock.c: At top level: dsock.c:372:14: warning: 'socket_state_to_str' declared 'static' but never defined [-Wunused-function] 372 | static char *socket_state_to_str(struct lsof_context *ctx, unsigned int ss); | ^~~~~~~~~~~~~~~~~~~ ar cr liblsof.a ckkv.o cvfs.o dvch.o fino.o isfn.o lkud.o lsof.o misc.o node.o pdvn.o prfp.o print.o proc.o ptti.o rdev.o rmnt.o rnam.o rnch.o rnmh.o rnmt.o ranlib liblsof.a make[1]: Leaving directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/lib' cc -o lsof dfile.o dmnt.o dnode.o dprint.o dproc.o dsock.o dstore.o arg.o main.o print.o store.o usage.o util.o -L./lib -llsof "LT_BIGF LT_CC LT_DIAL_linux LT_VERS=614002 _FILE_OFFSET_BITS=64" added to TestDB. (cd lib; make DEBUG="" CFGF="-DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\"") make[1]: Entering directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/lib' Constructing version.h cc -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.14.2\" -Iinclude -Ilib -Isrc -I. -c -o usage.o usage.c cc -o lsof dfile.o dmnt.o dnode.o dprint.o dproc.o dsock.o dstore.o arg.o main.o print.o store.o usage.o util.o -L./lib -llsof bash ./check.bash linux RUNTIME ENVIRONMENT INFORMATION ============================================================================= linux 5.3 shopt -s _allow_command_sub shopt -s _allow_process_sub shopt -u _no_debug_trap shopt -u _no_err_trap shopt -u _running_hay shopt -u _running_trap shopt -u command_sub_errexit shopt -u dotglob shopt -s dynamic_scope shopt -u env_obj shopt -u eval_unsafe_arith shopt -s expand_aliases shopt -u extdebug shopt -u extglob shopt -u failglob shopt -u for_loop_frames shopt -u hostcomplete shopt -u ignore_flags_not_impl shopt -u ignore_shopt_not_impl shopt -u inherit_errexit shopt -u init_ysh_globals shopt -s lastpipe shopt -u no_dash_glob shopt -u no_exported shopt -u no_init_globals shopt -u no_osh_builtins shopt -u no_parse_backslash shopt -u no_parse_backticks shopt -u no_parse_bare_word shopt -u no_parse_dbracket shopt -u no_parse_dollar shopt -u no_parse_dparen shopt -u no_parse_ignored shopt -u no_parse_osh shopt -u no_parse_sh_arith shopt -u no_parse_word_join shopt -u no_xtrace_osh shopt -u nocasematch shopt -u nullglob shopt -u parse_at shopt -u parse_at_all shopt -u parse_brace shopt -u parse_bracket shopt -u parse_equals shopt -u parse_func shopt -u parse_paren shopt -u parse_proc shopt -u parse_triple_quote shopt -u parse_ysh_string shopt -u process_sub_fail shopt -u progcomp shopt -u redefine_const shopt -u redefine_source shopt -s rewrite_extern shopt -u sigpipe_status_ok shopt -u simple_echo shopt -u simple_eval_builtin shopt -u simple_test_builtin shopt -u simple_trap_builtin shopt -u simple_word_eval shopt -u strict_argv shopt -u strict_arith shopt -u strict_array shopt -u strict_control_flow shopt -u strict_env_binding shopt -u strict_errexit shopt -u strict_glob shopt -u strict_nameref shopt -u strict_parse_equals shopt -u strict_parse_slice shopt -u strict_tilde shopt -u strict_word_eval shopt -u verbose_errexit shopt -u verbose_warn shopt -u xtrace_rich declare -x ABUILD_LAST_COMMIT='' declare -x BUILDCC=cc declare -x BUILDCFLAGS='-Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt' declare -x BUILDCPPFLAGS='' declare -x BUILDCXX='c++' declare -x BUILDCXXFLAGS='-Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt' declare -x BUILDLD=ld declare -x BUILDLDFLAGS='-Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs' declare -x CARGO_BUILD_JOBS=20 declare -x CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 declare -x CARGO_PROFILE_RELEASE_LTO='true' declare -x CARGO_PROFILE_RELEASE_OPT_LEVEL=s declare -x CARGO_PROFILE_RELEASE_PANIC=abort declare -x CC=cc declare -x CFLAGS=$'-Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\\"6.14.2\\" -Iinclude -Ilib -Isrc -I. ' declare -x CHARSET=UTF-8 declare -x CMAKE_BUILD_PARALLEL_LEVEL=20 declare -x COLUMNS=302 declare -x CTEST_NO_TESTS_ACTION=error declare -x CTEST_OUTPUT_ON_FAILURE=ON declare -x CTEST_PARALLEL_LEVEL=20 declare -x CXX='c++' declare -x CXXFLAGS='-Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt' declare -x DFLAGS=-Os declare -x GIT_CEILING_DIRECTORIES=/home/udu/aports/main/lsof declare -x GOFLAGS='-buildmode=pie -modcacherw -trimpath -buildvcs=false' declare -x HOME=/home/udu declare -x JOBS=20 declare -x LANG=C.UTF-8 declare -x LC_COLLATE=C declare -x LDFLAGS='-Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs' declare -x LINES=73 declare -x LOGNAME=udu declare -x MAKEFLAGS=' -j20 --jobserver-auth=fifo:/tmp/GMfifo3924978' declare -x MAKELEVEL=1 declare -x MFLAGS='-j20 --jobserver-auth=fifo:/tmp/GMfifo3924978' declare -x OLDPWD=/home/udu/aports/main/lsof/src/lsof-4.99.4 declare -x PAGER=less declare -x PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' declare -x PERL_MM_USE_DEFAULT=1 declare -x PWD=/home/udu/aports/main/lsof/src/lsof-4.99.4 declare -x REPODEST=/home/udu/packages/ declare -x RUSTFLAGS=' -Clink-arg=-Wl,-z,pack-relative-relocs' declare -x SAMUFLAGS=-j20 declare -x SHELL=/bin/sh declare -x SOURCE_DATE_EPOCH=1757607152 declare -x SRCDEST=/var/cache/distfiles declare -x USER=udu declare -x git='true' Linux lsof version information: revision: 4.99.4 copyright notice: Copyright 1998 Purdue Research Foundation. All rights reserved. latest revision: https://github.com/lsof-org/lsof latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.8 compiler: cc compiler version: 14.2.0 (Alpine 14.2.0) compiler flags: -Wall -DLINUXV=614002 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -DHAS_DUP2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.14.2" -Iinclude -Ilib -Isrc -I. loader flags: -L./lib -llsof features enabled: ipv6 ptyept soopt sostate tasks uxsockept Only root can list all files. /dev warnings are disabled. Kernel ID check is disabled. STARTING TEST ( dialect neutral ) ============================================================================= case-00-hello ... ok case-01-version ... ok case-13-classic ... failed case-14-classic-opt ... failed case-20-exit-status ... failed case-20-fd-only-inclusion ... done < <(${lsof} -p $$ -a -d fd -F fd) >> $report ^ ./tests/case-20-fd-only-inclusion.bash:18: Can't open '/dev/fd/4': No such file or directory ./tests/case-20-fd-only-inclusion.bash:18: I/O error applying redirect: No such file or directory lsof: can't fopen(/proc/mounts, "r"): No such file or directory done < <(${lsof} -p $$ -a -d "^fd" -F fd) >> $report ^ ./tests/case-20-fd-only-inclusion.bash:33: Can't open '/dev/fd/4': No such file or directory ./tests/case-20-fd-only-inclusion.bash:33: I/O error applying redirect: No such file or directory lsof: can't fopen(/proc/mounts, "r"): No such file or directory ok case-20-handle-missing-files ... failed case-20-offset-field ... lsof: can't fopen(/proc/mounts, "r"): No such file or directory failed case-20-repeat-count ... lsof: can't fopen(/proc/mounts, "r"): No such file or directory failed case-21-exit-Q-status ... failed case-22-empty-process-name ... ok STARTING TEST ( linux specific ) ============================================================================= case-00-linux-hello ... ok case-10-mqueue ... grep: /proc/mounts: No such file or directory skipped case-10-ux-socket-state ... skipped case-20-epoll ... failed case-20-eventfd-endpoint ... lsof: can't fopen(/proc/mounts, "r"): No such file or directory lsof: can't fopen(/proc/mounts, "r"): No such file or directory lsof: can't fopen(/proc/mounts, "r"): No such file or directory failed case-20-inet-socket-endpoint ... skipped case-20-inet6-ffffffff-handling ... skipped case-20-inet6-socket-endpoint ... skipped case-20-mmap ... mount: no /proc/mounts skipped case-20-mqueue-endpoint ... grep: /proc/mounts: No such file or directory skipped case-20-open-flags-cx ... failed case-20-open-flags-path ... failed case-20-open-flags-tmpf ... skipped case-20-pidfd-pid ... failed case-20-pipe-endpoint ... lsof: can't fopen(/proc/mounts, "r"): No such file or directory lsof: can't fopen(/proc/mounts, "r"): No such file or directory failed case-20-pipe-no-close-endpoint ... lsof: can't fopen(/proc/mounts, "r"): No such file or directory lsof: can't fopen(/proc/mounts, "r"): No such file or directory failed case-20-pty-endpoint ... pty: failed to open ptmx: No such file or directory failed case-20-ux-socket-endpoint-unaccepted ... lsof: can't fopen(/proc/mounts, "r"): No such file or directory failed case-20-ux-socket-endpoint ... skipped TEST SUMMARY ============================================================================= successful: 5 skipped: 9 failed: 16 16 of 30 cases are failed [failed] /tmp/case-13-classic-3925007.report ----------------------------------------------------------------------------- make[1]: Entering directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/tests' `cat config.cc` -I. -I.. -I../include `cat config.cflags` -c LTlib.c \ -o LTlib.o `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTbasic.c \ LTlib.o `cat config.xobj` -o LTbasic `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTnlink.c \ LTlib.o `cat config.xobj` -o LTnlink `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTsock.c \ LTlib.o `cat config.xobj` -o LTsock `cat config.ldflags` `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTszoff.c \ LTlib.o `cat config.xobj` -o LTszoff `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTunix.c \ LTlib.o `cat config.xobj` -o LTunix `cat config.ldflags` Basic test: LTbasic ... ERROR!!! open lsof executable wasn't found. ERROR!!! lsof process wasn't found. make[1]: *** [Makefile:27: all] Error 1 make[1]: Leaving directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/tests' ------------------------------------ "LTbasic ... OK" is not found in the output "LTnlink ... OK" is not found in the output "LTsock ... OK" is not found in the output "LTszoff ... OK" is not found in the output "LTunix ... OK" is not found in the output output ............................................................................. make[1]: Entering directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/tests' `cat config.cc` -I. -I.. -I../include `cat config.cflags` -c LTlib.c \ -o LTlib.o `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTbasic.c \ LTlib.o `cat config.xobj` -o LTbasic `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTnlink.c \ LTlib.o `cat config.xobj` -o LTnlink `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTsock.c \ LTlib.o `cat config.xobj` -o LTsock `cat config.ldflags` `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTszoff.c \ LTlib.o `cat config.xobj` -o LTszoff `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTunix.c \ LTlib.o `cat config.xobj` -o LTunix `cat config.ldflags` Basic test: LTbasic ... ERROR!!! open lsof executable wasn't found. ERROR!!! lsof process wasn't found. make[1]: *** [Makefile:27: all] Error 1 make[1]: Leaving directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/tests' [failed] /tmp/case-14-classic-opt-3925007.report ----------------------------------------------------------------------------- "LTbigf ... OK" is not found in the output "LTdnlc ... .*/tests found: 100.00%" is not found in the output "LTlock ... OK" is not found in the output output ............................................................................. make[1]: Entering directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/tests' `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTbigf.c \ LTlib.o `cat config.xobj` -o LTbigf `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTdnlc.c \ LTlib.o `cat config.xobj` -o LTdnlc `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTlock.c \ LTlib.o `cat config.xobj` -o LTlock `cat config.cc` -I. -I.. -I../include `cat config.cflags` LTnfs.c \ LTlib.o `cat config.xobj` -o LTnfs Optional tests: LTbigf ... WARNING!!! lsof can't return file offsets for this dialect, so offset tests have been disabled. ./config.LTbigf3925207 not found by lsof LTdnlc ... /home/udu/aports/main/lsof/src/lsof-4.99.4/tests found: 0.00% ERROR!!! the find rate was too low. Hint: since the find rate is zero, it may be that this file system does not fully participate in kernel DNLC processing -- e.g., NFS file systems often do not, /tmp file systems sometimes do not, Solaris loopback file systems do not. As a work-around rebuild and test lsof on a file system that fully participates in kernel DNLC processing. See 00FAQ and 00TEST for more information. LTlock ... lock test file ./config.LTlock3925341 not found by lsof lock test file ./config.LTlock3925341 not found by lsof lock test file ./config.LTlock3925341 not found by lsof lock test file ./config.LTlock3925341 not found by lsof LTnfs ... ERROR!!! test file ./config.LTnfs3925435 not found by lsof Hint: the temporary path generated by this test might not be on an NFS file system, or this test might be unable to create a file on the NFS file system. As a work-around use the -p option to specify a path to a regular file (not a directory) on an NFS file system to which this test will have read access. See 00FAQ and 00TEST for more information. Failed tests: 4 make[1]: *** [Makefile:118: opt] Error 1 make[1]: Leaving directory '/home/udu/aports/main/lsof/src/lsof-4.99.4/tests' [failed] /tmp/case-20-exit-status-3925007.report ----------------------------------------------------------------------------- lsof: can't fopen(/proc/mounts, "r"): No such file or directory ok: /home/udu/aports/main/lsof/src/lsof-4.99.4/lsof /tmp/lsof-case-20-exit-status-3925460 => 1 lsof: can't fopen(/proc/mounts, "r"): No such file or directory ok: touch /tmp/lsof-case-20-exit-status-3925460; /home/udu/aports/main/lsof/src/lsof-4.99.4/lsof /tmp/lsof-case-20-exit-status-3925460 => 1 lsof: can't fopen(/proc/mounts, "r"): No such file or directory unexpected exit status: 1 cmdline: /home/udu/aports/main/lsof/src/lsof-4.99.4/lsof /dev/null [failed] /tmp/case-20-handle-missing-files-3925007.report ----------------------------------------------------------------------------- unexpected output: lsof: can't fopen(/proc/mounts, "r"): No such file or directory [failed] /tmp/case-20-offset-field-3925007.report ----------------------------------------------------------------------------- cat $r ^~ ./check.bash:99: Can't open '/tmp/case-20-offset-field-3925007.report': No such file or directory make: *** [Makefile:64: check] Error 1 >>> ERROR: lsof: check failed >>> lsof: Uninstalling dependencies... (1/6) Purging .makedepends-lsof (20251015.195839) (2/6) Purging linux-headers (6.14.2-r0) (3/6) Purging git-perl (2.49.1-r0) (4/6) Purging perl-git (2.49.1-r0) (5/6) Purging perl-error (0.17030-r0) (6/6) Purging perl (5.40.3-r0) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages