[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.2 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-129 started "build lsof.spec" at Fri Sep 12 03:28:20 UTC 2025. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_standard/lsof-4.91-0/lsof.spec ... [ 0s] 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_20250910.001708/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20250910.001708/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_standard/lsof-4.91-0/lsof.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.2/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.2/.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_20250910.001708/repos/standard/packages/ [ 2s] /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_20250910.001708/repos/standard/debug/ [ 2s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] registering binfmt handlers for cross build [ 3s] calculating packages to download... [ 9s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 9s] breaking dependency libxcrypt-devel -> glibc-devel [ 9s] cycle: libsoftokn3 -> nss [ 9s] breaking dependency nss -> libsoftokn3 [ 9s] reordering done [ 11s] deleting rust [ 11s] deleting rust-devel [ 11s] deleting rust-proc-macro2 [ 11s] /sbin/ldconfig: relative path `0' used to build cache [ 11s] warning: %postun(rust-proc-macro2-1.0.51-1.riscv64) scriptlet failed, exit status 1 [ 11s] deleting rust-quote [ 11s] /sbin/ldconfig: relative path `0' used to build cache [ 11s] warning: %postun(rust-quote-1.0.23-1.riscv64) scriptlet failed, exit status 1 [ 11s] deleting rust-std-shared [ 12s] deleting rust-std-static [ 12s] deleting rust-unicode-ident [ 12s] /sbin/ldconfig: relative path `0' used to build cache [ 12s] warning: %postun(rust-unicode-ident-1.0.6-1.riscv64) scriptlet failed, exit status 1 [ 12s] deleting rust-version_check [ 12s] /sbin/ldconfig: relative path `0' used to build cache [ 12s] warning: %postun(rust-version_check-0.9.4-1.riscv64) scriptlet failed, exit status 1 [ 12s] [1/97] keeping libmagic-data-5.45-1.50 [ 12s] [2/97] keeping setup-0.9-1.41 [ 12s] [3/97] keeping filesystem-3.1-1.1 [ 12s] [4/97] keeping glibc-2.40-10.4 [ 12s] [5/97] keeping bash-3.2.57-1.3 [ 12s] [6/97] keeping cpio-2.8-1.6 [ 12s] [7/97] keeping diffutils-3.10-1.3 [ 12s] [8/97] keeping findutils-4.3.8-2.13 [ 12s] [9/97] keeping gdbm-1.8.3-1.79 [ 12s] [10/97] keeping hostname-3.23-1.5 [ 12s] [11/97] keeping libatomic-14.2.0-12.4 [ 12s] [12/97] keeping libattr-2.5.1-1.56 [ 12s] [13/97] keeping libblkid-2.39.3-3.19 [ 12s] [14/97] keeping libbz2-1.0.8-1.57 [ 12s] [15/97] keeping libcap-2.73-1.38 [ 12s] [16/97] keeping libfreebl3-3.109-1.43 [ 12s] [17/97] keeping libgcc-14.2.0-12.4 [ 12s] [18/97] keeping libgomp-14.2.0-12.4 [ 12s] [19/97] keeping libitm-14.2.0-12.4 [ 12s] [20/97] keeping libltdl-2.4.7-2.55 [ 12s] [21/97] keeping liblua-5.1.5-1.52 [ 12s] [22/97] keeping liblzma-5.6.3-1.71 [ 12s] [23/97] keeping libopenssl3-3.0.16-2.10 [ 12s] [24/97] keeping libpcre-8.45-1.53 [ 12s] [25/97] keeping libpopt-1.16-1.50 [ 12s] [26/97] keeping libsmack-1.3.1-1.50 [ 12s] [27/97] keeping libsmartcols-2.39.3-3.19 [ 12s] [28/97] keeping libsqlite-3.50.2-1.6 [ 12s] [29/97] keeping libuuid-2.39.3-3.19 [ 12s] [30/97] keeping libxcrypt-4.4.36-2.41 [ 12s] [31/97] keeping libxml2-2.13.5-1.45 [ 12s] [32/97] keeping libzstd1-1.5.6-1.51 [ 12s] [33/97] keeping m4-1.4.19-1.2 [ 12s] [34/97] keeping net-tools-2.0_20121208git-1.49 [ 12s] [35/97] keeping nspr-4.36-1.26 [ 12s] [36/97] keeping patch-2.7.6-1.50 [ 12s] [37/97] keeping pkg-config-0.29.2-1.54 [ 12s] [38/97] keeping sed-4.1c-1.51 [ 12s] [39/97] keeping update-alternatives-1.22.2-1.2 [ 13s] [40/97] keeping which-2.17-1.6 [ 13s] [41/97] keeping zlib-1.3.1-2.61 [ 13s] [42/97] keeping build-compare-2023.06.18-1.43 [ 13s] [43/97] keeping hal-rootstrap-checker-0.1.1-1.1 [ 13s] [44/97] keeping qemu-linux-user-x86_64-cross-9.2.3.1-1.3 [ 13s] [45/97] keeping binutils-libs-2.43-3.3 [ 13s] [46/97] keeping coreutils-6.9-14.40 [ 13s] [47/97] keeping cpp-14.2.0-12.4 [ 13s] [48/97] keeping gawk-3.1.5-1.3 [ 13s] [49/97] keeping gcc-c++-14.2.0-12.4 [ 13s] [50/97] keeping grep-2.5.2-1.49 [ 13s] [51/97] keeping libacl-2.3.2-1.54 [ 13s] [52/97] keeping libelf-0.189-2.25 [ 13s] [53/97] keeping libgfortran-14.2.0-12.4 [ 13s] [54/97] keeping libmount-2.39.3-3.19 [ 13s] [55/97] keeping libstdc++-14.2.0-12.4 [ 13s] [56/97] keeping make-4.4.1-1.42 [ 13s] [57/97] keeping nss-certs-3.109-1.43 [ 13s] [58/97] keeping smack-1.3.1-1.50 [ 13s] [59/97] keeping bzip2-1.0.8-1.57 [ 13s] [60/97] keeping libfdisk-2.39.3-3.19 [ 13s] [61/97] keeping libmagic-5.45-1.50 [ 13s] [62/97] keeping xz-5.6.3-1.71 [ 13s] [63/97] keeping perl-5.38.0-1.56 [ 13s] [64/97] keeping build-mkbaselibs-20120927-1.1 [ 13s] [65/97] keeping libstdc++-devel-14.2.0-12.4 [ 13s] [66/97] keeping linux-glibc-devel-6.6-1.78 [ 13s] [67/97] keeping binutils-2.43-3.3 [ 13s] [68/97] keeping file-5.45-1.50 [ 13s] [69/97] keeping tar-1.17-2.2 [ 13s] [70/97] keeping terminfo-base-full-6.4-1.79 [ 13s] [71/97] keeping autoconf-2.71-1.80 [ 13s] [72/97] keeping glibc-locale-2.40-10.4 [ 13s] [73/97] keeping gzip-1.3.12-1.51 [ 13s] [74/97] keeping libcc1-14.2.0-12.4 [ 13s] [75/97] keeping pam-1.1.6-2.10 [ 13s] [76/97] keeping tzdata-2024b-1.3 [ 13s] [77/97] keeping libdw-0.189-2.25 [ 13s] [78/97] keeping libarchive-3.8.1-1.9 [ 13s] [79/97] keeping automake-1.16.5-1.79 [ 13s] [80/97] keeping libasm-0.189-2.25 [ 13s] [81/97] keeping libncurses6-6.4-1.79 [ 13s] [82/97] keeping build-20120927-1.1 [ 13s] [83/97] keeping gcc-14.2.0-12.4 [ 13s] [84/97] keeping libncurses-6.4-1.79 [ 13s] [85/97] keeping less-668-1.4 [ 13s] [86/97] keeping libreadline-5.2-1.54 [ 13s] [87/97] keeping qemu-accel-x86_64-riscv64-0.4-4.14 [ 13s] [88/97] keeping libtool-2.4.7-2.55 [ 13s] [89/97] keeping elfutils-0.189-2.25 [ 13s] [90/97] keeping util-linux-2.39.3-3.19 [ 13s] [91/97] keeping util-linux-su-2.39.3-3.19 [ 13s] [92/97] keeping libxcrypt-devel-4.4.36-2.41 [ 13s] [93/97] keeping nss-3.109-1.43 [ 13s] [94/97] keeping glibc-devel-2.40-10.4 [ 13s] [95/97] keeping libsoftokn3-3.109-1.43 [ 13s] [96/97] keeping rpm-4.14.1.1-2.39 [ 13s] [97/97] keeping rpm-build-4.14.1.1-2.39 [ 13s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.2/etc/nsswitch.conf... [ 13s] now finalizing build dir... [ 14s] ----------------------------------------------------------------- [ 14s] ----- building lsof.spec (user abuild) [ 14s] ----------------------------------------------------------------- [ 14s] ----------------------------------------------------------------- [ 14s] + 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 [ 14s] Building target platforms: riscv64-tizen-linux [ 14s] Building for target riscv64-tizen-linux [ 14s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TCia7x [ 14s] + umask 022 [ 14s] + cd /home/abuild/rpmbuild/BUILD [ 14s] + cd /home/abuild/rpmbuild/BUILD [ 14s] + rm -rf lsof_4.91-linux-only [ 14s] + /bin/tar -xof - [ 14s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.91-linux-only.tar.xz [ 14s] + STATUS=0 [ 14s] + '[' 0 -ne 0 ']' [ 14s] + cd lsof_4.91-linux-only [ 14s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 14s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 14s] + exit 0 [ 14s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gHH40H [ 14s] + umask 022 [ 14s] + cd /home/abuild/rpmbuild/BUILD [ 14s] + cd lsof_4.91-linux-only [ 14s] + ref=/usr/lib/rpm [ 14s] + mints=0 [ 14s] + case $(uname -m) in [ 14s] ++ uname -m [ 14s] + mints=20160911 [ 14s] + for s in guess sub [ 14s] ++ find -maxdepth 8 -name config.guess [ 15s] + for s in guess sub [ 15s] ++ find -maxdepth 8 -name config.sub [ 15s] + LANG=C [ 15s] + export LANG [ 15s] + unset DISPLAY [ 15s] + CFLAGS='-O2 -fno-inline-functions -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' [ 15s] + export CFLAGS [ 15s] + CXXFLAGS='-O2 -fno-inline-functions -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' [ 15s] + export CXXFLAGS [ 15s] + FFLAGS='-O2 -fno-inline-functions -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' [ 15s] + export FFLAGS [ 15s] + LDFLAGS= [ 15s] + export LDFLAGS [ 15s] + LSOF_VSTR=2.6.16 [ 15s] + LINUX_BASE=/proc [ 15s] + ./Configure -n linux [ 15s] Testing C library type with cc ... done [ 15s] Cannot determine C library type; assuming it is not glibc. [ 15s] 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 [ 15s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 15s] Testing C library for localtime() and strftime(), using cc ... missing [ 15s] ln -s dialects/linux/dfile.c dfile.c [ 15s] ln -s dialects/linux/dlsof.h dlsof.h [ 15s] ln -s dialects/linux/dmnt.c dmnt.c [ 15s] ln -s dialects/linux/dnode.c dnode.c [ 15s] ln -s dialects/linux/dproc.c dproc.c [ 15s] ln -s dialects/linux/dproto.h dproto.h [ 15s] ln -s dialects/linux/dsock.c dsock.c [ 15s] ln -s dialects/linux/dstore.c dstore.c [ 15s] ln -s dialects/linux/machine.h machine.h [ 15s] Makefile and lib/Makefile created. [ 15s] ./tests/config.cc created [ 15s] ./tests/config.cflags created [ 15s] ./tests/config.ldflags created [ 15s] ./tests/config.xobj created [ 15s] + make 'DEBUG=-O2 -fno-inline-functions -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 [ 15s] (cd lib; make DEBUG="-O2 -fno-inline-functions -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\"") [ 15s] 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 -fno-inline-functions -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 [ 15s] 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 -fno-inline-functions -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 [ 15s] 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 -fno-inline-functions -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 [ 15s] 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 -fno-inline-functions -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 [ 15s] 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 -fno-inline-functions -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 [ 15s] 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 -fno-inline-functions -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 [ 15s] 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 -fno-inline-functions -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 [ 15s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lib' [ 15s] 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 -fno-inline-functions -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 [ 15s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] In file included from dstore.c:39: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 16s] | ^~~~~ [ 16s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] 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 -fno-inline-functions -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 [ 16s] In file included from dfile.c:39: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp abe $"; [ 16s] | ^~~~~ [ 16s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] dsock.c: In function 'fill_uxpino': [ 16s] dsock.c:854:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 16s] 854 | if (pp = check_unix(pi)) [ 16s] | ^~ [ 16s] In file included from dproc.c:38: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: dproc.c,v 1.31 2018/03/26 21:52:29 abe Exp $"; [ 16s] | ^~~~~ [ 16s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] In file included from dmnt.c:39: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.21 2018/02/14 14:26:38 abe Exp $"; [ 16s] | ^~~~~ [ 16s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] In file included from dnode.c:39: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] 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 -fno-inline-functions -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 [ 16s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: dnode.c,v 1.27 2018/03/26 21:52:29 abe Exp $"; [ 16s] | ^~~~~ [ 16s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp abe $"; [ 16s] | ^~~~~ [ 16s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] main.c: In function 'main': [ 16s] main.c:73:15: warning: unused variable 'fmtr' [-Wunused-variable] [ 16s] 73 | char *fmtr = (char *)NULL; [ 16s] | ^~~~ [ 16s] In file included from dsock.c:39: [ 16s] lsof.h: At top level: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: dsock.c,v 1.43 2018/03/26 21:52:29 abe Exp $"; [ 16s] | ^~~~~ [ 16s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] In file included from main.c:41: [ 16s] lsof.h: At top level: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 37 | static char *rcsid = "$Id: main.c,v 1.59 2018/03/26 21:50:45 abe Exp $"; [ 16s] | ^~~~~ [ 16s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 35 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] In file included from misc.c:39: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: misc.c,v 1.29 2018/02/14 14:20:14 abe Exp $"; [ 16s] | ^~~~~ [ 16s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] In file included from node.c:39: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 16s] | ^~~~~ [ 16s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] print.c: In function 'lkup_port': [ 16s] print.c:479:20: warning: unused variable 'pm' [-Wunused-variable] [ 16s] 479 | static int pm = 0; [ 16s] | ^~ [ 16s] print.c: At top level: [ 16s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: print.c,v 1.56 2018/02/14 14:20:14 abe Exp $"; [ 16s] | ^~~~~ [ 16s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] 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 -fno-inline-functions -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 [ 16s] 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 -fno-inline-functions -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 [ 16s] In file included from proc.c:39: [ 16s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 16s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 16s] | ^~~~~~~~~~ [ 16s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 16s] 35 | static char *rcsid = "$Id: proc.c,v 1.50 2018/02/14 14:20:14 abe Exp $"; [ 16s] | ^~~~~ [ 16s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 16s] 33 | static char copyright[] = [ 16s] | ^~~~~~~~~ [ 16s] 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 -fno-inline-functions -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 [ 16s] print.c: In function 'printiproto': [ 16s] 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=] [ 16s] 2010 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 16s] | ^~ [ 16s] print.c:2010:61: note: directive argument in the range [0, 214748363] [ 16s] 2010 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 16s] | ^~~~~~ [ 16s] In file included from /usr/include/stdio.h:970, [ 16s] from lsof.h:58, [ 16s] from print.c:39: [ 16s] In function 'snprintf', [ 16s] inlined from 'printiproto' at print.c:2010:10: [ 16s] /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 4 and 12 bytes into a destination of size 8 [ 16s] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 16s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] 69 | __glibc_objsize (__s), __fmt, [ 16s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] 70 | __va_arg_pack ()); [ 16s] | ~~~~~~~~~~~~~~~~~ [ 16s] print.c: In function 'printiproto': [ 16s] 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=] [ 16s] 2008 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "%d?", p); [ 16s] | ^~ [ 16s] print.c:2008:61: note: directive argument in the range [-2147483648, 2147483646] [ 16s] 2008 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "%d?", p); [ 16s] | ^~~~~ [ 16s] In function 'snprintf', [ 16s] inlined from 'printiproto' at print.c:2008:10: [ 16s] /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 13 bytes into a destination of size 8 [ 16s] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 16s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] 69 | __glibc_objsize (__s), __fmt, [ 16s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] 70 | __va_arg_pack ()); [ 16s] | ~~~~~~~~~~~~~~~~~ [ 16s] 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 [ 16s] ranlib liblsof.a [ 16s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lib' [ 16s] 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 -fno-inline-functions -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 [ 16s] Constructing version.h [ 16s] print.c: In function 'printuid': [ 16s] 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=] [ 16s] 2439 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 16s] | ^~~~ [ 16s] print.c:2439:41: note: directive argument in the range [0, 4294967295] [ 16s] 2439 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 16s] | ^~~~~~ [ 16s] In function 'snprintf', [ 16s] inlined from 'printuid' at print.c:2439:9: [ 16s] /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 11 bytes into a destination of size 9 [ 16s] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 16s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] 69 | __glibc_objsize (__s), __fmt, [ 16s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16s] 70 | __va_arg_pack ()); [ 16s] | ~~~~~~~~~~~~~~~~~ [ 17s] In file included from store.c:39: [ 17s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 17s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 17s] | ^~~~~~~~~~ [ 17s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 17s] 35 | static char *rcsid = "$Id: store.c,v 1.44 2018/02/14 14:20:14 abe Exp $"; [ 17s] | ^~~~~ [ 17s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 17s] 33 | static char copyright[] = [ 17s] | ^~~~~~~~~ [ 17s] 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 -fno-inline-functions -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 [ 17s] dsock.c: In function 'get_sctpaddrs': [ 17s] dsock.c:2194:20: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] [ 17s] 2194 | (void) strncpy(al ? (cp + al) : cp, fp[i], tl); [ 17s] | ^ [ 17s] dsock.c:2178:58: note: length computed here [ 17s] 2178 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 17s] | ^~~~~~~~~~~~~ [ 17s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 17s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 17s] | ^~~~~ [ 17s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 17s] 40 | static char copyright[] = [ 17s] | ^~~~~~~~~ [ 17s] 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 -fno-inline-functions -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 [ 17s] In file included from usage.c:39: [ 17s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 17s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 17s] | ^~~~~~~~~~ [ 17s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 17s] 35 | static char *rcsid = "$Id: usage.c,v 1.33 2018/02/14 14:20:14 abe Exp $"; [ 17s] | ^~~~~ [ 17s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 17s] 33 | static char copyright[] = [ 17s] | ^~~~~~~~~ [ 17s] dsock.c: In function 'process_proc_sock': [ 17s] dsock.c:3263:24: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] [ 17s] 3263 | (void) strncpy(cp, ip->la, len); [ 17s] | ^ [ 17s] dsock.c:3260:23: note: length computed here [ 17s] 3260 | len = strlen(ip->la); [ 17s] | ^~~~~~~~~~~~~~ [ 18s] 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 [ 18s] + exit 0 [ 18s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eLOLHR [ 18s] + umask 022 [ 18s] + cd /home/abuild/rpmbuild/BUILD [ 18s] + cd lsof_4.91-linux-only [ 18s] + LANG=C [ 18s] + export LANG [ 18s] + unset DISPLAY [ 18s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 18s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 18s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64/usr/sbin/lsof [ 18s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64/usr/share/man/man8/lsof.8 [ 18s] + /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 [ 18s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64/usr/sbin/lsof [ 18s] 1020 blocks [ 18s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lsof-debuginfo.manifest [ 18s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lsof-debugsource.manifest [ 19s] + /usr/lib/rpm/check-buildroot [ 19s] + /usr/lib/rpm//brp-compress [ 19s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 19s] + /usr/lib/rpm/brp-python-hardlink [ 19s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 19s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/isu.list [ 19s] ~/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 ~/rpmbuild/BUILD/lsof_4.91-linux-only [ 19s] ~/rpmbuild/BUILD/lsof_4.91-linux-only [ 19s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh /home/abuild/rpmbuild/SOURCES [ 19s] Processing files: lsof-4.91-0.riscv64 [ 19s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 19s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 19s] [ 19s] Provides: lsof = 4.91-0 lsof(riscv-64) = 4.91-0 [ 19s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 19s] 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) [ 19s] Processing files: lsof-debugsource-4.91-0.riscv64 [ 19s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 19s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 19s] [ 19s] Provides: lsof-debugsource = 4.91-0 lsof-debugsource(riscv-64) = 4.91-0 [ 19s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 19s] Processing files: lsof-docs-4.91-0.riscv64 [ 19s] Provides: lsof-docs = 4.91-0 lsof-docs(riscv-64) = 4.91-0 [ 19s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 19s] Processing files: lsof-debuginfo-4.91-0.riscv64 [ 19s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 19s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 19s] [ 19s] Provides: lsof-debuginfo = 4.91-0 lsof-debuginfo(riscv-64) = 4.91-0 [ 19s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 19s] Recommends: lsof-debugsource(riscv-64) = 4.91-0 [ 19s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 19s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.91-0.src.rpm [ 19s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-4.91-0.riscv64.rpm [ 20s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-debugsource-4.91-0.riscv64.rpm [ 20s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-docs-4.91-0.riscv64.rpm [ 20s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-debuginfo-4.91-0.riscv64.rpm [ 20s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4i9VBJ [ 20s] + umask 022 [ 20s] + cd /home/abuild/rpmbuild/BUILD [ 20s] + cd lsof_4.91-linux-only [ 20s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 20s] + exit 0 [ 20s] ... checking for files with abuild user/group [ 20s] ... creating baselibs [ 21s] [ 21s] ip-192-168-56-129 finished "build lsof.spec" at Fri Sep 12 03:28:41 UTC 2025. [ 21s]