[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.22 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-94 started "build lsof.spec" at Mon Jul 15 00:22:01 UTC 2024. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_standard/lsof-4.91-0/lsof.spec ... [ 1s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20240711.084139/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20240711.084139/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_standard/lsof-4.91-0/lsof.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.22/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.22/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_standard/riscv64/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20240711.084139/repos/standard/packages/ [ 3s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20240711.084139/repos/standard/debug/ [ 5s] expanding package dependencies... [ 6s] copying qemu [ 6s] [ 6s] registering binfmt handlers for cross build [ 6s] calculating packages to download... [ 19s] reordering...cycle: libxcrypt-devel -> glibc-devel [ 19s] breaking dependency libxcrypt-devel -> glibc-devel [ 19s] cycle: libsoftokn3 -> nss [ 19s] breaking dependency nss -> libsoftokn3 [ 19s] reordering done [ 20s] deleting db4 [ 20s] deleting fdupes [ 20s] deleting libopenssl11 [ 20s] deleting libpython [ 20s] deleting python [ 21s] deleting python-appdirs [ 21s] deleting python-devel [ 21s] deleting python-packaging [ 21s] deleting python-pyparsing [ 21s] deleting python-setuptools [ 21s] deleting python-six [ 21s] deleting python-xml [ 22s] [1/97] keeping libmagic-data-5.45-2.3 [ 22s] [2/97] keeping setup-0.9-1.5 [ 22s] [3/97] keeping filesystem-3.1-1.1 [ 22s] [4/97] keeping glibc-2.39-2.4 [ 22s] [5/97] keeping bash-3.2.57-1.1 [ 22s] [6/97] keeping cpio-2.8-1.1 [ 22s] [7/97] keeping diffutils-3.10-1.1 [ 22s] [8/97] keeping findutils-4.3.8-1.9 [ 22s] [9/97] keeping gdbm-1.8.3-1.14 [ 22s] [10/97] keeping hostname-3.23-1.1 [ 22s] [11/97] keeping libatomic-14.1.0-3.2 [ 22s] [12/97] keeping libattr-2.5.1-1.10 [ 22s] [13/97] keeping libblkid-2.39.3-1.9 [ 22s] [14/97] keeping libbz2-1.0.8-1.10 [ 22s] [15/97] keeping libfreebl3-3.98-1.14 [ 22s] [16/97] keeping libgcc-14.1.0-3.2 [ 22s] [17/97] keeping libgomp-14.1.0-3.2 [ 22s] [18/97] keeping libitm-14.1.0-3.2 [ 22s] [19/97] keeping libltdl-2.4.7-1.14 [ 22s] [20/97] keeping liblua-5.1.5-1.8 [ 22s] [21/97] keeping liblzma-5.4.5-1.14 [ 22s] [22/97] keeping libopenssl3-3.0.13-1.14 [ 22s] [23/97] keeping libpcre-8.45-1.10 [ 22s] [24/97] keeping libpopt-1.16-1.8 [ 22s] [25/97] keeping libsmack-1.3.1-1.8 [ 22s] [26/97] keeping libsmartcols-2.39.3-1.9 [ 22s] [27/97] keeping libsqlite-3.44.0-1.10 [ 22s] [28/97] keeping libuuid-2.39.3-1.9 [ 22s] [29/97] keeping libxcrypt-4.4.36-1.13 [ 22s] [30/97] keeping libzstd1-1.5.5-1.9 [ 22s] [31/97] keeping m4-1.4.19-1.1 [ 22s] [32/97] keeping net-tools-2.0_20121208git-1.8 [ 22s] [33/97] keeping nspr-4.35-1.8 [ 22s] [34/97] keeping patch-2.7.6-1.8 [ 22s] [35/97] keeping pkg-config-0.29.2-1.10 [ 22s] [36/97] keeping sed-4.1c-1.8 [ 22s] [37/97] keeping update-alternatives-1.22.2-1.1 [ 22s] [38/97] keeping which-2.17-1.1 [ 22s] [39/97] keeping zlib-1.3-1.10 [ 22s] [40/97] keeping build-compare-2023.06.18-1.6 [ 22s] [41/97] keeping qemu-linux-user-x86_64-cross-5.2.0.2-20.6 [ 22s] [42/97] keeping binutils-libs-2.42-1.14 [ 22s] [43/97] keeping coreutils-6.9-15.6 [ 22s] [44/97] keeping cpp-14.1.0-3.2 [ 22s] [45/97] keeping gawk-3.1.5-1.1 [ 22s] [46/97] keeping gcc-c++-14.1.0-3.2 [ 22s] [47/97] keeping grep-2.5.2-1.8 [ 22s] [48/97] keeping libacl-2.3.2-1.10 [ 22s] [49/97] keeping libcap-2.69-1.10 [ 22s] [50/97] keeping libelf-0.189-1.14 [ 22s] [51/97] keeping libgfortran-14.1.0-3.2 [ 22s] [52/97] keeping libmount-2.39.3-1.9 [ 22s] [53/97] keeping libstdc++-14.1.0-3.2 [ 22s] [54/97] keeping make-4.4-1.9 [ 22s] [55/97] keeping nss-certs-3.98-1.14 [ 22s] [56/97] keeping smack-1.3.1-1.8 [ 22s] [57/97] keeping bzip2-1.0.8-1.10 [ 22s] [58/97] keeping libfdisk-2.39.3-1.9 [ 22s] [59/97] keeping libmagic-5.45-2.3 [ 22s] [60/97] keeping libxml2-2.12.5-1.10 [ 22s] [61/97] keeping xz-5.4.5-1.14 [ 22s] [62/97] keeping perl-5.38.0-1.10 [ 22s] [63/97] keeping build-mkbaselibs-20120927-1.1 [ 22s] [64/97] keeping libstdc++-devel-14.1.0-3.2 [ 22s] [65/97] keeping linux-glibc-devel-6.6-1.13 [ 22s] [66/97] keeping binutils-2.42-1.14 [ 22s] [67/97] keeping file-5.45-2.3 [ 22s] [68/97] keeping tar-1.17-1.1 [ 22s] [69/97] keeping terminfo-base-full-6.4-1.14 [ 22s] [70/97] keeping autoconf-2.71-1.15 [ 22s] [71/97] keeping glibc-locale-2.39-2.4 [ 22s] [72/97] keeping gzip-1.3.12-1.8 [ 22s] [73/97] keeping libcc1-14.1.0-3.2 [ 22s] [74/97] keeping libubsan-14.1.0-3.2 [ 22s] [75/97] keeping pam-1.1.6-1.8 [ 22s] [76/97] keeping tzdata-2023c-1.1 [ 22s] [77/97] keeping libdw-0.189-1.14 [ 22s] [78/97] keeping libarchive-3.7.2-1.13 [ 22s] [79/97] keeping automake-1.16.5-1.14 [ 22s] [80/97] keeping libasm-0.189-1.14 [ 22s] [81/97] keeping libncurses6-6.4-1.14 [ 22s] [82/97] keeping build-20120927-1.1 [ 22s] [83/97] keeping gcc-14.1.0-3.2 [ 22s] [84/97] keeping libncurses-6.4-1.14 [ 22s] [85/97] keeping less-643-1.1 [ 22s] [86/97] keeping libreadline-5.2-1.10 [ 22s] [87/97] keeping qemu-accel-x86_64-riscv64-0.4-1.6 [ 22s] [88/97] keeping libtool-2.4.7-1.14 [ 22s] [89/97] keeping elfutils-0.189-1.14 [ 22s] [90/97] keeping util-linux-2.39.3-1.9 [ 22s] [91/97] keeping util-linux-su-2.39.3-1.9 [ 22s] [92/97] keeping libxcrypt-devel-4.4.36-1.13 [ 22s] [93/97] keeping nss-3.98-1.14 [ 22s] [94/97] keeping glibc-devel-2.39-2.4 [ 22s] [95/97] keeping libsoftokn3-3.98-1.14 [ 22s] [96/97] keeping rpm-4.14.1.1-2.1 [ 22s] [97/97] keeping rpm-build-4.14.1.1-2.1 [ 22s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.22/etc/nsswitch.conf... [ 22s] now finalizing build dir... [ 24s] ----------------------------------------------------------------- [ 24s] ----- building lsof.spec (user abuild) [ 24s] ----------------------------------------------------------------- [ 24s] ----------------------------------------------------------------- [ 24s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/lsof.spec [ 24s] Building target platforms: riscv64-tizen-linux [ 24s] Building for target riscv64-tizen-linux [ 24s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EykK14 [ 24s] + umask 022 [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + rm -rf lsof_4.91-linux-only [ 24s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.91-linux-only.tar.xz [ 24s] + /bin/tar -xof - [ 24s] + STATUS=0 [ 24s] + '[' 0 -ne 0 ']' [ 24s] + cd lsof_4.91-linux-only [ 24s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 24s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 24s] + exit 0 [ 24s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xmzcbX [ 24s] + umask 022 [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + cd lsof_4.91-linux-only [ 24s] + ref=/usr/lib/rpm [ 24s] + mints=0 [ 24s] + case $(uname -m) in [ 24s] ++ uname -m [ 24s] + mints=20160911 [ 24s] + for s in guess sub [ 24s] ++ find -maxdepth 8 -name config.guess [ 24s] + for s in guess sub [ 24s] ++ find -maxdepth 8 -name config.sub [ 24s] + LANG=C [ 24s] + export LANG [ 24s] + unset DISPLAY [ 24s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 24s] + export CFLAGS [ 24s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 24s] + export CXXFLAGS [ 24s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir' [ 24s] + export FFLAGS [ 24s] + LDFLAGS= [ 24s] + export LDFLAGS [ 24s] + LSOF_VSTR=2.6.16 [ 24s] + LINUX_BASE=/proc [ 24s] + ./Configure -n linux [ 24s] Testing C library type with cc ... done [ 24s] Cannot determine C library type; assuming it is not glibc. [ 24s] 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 [ 24s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 24s] Testing C library for localtime() and strftime(), using cc ... missing [ 24s] ln -s dialects/linux/dfile.c dfile.c [ 24s] ln -s dialects/linux/dlsof.h dlsof.h [ 24s] ln -s dialects/linux/dmnt.c dmnt.c [ 24s] ln -s dialects/linux/dnode.c dnode.c [ 24s] ln -s dialects/linux/dproc.c dproc.c [ 24s] ln -s dialects/linux/dproto.h dproto.h [ 24s] ln -s dialects/linux/dsock.c dsock.c [ 24s] ln -s dialects/linux/dstore.c dstore.c [ 25s] ln -s dialects/linux/machine.h machine.h [ 25s] Makefile and lib/Makefile created. [ 25s] ./tests/config.cc created [ 25s] ./tests/config.cflags created [ 25s] ./tests/config.ldflags created [ 25s] ./tests/config.xobj created [ 25s] + make 'DEBUG=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC' 'CFGL=-pie ' -j8 [ 25s] (cd lib; make DEBUG="-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC" CFGF="-DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\"") [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o dfile.o dfile.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o dmnt.o dmnt.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o dnode.o dnode.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o dproc.o dproc.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o dsock.o dsock.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o dstore.o dstore.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o arg.o arg.c [ 25s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lib' [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o ckkv.o ckkv.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o cvfs.o cvfs.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o dvch.o dvch.c [ 25s] In file included from dstore.c:39: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 25s] | ^~~~~ [ 25s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o main.o main.c [ 25s] In file included from dfile.c:39: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp abe $"; [ 25s] | ^~~~~ [ 25s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] In file included from dnode.c:39: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: dnode.c,v 1.27 2018/03/26 21:52:29 abe Exp $"; [ 25s] | ^~~~~ [ 25s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] dsock.c: In function 'fill_uxpino': [ 25s] dsock.c:854:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 25s] 854 | if (pp = check_unix(pi)) [ 25s] | ^~ [ 25s] In file included from dmnt.c:39: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.21 2018/02/14 14:26:38 abe Exp $"; [ 25s] | ^~~~~ [ 25s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o fino.o fino.c [ 25s] In file included from dproc.c:38: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: dproc.c,v 1.31 2018/03/26 21:52:29 abe Exp $"; [ 25s] | ^~~~~ [ 25s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o isfn.o isfn.c [ 25s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp abe $"; [ 25s] | ^~~~~ [ 25s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o lkud.o lkud.c [ 25s] main.c: In function 'main': [ 25s] main.c:73:15: warning: unused variable 'fmtr' [-Wunused-variable] [ 25s] 73 | char *fmtr = (char *)NULL; [ 25s] | ^~~~ [ 25s] In file included from main.c:41: [ 25s] lsof.h: At top level: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 37 | static char *rcsid = "$Id: main.c,v 1.59 2018/03/26 21:50:45 abe Exp $"; [ 25s] | ^~~~~ [ 25s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 35 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] In file included from dsock.c:39: [ 25s] lsof.h: At top level: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: dsock.c,v 1.43 2018/03/26 21:52:29 abe Exp $"; [ 25s] | ^~~~~ [ 25s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o pdvn.o pdvn.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o prfp.o prfp.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o misc.o misc.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o ptti.o ptti.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o rdev.o rdev.c [ 25s] In file included from misc.c:39: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: misc.c,v 1.29 2018/02/14 14:20:14 abe Exp $"; [ 25s] | ^~~~~ [ 25s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o node.o node.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o regex.o regex.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o rmnt.o rmnt.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o print.o print.c [ 25s] In file included from node.c:39: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 25s] | ^~~~~ [ 25s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o rnam.o rnam.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o proc.o proc.c [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o rnch.o rnch.c [ 25s] print.c: In function 'lkup_port': [ 25s] print.c:479:20: warning: unused variable 'pm' [-Wunused-variable] [ 25s] 479 | static int pm = 0; [ 25s] | ^~ [ 25s] print.c: At top level: [ 25s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: print.c,v 1.56 2018/02/14 14:20:14 abe Exp $"; [ 25s] | ^~~~~ [ 25s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o rnmh.o rnmh.c [ 25s] In file included from proc.c:39: [ 25s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: proc.c,v 1.50 2018/02/14 14:20:14 abe Exp $"; [ 25s] | ^~~~~ [ 25s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="6.6.0" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o snpf.o snpf.c [ 25s] 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 [ 25s] ranlib liblsof.a [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lib' [ 25s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o store.o store.c [ 25s] print.c: In function 'printiproto': [ 25s] print.c:2010:63: warning: '%d' directive output may be truncated writing between 1 and 9 bytes into a region of size 7 [-Wformat-truncation=] [ 25s] 2010 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 25s] | ^~ [ 25s] print.c:2010:61: note: directive argument in the range [0, 214748363] [ 25s] 2010 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 25s] | ^~~~~~ [ 25s] In file included from /usr/include/stdio.h:980, [ 25s] from lsof.h:58, [ 25s] from print.c:39: [ 25s] In function 'snprintf', [ 25s] inlined from 'printiproto' at print.c:2010:10: [ 25s] /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 4 and 12 bytes into a destination of size 8 [ 25s] 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 25s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25s] 55 | __glibc_objsize (__s), __fmt, [ 25s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25s] 56 | __va_arg_pack ()); [ 25s] | ~~~~~~~~~~~~~~~~~ [ 25s] print.c: In function 'printiproto': [ 25s] print.c:2008:62: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=] [ 25s] 2008 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "%d?", p); [ 25s] | ^~ [ 25s] print.c:2008:61: note: directive argument in the range [-2147483648, 2147483646] [ 25s] 2008 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "%d?", p); [ 25s] | ^~~~~ [ 25s] In function 'snprintf', [ 25s] inlined from 'printiproto' at print.c:2008:10: [ 25s] /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 3 and 13 bytes into a destination of size 8 [ 25s] 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 25s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25s] 55 | __glibc_objsize (__s), __fmt, [ 25s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25s] 56 | __va_arg_pack ()); [ 25s] | ~~~~~~~~~~~~~~~~~ [ 26s] In file included from store.c:39: [ 26s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 26s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 26s] | ^~~~~~~~~~ [ 26s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 26s] 35 | static char *rcsid = "$Id: store.c,v 1.44 2018/02/14 14:20:14 abe Exp $"; [ 26s] | ^~~~~ [ 26s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 26s] 33 | static char copyright[] = [ 26s] | ^~~~~~~~~ [ 26s] dsock.c: In function 'get_sctpaddrs': [ 26s] dsock.c:2194:20: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] [ 26s] 2194 | (void) strncpy(al ? (cp + al) : cp, fp[i], tl); [ 26s] | ^ [ 26s] dsock.c:2178:58: note: length computed here [ 26s] 2178 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 26s] | ^~~~~~~~~~~~~ [ 26s] Constructing version.h [ 26s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o util.o util.c [ 26s] print.c: In function 'printuid': [ 26s] print.c:2439:42: warning: '%*lu' directive output may be truncated writing between 8 and 10 bytes into a region of size 9 [-Wformat-truncation=] [ 26s] 2439 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 26s] | ^~~~ [ 26s] print.c:2439:41: note: directive argument in the range [0, 4294967295] [ 26s] 2439 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 26s] | ^~~~~~ [ 26s] In function 'snprintf', [ 26s] inlined from 'printuid' at print.c:2439:9: [ 26s] /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 9 and 11 bytes into a destination of size 9 [ 26s] 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 26s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 26s] 55 | __glibc_objsize (__s), __fmt, [ 26s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 26s] 56 | __va_arg_pack ()); [ 26s] | ~~~~~~~~~~~~~~~~~ [ 26s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 26s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 26s] | ^~~~~ [ 26s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 26s] 40 | static char copyright[] = [ 26s] | ^~~~~~~~~ [ 26s] cc -DLINUXV=66000 -DHASIPv6 -DHASNORPC_H -DNEEDS_NETINET_TCPH -DHASUXSOCKEPT -DHASPTYEPT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"6.6.0\" -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -fPIC -c -o usage.o usage.c [ 26s] In file included from usage.c:39: [ 26s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 26s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 26s] | ^~~~~~~~~~ [ 26s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 26s] 35 | static char *rcsid = "$Id: usage.c,v 1.33 2018/02/14 14:20:14 abe Exp $"; [ 26s] | ^~~~~ [ 26s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 26s] 33 | static char copyright[] = [ 26s] | ^~~~~~~~~ [ 26s] dsock.c: In function 'process_proc_sock': [ 26s] dsock.c:3263:24: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] [ 26s] 3263 | (void) strncpy(cp, ip->la, len); [ 26s] | ^ [ 26s] dsock.c:3260:23: note: length computed here [ 26s] 3260 | len = strlen(ip->la); [ 26s] | ^~~~~~~~~~~~~~ [ 27s] 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 -pie [ 27s] + exit 0 [ 27s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dFlMir [ 27s] + umask 022 [ 27s] + cd /home/abuild/rpmbuild/BUILD [ 27s] + cd lsof_4.91-linux-only [ 27s] + LANG=C [ 27s] + export LANG [ 27s] + unset DISPLAY [ 27s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 27s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 27s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64/usr/sbin/lsof [ 27s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64/usr/share/man/man8/lsof.8 [ 27s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 4.91-0 --unique-debug-src-base lsof-4.91-0.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only [ 27s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64/usr/sbin/lsof [ 27s] 1020 blocks [ 27s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lsof-debuginfo.manifest [ 28s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lsof-debugsource.manifest [ 28s] + /usr/lib/rpm/check-buildroot [ 28s] + /usr/lib/rpm//brp-compress [ 28s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 28s] + /usr/lib/rpm/brp-python-hardlink [ 28s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 28s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/isu.list [ 28s] ~/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 ~/rpmbuild/BUILD/lsof_4.91-linux-only [ 28s] ~/rpmbuild/BUILD/lsof_4.91-linux-only [ 28s] Processing files: lsof-4.91-0.riscv64 [ 28s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 28s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 28s] [ 28s] Provides: lsof = 4.91-0 lsof(riscv-64) = 4.91-0 [ 28s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 28s] 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) [ 28s] Processing files: lsof-debugsource-4.91-0.riscv64 [ 28s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 28s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 28s] [ 28s] Provides: lsof-debugsource = 4.91-0 lsof-debugsource(riscv-64) = 4.91-0 [ 28s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 28s] Processing files: lsof-docs-4.91-0.riscv64 [ 28s] Provides: lsof-docs = 4.91-0 lsof-docs(riscv-64) = 4.91-0 [ 28s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 28s] Processing files: lsof-debuginfo-4.91-0.riscv64 [ 28s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 28s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 28s] [ 28s] Provides: lsof-debuginfo = 4.91-0 lsof-debuginfo(riscv-64) = 4.91-0 [ 28s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 28s] Recommends: lsof-debugsource(riscv-64) = 4.91-0 [ 28s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 28s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.91-0.src.rpm [ 28s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-4.91-0.riscv64.rpm [ 29s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-debugsource-4.91-0.riscv64.rpm [ 29s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-docs-4.91-0.riscv64.rpm [ 29s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-debuginfo-4.91-0.riscv64.rpm [ 29s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.i44J9j [ 29s] + umask 022 [ 29s] + cd /home/abuild/rpmbuild/BUILD [ 29s] + cd lsof_4.91-linux-only [ 29s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 29s] + exit 0 [ 29s] ... checking for files with abuild user/group [ 29s] ... creating baselibs [ 30s] [ 30s] ip-192-168-56-94 finished "build lsof.spec" at Mon Jul 15 00:22:30 UTC 2024. [ 30s]