Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lsof.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-21985-1041/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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 Wrote: /builddir/build/SRPMS/lsof-4.95.0-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lsof.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-21985-1041/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mGc4wg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lsof_4.95.0.linux + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lsof_4.95.0.linux.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd lsof_4.95.0.linux + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TeNZMy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lsof_4.95.0.linux + ./Configure -n linux Testing C library type with cc ... done The C library type is glibc, version "-DGLIBCV=237". 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 -j32 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LSOF_SYSINFO=none LSOF_HOST=none (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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" CFGF="-DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\"") make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o cvfs.o cvfs.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dvch.o dvch.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ckkv.o ckkv.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o isfn.o isfn.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lkud.o lkud.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fino.o fino.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pdvn.o pdvn.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rdev.o rdev.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o prfp.o prfp.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ptti.o ptti.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o util.o util.c util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] 40 | static char copyright[] = | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rmnt.o rmnt.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o regex.o regex.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rnmh.o rnmh.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rnam.o rnam.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rnch.o rnch.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' Constructing version.h make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="6.1.41" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o snpf.o snpf.c make[1]: Leaving directory '/builddir/build/BUILD/lsof_4.95.0.linux/lib' make[1]: Entering directory '/builddir/build/BUILD/lsof_4.95.0.linux/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.95.0.linux/lib' cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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[] = | ^~~~~~~~~ cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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[] = | ^~~~~~~~~ cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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[] = | ^~~~~~~~~ cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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[] = | ^~~~~~~~~ cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 9 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 [0, 214748363] 2009 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); | ^~~~~~ In file included from /usr/include/stdio.h:906, from lsof.h:58, from print.c:38: In function 'snprintf', inlined from 'printiproto' at print.c:2009:10: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 4 and 12 bytes into a destination of size 8 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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 function 'snprintf', inlined from 'printuid' at print.c:2438:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 9 and 11 bytes into a destination of size 9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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[] = | ^~~~~~~~~ cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o arg.o arg.c arg.c: In function 'ck_file_arg': arg.c:481:31: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 481 | if (!ss & ErrStat == 0) | ~~~~~~~~^~~~ arg.c: At top level: arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 33 | static char copyright[] = | ^~~~~~~~~ cc -DLINUXV=61041 -DGLIBCV=237 -DHASIPv6 -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -DHASPTYEPT -DHASSOSTATE -DHASSOOPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"6.1.41\" -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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: lsof.h: 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[] = | ^~~~~~~~~ dsock.c: In function 'process_proc_sock': dsock.c:4031:24: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 4031 | (void) strncpy(cp, ip->la, len); | ^ dsock.c:4028:23: note: length computed here 4028 | len = strlen(ip->la); | ^~~~~~~~~~~~~~ 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 -L./lib -llsof -ltirpc -lselinux + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RYI0HE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lsof-4.95.0-3.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lsof-4.95.0-3.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/lsof-4.95.0-3.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lsof-4.95.0-3.ocs23.x86_64 + cd lsof_4.95.0.linux + install -d /builddir/build/BUILDROOT/lsof-4.95.0-3.ocs23.x86_64/usr/bin + install -m 755 lsof /builddir/build/BUILDROOT/lsof-4.95.0-3.ocs23.x86_64/usr/bin + install -d /builddir/build/BUILDROOT/lsof-4.95.0-3.ocs23.x86_64/usr/share/man/man8 + install -m 644 lsof.8 /builddir/build/BUILDROOT/lsof-4.95.0-3.ocs23.x86_64/usr/share/man/man8/lsof.8 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.95.0-3.ocs23 --unique-debug-suffix -4.95.0-3.ocs23.x86_64 --unique-debug-src-base lsof-4.95.0-3.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/lsof_4.95.0.linux extracting debug info from /builddir/build/BUILDROOT/lsof-4.95.0-3.ocs23.x86_64/usr/bin/lsof Support for debuginfod is not compiled into GDB. 1095 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.eA59UZ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lsof_4.95.0.linux + cd tests + chmod u+w TestDB + ./Add2TestDB "LT_BIGF LT_CC LT_DIAL_linux LT_VERS=61041 _FILE_OFFSET_BITS=64" added to TestDB. + /usr/bin/make -O -j32 V=1 VERBOSE=1 `cat config.cc` -I. -I.. `cat config.cflags` -c LTlib.c \ -o LTlib.o `cat config.cc` -I. -I.. `cat config.cflags` LTunix.c \ LTlib.o `cat config.xobj` -o LTunix `cat config.ldflags` `cat config.cc` -I. -I.. `cat config.cflags` LTbasic.c \ LTlib.o `cat config.xobj` -o LTbasic `cat config.cc` -I. -I.. `cat config.cflags` LTszoff.c \ LTlib.o `cat config.xobj` -o LTszoff `cat config.cc` -I. -I.. `cat config.cflags` LTnlink.c \ LTlib.o `cat config.xobj` -o LTnlink `cat config.cc` -I. -I.. `cat config.cflags` LTsock.c \ LTlib.o `cat config.xobj` -o LTsock `cat config.ldflags` Basic test: LTbasic ... OK Standard tests: LTnlink ... OK LTsock ... ERROR!!! can't get IP address for builder1.x64.stream.opencloudos.tech Errno 11: Resource temporarily unavailable LTszoff ... OK LTunix ... OK Failed tests: 1 See 00FAQ and 00TEST for more information. make: *** [Makefile:27: all] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.eA59UZ (%check) Bad exit status from /var/tmp/rpm-tmp.eA59UZ (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lsof.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lsof.spec