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