Mock Version: 2.14 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lsof.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_2/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lsof.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/lsof-4.94.0-3.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lsof.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_2/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lsof.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RVMEWi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lsof-4.94.0-rh + /usr/bin/xz -dc /builddir/build/SOURCES/lsof-4.94.0-rh.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lsof-4.94.0-rh + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lsof-man-page-section.patch):' Patch #0 (lsof-man-page-section.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man-page-section --fuzz=0 patching file Lsof.8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0WWj6N + umask 022 + cd /builddir/build/BUILD + cd lsof-4.94.0-rh + ./Configure -n linux ./Configure: line 2873: perl: command not found Testing C library type with cc ... done The C library type is glibc, version "-DGLIBCV=234". 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 dialects/linux/dfile.c dfile.c ln -s dialects/linux/dlsof.h dlsof.h ln -s dialects/linux/dmnt.c dmnt.c ln -s dialects/linux/dnode.c dnode.c ln -s dialects/linux/dproc.c dproc.c ln -s dialects/linux/dproto.h dproto.h ln -s dialects/linux/dsock.c dsock.c ln -s dialects/linux/dstore.c dstore.c ln -s dialects/linux/machine.h machine.h Makefile and lib/Makefile created. ./tests/config.cc created ./tests/config.cflags created ./tests/config.ldflags created ./tests/config.xobj created + /usr/bin/make -O -j4 V=1 VERBOSE=1 'DEBUG=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc' 'CFGL=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L./lib -llsof -lselinux -ltirpc' (cd lib; /usr/bin/make DEBUG="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc" CFGF="-DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\"") make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o ckkv.o ckkv.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o dfile.o dfile.c In file included from dfile.c:38: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o cvfs.o cvfs.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o dvch.o dvch.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o dmnt.o dmnt.c In file included from dmnt.c:38: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o fino.o fino.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o isfn.o isfn.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o lkud.o lkud.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o pdvn.o pdvn.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o dnode.o dnode.c In file included from dnode.c:38: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o prfp.o prfp.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o ptti.o ptti.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o dstore.o dstore.c In file included from dstore.c:38: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o rdev.o rdev.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o regex.o regex.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o rmnt.o rmnt.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o dproc.o dproc.c In file included from dproc.c:37: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o rnam.o rnam.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o rnch.o rnch.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o rnmh.o rnmh.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.18.0-348.2.1.el8_5.x86_64" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o snpf.o snpf.c make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' ar cr liblsof.a ckkv.o cvfs.o dvch.o fino.o isfn.o lkud.o pdvn.o prfp.o ptti.o rdev.o regex.o rmnt.o rnam.o rnch.o rnmh.o snpf.o ranlib liblsof.a make[1]: Leaving directory '/builddir/build/BUILD/lsof-4.94.0-rh/lib' cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o arg.o arg.c arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o node.o node.c In file included from node.c:38: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o dsock.o dsock.c dsock.c: In function 'process_netsinfo': dsock.c:1569:24: warning: unused variable 'tp' [-Wunused-variable] 1569 | struct tcp_udp*tp; /* temporary INET socket info pointer */ | ^~ dsock.c: In function 'process_nets6info': dsock.c:1721:25: warning: unused variable 'tp' [-Wunused-variable] 1721 | struct tcp_udp6*tp; /* temporary INET6 socket info pointer */ | ^~ dsock.c: In function 'get_tcpudp': dsock.c:78:52: warning: left-hand operand of comma expression has no effect [-Wunused-value] 78 | + (tp)->laddr, \ | ^ dsock.c:2999:29: note: in expansion of macro 'TCPUDP_IPC_HASH' 2999 | int i = TCPUDP_IPC_HASH(tp); | ^~~~~~~~~~~~~~~ dsock.c: In function 'get_tcpudp6': dsock.c:92:79: warning: left-hand operand of comma expression has no effect [-Wunused-value] 92 | + TCPUDP6_IPC_ADDR_MK_INT(&(tp)->laddr), \ | ^ dsock.c:3376:29: note: in expansion of macro 'TCPUDP6_IPC_HASH' 3376 | int i = TCPUDP6_IPC_HASH(tp6); | ^~~~~~~~~~~~~~~~ In file included from dsock.c:38: At top level: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ In file included from /usr/include/string.h:519, from dlsof.h:48, from lsof.h:250, from dsock.c:38: In function 'strncpy', inlined from 'process_proc_sock' at dsock.c:4031:10: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ dsock.c: In function 'process_proc_sock': dsock.c:4028:23: note: length computed here 4028 | len = strlen(ip->la); | ^~~~~~~~~~~~~~ cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o main.o main.c In file included from main.c:40: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] 35 | static char copyright[] = | ^~~~~~~~~ cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o misc.o misc.c In file included from misc.c:38: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o store.o store.c In file included from store.c:38: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o util.o util.c util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] 40 | static char copyright[] = | ^~~~~~~~~ Constructing version.h cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o usage.o usage.c In file included from usage.c:38: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o print.o print.c print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ print.c: In function 'printiproto': print.c:2009:63: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] 2009 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); | ^~ print.c:2009:61: note: directive argument in the range [-214748363, 214748363] 2009 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); | ^~~~~~ In file included from /usr/include/stdio.h:888, from lsof.h:58, from print.c:38: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 4 and 13 bytes into a destination of size 8 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ print.c: In function 'printuid': print.c:2438:42: warning: '%*lu' directive output may be truncated writing between 8 and 10 bytes into a region of size 9 [-Wformat-truncation=] 2438 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); | ^~~~ print.c:2438:41: note: directive argument in the range [0, 4294967295] 2438 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); | ^~~~~~ In file included from /usr/include/stdio.h:888, from lsof.h:58, from print.c:38: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 9 and 11 bytes into a destination of size 9 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -DLINUXV=418000 -DGLIBCV=234 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.18.0-348.2.1.el8_5.x86_64\" -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o proc.o proc.c In file included from proc.c:38: lsof.h:328:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] 328 | static struct utmp dummy_utmp; /* to get login name length */ | ^~~~~~~~~~ proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ cc -o lsof dfile.o dmnt.o dnode.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.o print.o proc.o store.o usage.o util.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L./lib -llsof -lselinux -ltirpc + soelim -r Lsof.8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OYwwzX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64 + cd lsof-4.94.0-rh + mkdir -p /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/bin + install -p -m 0755 lsof /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/share/man/man1 + install -p -m 0644 lsof.1 /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/share/man/man1/lsof.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.94.0-3.el9 --unique-debug-suffix -4.94.0-3.el9.x86_64 --unique-debug-src-base lsof-4.94.0-3.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/lsof-4.94.0-rh explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/bin/lsof extracting debug info from /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/bin/lsof original debug info size: 604kB, size after compression: 556kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1092 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: lsof-4.94.0-3.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8gsFG5 + umask 022 + cd /builddir/build/BUILD + cd lsof-4.94.0-rh + DOCDIR=/builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/share/doc/lsof + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/share/doc/lsof + cp -pr 00README /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/share/doc/lsof + cp -pr 00CREDITS /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/share/doc/lsof + cp -pr 00FAQ /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/share/doc/lsof + cp -pr 00LSOF-L /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/share/doc/lsof + cp -pr 00QUICKSTART /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64/usr/share/doc/lsof + RPM_EC=0 ++ jobs -p + exit 0 Provides: lsof = 4.94.0-3.el9 lsof(x86-64) = 4.94.0-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libselinux.so.1()(64bit) libselinux.so.1(LIBSELINUX_1.0)(64bit) libtirpc.so.3()(64bit) libtirpc.so.3(TIRPC_0.3.0)(64bit) rtld(GNU_HASH) Processing files: lsof-debugsource-4.94.0-3.el9.x86_64 Provides: lsof-debugsource = 4.94.0-3.el9 lsof-debugsource(x86-64) = 4.94.0-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lsof-debuginfo-4.94.0-3.el9.x86_64 Provides: debuginfo(build-id) = fe0cd6eac4188e6503c7c7a5c5d86217e0a13d0f lsof-debuginfo = 4.94.0-3.el9 lsof-debuginfo(x86-64) = 4.94.0-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lsof-debugsource(x86-64) = 4.94.0-3.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64 Wrote: /builddir/build/RPMS/lsof-debuginfo-4.94.0-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/lsof-debugsource-4.94.0-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/lsof-4.94.0-3.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4LqeC8 + umask 022 + cd /builddir/build/BUILD + cd lsof-4.94.0-rh + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsof-4.94.0-3.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0