+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/lsof.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LeltcU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lsof_4.89-rh + /usr/bin/xz -dc /builddir/build/SOURCES/lsof_4.89-rh.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lsof_4.89-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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YWQMOq + umask 022 + cd /builddir/build/BUILD + cd lsof_4.89-rh + ./Configure -n linux ./Configure: line 2811: perl: command not found Testing C library type with cc ... done The C library type is glibc, version "-DGLIBCV=227". 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 + make 'DEBUG=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' -j4 (cd lib; make DEBUG="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 " CFGF="-DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\"") cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dfile.o dfile.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dmnt.o dmnt.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dnode.o dnode.c make[1]: Entering directory '/builddir/build/BUILD/lsof_4.89-rh/lib' cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ckkv.o ckkv.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o cvfs.o cvfs.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dvch.o dvch.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fino.o fino.c In file included from dfile.c:39:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp abe $"; ^~~~~ dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ In file included from dnode.c:39:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: dnode.c,v 1.25 2015/07/07 19:46:33 abe Exp $"; ^~~~~ dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ In file included from dmnt.c:39:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: dmnt.c,v 1.20 2015/07/07 19:47:31 abe Exp $"; ^~~~~ dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o isfn.o isfn.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lkud.o lkud.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o pdvn.o pdvn.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o prfp.o prfp.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dproc.o dproc.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ptti.o ptti.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dsock.o dsock.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dstore.o dstore.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rdev.o rdev.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o regex.o regex.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rmnt.o rmnt.c In file included from dproc.c:38:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: dproc.c,v 1.29 2015/07/07 19:46:33 abe Exp $"; ^~~~~ dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ In file included from dstore.c:39:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; ^~~~~ dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ dsock.c: In function 'fill_uxpino': dsock.c:825:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pp = check_unix(pi)) ^~ cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rnam.o rnam.c dsock.c: In function 'process_uxsinfo': dsock.c:1071:7: warning: implicit declaration of function 'is_file_sel'; did you mean 'is_file_named'? [-Wimplicit-function-declaration] if (is_file_sel(Lp, Lf)) { ^~~~~~~~~~~ is_file_named cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rnch.o rnch.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o arg.o arg.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rnmh.o rnmh.c In file included from dsock.c:39:0: At top level: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: dsock.c,v 1.41 2015/07/07 19:46:33 abe Exp $"; ^~~~~ dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="4.16.0-rc2-00328-gebea62367bc4" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o snpf.o snpf.c 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.89-rh/lib' cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o main.o main.c arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp abe $"; ^~~~~ arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ In file included from main.c:41:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: main.c,v 1.57 2015/07/07 20:16:58 abe Exp $"; ^~~~~ main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o misc.o misc.c In file included from misc.c:39:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: misc.c,v 1.28 2014/10/13 22:36:20 abe Exp $"; ^~~~~ misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o node.o node.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o print.o print.c In file included from node.c:39:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; ^~~~~ node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o proc.o proc.c cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o store.o store.c print.c: In function 'lkup_port': print.c:479:13: warning: unused variable 'pm' [-Wunused-variable] static int pm = 0; ^~ At top level: print.c:479:13: warning: 'pm' defined but not used [-Wunused-variable] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; ^~~~~ print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ In file included from proc.c:39:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: proc.c,v 1.49 2015/07/07 20:16:58 abe Exp $"; ^~~~~ proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ In file included from store.c:39:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: store.c,v 1.43 2015/07/07 20:16:58 abe Exp $"; ^~~~~ store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ Constructing version.h print.c: In function 'printiproto': print.c:1992:49: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); ^~ print.c:1992:47: note: directive argument in the range [-214748363, 214748363] (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); ^~~~~~ In file included from /usr/include/stdio.h:861:0, from lsof.h:58, from print.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o util.o util.c util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; ^~~~~ util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^~~~~~~~~ cc -DLINUXV=416000 -DGLIBCV=227 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASSELINUX -DHASUXSOCKEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"4.16.0-rc2-00328-gebea62367bc4\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o usage.o usage.c print.c: In function 'printuid': print.c:2421:35: warning: '%*lu' directive output may be truncated writing between 8 and 10 bytes into a region of size 9 [-Wformat-truncation=] (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); ^~~~ print.c:2421:34: note: directive argument in the range [0, 4294967295] (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); ^~~~~~ In file included from /usr/include/stdio.h:861:0, from lsof.h:58, from print.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 11 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.c:39:0: lsof.h:291:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] static struct utmp dummy_utmp; /* to get login name length */ ^~~~~~~~~~ usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] static char *rcsid = "$Id: usage.c,v 1.32 2014/10/13 22:36:20 abe Exp $"; ^~~~~ usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] 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 -L./lib -llsof -lselinux + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dbkgLf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64 + cd lsof_4.89-rh + mkdir -p /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/bin + install -p -m 0755 lsof /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/share/man/man1 + install -p -m 0644 lsof.8 /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/share/man/man1/lsof.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: lsof-4.89-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KjmyaS + umask 022 + cd /builddir/build/BUILD + cd lsof_4.89-rh + DOCDIR=/builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/share/doc/lsof + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/share/doc/lsof + cp -pr 00README /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/share/doc/lsof + cp -pr 00CREDITS /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/share/doc/lsof + cp -pr 00FAQ /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/share/doc/lsof + cp -pr 00LSOF-L /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/share/doc/lsof + cp -pr 00QUICKSTART /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64/usr/share/doc/lsof + exit 0 Provides: lsof = 4.89-7.fc28 lsof(riscv-64) = 4.89-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libselinux.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/lsof-4.89-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/lsof-4.89-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.B0IzNS + umask 022 + cd /builddir/build/BUILD + cd lsof_4.89-rh + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsof-4.89-7.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff