[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.1 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-115 started "build lsof.spec" at Thu Nov 28 06:24:08 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.5_unified_emulator/lsof-4.87-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_6.5_unified_emulator/x86_64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.5_unified_emulator/lsof-4.87-0/lsof.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.1/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.1/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_6.5_unified_emulator/x86_64/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-6.5/Tizen-6.5-Base/tizen-6.5-base_20241128.013610/repos/standard/debug/ [ 4s] expanding package dependencies... [ 5s] copying qemu [ 5s] [ 5s] calculating packages to download... [ 16s] reordering...cycle: libsoftokn3 -> nss [ 16s] breaking dependency nss -> libsoftokn3 [ 16s] reordering done [ 18s] deleting libconfig [ 19s] deleting libconfig-devel [ 19s] [1/93] keeping libmagic-data-5.39-1.13 [ 19s] [2/93] keeping setup-0.9-1.3 [ 19s] [3/93] keeping filesystem-3.1-1.1 [ 19s] [4/93] keeping glibc-2.30-1.12 [ 19s] [5/93] keeping bash-3.2.57-1.1 [ 19s] [6/93] keeping cpio-2.8-1.1 [ 19s] [7/93] keeping diffutils-3.3-1.1 [ 19s] [8/93] keeping findutils-4.3.8-1.13 [ 19s] [9/93] keeping gdbm-1.8.3-1.14 [ 19s] [10/93] keeping hostname-3.23-1.1 [ 19s] [11/93] keeping libatomic-9.2.0-1.14 [ 19s] [12/93] keeping libattr-2.4.48-1.13 [ 19s] [13/93] keeping libblkid-2.36-2.2 [ 19s] [14/93] keeping libbz2-1.0.8-1.13 [ 19s] [15/93] keeping libcap-2.24-1.13 [ 19s] [16/93] keeping libfreebl3-3.87-1.14 [ 19s] [17/93] keeping libgcc-9.2.0-1.14 [ 19s] [18/93] keeping libgomp-9.2.0-1.14 [ 19s] [19/93] keeping libitm-9.2.0-1.14 [ 19s] [20/93] keeping libltdl-2.4.2-1.14 [ 19s] [21/93] keeping liblua-5.1.5-1.13 [ 19s] [22/93] keeping liblzma-5.2.5-1.14 [ 19s] [23/93] keeping libopenssl11-1.1.1w-1.1 [ 19s] [24/93] keeping libpcre-8.44-1.6 [ 19s] [25/93] keeping libpopt-1.16-1.13 [ 19s] [26/93] keeping libquadmath-9.2.0-1.14 [ 19s] [27/93] keeping libsmack-1.3.1-1.13 [ 19s] [28/93] keeping libsmartcols-2.36-2.2 [ 19s] [29/93] keeping libsqlite-3.33.0-1.13 [ 19s] [30/93] keeping libuuid-2.36-2.2 [ 19s] [31/93] keeping libzstd1-1.4.5-1.13 [ 19s] [32/93] keeping m4-1.4.17-1.1 [ 19s] [33/93] keeping net-tools-2.0_20121208git-1.2 [ 19s] [34/93] keeping nspr-4.35-1.13 [ 19s] [35/93] keeping patch-2.7-1.13 [ 19s] [36/93] keeping pkg-config-0.28-1.14 [ 19s] [37/93] keeping sed-4.1c-1.1 [ 19s] [38/93] keeping update-alternatives-1.20.5-1.1 [ 19s] [39/93] keeping which-2.17-1.1 [ 19s] [40/93] keeping zlib-1.2.11-1.14 [ 19s] [41/93] keeping build-compare-2015.04.28-1.7 [ 19s] [42/93] keeping terminfo-base-full-6.2-1.14 [ 19s] [43/93] keeping coreutils-6.9-14.6 [ 19s] [44/93] keeping cpp-9.2.0-1.14 [ 19s] [45/93] keeping gawk-3.1.5-1.1 [ 19s] [46/93] keeping gcc-c++-9.2.0-1.14 [ 19s] [47/93] keeping grep-2.5.2-1.1 [ 19s] [48/93] keeping libacl-2.2.53-1.13 [ 19s] [49/93] keeping libelf-0.178-1.14 [ 19s] [50/93] keeping libmount-2.36-2.2 [ 19s] [51/93] keeping libstdc++-9.2.0-1.14 [ 19s] [52/93] keeping make-4.0-1.13 [ 19s] [53/93] keeping nss-certs-3.87-1.14 [ 19s] [54/93] keeping smack-1.3.1-1.13 [ 19s] [55/93] keeping bzip2-1.0.8-1.13 [ 19s] [56/93] keeping libfdisk-2.36-2.2 [ 19s] [57/93] keeping libgfortran-9.2.0-1.14 [ 19s] [58/93] keeping libmagic-5.39-1.13 [ 19s] [59/93] keeping libxml2-2.9.12-1.14 [ 19s] [60/93] keeping perl-5.32.0-1.13 [ 19s] [61/93] keeping xz-5.2.5-1.14 [ 19s] [62/93] keeping build-mkbaselibs-20120927-1.1 [ 19s] [63/93] keeping libstdc++-devel-9.2.0-1.14 [ 19s] [64/93] keeping file-5.39-1.13 [ 19s] [65/93] keeping linux-glibc-devel-3.10-1.14 [ 19s] [66/93] keeping tar-1.17-1.1 [ 19s] [67/93] keeping autoconf-2.69-1.14 [ 19s] [68/93] keeping binutils-2.33.1-1.14 [ 19s] [69/93] keeping glibc-locale-2.30-1.12 [ 19s] [70/93] keeping gzip-1.3.12-1.13 [ 19s] [71/93] keeping libcc1-9.2.0-1.14 [ 19s] [72/93] keeping libubsan-9.2.0-1.14 [ 19s] [73/93] keeping pam-1.1.6-1.2 [ 19s] [74/93] keeping libncurses6-6.2-1.14 [ 19s] [75/93] keeping tzdata-2023c-1.1 [ 20s] [76/93] keeping libdw-0.178-1.14 [ 20s] [77/93] keeping libarchive-3.5.1-1.13 [ 20s] [78/93] keeping libncurses-6.2-1.14 [ 20s] [79/93] keeping glibc-devel-2.30-1.12 [ 20s] [80/93] keeping less-466-1.1 [ 20s] [81/93] keeping libreadline-5.2-1.14 [ 20s] [82/93] keeping automake-1.15.1-1.14 [ 20s] [83/93] keeping libasm-0.178-1.14 [ 20s] [84/93] keeping build-20120927-1.1 [ 20s] [85/93] keeping gcc-9.2.0-1.14 [ 20s] [86/93] keeping libtool-2.4.2-1.14 [ 20s] [87/93] keeping elfutils-0.178-1.14 [ 20s] [88/93] keeping util-linux-2.36-2.2 [ 20s] [89/93] keeping util-linux-su-2.36-2.2 [ 20s] [90/93] keeping nss-3.87-1.14 [ 20s] [91/93] keeping libsoftokn3-3.87-1.14 [ 20s] [92/93] keeping rpm-4.14.1.1-1.14 [ 20s] [93/93] keeping rpm-build-4.14.1.1-1.14 [ 20s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.1/etc/nsswitch.conf... [ 20s] now finalizing build dir... [ 21s] ----------------------------------------------------------------- [ 21s] ----- building lsof.spec (user abuild) [ 21s] ----------------------------------------------------------------- [ 21s] ----------------------------------------------------------------- [ 21s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=x86_64 --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/lsof.spec [ 21s] Building target platforms: x86_64 [ 21s] Building for target x86_64 [ 21s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HFdGU1 [ 21s] + umask 022 [ 21s] + cd /home/abuild/rpmbuild/BUILD [ 21s] + cd /home/abuild/rpmbuild/BUILD [ 21s] + rm -rf lsof_4.87-linux-only [ 21s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 21s] + /bin/tar -xof - [ 21s] + STATUS=0 [ 21s] + '[' 0 -ne 0 ']' [ 21s] + cd lsof_4.87-linux-only [ 21s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 21s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 21s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 21s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 21s] patching file usage.c [ 21s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 21s] + exit 0 [ 21s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XC8j50 [ 21s] + umask 022 [ 22s] + cd /home/abuild/rpmbuild/BUILD [ 22s] + cd lsof_4.87-linux-only [ 22s] ++ uname -m [ 22s] + [[ x86_64 == \a\a\r\c\h\6\4 ]] [ 22s] + LANG=C [ 22s] + export LANG [ 22s] + unset DISPLAY [ 22s] + CFLAGS='-O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 22s] + export CFLAGS [ 22s] + CXXFLAGS='-O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 22s] + export CXXFLAGS [ 22s] + FFLAGS='-O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 22s] + export FFLAGS [ 22s] + LDFLAGS= [ 22s] + export LDFLAGS [ 22s] + LSOF_VSTR=2.6.16 [ 22s] + LINUX_BASE=/proc [ 22s] + ./Configure -n linux [ 22s] Testing C library type with cc ... done [ 22s] The C library type is glibc, version "-DGLIBCV=230". [ 22s] 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 [ 22s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 22s] Testing C library for localtime() and strftime(), using cc ... present [ 22s] ln -s dialects/linux/dfile.c dfile.c [ 23s] ln -s dialects/linux/dlsof.h dlsof.h [ 23s] ln -s dialects/linux/dmnt.c dmnt.c [ 23s] ln -s dialects/linux/dnode.c dnode.c [ 23s] ln -s dialects/linux/dproc.c dproc.c [ 23s] ln -s dialects/linux/dproto.h dproto.h [ 23s] ln -s dialects/linux/dsock.c dsock.c [ 23s] ln -s dialects/linux/dstore.c dstore.c [ 23s] ln -s dialects/linux/machine.h machine.h [ 23s] Makefile and lib/Makefile created. [ 23s] ./tests/config.cc created [ 23s] ./tests/config.cflags created [ 23s] ./tests/config.ldflags created [ 23s] ./tests/config.xobj created [ 23s] + make 'DEBUG=-O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC' 'CFGL=-pie ' -j8 [ 23s] (cd lib; make DEBUG="-O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC" CFGF="-DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\"") [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o dfile.o dfile.c [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o dmnt.o dmnt.c [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o dnode.o dnode.c [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o dproc.o dproc.c [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o dsock.o dsock.c [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o dstore.o dstore.c [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o arg.o arg.c [ 23s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o ckkv.o ckkv.c [ 23s] In file included from dstore.c:39: [ 23s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 23s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 23s] | ^~~~~~~~~~ [ 23s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 23s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 23s] | ^~~~~ [ 23s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 23s] 33 | static char copyright[] = [ 23s] | ^~~~~~~~~ [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o main.o main.c [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o cvfs.o cvfs.c [ 23s] In file included from dfile.c:39: [ 23s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 23s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 23s] | ^~~~~~~~~~ [ 23s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 23s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 23s] | ^~~~~ [ 23s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 23s] 33 | static char copyright[] = [ 23s] | ^~~~~~~~~ [ 23s] In file included from dmnt.c:39: [ 23s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 23s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 23s] | ^~~~~~~~~~ [ 23s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 23s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 23s] | ^~~~~ [ 23s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 23s] 33 | static char copyright[] = [ 23s] | ^~~~~~~~~ [ 23s] In file included from dproc.c:38: [ 23s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 23s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 23s] | ^~~~~~~~~~ [ 23s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 23s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 23s] | ^~~~~ [ 23s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 23s] 33 | static char copyright[] = [ 23s] | ^~~~~~~~~ [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o dvch.o dvch.c [ 23s] dsock.c: In function 'get_icmp': [ 23s] In file included from main.c:41: [ 23s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 23s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 23s] | ^~~~~~~~~~ [ 23s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 23s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 23s] | ^~~~~ [ 23s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 23s] 35 | static char copyright[] = [ 23s] | ^~~~~~~~~ [ 23s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 23s] 746 | MALLOC_S lal, ral, spl; [ 23s] | ^~~ [ 23s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 23s] 745 | unsigned long pr; [ 23s] | ^~ [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o fino.o fino.c [ 23s] In file included from dnode.c:39: [ 23s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 23s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 23s] | ^~~~~~~~~~ [ 23s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 23s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 23s] | ^~~~~ [ 23s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 23s] 33 | static char copyright[] = [ 23s] | ^~~~~~~~~ [ 23s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 23s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 23s] | ^~~~~ [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o isfn.o isfn.c [ 23s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 23s] 33 | static char copyright[] = [ 23s] | ^~~~~~~~~ [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o misc.o misc.c [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o lkud.o lkud.c [ 23s] In file included from dsock.c:39: [ 23s] At top level: [ 23s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 23s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 23s] | ^~~~~~~~~~ [ 23s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 23s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 23s] | ^~~~~ [ 23s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 23s] 33 | static char copyright[] = [ 23s] | ^~~~~~~~~ [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o pdvn.o pdvn.c [ 23s] dproc.c: In function 'process_id': [ 23s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 23s] 1121 | if (efs) { [ 23s] | ^ [ 23s] In file included from misc.c:39: [ 23s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 23s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 23s] | ^~~~~~~~~~ [ 23s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 23s] 35 | static char *rcsid = "$Id: misc.c,v 1.27 2013/01/02 17:14:59 abe Exp $"; [ 23s] | ^~~~~ [ 23s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 23s] 33 | static char copyright[] = [ 23s] | ^~~~~~~~~ [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o prfp.o prfp.c [ 23s] main.c: In function 'main': [ 23s] main.c:1318:11: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 23s] 1318 | fmtr[fmtl - 1] = '\0'; [ 23s] | ^ [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o ptti.o ptti.c [ 23s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o node.o node.c [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o rdev.o rdev.c [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o print.o print.c [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o regex.o regex.c [ 24s] In file included from node.c:39: [ 24s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 24s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 24s] | ^~~~~~~~~~ [ 24s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 24s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 24s] | ^~~~~ [ 24s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 24s] 33 | static char copyright[] = [ 24s] | ^~~~~~~~~ [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o proc.o proc.c [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o rmnt.o rmnt.c [ 24s] In file included from /usr/include/string.h:494, [ 24s] from dlsof.h:48, [ 24s] from lsof.h:195, [ 24s] from arg.c:39: [ 24s] In function 'strncpy', [ 24s] inlined from 'enter_dir' at arg.c:1135:10: [ 24s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] [ 24s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 24s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24s] arg.c: In function 'enter_dir': [ 24s] arg.c:1110:23: note: length computed here [ 24s] 1110 | dnamlen = (MALLOC_S)strlen(dp->d_name); [ 24s] | ^~~~~~~~~~~~~~~~~~ [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o rnam.o rnam.c [ 24s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 24s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 24s] | ^~~~~ [ 24s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 24s] 33 | static char copyright[] = [ 24s] | ^~~~~~~~~ [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o rnch.o rnch.c [ 24s] In file included from proc.c:39: [ 24s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 24s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 24s] | ^~~~~~~~~~ [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o rnmh.o rnmh.c [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o snpf.o snpf.c [ 24s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 24s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 24s] | ^~~~~ [ 24s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 24s] 33 | static char copyright[] = [ 24s] | ^~~~~~~~~ [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o store.o store.c [ 24s] 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 [ 24s] ranlib liblsof.a [ 24s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 24s] Constructing version.h [ 24s] In file included from store.c:39: [ 24s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 24s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 24s] | ^~~~~~~~~~ [ 24s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 24s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 24s] | ^~~~~ [ 24s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 24s] 33 | static char copyright[] = [ 24s] | ^~~~~~~~~ [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o util.o util.c [ 24s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 24s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 24s] | ^~~~~ [ 24s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 24s] 40 | static char copyright[] = [ 24s] | ^~~~~~~~~ [ 24s] print.c: In function 'printiproto': [ 24s] print.c:1992:49: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] [ 24s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 24s] | ^~ [ 24s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 24s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 24s] | ^~~~~~ [ 24s] In file included from /usr/include/stdio.h:867, [ 24s] from lsof.h:58, [ 24s] from print.c:39: [ 24s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 24s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 24s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 24s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24s] In file included from /usr/include/string.h:494, [ 24s] from dlsof.h:48, [ 24s] from lsof.h:195, [ 24s] from dsock.c:39: [ 24s] In function 'strncpy', [ 24s] inlined from 'get_sctpaddrs' at dsock.c:1761:13: [ 24s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] [ 24s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 24s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24s] dsock.c: In function 'get_sctpaddrs': [ 24s] dsock.c:1745:51: note: length computed here [ 24s] 1745 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 24s] | ^~~~~~~~~~~~~ [ 24s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -c -o usage.o usage.c [ 24s] print.c: In function 'printuid': [ 24s] print.c:2421:35: warning: '%*lu' directive output may be truncated writing between 8 and 10 bytes into a region of size 9 [-Wformat-truncation=] [ 24s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 24s] | ^~~~ [ 24s] print.c:2421:34: note: directive argument in the range [0, 4294967295] [ 24s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 24s] | ^~~~~~ [ 24s] In file included from /usr/include/stdio.h:867, [ 24s] from lsof.h:58, [ 24s] from print.c:39: [ 24s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 11 bytes into a destination of size 9 [ 24s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 24s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 24s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25s] usage.c: In function 'usage': [ 25s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 25s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 25s] | ^~~~~~~~~~ [ 25s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 25s] 64 | char *s; /* string pointer */ [ 25s] | ^ [ 25s] In file included from usage.c:39: [ 25s] At top level: [ 25s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 25s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 25s] | ^~~~~~~~~~ [ 25s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 25s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 25s] | ^~~~~ [ 25s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 25s] 33 | static char copyright[] = [ 25s] | ^~~~~~~~~ [ 25s] In file included from /usr/include/string.h:494, [ 25s] from dlsof.h:48, [ 25s] from lsof.h:195, [ 25s] from dsock.c:39: [ 25s] In function 'strncpy', [ 25s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 25s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 25s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 25s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25s] dsock.c: In function 'process_proc_sock': [ 25s] dsock.c:2780:9: note: length computed here [ 25s] 2780 | len = strlen(ip->la); [ 25s] | ^~~~~~~~~~~~~~ [ 25s] 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 [ 25s] + exit 0 [ 25s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BJxk0Z [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd lsof_4.87-linux-only [ 25s] + LANG=C [ 25s] + export LANG [ 25s] + unset DISPLAY [ 25s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.x86_64 [ 25s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.x86_64 [ 25s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.x86_64/usr/sbin/lsof [ 25s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.x86_64/usr/share/man/man8/lsof.8 [ 25s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 4.87-0 --unique-debug-src-base lsof-4.87-0.x86_64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 26s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.x86_64/usr/sbin/lsof [ 26s] 942 blocks [ 26s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debuginfo.manifest [ 26s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debugsource.manifest [ 26s] + /usr/lib/rpm/check-buildroot [ 26s] + /usr/lib/rpm//brp-compress [ 26s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 27s] + /usr/lib/rpm/brp-python-hardlink [ 27s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.x86_64 [ 27s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/isu.list [ 27s] ~/rpmbuild/BUILDROOT/lsof-4.87-0.x86_64 ~/rpmbuild/BUILD/lsof_4.87-linux-only [ 27s] ~/rpmbuild/BUILD/lsof_4.87-linux-only [ 27s] Processing files: lsof-4.87-0.x86_64 [ 27s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 27s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 27s] [ 27s] Provides: lsof = 4.87-0 lsof(x86-64) = 4.87-0 [ 27s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 27s] Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) [ 27s] Processing files: lsof-debugsource-4.87-0.x86_64 [ 27s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 27s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 27s] [ 27s] Provides: lsof-debugsource = 4.87-0 lsof-debugsource(x86-64) = 4.87-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.87-0.x86_64 [ 27s] Provides: lsof-docs = 4.87-0 lsof-docs(x86-64) = 4.87-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.87-0.x86_64 [ 27s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 27s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 27s] [ 27s] Provides: lsof-debuginfo = 4.87-0 lsof-debuginfo(x86-64) = 4.87-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(x86-64) = 4.87-0 [ 27s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.x86_64 [ 27s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-0.src.rpm [ 28s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-4.87-0.x86_64.rpm [ 28s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-debugsource-4.87-0.x86_64.rpm [ 28s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-docs-4.87-0.x86_64.rpm [ 29s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-debuginfo-4.87-0.x86_64.rpm [ 29s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rZC9F0 [ 29s] + umask 022 [ 29s] + cd /home/abuild/rpmbuild/BUILD [ 29s] + cd lsof_4.87-linux-only [ 29s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.x86_64 [ 29s] + exit 0 [ 29s] ... checking for files with abuild user/group [ 30s] ... creating baselibs [ 30s] [ 30s] ip-192-168-56-115 finished "build lsof.spec" at Thu Nov 28 06:24:38 UTC 2024. [ 30s]