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