[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.19 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-31 started "build lsof.spec" at Tue Dec 17 03:11:13 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_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 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/debug/ --clean --nocumulate /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/lsof-4.91-0/lsof.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.19/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.19/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/riscv64/RPMS [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/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-ASAN/reference/repos/standard/debug/ [ 4s] expanding package dependencies... [ 5s] copying qemu [ 5s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 5s] [ 5s] registering binfmt handlers for cross build [ 5s] calculating packages to download... [ 21s] cycle: nss -> libsoftokn3 [ 21s] breaking dependency nss -> libsoftokn3 [ 21s] [1/47] preinstalling libmagic-data... [ 21s] [2/47] preinstalling libncurses... [ 22s] [3/47] preinstalling setup... [ 22s] [4/47] preinstalling filesystem... [ 22s] [5/47] preinstalling glibc... [ 22s] [6/47] preinstalling libgcc... [ 22s] [7/47] preinstalling libstdc++... [ 22s] [8/47] preinstalling libasan... [ 22s] [9/47] preinstalling findutils... [ 22s] [10/47] preinstalling grep... [ 23s] [11/47] preinstalling libattr... [ 23s] [12/47] preinstalling libbz2... [ 23s] [13/47] preinstalling liblua... [ 23s] [14/47] preinstalling libpopt... [ 23s] [15/47] preinstalling libsmack... [ 23s] [16/47] preinstalling libuuid... [ 23s] [17/47] preinstalling libxcrypt... [ 23s] [18/47] preinstalling nspr... [ 23s] [19/47] preinstalling sed... [ 23s] [20/47] preinstalling zlib... [ 23s] [21/47] preinstalling bash... [ 24s] [22/47] preinstalling diffutils... [ 24s] [23/47] preinstalling libblkid... [ 24s] [24/47] preinstalling libcap... [ 24s] [25/47] preinstalling libfreebl3... [ 24s] [26/47] preinstalling liblzma... [ 24s] [27/47] preinstalling libreadline... [ 24s] [28/47] preinstalling libsqlite... [ 24s] [29/47] preinstalling libzstd1... [ 25s] [30/47] preinstalling qemu-accel-x86_64-riscv64... [ 33s] [31/47] preinstalling qemu-linux-user-x86_64-cross... [ 35s] [32/47] preinstalling asan-build-env... [ 36s] [33/47] preinstalling libacl... [ 36s] [34/47] preinstalling libelf... [ 36s] [35/47] preinstalling smack... [ 36s] [36/47] preinstalling bzip2... [ 36s] [37/47] preinstalling coreutils... [ 36s] [38/47] preinstalling libmagic... [ 36s] [39/47] preinstalling libmount... [ 36s] [40/47] preinstalling libxml2... [ 36s] [41/47] preinstalling tar... [ 36s] [42/47] preinstalling util-linux... [ 37s] [43/47] preinstalling util-linux-su... [ 37s] [44/47] preinstalling nss... [ 37s] [45/47] preinstalling libsoftokn3... [ 37s] [46/47] preinstalling rpm... [ 38s] [47/47] preinstalling asan-force-options... [ 38s] [ 39s] running qemu-linux-user-x86_64-cross postinstall script [ 41s] running qemu-accel-x86_64-riscv64 postinstall script [ 41s] mv: cannot stat `/usr/lib64/gcc/riscv64-tizen-linux-gnu/14.1.0/liblto_plugin.so': No such file or directory [ 41s] running setup postinstall script [ 41s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 41s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 41s] running asan-build-env postinstall script [ 45s] running asan-force-options postinstall script [ 84s] initializing rpm db... [ 84s] reordering...cycle: bash -> glibc -> filesystem -> setup -> asan-runtime-env [ 84s] breaking dependency bash -> glibc [ 84s] cycle: bash -> libasan -> glibc -> filesystem -> setup -> asan-runtime-env [ 84s] breaking dependency libasan -> glibc [ 84s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 84s] breaking dependency asan-runtime-env -> bash [ 84s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 84s] breaking dependency coreutils -> bash [ 84s] cycle: glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 84s] breaking dependency coreutils -> glibc [ 84s] cycle: libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 84s] breaking dependency libasan -> libgcc [ 84s] cycle: libasan -> libstdc++ -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 84s] breaking dependency libstdc++ -> glibc [ 84s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 84s] breaking dependency coreutils -> libasan [ 84s] cycle: libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 84s] breaking dependency asan-runtime-env -> coreutils [ 84s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 84s] breaking dependency setup -> asan-runtime-env [ 84s] cycle: libxcrypt-devel -> glibc-devel [ 84s] breaking dependency glibc-devel -> libxcrypt-devel [ 84s] cycle: nss -> libsoftokn3 [ 84s] breaking dependency nss -> libsoftokn3 [ 84s] reordering done [ 87s] [1/102] installing libmagic-data-5.45-1.9 [ 88s] [2/102] installing setup-0.9-1.4 [ 88s] [3/102] installing filesystem-3.1-1.2 [ 89s] [4/102] installing glibc-2.39-1.5 [ 89s] [5/102] installing libatomic-14.1.0-1.10 [ 90s] [6/102] installing libgcc-14.1.0-1.10 [ 91s] [7/102] installing libgomp-14.1.0-1.10 [ 91s] [8/102] installing libitm-14.1.0-1.10 [ 92s] [9/102] installing libgfortran-14.1.0-1.10 [ 92s] [10/102] installing libstdc++-14.1.0-1.10 [ 93s] [11/102] installing coreutils-6.9-14.4 [ 93s] [12/102] installing libstdc++-devel-14.1.0-1.10 [ 94s] [13/102] installing linux-glibc-devel-6.6-1.11 [ 95s] [14/102] installing libasan-14.1.0-1.10 [ 95s] [15/102] installing libcc1-14.1.0-1.10 [ 96s] [16/102] installing libubsan-14.1.0-1.10 [ 96s] [17/102] installing cpio-2.8-1.2 [ 97s] [18/102] installing findutils-4.3.8-1.9 [ 97s] [19/102] installing gdbm-1.8.3-1.11 [ 97s] [20/102] installing hostname-3.23-1.2 [ 98s] [21/102] installing libattr-2.5.1-1.9 [ 98s] [22/102] installing libbz2-1.0.8-1.9 [ 99s] [23/102] installing libltdl-2.4.7-1.11 [ 99s] [24/102] installing liblua-5.1.5-1.9 [ 100s] [25/102] installing libpopt-1.16-1.9 [ 100s] [26/102] installing libsmack-1.3.1-1.9 [ 101s] [27/102] installing libsmartcols-2.39.3-1.7 [ 101s] [28/102] installing libuuid-2.39.3-1.7 [ 102s] [29/102] installing libxcrypt-4.4.36-1.11 [ 103s] [30/102] installing m4-1.4.19-1.2 [ 103s] [31/102] installing net-tools-2.0_20121208git-1.9 [ 103s] [32/102] installing nspr-4.35-1.9 [ 104s] [33/102] installing patch-2.7.6-1.9 [ 104s] [34/102] installing sed-4.1c-1.9 [ 104s] [35/102] installing which-2.17-1.2 [ 104s] [36/102] installing zlib-1.3-1.11 [ 105s] [37/102] installing asan-runtime-env-14.1.0-1.5 [ 105s] [38/102] installing bash-3.2.57-2.1 [ 106s] [39/102] installing diffutils-3.10-1.2 [ 106s] [40/102] installing libblkid-2.39.3-1.7 [ 106s] [41/102] installing libcap-2.69-1.9 [ 107s] [42/102] installing libfreebl3-3.98-1.11 [ 108s] [43/102] installing liblzma-5.4.5-1.11 [ 108s] [44/102] installing libopenssl3-3.0.13-1.11 [ 109s] [45/102] installing libpcre-8.45-1.9 [ 109s] [46/102] installing libsqlite-3.44.0-1.9 [ 110s] [47/102] installing libzstd1-1.5.5-1.9 [ 110s] [48/102] installing pkg-config-0.29.2-1.9 [ 111s] [49/102] installing update-alternatives-1.22.2-1.2 [ 111s] [50/102] installing build-compare-2023.06.18-1.4 [ 111s] [51/102] installing hal-rootstrap-checker-0.1.0-1.2 [ 111s] [52/102] installing qemu-linux-user-x86_64-cross-5.2.0.2-20.4 [ 116s] [53/102] installing asan-build-env-14.1.0-1.5 [ 116s] libasan.so is already preloaded [ 116s] [54/102] installing cpp-14.1.0-1.10 [ 117s] [55/102] installing gcc-c++-14.1.0-1.10 [ 118s] [56/102] installing terminfo-base-full-6.4-1.11 [ 119s] [57/102] installing gawk-3.1.5-1.2 [ 120s] [58/102] installing glibc-locale-2.39-1.5 [ 122s] [59/102] installing grep-2.5.2-1.9 [ 122s] [60/102] installing libacl-2.3.2-1.9 [ 122s] [61/102] installing libelf-0.189-1.11 [ 123s] [62/102] installing make-4.4-1.9 [ 123s] [63/102] installing nss-certs-3.98-1.11 [ 124s] [64/102] installing smack-1.3.1-1.9 [ 124s] [65/102] installing binutils-libs-2.43-2.1 [ 125s] [66/102] installing bzip2-1.0.8-1.9 [ 125s] [67/102] installing gzip-1.13-1.5 [ 125s] [68/102] installing libmagic-5.45-1.9 [ 126s] [69/102] installing libmount-2.39.3-1.7 [ 127s] [70/102] installing xz-5.4.5-1.11 [ 127s] [71/102] installing libfdisk-2.39.3-1.7 [ 127s] [72/102] installing libxml2-2.12.5-1.10 [ 128s] [73/102] installing tzdata-2023c-1.2 [ 129s] [74/102] installing pam-1.1.6-1.9 [ 131s] [75/102] installing perl-5.38.0-1.8 [ 134s] [76/102] installing gcc-14.1.0-1.10 [ 136s] [77/102] installing build-mkbaselibs-20120927-1.2 [ 136s] [78/102] installing qemu-accel-x86_64-riscv64-0.4-1.3 [ 157s] [79/102] installing autoconf-2.71-1.12 [ 158s] [80/102] installing file-5.45-1.9 [ 158s] [81/102] installing binutils-2.43-2.1 [ 159s] [82/102] installing tar-1.17-1.2 [ 159s] [83/102] installing glibc-devel-2.39-1.5 [ 160s] [84/102] installing libncurses6-6.4-1.11 [ 160s] [85/102] installing libdw-0.189-1.11 [ 161s] [86/102] installing nss-3.98-1.11 [ 162s] [87/102] installing libarchive-3.7.2-1.10 [ 162s] [88/102] installing libncurses-6.4-1.11 [ 162s] [89/102] installing automake-1.16.5-1.12 [ 163s] [90/102] installing less-643-1.2 [ 163s] [91/102] installing libxcrypt-devel-4.4.36-1.11 [ 163s] [92/102] installing libasm-0.189-1.11 [ 164s] [93/102] installing libreadline-5.2-1.9 [ 164s] [94/102] installing build-20120927-1.2 [ 165s] [95/102] installing libsoftokn3-3.98-1.11 [ 165s] [96/102] installing rpm-4.14.1.1-1.11 [ 168s] [97/102] installing asan-force-options-14.1.0-1.5 [ 210s] [98/102] installing libtool-2.4.7-1.11 [ 210s] [99/102] installing elfutils-0.189-1.11 [ 211s] [100/102] installing util-linux-2.39.3-1.7 [ 211s] [101/102] installing rpm-build-4.14.1.1-1.11 [ 212s] [102/102] installing util-linux-su-2.39.3-1.7 [ 212s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.19/etc/nsswitch.conf... [ 212s] now finalizing build dir... [ 220s] ----------------------------------------------------------------- [ 220s] ----- building lsof.spec (user abuild) [ 220s] ----------------------------------------------------------------- [ 220s] ----------------------------------------------------------------- [ 225s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -bb /home/abuild/rpmbuild/SOURCES/lsof.spec [ 225s] Building target platforms: riscv64-tizen-linux [ 225s] Building for target riscv64-tizen-linux [ 225s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cg2FVS [ 225s] + umask 022 [ 225s] + cd /home/abuild/rpmbuild/BUILD [ 225s] + cd /home/abuild/rpmbuild/BUILD [ 225s] + rm -rf lsof_4.91-linux-only [ 225s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.91-linux-only.tar.xz [ 225s] + /bin/tar -xof - [ 225s] + STATUS=0 [ 225s] + '[' 0 -ne 0 ']' [ 225s] + cd lsof_4.91-linux-only [ 225s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 226s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 227s] + exit 0 [ 227s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QvbOnj [ 227s] + umask 022 [ 227s] + cd /home/abuild/rpmbuild/BUILD [ 227s] + cd lsof_4.91-linux-only [ 227s] + ref=/usr/lib/rpm [ 227s] + mints=0 [ 227s] + case $(uname -m) in [ 227s] ++ uname -m [ 227s] + mints=20160911 [ 227s] + for s in guess sub [ 227s] ++ find -maxdepth 8 -name config.guess [ 228s] + for s in guess sub [ 228s] ++ find -maxdepth 8 -name config.sub [ 228s] + LANG=C [ 228s] + export LANG [ 228s] + unset DISPLAY [ 228s] + 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' [ 228s] + export CFLAGS [ 228s] + 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' [ 228s] + export CXXFLAGS [ 228s] + 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' [ 228s] + export FFLAGS [ 228s] + LDFLAGS= [ 228s] + export LDFLAGS [ 228s] + LSOF_VSTR=2.6.16 [ 228s] + LINUX_BASE=/proc [ 228s] + ./Configure -n linux [ 230s] Testing C library type with cc ... done [ 230s] Cannot determine C library type; assuming it is not glibc. [ 230s] 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 [ 230s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 231s] Testing C library for localtime() and strftime(), using cc ... missing [ 231s] ln -s dialects/linux/dfile.c dfile.c [ 232s] ln -s dialects/linux/dlsof.h dlsof.h [ 233s] ln -s dialects/linux/dmnt.c dmnt.c [ 234s] ln -s dialects/linux/dnode.c dnode.c [ 234s] ln -s dialects/linux/dproc.c dproc.c [ 236s] ln -s dialects/linux/dproto.h dproto.h [ 236s] ln -s dialects/linux/dsock.c dsock.c [ 237s] ln -s dialects/linux/dstore.c dstore.c [ 238s] ln -s dialects/linux/machine.h machine.h [ 239s] Makefile and lib/Makefile created. [ 239s] ./tests/config.cc created [ 239s] ./tests/config.cflags created [ 239s] ./tests/config.ldflags created [ 239s] ./tests/config.xobj created [ 239s] + 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 [ 239s] (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\"") [ 239s] 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 [ 239s] 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 [ 239s] 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 [ 239s] 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 [ 239s] 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 [ 239s] 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 [ 239s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lib' [ 239s] 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 [ 239s] 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 [ 239s] dsock.c: In function 'fill_uxpino': [ 239s] dsock.c:854:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 239s] 854 | if (pp = check_unix(pi)) [ 239s] | ^~ [ 239s] In file included from dproc.c:38: [ 239s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 239s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 239s] | ^~~~~~~~~~ [ 239s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 239s] 35 | static char *rcsid = "$Id: dproc.c,v 1.31 2018/03/26 21:52:29 abe Exp $"; [ 239s] | ^~~~~ [ 239s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 239s] 33 | static char copyright[] = [ 239s] | ^~~~~~~~~ [ 239s] In file included from dfile.c:39: [ 239s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 239s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 239s] | ^~~~~~~~~~ [ 239s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 239s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp abe $"; [ 239s] | ^~~~~ [ 239s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 239s] 33 | static char copyright[] = [ 239s] | ^~~~~~~~~ [ 239s] 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 [ 239s] In file included from dsock.c:39: [ 239s] lsof.h: At top level: [ 239s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 239s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 239s] | ^~~~~~~~~~ [ 239s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 239s] 35 | static char *rcsid = "$Id: dsock.c,v 1.43 2018/03/26 21:52:29 abe Exp $"; [ 239s] | ^~~~~ [ 239s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 239s] 33 | static char copyright[] = [ 239s] | ^~~~~~~~~ [ 239s] In file included from dmnt.c:39: [ 239s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 239s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 239s] | ^~~~~~~~~~ [ 239s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 239s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.21 2018/02/14 14:26:38 abe Exp $"; [ 239s] | ^~~~~ [ 239s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 239s] 33 | static char copyright[] = [ 239s] | ^~~~~~~~~ [ 239s] In file included from dnode.c:39: [ 239s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 239s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 239s] | ^~~~~~~~~~ [ 239s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 239s] 35 | static char *rcsid = "$Id: dnode.c,v 1.27 2018/03/26 21:52:29 abe Exp $"; [ 239s] | ^~~~~ [ 239s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 239s] 33 | static char copyright[] = [ 239s] | ^~~~~~~~~ [ 239s] In file included from dstore.c:39: [ 239s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 239s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 239s] | ^~~~~~~~~~ [ 239s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 239s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 239s] | ^~~~~ [ 239s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 239s] 33 | static char copyright[] = [ 239s] | ^~~~~~~~~ [ 239s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 239s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp abe $"; [ 239s] | ^~~~~ [ 239s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 239s] 33 | static char copyright[] = [ 239s] | ^~~~~~~~~ [ 239s] 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 [ 240s] 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 [ 240s] main.c: In function 'main': [ 240s] main.c:73:15: warning: unused variable 'fmtr' [-Wunused-variable] [ 240s] 73 | char *fmtr = (char *)NULL; [ 240s] | ^~~~ [ 240s] 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 [ 240s] In file included from main.c:41: [ 240s] lsof.h: At top level: [ 240s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 240s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 240s] | ^~~~~~~~~~ [ 240s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 240s] 37 | static char *rcsid = "$Id: main.c,v 1.59 2018/03/26 21:50:45 abe Exp $"; [ 240s] | ^~~~~ [ 240s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 240s] 35 | static char copyright[] = [ 240s] | ^~~~~~~~~ [ 240s] 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 [ 240s] 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 [ 240s] In file included from misc.c:39: [ 240s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 240s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 240s] | ^~~~~~~~~~ [ 240s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 240s] 35 | static char *rcsid = "$Id: misc.c,v 1.29 2018/02/14 14:20:14 abe Exp $"; [ 240s] | ^~~~~ [ 240s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 240s] 33 | static char copyright[] = [ 240s] | ^~~~~~~~~ [ 240s] 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 [ 240s] 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 [ 240s] 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 [ 240s] 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 [ 241s] 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 [ 241s] In file included from node.c:39: [ 241s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 241s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 241s] | ^~~~~~~~~~ [ 241s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 241s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 241s] | ^~~~~ [ 241s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 241s] 33 | static char copyright[] = [ 241s] | ^~~~~~~~~ [ 241s] 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 [ 241s] 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 [ 241s] 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 [ 241s] print.c: In function 'lkup_port': [ 241s] print.c:479:20: warning: unused variable 'pm' [-Wunused-variable] [ 241s] 479 | static int pm = 0; [ 241s] | ^~ [ 241s] 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 [ 241s] print.c: At top level: [ 241s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 241s] 35 | static char *rcsid = "$Id: print.c,v 1.56 2018/02/14 14:20:14 abe Exp $"; [ 241s] | ^~~~~ [ 241s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 241s] 33 | static char copyright[] = [ 241s] | ^~~~~~~~~ [ 241s] 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 [ 241s] 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 [ 241s] 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 [ 241s] In file included from proc.c:39: [ 241s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 241s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 241s] | ^~~~~~~~~~ [ 241s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 241s] 35 | static char *rcsid = "$Id: proc.c,v 1.50 2018/02/14 14:20:14 abe Exp $"; [ 241s] | ^~~~~ [ 241s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 241s] 33 | static char copyright[] = [ 241s] | ^~~~~~~~~ [ 241s] print.c: In function 'printiproto': [ 241s] 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=] [ 241s] 2010 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 241s] | ^~ [ 241s] print.c:2010:61: note: directive argument in the range [0, 214748363] [ 241s] 2010 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 241s] | ^~~~~~ [ 241s] In file included from lsof.h:41, [ 241s] from print.c:39: [ 241s] machine.h:610:17: note: 'snprintf' output between 4 and 12 bytes into a destination of size 8 [ 241s] 610 | #define snpf snprintf /* use the system's snprintf() */ [ 241s] print.c:2010:24: note: in expansion of macro 'snpf' [ 241s] 2010 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 241s] | ^~~~ [ 241s] 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=] [ 241s] 2008 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "%d?", p); [ 241s] | ^~ [ 241s] print.c:2008:61: note: directive argument in the range [-2147483648, 2147483646] [ 241s] 2008 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "%d?", p); [ 241s] | ^~~~~ [ 241s] machine.h:610:17: note: 'snprintf' output between 3 and 13 bytes into a destination of size 8 [ 241s] 610 | #define snpf snprintf /* use the system's snprintf() */ [ 241s] print.c:2008:24: note: in expansion of macro 'snpf' [ 241s] 2008 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "%d?", p); [ 241s] | ^~~~ [ 241s] 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 [ 241s] dsock.c: In function 'get_sctpaddrs': [ 241s] dsock.c:2194:20: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] [ 241s] 2194 | (void) strncpy(al ? (cp + al) : cp, fp[i], tl); [ 241s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 241s] dsock.c:2178:58: note: length computed here [ 241s] 2178 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 241s] | ^~~~~~~~~~~~~ [ 242s] 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 [ 242s] 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 [ 242s] print.c: In function 'printuid': [ 242s] 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=] [ 242s] 2439 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 242s] | ^~~~ [ 242s] print.c:2439:41: note: directive argument in the range [0, 4294967295] [ 242s] 2439 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 242s] | ^~~~~~ [ 242s] machine.h:610:17: note: 'snprintf' output between 9 and 11 bytes into a destination of size 9 [ 242s] 610 | #define snpf snprintf /* use the system's snprintf() */ [ 242s] print.c:2439:16: note: in expansion of macro 'snpf' [ 242s] 2439 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 242s] | ^~~~ [ 242s] In file included from store.c:39: [ 242s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 242s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 242s] | ^~~~~~~~~~ [ 242s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 242s] 35 | static char *rcsid = "$Id: store.c,v 1.44 2018/02/14 14:20:14 abe Exp $"; [ 242s] | ^~~~~ [ 242s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 242s] 33 | static char copyright[] = [ 242s] | ^~~~~~~~~ [ 242s] 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 [ 242s] Constructing version.h [ 242s] ranlib liblsof.a [ 242s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lib' [ 242s] 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 [ 242s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 242s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 242s] | ^~~~~ [ 242s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 242s] 40 | static char copyright[] = [ 242s] | ^~~~~~~~~ [ 244s] dsock.c: In function 'process_proc_sock': [ 244s] dsock.c:3263:24: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] [ 244s] 3263 | (void) strncpy(cp, ip->la, len); [ 244s] | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 244s] dsock.c:3260:23: note: length computed here [ 244s] 3260 | len = strlen(ip->la); [ 244s] | ^~~~~~~~~~~~~~ [ 245s] 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 [ 245s] In file included from usage.c:39: [ 245s] lsof.h:299:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 245s] 299 | static struct utmp dummy_utmp; /* to get login name length */ [ 245s] | ^~~~~~~~~~ [ 245s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 245s] 35 | static char *rcsid = "$Id: usage.c,v 1.33 2018/02/14 14:20:14 abe Exp $"; [ 245s] | ^~~~~ [ 245s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 245s] 33 | static char copyright[] = [ 245s] | ^~~~~~~~~ [ 246s] 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 [ 247s] + exit 0 [ 247s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3nJPiw [ 247s] + umask 022 [ 247s] + cd /home/abuild/rpmbuild/BUILD [ 247s] + cd lsof_4.91-linux-only [ 247s] + LANG=C [ 247s] + export LANG [ 247s] + unset DISPLAY [ 247s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 247s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 247s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64/usr/sbin/lsof [ 248s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64/usr/share/man/man8/lsof.8 [ 248s] + /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 [ 256s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64/usr/sbin/lsof [ 259s] 1020 blocks [ 261s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lsof-debuginfo.manifest [ 262s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/lsof-debugsource.manifest [ 263s] + /usr/lib/rpm/check-buildroot [ 263s] + /usr/lib/rpm//brp-compress [ 263s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 265s] + /usr/lib/rpm/brp-python-hardlink [ 265s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 266s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/lsof_4.91-linux-only/isu.list [ 266s] ~/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 ~/rpmbuild/BUILD/lsof_4.91-linux-only [ 266s] ~/rpmbuild/BUILD/lsof_4.91-linux-only [ 266s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 268s] Processing files: lsof-4.91-0.riscv64 [ 268s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 268s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 268s] [ 268s] Provides: lsof = 4.91-0 lsof(riscv-64) = 4.91-0 [ 268s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 268s] Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libasan.so.8()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) [ 268s] Processing files: lsof-debugsource-4.91-0.riscv64 [ 268s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 268s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 268s] [ 268s] Provides: lsof-debugsource = 4.91-0 lsof-debugsource(riscv-64) = 4.91-0 [ 268s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 268s] Processing files: lsof-docs-4.91-0.riscv64 [ 269s] Provides: lsof-docs = 4.91-0 lsof-docs(riscv-64) = 4.91-0 [ 269s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 269s] Processing files: lsof-debuginfo-4.91-0.riscv64 [ 269s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 269s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 269s] [ 269s] Provides: lsof-debuginfo = 4.91-0 lsof-debuginfo(riscv-64) = 4.91-0 [ 269s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 269s] Recommends: lsof-debugsource(riscv-64) = 4.91-0 [ 269s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 271s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-4.91-0.riscv64.rpm [ 272s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-debugsource-4.91-0.riscv64.rpm [ 272s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-docs-4.91-0.riscv64.rpm [ 272s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/lsof-debuginfo-4.91-0.riscv64.rpm [ 272s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wYlsug [ 272s] + umask 022 [ 272s] + cd /home/abuild/rpmbuild/BUILD [ 272s] + cd lsof_4.91-linux-only [ 272s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.91-0.riscv64 [ 272s] + exit 0 [ 273s] ... checking for files with abuild user/group [ 273s] ... creating baselibs [ 280s] [ 280s] ip-192-168-56-31 finished "build lsof.spec" at Tue Dec 17 03:15:53 UTC 2024. [ 280s]