[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_8 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 1s] [ 1s] obsnw07 started "build _service:gbs:lsof.spec" at Wed Nov 4 03:11:24 UTC 2020. [ 1s] [ 1s] Building lsof for project 'Tizen:6.0:Unified:Hotfix' repository 'emulator' arch 'x86_64' srcmd5 '5dbcf74d6bc9a6fdc3f91e638daf40ac' [ 1s] [ 1s] processing recipe /var/cache/build/root_8/.build-srcdir/_service:gbs:lsof.spec ... [ 1s] running changelog2spec --target rpm --file /var/cache/build/root_8/.build-srcdir/_service:gbs:lsof.spec [ 1s] init_buildsystem --configdir /var/run/obs/worker/8/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_8/.build.rpmlist /var/cache/build/root_8/.build-srcdir/_service:gbs:lsof.spec build rpmlint-Factory ... [ 1s] copying qemu [ 1s] /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 [ 1s] [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/35] preinstalling libmagic-data... [ 1s] [2/35] preinstalling libncurses... [ 1s] [3/35] preinstalling setup... [ 1s] [4/35] preinstalling filesystem... [ 1s] [5/35] preinstalling glibc... [ 1s] [6/35] preinstalling bash... [ 2s] [7/35] preinstalling diffutils... [ 2s] [8/35] preinstalling grep... [ 2s] [9/35] preinstalling libattr... [ 2s] [10/35] preinstalling libbz2... [ 2s] [11/35] preinstalling libcap... [ 2s] [12/35] preinstalling libfreebl3... [ 2s] [13/35] preinstalling libgcc... [ 2s] [14/35] preinstalling liblua... [ 2s] [15/35] preinstalling liblzma... [ 2s] [16/35] preinstalling libpopt... [ 2s] [17/35] preinstalling libreadline... [ 2s] [18/35] preinstalling libsmack... [ 2s] [19/35] preinstalling libsqlite... [ 2s] [20/35] preinstalling nspr... [ 2s] [21/35] preinstalling sed... [ 2s] [22/35] preinstalling zlib... [ 2s] [23/35] preinstalling coreutils... [ 2s] [24/35] preinstalling libacl... [ 2s] [25/35] preinstalling libelf... [ 2s] [26/35] preinstalling smack... [ 2s] [27/35] preinstalling bzip2... [ 2s] [28/35] preinstalling libmagic... [ 2s] [29/35] preinstalling libxml2... [ 2s] [30/35] preinstalling util-linux... [ 2s] [31/35] preinstalling tar... [ 2s] [32/35] preinstalling util-linux-su... [ 2s] [33/35] preinstalling nss... [ 2s] [34/35] preinstalling libsoftokn3... [ 2s] [35/35] 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... [ 3s] reordering...cycle: libsoftokn3 -> nss [ 3s] breaking dependency nss -> libsoftokn3 [ 3s] done [ 3s] [1/92] installing libmagic-data-5.37-1.62 [ 3s] [2/92] installing setup-0.9-1.1 [ 3s] [3/92] installing filesystem-3.1-1.1 [ 3s] [4/92] installing glibc-2.30-1.12 [ 3s] [5/92] installing bash-3.2.57-1.1 [ 3s] [6/92] installing cpio-2.11-1.1 [ 4s] [7/92] installing diffutils-3.3-1.1 [ 4s] [8/92] installing findutils-4.3.8-1.64 [ 4s] [9/92] installing gdbm-1.8.3-1.68 [ 4s] [10/92] installing hostname-3.23-1.1 [ 4s] [11/92] installing libatomic-9.2.0-1.9 [ 4s] [12/92] installing libattr-2.4.47-1.68 [ 4s] [13/92] installing libblkid-2.34-1.1 [ 5s] [14/92] installing libbz2-1.0.8-1.64 [ 5s] [15/92] installing libcap-2.24-1.67 [ 5s] [16/92] installing libext2fs-1.43.4-1.1 [ 6s] [17/92] installing libfreebl3-3.34.1-1.35 [ 6s] [18/92] installing libgcc-9.2.0-1.9 [ 6s] [19/92] installing libgomp-9.2.0-1.9 [ 7s] [20/92] installing libitm-9.2.0-1.9 [ 7s] [21/92] installing libltdl-2.4.2-1.45 [ 7s] [22/92] installing liblua-5.1.5-1.23 [ 7s] [23/92] installing liblzma-5.2.4-1.51 [ 8s] [24/92] installing libpcre-8.43-1.4 [ 8s] [25/92] installing libpopt-1.16-1.67 [ 8s] [26/92] installing libquadmath-9.2.0-1.9 [ 8s] [27/92] installing libsmack-1.3.1-1.64 [ 9s] [28/92] installing libsmartcols-2.34-1.1 [ 9s] [29/92] installing libsqlite-3.31.1-1.54 [ 9s] [30/92] installing libuuid-2.34-1.1 [ 10s] [31/92] installing m4-1.4.17-1.1 [ 10s] [32/92] installing net-tools-2.0_20121208git-1.1 [ 10s] [33/92] installing nspr-4.12-1.64 [ 10s] [34/92] installing patch-2.7-1.66 [ 10s] [35/92] installing pkg-config-0.28-1.62 [ 10s] [36/92] installing sed-4.1c-1.1 [ 10s] [37/92] installing update-alternatives-1.18.15-1.1 [ 10s] [38/92] installing which-2.20-1.1 [ 10s] [39/92] installing zlib-1.2.11-1.66 [ 10s] [40/92] installing build-compare-2015.04.28-1.13 [ 10s] [41/92] installing terminfo-base-full-6.1_20191207-1.49 [ 11s] [42/92] installing coreutils-6.9-1.7 [ 11s] [43/92] installing cpp-9.2.0-1.9 [ 12s] [44/92] installing gawk-3.1.5-1.1 [ 12s] [45/92] installing gcc-c++-9.2.0-1.9 [ 13s] [46/92] installing grep-2.5.2-1.1 [ 13s] [47/92] installing libacl-2.2.52-1.68 [ 13s] [48/92] installing libelf-0.178-1.6 [ 13s] [49/92] installing libmount-2.34-1.1 [ 13s] [50/92] installing libstdc++-9.2.0-1.9 [ 14s] [51/92] installing make-4.0-1.6 [ 14s] [52/92] installing nss-certs-3.34.1-1.35 [ 14s] [53/92] installing smack-1.3.1-1.64 [ 14s] [54/92] installing bzip2-1.0.8-1.64 [ 14s] [55/92] installing libfdisk-2.34-1.1 [ 14s] [56/92] installing libgfortran-9.2.0-1.9 [ 15s] [57/92] installing libmagic-5.37-1.62 [ 15s] [58/92] installing libxml2-2.9.10-1.21 [ 15s] [59/92] installing perl-5.30.0-1.34 [ 17s] [60/92] installing xz-5.2.4-1.51 [ 17s] [61/92] installing build-mkbaselibs-20120927-1.1 [ 17s] [62/92] installing libstdc++-devel-9.2.0-1.9 [ 18s] [63/92] installing file-5.37-1.62 [ 18s] [64/92] installing linux-glibc-devel-3.10-1.66 [ 18s] [65/92] installing tar-1.17-1.1 [ 18s] [66/92] installing autoconf-2.69-1.31 [ 19s] [67/92] installing binutils-2.33.1-1.21 [ 19s] [68/92] installing glibc-locale-2.30-1.12 [ 20s] [69/92] installing gzip-1.3.12-1.66 [ 20s] [70/92] installing libcc1-9.2.0-1.9 [ 20s] [71/92] installing libubsan-9.2.0-1.9 [ 20s] [72/92] installing pam-1.1.6-1.1 [ 21s] [73/92] installing libncurses6-6.1_20191207-1.49 [ 21s] [74/92] installing tzdata-2019c-1.1 [ 21s] [75/92] installing libdw-0.178-1.6 [ 21s] [76/92] installing libncurses-6.1_20191207-1.49 [ 22s] [77/92] installing glibc-devel-2.30-1.12 [ 22s] [78/92] installing less-466-1.1 [ 22s] [79/92] installing libreadline-5.2-1.17 [ 23s] [80/92] installing procps-ng-3.3.15-1.1 [ 23s] [81/92] installing automake-1.15.1-1.32 [ 23s] [82/92] installing libasm-0.178-1.6 [ 23s] [83/92] installing build-20120927-1.1 [ 23s] [84/92] installing gcc-9.2.0-1.9 [ 24s] [85/92] installing libtool-2.4.2-1.45 [ 24s] [86/92] installing elfutils-0.178-1.6 [ 24s] [87/92] installing util-linux-2.34-1.1 [ 24s] [88/92] installing util-linux-su-2.34-1.1 [ 24s] [89/92] installing nss-3.34.1-1.35 [ 25s] [90/92] installing libsoftokn3-3.34.1-1.35 [ 25s] [91/92] installing rpm-4.11.0.1-1.38 [ 26s] [92/92] installing rpm-build-4.11.0.1-1.38 [ 26s] removing nis flags from /var/cache/build/root_8/etc/nsswitch.conf... [ 26s] now finalizing build dir... [ 26s] Running build time source services... [ 26s] ----------------------------------------------------------------- [ 26s] I have the following modifications for lsof.spec: [ 26s] 4c4 [ 26s] < Release: 0 [ 26s] --- [ 26s] > Release: 1.2 [ 26s] 42a43 [ 26s] > %changelog [ 26s] ----------------------------------------------------------------- [ 26s] ----- building lsof.spec (user abuild) [ 26s] ----------------------------------------------------------------- [ 26s] ----------------------------------------------------------------- [ 26s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:6.0:Unified:Hotfix/emulator/5dbcf74d6bc9a6fdc3f91e638daf40ac-lsof' -ba /home/abuild/rpmbuild/SOURCES/lsof.spec [ 26s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mtkP5g [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + rm -rf lsof_4.87-linux-only [ 26s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 26s] + /bin/tar -xf - [ 26s] + STATUS=0 [ 26s] + '[' 0 -ne 0 ']' [ 26s] + cd lsof_4.87-linux-only [ 26s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 26s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 26s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 26s] + /bin/cat /home/abuild/rpmbuild/SOURCES/0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch [ 26s] + /bin/patch -p1 --fuzz=2 [ 26s] patching file usage.c [ 26s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 26s] + exit 0 [ 26s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uj9Qlj [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd lsof_4.87-linux-only [ 26s] + [[ x86_64 == \a\a\r\c\h\6\4 ]] [ 26s] + LANG=C [ 26s] + export LANG [ 26s] + unset DISPLAY [ 26s] + 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' [ 26s] + export CFLAGS [ 26s] + 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' [ 26s] + export CXXFLAGS [ 26s] + 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' [ 26s] + export FFLAGS [ 26s] + LDFLAGS= [ 26s] + export LDFLAGS [ 26s] + LSOF_VSTR=2.6.16 [ 26s] + LINUX_BASE=/proc [ 26s] + ./Configure -n linux [ 26s] Testing C library type with cc ... done [ 26s] The C library type is glibc, version "-DGLIBCV=230". [ 26s] 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 [ 26s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 26s] Testing C library for localtime() and strftime(), using cc ... present [ 26s] ln -s dialects/linux/dfile.c dfile.c [ 26s] ln -s dialects/linux/dlsof.h dlsof.h [ 26s] ln -s dialects/linux/dmnt.c dmnt.c [ 26s] ln -s dialects/linux/dnode.c dnode.c [ 26s] ln -s dialects/linux/dproc.c dproc.c [ 26s] ln -s dialects/linux/dproto.h dproto.h [ 26s] ln -s dialects/linux/dsock.c dsock.c [ 26s] ln -s dialects/linux/dstore.c dstore.c [ 26s] ln -s dialects/linux/machine.h machine.h [ 26s] Makefile and lib/Makefile created. [ 26s] ./tests/config.cc created [ 26s] ./tests/config.cflags created [ 26s] ./tests/config.ldflags created [ 26s] ./tests/config.xobj created [ 26s] + 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' -j4 [ 26s] (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\"") [ 26s] 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 [ 26s] 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 [ 26s] 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 [ 26s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 26s] 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 [ 26s] 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 [ 26s] 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 [ 26s] In file included from dfile.c:39: [ 26s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 26s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 26s] | ^~~~~~~~~~ [ 26s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 26s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 26s] | ^~~~~ [ 26s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 26s] 33 | static char copyright[] = [ 26s] | ^~~~~~~~~ [ 26s] In file included from dmnt.c:39: [ 26s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 26s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 26s] | ^~~~~~~~~~ [ 26s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 26s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 26s] | ^~~~~ [ 26s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 26s] 33 | static char copyright[] = [ 26s] | ^~~~~~~~~ [ 26s] 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 [ 26s] In file included from dnode.c:39: [ 26s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 26s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 26s] | ^~~~~~~~~~ [ 26s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 26s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 26s] | ^~~~~ [ 26s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 26s] 33 | static char copyright[] = [ 26s] | ^~~~~~~~~ [ 26s] 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 [ 26s] 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 [ 26s] 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 [ 26s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] In file included from dproc.c:38: [ 27s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 27s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 27s] | ^~~~~~~~~~ [ 27s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 27s] | ^~~~~ [ 27s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] 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 [ 27s] 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 [ 27s] 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 [ 27s] dsock.c: In function 'get_icmp': [ 27s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 27s] 746 | MALLOC_S lal, ral, spl; [ 27s] | ^~~ [ 27s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 27s] 745 | unsigned long pr; [ 27s] | ^~ [ 27s] 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 [ 27s] 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 [ 27s] ranlib liblsof.a [ 27s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 27s] 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 [ 27s] In file included from dstore.c:39: [ 27s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 27s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 27s] | ^~~~~~~~~~ [ 27s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 27s] | ^~~~~ [ 27s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] In file included from dsock.c:39: [ 27s] At top level: [ 27s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 27s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 27s] | ^~~~~~~~~~ [ 27s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 27s] | ^~~~~ [ 27s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] 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 [ 27s] In file included from main.c:41: [ 27s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 27s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 27s] | ^~~~~~~~~~ [ 27s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 27s] | ^~~~~ [ 27s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 35 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 27s] | ^~~~~ [ 27s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] dproc.c: In function 'process_id': [ 27s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 27s] 1121 | if (efs) { [ 27s] | ^ [ 27s] main.c: In function 'main': [ 27s] main.c:1318:11: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 27s] 1318 | fmtr[fmtl - 1] = '\0'; [ 27s] | ^ [ 27s] In file included from /usr/include/string.h:494, [ 27s] from dlsof.h:48, [ 27s] from lsof.h:195, [ 27s] from arg.c:39: [ 27s] In function 'strncpy', [ 27s] inlined from 'enter_dir' at arg.c:1135:10: [ 27s] /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] [ 27s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 27s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 27s] arg.c: In function 'enter_dir': [ 27s] arg.c:1110:23: note: length computed here [ 27s] 1110 | dnamlen = (MALLOC_S)strlen(dp->d_name); [ 27s] | ^~~~~~~~~~~~~~~~~~ [ 27s] 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 [ 27s] In file included from misc.c:39: [ 27s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 27s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 27s] | ^~~~~~~~~~ [ 27s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: misc.c,v 1.27 2013/01/02 17:14:59 abe Exp $"; [ 27s] | ^~~~~ [ 27s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] In file included from /usr/include/string.h:494, [ 27s] from dlsof.h:48, [ 27s] from lsof.h:195, [ 27s] from dsock.c:39: [ 27s] In function 'strncpy', [ 27s] inlined from 'get_sctpaddrs' at dsock.c:1761:13: [ 27s] /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] [ 27s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 27s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 27s] dsock.c: In function 'get_sctpaddrs': [ 27s] dsock.c:1745:51: note: length computed here [ 27s] 1745 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 27s] | ^~~~~~~~~~~~~ [ 27s] 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 [ 27s] In file included from node.c:39: [ 27s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 27s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 27s] | ^~~~~~~~~~ [ 27s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 27s] | ^~~~~ [ 27s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] 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 [ 27s] 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 [ 27s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 27s] | ^~~~~ [ 27s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] In file included from proc.c:39: [ 27s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 27s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 27s] | ^~~~~~~~~~ [ 27s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 27s] | ^~~~~ [ 27s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] 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 [ 27s] In file included from /usr/include/string.h:494, [ 27s] from dlsof.h:48, [ 27s] from lsof.h:195, [ 27s] from dsock.c:39: [ 27s] In function 'strncpy', [ 27s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 27s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 27s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 27s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 27s] dsock.c: In function 'process_proc_sock': [ 27s] dsock.c:2780:9: note: length computed here [ 27s] 2780 | len = strlen(ip->la); [ 27s] | ^~~~~~~~~~~~~~ [ 27s] print.c: In function 'printiproto': [ 27s] 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=] [ 27s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 27s] | ^~ [ 27s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 27s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 27s] | ^~~~~~ [ 27s] In file included from /usr/include/stdio.h:867, [ 27s] from lsof.h:58, [ 27s] from print.c:39: [ 27s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 27s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 27s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 27s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 27s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 27s] In file included from store.c:39: [ 27s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 27s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 27s] | ^~~~~~~~~~ [ 27s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 27s] | ^~~~~ [ 27s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] Constructing version.h [ 27s] 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 [ 27s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 27s] | ^~~~~ [ 27s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 40 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 27s] 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 [ 27s] print.c: In function 'printuid': [ 27s] 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=] [ 27s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 27s] | ^~~~ [ 27s] print.c:2421:34: note: directive argument in the range [0, 4294967295] [ 27s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 27s] | ^~~~~~ [ 27s] In file included from /usr/include/stdio.h:867, [ 27s] from lsof.h:58, [ 27s] from print.c:39: [ 27s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 11 bytes into a destination of size 9 [ 27s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 27s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 27s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 27s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 27s] usage.c: In function 'usage': [ 27s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 27s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 27s] | ^~~~~~~~~~ [ 27s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 27s] 64 | char *s; /* string pointer */ [ 27s] | ^ [ 27s] In file included from usage.c:39: [ 27s] At top level: [ 27s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 27s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 27s] | ^~~~~~~~~~ [ 27s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 27s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 27s] | ^~~~~ [ 27s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 27s] 33 | static char copyright[] = [ 27s] | ^~~~~~~~~ [ 28s] 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 [ 28s] + exit 0 [ 28s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HhZMdj [ 28s] + umask 022 [ 28s] + cd /home/abuild/rpmbuild/BUILD [ 28s] + cd lsof_4.87-linux-only [ 28s] + LANG=C [ 28s] + export LANG [ 28s] + unset DISPLAY [ 28s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.x86_64 [ 28s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.x86_64 [ 28s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.x86_64/usr/sbin/lsof [ 28s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.x86_64/usr/share/man/man8/lsof.8 [ 28s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 28s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.x86_64/usr/sbin/lsof [ 28s] 942 blocks [ 28s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debuginfo.manifest [ 28s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debugsource.manifest [ 28s] + /usr/lib/rpm/check-buildroot [ 28s] + /usr/lib/rpm//brp-compress [ 28s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 28s] + /usr/lib/rpm/brp-python-hardlink [ 28s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.x86_64 [ 28s] Processing files: lsof-4.87-1.2.x86_64 [ 28s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 28s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 28s] [ 28s] Provides: lsof = 4.87-1.2 lsof(x86-64) = 4.87-1.2 [ 28s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 28s] 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) [ 28s] Processing files: lsof-debugsource-4.87-1.2.x86_64 [ 28s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 28s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 28s] [ 28s] Provides: lsof-debugsource = 4.87-1.2 lsof-debugsource(x86-64) = 4.87-1.2 [ 28s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 28s] Processing files: lsof-docs-4.87-1.2.x86_64 [ 28s] Provides: lsof-docs = 4.87-1.2 lsof-docs(x86-64) = 4.87-1.2 [ 28s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 28s] Processing files: lsof-debuginfo-4.87-1.2.x86_64 [ 28s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 28s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 28s] [ 28s] Provides: lsof-debuginfo = 4.87-1.2 lsof-debuginfo(x86-64) = 4.87-1.2 [ 28s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 28s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.x86_64 [ 28s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-1.2.src.rpm [ 28s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-4.87-1.2.x86_64.rpm [ 28s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-debugsource-4.87-1.2.x86_64.rpm [ 28s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-docs-4.87-1.2.x86_64.rpm [ 28s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/lsof-debuginfo-4.87-1.2.x86_64.rpm [ 28s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6tbqkl [ 28s] + umask 022 [ 28s] + cd /home/abuild/rpmbuild/BUILD [ 28s] + cd lsof_4.87-linux-only [ 28s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.x86_64 [ 28s] + exit 0 [ 28s] ... checking for files with abuild user/group [ 28s] ... creating baselibs [ 28s] ... comparing built packages with the former built [ 28s] /usr/lib/build/pkg-diff.sh [ 28s] compare /.build.oldpackages/lsof-4.87-1.1.src.rpm /home/abuild/rpmbuild/SRPMS/lsof-4.87-1.2.src.rpm [ 28s] This is not a prerelease project. Compare the project name. [ 28s] comparing rpmtags [ 28s] comparing RELEASE [ 28s] comparing PROVIDES [ 28s] comparing scripts [ 28s] comparing filelist [ 28s] comparing file checksum [ 28s] RPM meta information is identical [ 29s] compare /.build.oldpackages/lsof-4.87-1.1.x86_64.rpm /home/abuild/rpmbuild/RPMS/x86_64/lsof-4.87-1.2.x86_64.rpm [ 29s] Comparing lsof-4.87-1.1.x86_64.rpm to lsof-4.87-1.2.x86_64.rpm [ 29s] This is not a prerelease project. Compare the project name. [ 29s] comparing rpmtags [ 29s] comparing RELEASE [ 29s] comparing PROVIDES [ 29s] comparing scripts [ 29s] comparing filelist [ 29s] comparing file checksum [ 29s] creating rename script [ 29s] RPM file checksum differs. [ 29s] Extracting packages [ 29s] /usr/sbin/lsof differs in ELF section .rodata [ 29s] --- /tmp/tmp.rbGs103529/tmp.XUbu103649 2020-11-04 03:11:52.590950978 +0000 [ 29s] +++ /tmp/tmp.rbGs103529/tmp.qgPd103650 2020-11-04 03:11:52.598950698 +0000 [ 29s] @@ -1129,7 +1129,7 @@ [ 29s] 422640 73464151 0a002020 2020636f 6e666967 sFAQ.. config [ 29s] 422650 75726174 696f6e20 696e666f 3a202573 uration info: %s [ 29s] 422660 0a002020 2020636f 6e737472 75637465 .. constructe [ 29s] - 422670 643a2025 730a006f 62737077 30320061 d: %s..obspw02.a [ 29s] + 422670 643a2025 730a006f 62736e77 30370061 d: %s..obsnw07.a [ 29s] 422680 6275696c 64002020 2020636f 6e737472 build. constr [ 29s] 422690 75637465 64202573 3a202573 25732573 ucted %s: %s%s%s [ 29s] 4226a0 0a002020 20206275 696c6465 72277320 .. builder's [ 29s] @@ -1227,7 +1227,7 @@ [ 29s] 422c60 6167653a 2025736c 736f665f 6d616e0a age: %slsof_man. [ 29s] 422c70 00000000 00000000 392e322e 30202854 ........9.2.0 (T [ 29s] 422c80 697a656e 20474343 20392e32 2e302032 izen GCC 9.2.0 2 [ 29s] - 422c90 30313930 38313220 322e3131 29200000 0190812 2.11) .. [ 29s] + 422c90 30313930 38313220 312e3929 20000000 0190812 1.9) ... [ 29s] 422ca0 2d444c49 4e555856 3d333130 30303020 -DLINUXV=310000 [ 29s] 422cb0 2d44474c 49424356 3d323330 202d4448 -DGLIBCV=230 -DH [ 29s] 422cc0 41534950 7636202d 445f4649 4c455f4f ASIPv6 -D_FILE_O [ 29s] @@ -1258,7 +1258,7 @@ [ 29s] 422e50 2d746162 6c657320 2d666e6f 2d6f6d69 -tables -fno-omi [ 29s] 422e60 742d6672 616d652d 706f696e 74657220 t-frame-pointer [ 29s] 422e70 2d670000 00000000 4c696e75 78206f62 -g......Linux ob [ 29s] - 422e80 73707730 3220342e 342e302d 3134322d spw02 4.4.0-142- [ 29s] + 422e80 736e7730 3720342e 342e302d 3134322d snw07 4.4.0-142- [ 29s] 422e90 67656e65 72696320 23313638 2d556275 generic #168-Ubu [ 29s] 422ea0 6e747520 534d5020 57656420 4a616e20 ntu SMP Wed Jan [ 29s] 422eb0 31362032 313a3030 3a343520 55544320 16 21:00:45 UTC [ 29s] compare /.build.oldpackages/lsof-debuginfo-4.87-1.1.x86_64.rpm /home/abuild/rpmbuild/RPMS/x86_64/lsof-debuginfo-4.87-1.2.x86_64.rpm [ 29s] skipping -debuginfo package [ 29s] compare /.build.oldpackages/lsof-debugsource-4.87-1.1.x86_64.rpm /home/abuild/rpmbuild/RPMS/x86_64/lsof-debugsource-4.87-1.2.x86_64.rpm [ 29s] Comparing lsof-debugsource-4.87-1.1.x86_64.rpm to lsof-debugsource-4.87-1.2.x86_64.rpm [ 29s] This is not a prerelease project. Compare the project name. [ 29s] comparing rpmtags [ 29s] comparing RELEASE [ 29s] comparing PROVIDES [ 29s] comparing scripts [ 29s] comparing filelist [ 29s] comparing file checksum [ 29s] creating rename script [ 29s] RPM meta information is identical [ 29s] compare /.build.oldpackages/lsof-docs-4.87-1.1.x86_64.rpm /home/abuild/rpmbuild/RPMS/x86_64/lsof-docs-4.87-1.2.x86_64.rpm [ 29s] Comparing lsof-docs-4.87-1.1.x86_64.rpm to lsof-docs-4.87-1.2.x86_64.rpm [ 29s] This is not a prerelease project. Compare the project name. [ 29s] comparing rpmtags [ 29s] comparing RELEASE [ 29s] comparing PROVIDES [ 29s] comparing scripts [ 29s] comparing filelist [ 29s] comparing file checksum [ 30s] creating rename script [ 30s] RPM meta information is identical [ 30s] [ 30s] obsnw07 finished "build lsof.spec" at Wed Nov 4 03:11:53 UTC 2020. [ 30s]