[ 0s] Memory limit set to 82441108KB [ 0s] Using BUILD_ROOT=/var/cache/build/root_4 [ 0s] Using BUILD_ARCH=i586:i486:i386 [ 0s] [ 0s] [ 0s] obsnw03 started "build _service:gbs:lsof.spec" at Wed Nov 4 03:11:51 UTC 2020. [ 0s] [ 0s] Building lsof for project 'Tizen:6.0:Unified:Hotfix' repository 'emulator' arch 'i586' srcmd5 '5dbcf74d6bc9a6fdc3f91e638daf40ac' [ 0s] [ 0s] processing recipe /var/cache/build/root_4/.build-srcdir/_service:gbs:lsof.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_4/.build-srcdir/_service:gbs:lsof.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/4/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_4/.build.rpmlist /var/cache/build/root_4/.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] [ 0s] cycle: libsoftokn3 -> nss [ 0s] breaking dependency nss -> libsoftokn3 [ 0s] [1/35] preinstalling libmagic-data... [ 0s] [2/35] preinstalling libncurses... [ 0s] [3/35] preinstalling setup... [ 0s] [4/35] preinstalling filesystem... [ 0s] [5/35] preinstalling glibc... [ 1s] [6/35] preinstalling bash... [ 1s] [7/35] preinstalling diffutils... [ 1s] [8/35] preinstalling grep... [ 1s] [9/35] preinstalling libattr... [ 1s] [10/35] preinstalling libbz2... [ 1s] [11/35] preinstalling libcap... [ 1s] [12/35] preinstalling libfreebl3... [ 1s] [13/35] preinstalling libgcc... [ 1s] [14/35] preinstalling liblua... [ 1s] [15/35] preinstalling liblzma... [ 1s] [16/35] preinstalling libpopt... [ 1s] [17/35] preinstalling libreadline... [ 1s] [18/35] preinstalling libsmack... [ 1s] [19/35] preinstalling libsqlite... [ 1s] [20/35] preinstalling nspr... [ 1s] [21/35] preinstalling sed... [ 1s] [22/35] preinstalling zlib... [ 1s] [23/35] preinstalling coreutils... [ 1s] [24/35] preinstalling libacl... [ 1s] [25/35] preinstalling libelf... [ 1s] [26/35] preinstalling smack... [ 1s] [27/35] preinstalling bzip2... [ 1s] [28/35] preinstalling libmagic... [ 1s] [29/35] preinstalling libxml2... [ 1s] [30/35] preinstalling util-linux... [ 1s] [31/35] preinstalling tar... [ 1s] [32/35] preinstalling util-linux-su... [ 1s] [33/35] preinstalling nss... [ 1s] [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... [ 2s] reordering...cycle: libsoftokn3 -> nss [ 2s] breaking dependency nss -> libsoftokn3 [ 2s] done [ 2s] [1/92] installing libmagic-data-5.37-1.62 [ 2s] [2/92] installing setup-0.9-1.1 [ 2s] [3/92] installing filesystem-3.1-1.1 [ 2s] [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 [ 3s] [7/92] installing diffutils-3.3-1.1 [ 3s] [8/92] installing findutils-4.3.8-1.64 [ 3s] [9/92] installing gdbm-1.8.3-1.68 [ 3s] [10/92] installing hostname-3.23-1.1 [ 3s] [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 [ 4s] [14/92] installing libbz2-1.0.8-1.64 [ 9s] [15/92] installing libcap-2.24-1.67 [ 9s] [16/92] installing libext2fs-1.43.4-1.1 [ 9s] [17/92] installing libfreebl3-3.34.1-1.35 [ 10s] [18/92] installing libgcc-9.2.0-1.9 [ 10s] [19/92] installing libgomp-9.2.0-1.9 [ 11s] [20/92] installing libitm-9.2.0-1.9 [ 11s] [21/92] installing libltdl-2.4.2-1.45 [ 11s] [22/92] installing liblua-5.1.5-1.23 [ 11s] [23/92] installing liblzma-5.2.4-1.51 [ 13s] [24/92] installing libpcre-8.43-1.4 [ 13s] [25/92] installing libpopt-1.16-1.67 [ 13s] [26/92] installing libquadmath-9.2.0-1.9 [ 14s] [27/92] installing libsmack-1.3.1-1.64 [ 15s] [28/92] installing libsmartcols-2.34-1.1 [ 15s] [29/92] installing libsqlite-3.31.1-1.54 [ 16s] [30/92] installing libuuid-2.34-1.1 [ 16s] [31/92] installing m4-1.4.17-1.1 [ 16s] [32/92] installing net-tools-2.0_20121208git-1.1 [ 16s] [33/92] installing nspr-4.12-1.64 [ 16s] [34/92] installing patch-2.7-1.66 [ 16s] [35/92] installing pkg-config-0.28-1.62 [ 16s] [36/92] installing sed-4.1c-1.1 [ 17s] [37/92] installing update-alternatives-1.18.15-1.1 [ 17s] [38/92] installing which-2.20-1.1 [ 17s] [39/92] installing zlib-1.2.11-1.66 [ 18s] [40/92] installing build-compare-2015.04.28-1.13 [ 18s] [41/92] installing terminfo-base-full-6.1_20191207-1.49 [ 18s] [42/92] installing coreutils-6.9-1.7 [ 18s] [43/92] installing cpp-9.2.0-1.9 [ 19s] [44/92] installing gawk-3.1.5-1.1 [ 19s] [45/92] installing gcc-c++-9.2.0-1.9 [ 20s] [46/92] installing grep-2.5.2-1.1 [ 20s] [47/92] installing libacl-2.2.52-1.68 [ 21s] [48/92] installing libelf-0.178-1.6 [ 21s] [49/92] installing libmount-2.34-1.1 [ 22s] [50/92] installing libstdc++-9.2.0-1.9 [ 22s] [51/92] installing make-4.0-1.6 [ 22s] [52/92] installing nss-certs-3.34.1-1.35 [ 22s] [53/92] installing smack-1.3.1-1.64 [ 22s] [54/92] installing bzip2-1.0.8-1.64 [ 22s] [55/92] installing libfdisk-2.34-1.1 [ 23s] [56/92] installing libgfortran-9.2.0-1.9 [ 23s] [57/92] installing libmagic-5.37-1.62 [ 23s] [58/92] installing libxml2-2.9.10-1.21 [ 24s] [59/92] installing perl-5.30.0-1.34 [ 27s] [60/92] installing xz-5.2.4-1.51 [ 27s] [61/92] installing build-mkbaselibs-20120927-1.1 [ 27s] [62/92] installing libstdc++-devel-9.2.0-1.9 [ 27s] [63/92] installing file-5.37-1.62 [ 27s] [64/92] installing linux-glibc-devel-3.10-1.66 [ 28s] [65/92] installing tar-1.17-1.1 [ 28s] [66/92] installing autoconf-2.69-1.31 [ 28s] [67/92] installing binutils-2.33.1-1.21 [ 29s] [68/92] installing glibc-locale-2.30-1.12 [ 29s] [69/92] installing gzip-1.3.12-1.66 [ 29s] [70/92] installing libcc1-9.2.0-1.9 [ 30s] [71/92] installing libubsan-9.2.0-1.9 [ 30s] [72/92] installing pam-1.1.6-1.1 [ 30s] [73/92] installing libncurses6-6.1_20191207-1.49 [ 31s] [74/92] installing tzdata-2019c-1.1 [ 31s] [75/92] installing libdw-0.178-1.6 [ 32s] [76/92] installing libncurses-6.1_20191207-1.49 [ 32s] [77/92] installing glibc-devel-2.30-1.12 [ 32s] [78/92] installing less-466-1.1 [ 32s] [79/92] installing libreadline-5.2-1.17 [ 33s] [80/92] installing procps-ng-3.3.15-1.1 [ 33s] [81/92] installing automake-1.15.1-1.32 [ 33s] [82/92] installing libasm-0.178-1.6 [ 33s] [83/92] installing build-20120927-1.1 [ 34s] [84/92] installing gcc-9.2.0-1.9 [ 35s] [85/92] installing libtool-2.4.2-1.45 [ 35s] [86/92] installing elfutils-0.178-1.6 [ 35s] [87/92] installing util-linux-2.34-1.1 [ 35s] [88/92] installing util-linux-su-2.34-1.1 [ 35s] [89/92] installing nss-3.34.1-1.35 [ 36s] [90/92] installing libsoftokn3-3.34.1-1.35 [ 36s] [91/92] installing rpm-4.11.0.1-1.38 [ 37s] [92/92] installing rpm-build-4.11.0.1-1.38 [ 37s] removing nis flags from /var/cache/build/root_4/etc/nsswitch.conf... [ 37s] now finalizing build dir... [ 37s] Running build time source services... [ 37s] build target is i686-tizen-linux [ 37s] ----------------------------------------------------------------- [ 37s] I have the following modifications for lsof.spec: [ 37s] 4c4 [ 37s] < Release: 0 [ 37s] --- [ 37s] > Release: 1.2 [ 37s] 42a43 [ 37s] > %changelog [ 37s] ----------------------------------------------------------------- [ 37s] ----- building lsof.spec (user abuild) [ 37s] ----------------------------------------------------------------- [ 37s] ----------------------------------------------------------------- [ 37s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=i686-tizen-linux --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 [ 37s] Building target platforms: i686-tizen-linux [ 37s] Building for target i686-tizen-linux [ 37s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.38p8VS [ 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 -xf - [ 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/cat /home/abuild/rpmbuild/SOURCES/0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch [ 37s] + /bin/patch -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.6Sj0aV [ 37s] + umask 022 [ 37s] + cd /home/abuild/rpmbuild/BUILD [ 37s] + cd lsof_4.87-linux-only [ 37s] + [[ i386 == \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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g' -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g" 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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o cvfs.o cvfs.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o dvch.o dvch.c [ 38s] In file included from dmnt.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] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 38s] | ^~~~~ [ 38s] dmnt.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o fino.o fino.c [ 38s] In file included from dnode.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] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 38s] | ^~~~~ [ 38s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] In file included from dfile.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] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 38s] | ^~~~~ [ 38s] dfile.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o isfn.o isfn.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o lkud.o lkud.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o pdvn.o pdvn.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o prfp.o prfp.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o ptti.o ptti.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o rdev.o rdev.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o regex.o regex.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o dproc.o dproc.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o dsock.o dsock.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o rnch.o rnch.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o rnmh.o rnmh.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o snpf.o snpf.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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o dstore.o dstore.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] 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] 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] ranlib liblsof.a [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o arg.o arg.c [ 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] 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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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:1317:39: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 38s] 1317 | (void) util_strftime(fmtr, fmtl - 1, fmt); [ 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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -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] | ^~~~~~~~~ [ 39s] 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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o store.o store.c [ 39s] In file included from /usr/include/string.h:494, [ 39s] from dlsof.h:48, [ 39s] from lsof.h:195, [ 39s] from dsock.c:39: [ 39s] In function 'strncpy', [ 39s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 39s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 39s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 39s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 39s] dsock.c: In function 'process_proc_sock': [ 39s] dsock.c:2780:9: note: length computed here [ 39s] 2780 | len = strlen(ip->la); [ 39s] | ^~~~~~~~~~~~~~ [ 39s] In file included from store.c:39: [ 39s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 39s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 39s] | ^~~~~~~~~~ [ 39s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 39s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 39s] | ^~~~~ [ 39s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 39s] 33 | static char copyright[] = [ 39s] | ^~~~~~~~~ [ 39s] Constructing version.h [ 39s] 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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o util.o util.c [ 39s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 39s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 39s] | ^~~~~ [ 39s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 39s] 40 | static char copyright[] = [ 39s] | ^~~~~~~~~ [ 39s] print.c: In function 'printiproto': [ 39s] 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=] [ 39s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 39s] | ^~ [ 39s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 39s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 39s] | ^~~~~~ [ 39s] In file included from /usr/include/stdio.h:867, [ 39s] from lsof.h:58, [ 39s] from print.c:39: [ 39s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 39s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 39s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 39s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 39s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 39s] 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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -c -o usage.o usage.c [ 39s] usage.c: In function 'usage': [ 39s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 39s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 39s] | ^~~~~~~~~~ [ 39s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 39s] 64 | char *s; /* string pointer */ [ 39s] | ^ [ 39s] In file included from usage.c:39: [ 39s] At top level: [ 39s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 39s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 39s] | ^~~~~~~~~~ [ 39s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 39s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 39s] | ^~~~~ [ 39s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 39s] 33 | static char copyright[] = [ 39s] | ^~~~~~~~~ [ 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 -L./lib -llsof [ 39s] + exit 0 [ 39s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dqLE2V [ 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-1.2.i386 [ 39s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.i386 [ 39s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.i386/usr/sbin/lsof [ 39s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.i386/usr/share/man/man8/lsof.8 [ 39s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 39s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.i386/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-1.2.i386 [ 39s] Processing files: lsof-4.87-1.2.i686 [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: lsof = 4.87-1.2 lsof(x86-32) = 4.87-1.2 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) [ 39s] Processing files: lsof-debugsource-4.87-1.2.i686 [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: lsof-debugsource = 4.87-1.2 lsof-debugsource(x86-32) = 4.87-1.2 [ 39s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 39s] Processing files: lsof-docs-4.87-1.2.i686 [ 39s] Provides: lsof-docs = 4.87-1.2 lsof-docs(x86-32) = 4.87-1.2 [ 39s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 39s] Processing files: lsof-debuginfo-4.87-1.2.i686 [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: lsof-debuginfo = 4.87-1.2 lsof-debuginfo(x86-32) = 4.87-1.2 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.i386 [ 39s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-1.2.src.rpm [ 39s] XZ: Adjusted the number of threads from 36 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/lsof-4.87-1.2.i686.rpm [ 39s] XZ: Adjusted the number of threads from 36 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/lsof-debugsource-4.87-1.2.i686.rpm [ 39s] XZ: Adjusted the number of threads from 36 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/lsof-docs-4.87-1.2.i686.rpm [ 40s] XZ: Adjusted the number of threads from 36 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/lsof-debuginfo-4.87-1.2.i686.rpm [ 40s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NSLyaU [ 40s] + umask 022 [ 40s] + cd /home/abuild/rpmbuild/BUILD [ 40s] + cd lsof_4.87-linux-only [ 40s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.i386 [ 40s] + exit 0 [ 40s] ... checking for files with abuild user/group [ 40s] ... creating baselibs [ 40s] ... comparing built packages with the former built [ 40s] /usr/lib/build/pkg-diff.sh [ 40s] compare /.build.oldpackages/lsof-4.87-1.1.src.rpm /home/abuild/rpmbuild/SRPMS/lsof-4.87-1.2.src.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] RPM meta information is identical [ 40s] compare /.build.oldpackages/lsof-4.87-1.1.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-4.87-1.2.i686.rpm [ 40s] Comparing lsof-4.87-1.1.i686.rpm to lsof-4.87-1.2.i686.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.bGMPU41425/tmp.QfXmX41611 2020-11-04 03:12:32.118736819 +0000 [ 41s] +++ /tmp/tmp.bGMPU41425/tmp.dgGKi41612 2020-11-04 03:12:32.122736788 +0000 [ 41s] @@ -1012,7 +1012,7 @@ [ 41s] 806af18 0a002020 2020636f 6e666967 75726174 .. configurat [ 41s] 806af28 696f6e20 696e666f 3a202573 0a002020 ion info: %s.. [ 41s] 806af38 2020636f 6e737472 75637465 643a2025 constructed: % [ 41s] - 806af48 730a006f 62737077 31330061 6275696c s..obspw13.abuil [ 41s] + 806af48 730a006f 62736e77 30330061 6275696c s..obsnw03.abuil [ 41s] 806af58 64002020 2020636f 6e737472 75637465 d. constructe [ 41s] 806af68 64202573 3a202573 25732573 0a002020 d %s: %s%s%s.. [ 41s] 806af78 20206275 696c6465 72277320 636f6d6d builder's comm [ 41s] @@ -1106,7 +1106,7 @@ [ 41s] 806b4f8 616e2070 6167653a 2025736c 736f665f an page: %slsof_ [ 41s] 806b508 6d616e0a 00000000 392e322e 30202854 man.....9.2.0 (T [ 41s] 806b518 697a656e 20474343 20392e32 2e302032 izen GCC 9.2.0 2 [ 41s] - 806b528 30313930 38313220 322e3131 29200000 0190812 2.11) .. [ 41s] + 806b528 30313930 38313220 312e3929 20000000 0190812 1.9) ... [ 41s] 806b538 2d444c49 4e555856 3d333130 30303020 -DLINUXV=310000 [ 41s] 806b548 2d44474c 49424356 3d323330 202d4448 -DGLIBCV=230 -DH [ 41s] 806b558 41534950 7636202d 445f4649 4c455f4f ASIPv6 -D_FILE_O [ 41s] @@ -1139,7 +1139,7 @@ [ 41s] 806b708 2d706f69 6e746572 202d6d73 7461636b -pointer -mstack [ 41s] 806b718 7265616c 69676e20 2d576c2c 2d7a2c6e realign -Wl,-z,n [ 41s] 806b728 6f736570 61726174 652d636f 6465202d oseparate-code - [ 41s] - 806b738 67000000 4c696e75 78206f62 73707731 g...Linux obspw1 [ 41s] + 806b738 67000000 4c696e75 78206f62 736e7730 g...Linux obsnw0 [ 41s] 806b748 3320342e 342e302d 3134322d 67656e65 3 4.4.0-142-gene [ 41s] 806b758 72696320 23313638 2d556275 6e747520 ric #168-Ubuntu [ 41s] 806b768 534d5020 57656420 4a616e20 31362032 SMP Wed Jan 16 2 [ 41s] compare /.build.oldpackages/lsof-debuginfo-4.87-1.1.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-debuginfo-4.87-1.2.i686.rpm [ 41s] skipping -debuginfo package [ 41s] compare /.build.oldpackages/lsof-debugsource-4.87-1.1.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-debugsource-4.87-1.2.i686.rpm [ 41s] Comparing lsof-debugsource-4.87-1.1.i686.rpm to lsof-debugsource-4.87-1.2.i686.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-1.1.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-docs-4.87-1.2.i686.rpm [ 41s] Comparing lsof-docs-4.87-1.1.i686.rpm to lsof-docs-4.87-1.2.i686.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 Wed Nov 4 03:12:32 UTC 2020. [ 41s]