[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_5 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 0s] [ 0s] obsnw03 started "build _service:gbs:lsof.spec" at Tue May 31 03:14:59 UTC 2022. [ 0s] [ 0s] Building lsof for project 'Tizen:6.5:Unified' repository 'emulator' arch 'x86_64' srcmd5 '8350c433ce0c9324d8a2208500727052' [ 0s] [ 0s] processing recipe /var/cache/build/root_5/.build-srcdir/_service:gbs:lsof.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_5/.build-srcdir/_service:gbs:lsof.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/5/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_5/.build.rpmlist /var/cache/build/root_5/.build-srcdir/_service:gbs:lsof.spec build rpmlint-Factory ... [ 0s] copying qemu [ 0s] /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 [ 0s] [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/36] preinstalling libmagic-data... [ 1s] [2/36] preinstalling libncurses... [ 1s] [3/36] preinstalling setup... [ 1s] [4/36] preinstalling filesystem... [ 1s] [5/36] preinstalling glibc... [ 1s] [6/36] preinstalling bash... [ 1s] [7/36] preinstalling diffutils... [ 1s] [8/36] preinstalling grep... [ 1s] [9/36] preinstalling libattr... [ 1s] [10/36] preinstalling libbz2... [ 1s] [11/36] preinstalling libcap... [ 1s] [12/36] preinstalling libfreebl3... [ 1s] [13/36] preinstalling libgcc... [ 1s] [14/36] preinstalling liblua... [ 1s] [15/36] preinstalling liblzma... [ 1s] [16/36] preinstalling libpopt... [ 1s] [17/36] preinstalling libreadline... [ 1s] [18/36] preinstalling libsmack... [ 1s] [19/36] preinstalling libsqlite... [ 1s] [20/36] preinstalling libzstd1... [ 1s] [21/36] preinstalling nspr... [ 1s] [22/36] preinstalling sed... [ 1s] [23/36] preinstalling zlib... [ 1s] [24/36] preinstalling coreutils... [ 2s] [25/36] preinstalling libacl... [ 2s] [26/36] preinstalling libelf... [ 2s] [27/36] preinstalling smack... [ 2s] [28/36] preinstalling bzip2... [ 2s] [29/36] preinstalling libmagic... [ 2s] [30/36] preinstalling libxml2... [ 2s] [31/36] preinstalling util-linux... [ 2s] [32/36] preinstalling tar... [ 2s] [33/36] preinstalling util-linux-su... [ 2s] [34/36] preinstalling nss... [ 2s] [35/36] preinstalling libsoftokn3... [ 2s] [36/36] preinstalling rpm... [ 2s] [ 2s] running setup postinstall script [ 2s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 2s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 2s] initializing rpm db... [ 2s] reordering...cycle: libsoftokn3 -> nss [ 2s] breaking dependency nss -> libsoftokn3 [ 2s] done [ 4s] [1/95] installing libmagic-data-5.39-2.50 [ 5s] [2/95] installing setup-0.9-3.1 [ 5s] [3/95] installing filesystem-3.1-1.1 [ 5s] [4/95] installing glibc-2.30-2.10 [ 6s] [5/95] installing bash-3.2.57-2.1 [ 6s] [6/95] installing cpio-2.8-1.1 [ 6s] [7/95] installing diffutils-3.3-1.1 [ 6s] [8/95] installing findutils-4.3.8-2.53 [ 6s] [9/95] installing gdbm-1.8.3-2.127 [ 6s] [10/95] installing hostname-3.23-1.1 [ 7s] [11/95] installing libatomic-9.2.0-1.37 [ 7s] [12/95] installing libattr-2.4.48-1.125 [ 7s] [13/95] installing libblkid-2.36-1.8 [ 7s] [14/95] installing libbz2-1.0.8-2.20 [ 8s] [15/95] installing libcap-2.24-2.53 [ 8s] [16/95] installing libext2fs-1.46.0-1.9 [ 8s] [17/95] installing libfreebl3-3.34.1-1.77 [ 9s] [18/95] installing libgcc-9.2.0-1.37 [ 9s] [19/95] installing libgomp-9.2.0-1.37 [ 9s] [20/95] installing libitm-9.2.0-1.37 [ 10s] [21/95] installing libltdl-2.4.2-1.96 [ 10s] [22/95] installing liblua-5.1.5-1.48 [ 10s] [23/95] installing liblzma-5.2.5-3.10 [ 11s] [24/95] installing libopenssl11-1.1.1l-2.39 [ 11s] [25/95] installing libpcre-8.44-1.22 [ 11s] [26/95] installing libpopt-1.16-1.114 [ 12s] [27/95] installing libquadmath-9.2.0-1.37 [ 12s] [28/95] installing libsmack-1.3.1-2.53 [ 12s] [29/95] installing libsmartcols-2.36-1.8 [ 12s] [30/95] installing libsqlite-3.33.0-1.97 [ 13s] [31/95] installing libuuid-2.36-1.8 [ 13s] [32/95] installing libzstd1-1.4.5-1.47 [ 13s] [33/95] installing m4-1.4.17-1.1 [ 13s] [34/95] installing net-tools-2.0_20121208git-1.1 [ 14s] [35/95] installing nspr-4.12-1.113 [ 14s] [36/95] installing patch-2.7-2.13 [ 14s] [37/95] installing pkg-config-0.28-1.116 [ 14s] [38/95] installing sed-4.1c-2.1 [ 14s] [39/95] installing update-alternatives-1.20.5-1.1 [ 14s] [40/95] installing which-2.17-1.1 [ 14s] [41/95] installing zlib-1.2.11-1.125 [ 14s] [42/95] installing build-compare-2015.04.28-1.36 [ 14s] [43/95] installing terminfo-base-full-6.2-1.94 [ 15s] [44/95] installing coreutils-6.9-1.26 [ 15s] [45/95] installing cpp-9.2.0-1.37 [ 17s] [46/95] installing gawk-3.1.5-1.1 [ 17s] [47/95] installing gcc-c++-9.2.0-1.37 [ 19s] [48/95] installing grep-2.5.2-2.1 [ 19s] [49/95] installing libacl-2.2.53-1.125 [ 19s] [50/95] installing libelf-0.178-2.21 [ 19s] [51/95] installing libmount-2.36-1.8 [ 20s] [52/95] installing libstdc++-9.2.0-1.37 [ 20s] [53/95] installing make-4.0-1.22 [ 20s] [54/95] installing nss-certs-3.34.1-1.77 [ 20s] [55/95] installing smack-1.3.1-2.53 [ 20s] [56/95] installing bzip2-1.0.8-2.20 [ 20s] [57/95] installing libfdisk-2.36-1.8 [ 21s] [58/95] installing libgfortran-9.2.0-1.37 [ 21s] [59/95] installing libmagic-5.39-2.50 [ 21s] [60/95] installing libxml2-2.9.12-1.41 [ 22s] [61/95] installing perl-5.32.0-2.11 [ 25s] [62/95] installing xz-5.2.5-3.10 [ 25s] [63/95] installing build-mkbaselibs-20120927-1.1 [ 25s] [64/95] installing libstdc++-devel-9.2.0-1.37 [ 26s] [65/95] installing file-5.39-2.50 [ 26s] [66/95] installing linux-glibc-devel-3.10-1.131 [ 26s] [67/95] installing tar-1.17-2.1 [ 26s] [68/95] installing autoconf-2.69-1.97 [ 27s] [69/95] installing binutils-2.33.1-2.13 [ 27s] [70/95] installing glibc-locale-2.30-2.10 [ 28s] [71/95] installing gzip-1.3.12-2.114 [ 28s] [72/95] installing libcc1-9.2.0-1.37 [ 28s] [73/95] installing libubsan-9.2.0-1.37 [ 29s] [74/95] installing pam-1.1.6-1.1 [ 29s] [75/95] installing libncurses6-6.2-1.94 [ 29s] [76/95] installing tzdata-2020a-4.1 [ 30s] [77/95] installing libdw-0.178-2.21 [ 30s] [78/95] installing libarchive-3.5.1-2.18 [ 30s] [79/95] installing libncurses-6.2-1.94 [ 30s] [80/95] installing glibc-devel-2.30-2.10 [ 30s] [81/95] installing less-466-1.1 [ 31s] [82/95] installing libreadline-5.2-1.41 [ 31s] [83/95] installing procps-ng-3.3.16-1.1 [ 31s] [84/95] installing automake-1.15.1-1.91 [ 31s] [85/95] installing libasm-0.178-2.21 [ 32s] [86/95] installing build-20120927-1.1 [ 32s] [87/95] installing gcc-9.2.0-1.37 [ 33s] [88/95] installing libtool-2.4.2-1.96 [ 33s] [89/95] installing elfutils-0.178-2.21 [ 33s] [90/95] installing util-linux-2.36-1.8 [ 33s] [91/95] installing util-linux-su-2.36-1.8 [ 33s] [92/95] installing nss-3.34.1-1.77 [ 34s] [93/95] installing libsoftokn3-3.34.1-1.77 [ 34s] [94/95] installing rpm-4.14.1.1-1.70 [ 35s] [95/95] installing rpm-build-4.14.1.1-1.70 [ 36s] removing nis flags from /var/cache/build/root_5/etc/nsswitch.conf... [ 36s] now finalizing build dir... [ 36s] Running build time source services... [ 37s] ----------------------------------------------------------------- [ 37s] I have the following modifications for lsof.spec: [ 37s] 4c4 [ 37s] < Release: 0 [ 37s] --- [ 37s] > Release: 2.4 [ 37s] 42a43 [ 37s] > %changelog [ 37s] ----------------------------------------------------------------- [ 37s] ----- building lsof.spec (user abuild) [ 37s] ----------------------------------------------------------------- [ 37s] ----------------------------------------------------------------- [ 37s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:6.5:Unified/emulator/8350c433ce0c9324d8a2208500727052-lsof' -ba /home/abuild/rpmbuild/SOURCES/lsof.spec [ 37s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.e7vFq1 [ 37s] + umask 022 [ 37s] + cd /home/abuild/rpmbuild/BUILD [ 37s] + cd /home/abuild/rpmbuild/BUILD [ 37s] + rm -rf lsof_4.87-linux-only [ 37s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 37s] + /bin/tar -xof - [ 37s] + STATUS=0 [ 37s] + '[' 0 -ne 0 ']' [ 37s] + cd lsof_4.87-linux-only [ 37s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 37s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 37s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 37s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 37s] patching file usage.c [ 37s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 37s] + exit 0 [ 37s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N36lp0 [ 37s] + umask 022 [ 37s] + cd /home/abuild/rpmbuild/BUILD [ 37s] + cd lsof_4.87-linux-only [ 37s] ++ uname -m [ 37s] + [[ x86_64 == \a\a\r\c\h\6\4 ]] [ 37s] + LANG=C [ 37s] + export LANG [ 37s] + unset DISPLAY [ 37s] + 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' [ 37s] + export CFLAGS [ 37s] + 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' [ 37s] + export CXXFLAGS [ 37s] + 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' [ 37s] + export FFLAGS [ 37s] + LDFLAGS= [ 37s] + export LDFLAGS [ 37s] + LSOF_VSTR=2.6.16 [ 37s] + LINUX_BASE=/proc [ 37s] + ./Configure -n linux [ 37s] Testing C library type with cc ... done [ 37s] The C library type is glibc, version "-DGLIBCV=230". [ 37s] 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 [ 37s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 37s] Testing C library for localtime() and strftime(), using cc ... present [ 37s] ln -s dialects/linux/dfile.c dfile.c [ 37s] ln -s dialects/linux/dlsof.h dlsof.h [ 37s] ln -s dialects/linux/dmnt.c dmnt.c [ 37s] ln -s dialects/linux/dnode.c dnode.c [ 37s] ln -s dialects/linux/dproc.c dproc.c [ 37s] ln -s dialects/linux/dproto.h dproto.h [ 37s] ln -s dialects/linux/dsock.c dsock.c [ 37s] ln -s dialects/linux/dstore.c dstore.c [ 37s] ln -s dialects/linux/machine.h machine.h [ 37s] Makefile and lib/Makefile created. [ 37s] ./tests/config.cc created [ 37s] ./tests/config.cflags created [ 37s] ./tests/config.ldflags created [ 37s] ./tests/config.xobj created [ 37s] + 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 ' -j4 [ 37s] (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\"") [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] In file included from dfile.c:39: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 37s] | ^~~~~ [ 37s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] In file included from dnode.c:39: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 37s] | ^~~~~ [ 37s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] 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 [ 37s] In file included from dmnt.c:39: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 37s] | ^~~~~ [ 37s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 37s] 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 [ 38s] 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 [ 38s] 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 [ 38s] In file included from dproc.c:38: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 38s] | ^~~~~ [ 38s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] 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 [ 38s] 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 [ 38s] dsock.c: In function 'get_icmp': [ 38s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 38s] 746 | MALLOC_S lal, ral, spl; [ 38s] | ^~~ [ 38s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 38s] 745 | unsigned long pr; [ 38s] | ^~ [ 38s] 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 [ 38s] 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 [ 38s] In file included from dsock.c:39: [ 38s] At top level: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 38s] | ^~~~~ [ 38s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] ranlib liblsof.a [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 38s] In file included from dstore.c:39: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 38s] | ^~~~~ [ 38s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] 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 [ 38s] 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 [ 38s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 38s] | ^~~~~ [ 38s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] In file included from main.c:41: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 38s] | ^~~~~ [ 38s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 35 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] dproc.c: In function 'process_id': [ 38s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 38s] 1121 | if (efs) { [ 38s] | ^ [ 38s] main.c: In function 'main': [ 38s] main.c:1318:11: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 38s] 1318 | fmtr[fmtl - 1] = '\0'; [ 38s] | ^ [ 38s] In file included from /usr/include/string.h:494, [ 38s] from dlsof.h:48, [ 38s] from lsof.h:195, [ 38s] from arg.c:39: [ 38s] In function 'strncpy', [ 38s] inlined from 'enter_dir' at arg.c:1135:10: [ 38s] /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] [ 38s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] arg.c: In function 'enter_dir': [ 38s] arg.c:1110:23: note: length computed here [ 38s] 1110 | dnamlen = (MALLOC_S)strlen(dp->d_name); [ 38s] | ^~~~~~~~~~~~~~~~~~ [ 38s] 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 [ 38s] In file included from misc.c:39: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: misc.c,v 1.27 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] In file included from /usr/include/string.h:494, [ 38s] from dlsof.h:48, [ 38s] from lsof.h:195, [ 38s] from dsock.c:39: [ 38s] In function 'strncpy', [ 38s] inlined from 'get_sctpaddrs' at dsock.c:1761:13: [ 38s] /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] [ 38s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] dsock.c: In function 'get_sctpaddrs': [ 38s] dsock.c:1745:51: note: length computed here [ 38s] 1745 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 38s] | ^~~~~~~~~~~~~ [ 38s] 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 [ 38s] In file included from node.c:39: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 38s] | ^~~~~ [ 38s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] 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 [ 38s] 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 [ 38s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] In file included from proc.c:39: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] 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 [ 38s] In file included from /usr/include/string.h:494, [ 38s] from dlsof.h:48, [ 38s] from lsof.h:195, [ 38s] from dsock.c:39: [ 38s] In function 'strncpy', [ 38s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 38s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 38s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] dsock.c: In function 'process_proc_sock': [ 38s] dsock.c:2780:9: note: length computed here [ 38s] 2780 | len = strlen(ip->la); [ 38s] | ^~~~~~~~~~~~~~ [ 38s] In file included from store.c:39: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] Constructing version.h [ 38s] 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 [ 38s] print.c: In function 'printiproto': [ 38s] 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=] [ 38s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 38s] | ^~ [ 38s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 38s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 38s] | ^~~~~~ [ 38s] In file included from /usr/include/stdio.h:867, [ 38s] from lsof.h:58, [ 38s] from print.c:39: [ 38s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 38s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 38s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 38s] | ^~~~~ [ 38s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 40 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] 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 [ 38s] usage.c: In function 'usage': [ 38s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 38s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 38s] | ^~~~~~~~~~ [ 38s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 38s] 64 | char *s; /* string pointer */ [ 38s] | ^ [ 38s] In file included from usage.c:39: [ 38s] At top level: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] print.c: In function 'printuid': [ 38s] 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=] [ 38s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 38s] | ^~~~ [ 38s] print.c:2421:34: note: directive argument in the range [0, 4294967295] [ 38s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 38s] | ^~~~~~ [ 38s] In file included from /usr/include/stdio.h:867, [ 38s] from lsof.h:58, [ 38s] from print.c:39: [ 38s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 11 bytes into a destination of size 9 [ 38s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 38s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 39s] 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 [ 39s] + exit 0 [ 39s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EGcPV2 [ 39s] + umask 022 [ 39s] + cd /home/abuild/rpmbuild/BUILD [ 39s] + cd lsof_4.87-linux-only [ 39s] + LANG=C [ 39s] + export LANG [ 39s] + unset DISPLAY [ 39s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.x86_64 [ 39s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.x86_64 [ 39s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.x86_64/usr/sbin/lsof [ 39s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.x86_64/usr/share/man/man8/lsof.8 [ 39s] + /usr/lib/rpm/find-debuginfo.sh -j4 --build-id-seed 4.87-2.4 --unique-debug-src-base lsof-4.87-2.4.x86_64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 39s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.x86_64/usr/sbin/lsof [ 39s] 942 blocks [ 39s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debuginfo.manifest [ 39s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debugsource.manifest [ 39s] + /usr/lib/rpm/check-buildroot [ 39s] + /usr/lib/rpm//brp-compress [ 39s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 39s] + /usr/lib/rpm/brp-python-hardlink [ 39s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.x86_64 [ 39s] Processing files: lsof-4.87-2.4.x86_64 [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: lsof = 4.87-2.4 lsof(x86-64) = 4.87-2.4 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] 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) [ 39s] Processing files: lsof-debugsource-4.87-2.4.x86_64 [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: lsof-debugsource = 4.87-2.4 lsof-debugsource(x86-64) = 4.87-2.4 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] Processing files: lsof-docs-4.87-2.4.x86_64 [ 39s] Provides: lsof-docs = 4.87-2.4 lsof-docs(x86-64) = 4.87-2.4 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] Processing files: lsof-debuginfo-4.87-2.4.x86_64 [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: lsof-debuginfo = 4.87-2.4 lsof-debuginfo(x86-64) = 4.87-2.4 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] Recommends: lsof-debugsource(x86-64) = 4.87-2.4 [ 39s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.x86_64 [ 39s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.4.src.rpm [ 39s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-4.87-2.4.x86_64.rpm [ 39s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-debugsource-4.87-2.4.x86_64.rpm [ 39s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-docs-4.87-2.4.x86_64.rpm [ 39s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-debuginfo-4.87-2.4.x86_64.rpm [ 39s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9fjJn3 [ 39s] + umask 022 [ 39s] + cd /home/abuild/rpmbuild/BUILD [ 39s] + cd lsof_4.87-linux-only [ 39s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.x86_64 [ 39s] + exit 0 [ 39s] ... checking for files with abuild user/group [ 39s] ... creating baselibs [ 39s] ... comparing built packages with the former built [ 39s] /usr/lib/build/pkg-diff.sh [ 39s] compare /.build.oldpackages/lsof-4.87-2.3.src.rpm /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.4.src.rpm [ 39s] This is not a prerelease project. Compare the project name. [ 39s] comparing rpmtags [ 39s] comparing RELEASE [ 39s] comparing PROVIDES [ 39s] comparing scripts [ 39s] comparing filelist [ 39s] comparing file checksum [ 39s] RPM meta information is identical [ 39s] compare /.build.oldpackages/lsof-4.87-2.3.x86_64.rpm /home/abuild/rpmbuild/RPMS/x86_64/lsof-4.87-2.4.x86_64.rpm [ 40s] Comparing lsof-4.87-2.3.x86_64.rpm to lsof-4.87-2.4.x86_64.rpm [ 40s] This is not a prerelease project. Compare the project name. [ 40s] comparing rpmtags [ 40s] comparing RELEASE [ 40s] comparing PROVIDES [ 40s] comparing scripts [ 40s] comparing filelist [ 40s] comparing file checksum [ 40s] creating rename script [ 40s] RPM file checksum differs. [ 40s] Extracting packages [ 41s] /usr/sbin/lsof differs in ELF section .rodata [ 41s] --- /tmp/tmp.vqgLC62525/tmp.reKnX63023 2022-05-31 03:15:39.961009617 +0000 [ 41s] +++ /tmp/tmp.vqgLC62525/tmp.qmMfM63024 2022-05-31 03:15:40.001009962 +0000 [ 41s] @@ -1035,7 +1035,7 @@ [ 41s] 25060 73464151 0a002020 2020636f 6e666967 sFAQ.. config [ 41s] 25070 75726174 696f6e20 696e666f 3a202573 uration info: %s [ 41s] 25080 0a002020 2020636f 6e737472 75637465 .. constructe [ 41s] - 25090 643a2025 730a006f 62736e77 31310061 d: %s..obsnw11.a [ 41s] + 25090 643a2025 730a006f 62736e77 30330061 d: %s..obsnw03.a [ 41s] 250a0 6275696c 64002020 2020636f 6e737472 build. constr [ 41s] 250b0 75637465 64202573 3a202573 25732573 ucted %s: %s%s%s [ 41s] 250c0 0a002020 20206275 696c6465 72277320 .. builder's [ 41s] @@ -1132,7 +1132,7 @@ [ 41s] 25670 6167653a 2025736c 736f665f 6d616e0a age: %slsof_man. [ 41s] 25680 00000000 00000000 392e322e 30202854 ........9.2.0 (T [ 41s] 25690 697a656e 20474343 20392e32 2e302032 izen GCC 9.2.0 2 [ 41s] - 256a0 30313930 38313220 312e3332 29200000 0190812 1.32) .. [ 41s] + 256a0 30313930 38313220 312e3337 29200000 0190812 1.37) .. [ 41s] 256b0 2d444c49 4e555856 3d333130 30303020 -DLINUXV=310000 [ 41s] 256c0 2d44474c 49424356 3d323330 202d4448 -DGLIBCV=230 -DH [ 41s] 256d0 41534950 7636202d 445f4649 4c455f4f ASIPv6 -D_FILE_O [ 41s] @@ -1163,7 +1163,7 @@ [ 41s] 25860 2d746162 6c657320 2d666e6f 2d6f6d69 -tables -fno-omi [ 41s] 25870 742d6672 616d652d 706f696e 74657220 t-frame-pointer [ 41s] 25880 2d67202d 66504943 00000000 00000000 -g -fPIC........ [ 41s] - 25890 4c696e75 78206f62 736e7731 3120342e Linux obsnw11 4. [ 41s] + 25890 4c696e75 78206f62 736e7730 3320342e Linux obsnw03 4. [ 41s] 258a0 342e302d 3134322d 67656e65 72696320 4.0-142-generic [ 41s] 258b0 23313638 2d556275 6e747520 534d5020 #168-Ubuntu SMP [ 41s] 258c0 57656420 4a616e20 31362032 313a3030 Wed Jan 16 21:00 [ 41s] compare /.build.oldpackages/lsof-debuginfo-4.87-2.3.x86_64.rpm /home/abuild/rpmbuild/RPMS/x86_64/lsof-debuginfo-4.87-2.4.x86_64.rpm [ 41s] skipping -debuginfo package [ 41s] compare /.build.oldpackages/lsof-debugsource-4.87-2.3.x86_64.rpm /home/abuild/rpmbuild/RPMS/x86_64/lsof-debugsource-4.87-2.4.x86_64.rpm [ 41s] Comparing lsof-debugsource-4.87-2.3.x86_64.rpm to lsof-debugsource-4.87-2.4.x86_64.rpm [ 41s] This is not a prerelease project. Compare the project name. [ 41s] comparing rpmtags [ 41s] comparing RELEASE [ 41s] comparing PROVIDES [ 41s] comparing scripts [ 41s] comparing filelist [ 41s] comparing file checksum [ 41s] creating rename script [ 41s] RPM meta information is identical [ 41s] compare /.build.oldpackages/lsof-docs-4.87-2.3.x86_64.rpm /home/abuild/rpmbuild/RPMS/x86_64/lsof-docs-4.87-2.4.x86_64.rpm [ 41s] Comparing lsof-docs-4.87-2.3.x86_64.rpm to lsof-docs-4.87-2.4.x86_64.rpm [ 41s] This is not a prerelease project. Compare the project name. [ 41s] comparing rpmtags [ 41s] comparing RELEASE [ 41s] comparing PROVIDES [ 41s] comparing scripts [ 41s] comparing filelist [ 41s] comparing file checksum [ 41s] creating rename script [ 41s] RPM meta information is identical [ 41s] [ 41s] obsnw03 finished "build lsof.spec" at Tue May 31 03:15:40 UTC 2022. [ 41s]