[ 0s] Memory limit set to 82441108KB [ 0s] Using BUILD_ROOT=/var/cache/build/root_8 [ 0s] Using BUILD_ARCH=i586:i486:i386 [ 0s] [ 0s] [ 0s] obsnw07 started "build _service:gbs:lsof.spec" at Tue Jun 9 00:17:18 UTC 2020. [ 0s] [ 0s] Building lsof for project 'Tizen:Unified' repository 'emulator' arch 'i586' srcmd5 '3f12d9c4371d393fadf0bc41d0bb81ea' [ 0s] [ 0s] processing recipe /var/cache/build/root_8/.build-srcdir/_service:gbs:lsof.spec ... [ 0s] 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... [ 1s] [7/35] preinstalling diffutils... [ 1s] [8/35] preinstalling grep... [ 1s] [9/35] preinstalling libattr... [ 1s] [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/93] installing libmagic-data-5.37-18.17 [ 3s] [2/93] installing setup-0.9-10.28 [ 3s] [3/93] installing filesystem-3.1-8.1 [ 3s] [4/93] installing glibc-2.30-26.6 [ 4s] [5/93] installing bash-3.2.57-6.8 [ 4s] [6/93] installing cpio-2.11-3.8 [ 4s] [7/93] installing diffutils-3.3-3.8 [ 4s] [8/93] installing findutils-4.3.8-6.364 [ 4s] [9/93] installing gdbm-1.8.3-4.286 [ 4s] [10/93] installing hostname-3.23-7.4 [ 4s] [11/93] installing libatomic-9.2.0-8.6 [ 4s] [12/93] installing libattr-2.4.47-5.597 [ 5s] [13/93] installing libblkid-2.34-17.7 [ 5s] [14/93] installing libbz2-1.0.8-8.18 [ 6s] [15/93] installing libcap-2.24-4.803 [ 6s] [16/93] installing libext2fs-1.43.4-7.2 [ 6s] [17/93] installing libfreebl3-3.34.1-6.135 [ 7s] [18/93] installing libgcc-9.2.0-8.6 [ 7s] [19/93] installing libgomp-9.2.0-8.6 [ 7s] [20/93] installing libitm-9.2.0-8.6 [ 8s] [21/93] installing libltdl-2.4.2-5.274 [ 8s] [22/93] installing liblua-5.1.5-5.108 [ 8s] [23/93] installing liblzma-5.2.4-6.339 [ 9s] [24/93] installing libpcre-8.43-7.57 [ 9s] [25/93] installing libpopt-1.16-4.278 [ 9s] [26/93] installing libquadmath-9.2.0-8.6 [ 10s] [27/93] installing libsmack-1.3.1-5.406 [ 10s] [28/93] installing libsmartcols-2.34-17.7 [ 10s] [29/93] installing libsqlite-3.31.1-20.27 [ 11s] [30/93] installing libuuid-2.34-17.7 [ 11s] [31/93] installing m4-1.4.17-4.4 [ 11s] [32/93] installing net-tools-2.0_20121208git-4.1 [ 11s] [33/93] installing nspr-4.12-4.255 [ 11s] [34/93] installing patch-2.7-3.277 [ 11s] [35/93] installing pkg-config-0.28-6.176 [ 11s] [36/93] installing sed-4.1c-4.7 [ 12s] [37/93] installing update-alternatives-1.18.15-5.5 [ 12s] [38/93] installing which-2.20-6.8 [ 12s] [39/93] installing zlib-1.2.11-5.502 [ 12s] [40/93] installing build-compare-2015.04.28-3.346 [ 12s] [41/93] installing terminfo-base-full-6.1_20191207-12.178 [ 12s] [42/93] installing coreutils-6.9-4.52 [ 12s] [43/93] installing cpp-9.2.0-8.6 [ 13s] [44/93] installing gawk-3.1.5-6.6 [ 13s] [45/93] installing gcc-c++-9.2.0-8.6 [ 14s] [46/93] installing grep-2.5.2-6.8 [ 14s] [47/93] installing libacl-2.2.52-5.616 [ 15s] [48/93] installing libelf-0.178-6.4 [ 15s] [49/93] installing libmount-2.34-17.7 [ 15s] [50/93] installing libstdc++-9.2.0-8.6 [ 16s] [51/93] installing make-4.0-5.55 [ 16s] [52/93] installing nss-certs-3.34.1-6.135 [ 16s] [53/93] installing smack-1.3.1-5.406 [ 16s] [54/93] installing bzip2-1.0.8-8.18 [ 16s] [55/93] installing libfdisk-2.34-17.7 [ 16s] [56/93] installing libgfortran-9.2.0-8.6 [ 17s] [57/93] installing libmagic-5.37-18.17 [ 17s] [58/93] installing libxml2-2.9.10-11.3 [ 18s] [59/93] installing xz-5.2.4-6.339 [ 18s] [60/93] installing libstdc++-devel-9.2.0-8.6 [ 18s] [61/93] installing file-5.37-18.17 [ 18s] [62/93] installing linux-glibc-devel-3.10-10.65 [ 19s] [63/93] installing tar-1.17-4.6 [ 19s] [64/93] installing binutils-2.33.1-19.39 [ 19s] [65/93] installing db4-4.8.30.NC-4.192 [ 19s] [66/93] installing glibc-locale-2.30-26.6 [ 20s] [67/93] installing gzip-1.3.12-7.566 [ 20s] [68/93] installing libcc1-9.2.0-8.6 [ 20s] [69/93] installing libubsan-9.2.0-8.6 [ 21s] [70/93] installing pam-1.1.6-8.6 [ 21s] [71/93] installing libncurses6-6.1_20191207-12.178 [ 21s] [72/93] installing tzdata-2019c-12.4 [ 22s] [73/93] installing libdw-0.178-6.4 [ 22s] [74/93] installing libncurses-6.1_20191207-12.178 [ 22s] [75/93] installing glibc-devel-2.30-26.6 [ 22s] [76/93] installing less-466-8.12 [ 22s] [77/93] installing libreadline-5.2-5.162 [ 23s] [78/93] installing procps-ng-3.3.15-9.7 [ 23s] [79/93] installing libasm-0.178-6.4 [ 23s] [80/93] installing perl-5.30.0-10.132 [ 26s] [81/93] installing gcc-9.2.0-8.6 [ 27s] [82/93] installing build-mkbaselibs-20120927-3.1 [ 27s] [83/93] installing autoconf-2.69-5.402 [ 28s] [84/93] installing elfutils-0.178-6.4 [ 28s] [85/93] installing util-linux-2.34-17.7 [ 29s] [86/93] installing automake-1.15.1-6.509 [ 30s] [87/93] installing util-linux-su-2.34-17.7 [ 30s] [88/93] installing build-20120927-3.1 [ 30s] [89/93] installing libtool-2.4.2-5.274 [ 30s] [90/93] installing nss-3.34.1-6.135 [ 30s] [91/93] installing libsoftokn3-3.34.1-6.135 [ 31s] [92/93] installing rpm-4.11.0.1-17.9 [ 31s] [93/93] installing rpm-build-4.11.0.1-17.9 [ 31s] removing nis flags from /var/cache/build/root_8/etc/nsswitch.conf... [ 31s] now finalizing build dir... [ 31s] Running build time source services... [ 32s] build target is i686-tizen-linux [ 32s] ----------------------------------------------------------------- [ 32s] I have the following modifications for lsof.spec: [ 32s] 4c4 [ 32s] < Release: 0 [ 32s] --- [ 32s] > Release: 2.231 [ 32s] 42a43 [ 32s] > %changelog [ 32s] ----------------------------------------------------------------- [ 32s] ----- building lsof.spec (user abuild) [ 32s] ----------------------------------------------------------------- [ 32s] ----------------------------------------------------------------- [ 32s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=i686-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Unified/emulator/3f12d9c4371d393fadf0bc41d0bb81ea-lsof' -ba /home/abuild/rpmbuild/SOURCES/lsof.spec [ 32s] Building target platforms: i686-tizen-linux [ 32s] Building for target i686-tizen-linux [ 32s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IXFVux [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + rm -rf lsof_4.87-linux-only [ 32s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 32s] + /bin/tar -xf - [ 32s] + STATUS=0 [ 32s] + '[' 0 -ne 0 ']' [ 32s] + cd lsof_4.87-linux-only [ 32s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 32s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 32s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 32s] + /bin/cat /home/abuild/rpmbuild/SOURCES/0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch [ 32s] + /bin/patch -p1 --fuzz=2 [ 32s] patching file usage.c [ 32s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 32s] + exit 0 [ 32s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BExr6x [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + cd lsof_4.87-linux-only [ 32s] + [[ i386 == \a\a\r\c\h\6\4 ]] [ 32s] + LANG=C [ 32s] + export LANG [ 32s] + unset DISPLAY [ 32s] + 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 -g' [ 32s] + export CFLAGS [ 32s] + 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 -g' [ 32s] + export CXXFLAGS [ 32s] + 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 -g -I%_fmoddir' [ 32s] + export FFLAGS [ 32s] + LDFLAGS= [ 32s] + export LDFLAGS [ 32s] + LSOF_VSTR=2.6.16 [ 32s] + LINUX_BASE=/proc [ 32s] + ./Configure -n linux [ 32s] Testing C library type with cc ... done [ 32s] The C library type is glibc, version "-DGLIBCV=230". [ 32s] 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 [ 32s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 32s] Testing C library for localtime() and strftime(), using cc ... present [ 32s] ln -s dialects/linux/dfile.c dfile.c [ 32s] ln -s dialects/linux/dlsof.h dlsof.h [ 32s] ln -s dialects/linux/dmnt.c dmnt.c [ 32s] ln -s dialects/linux/dnode.c dnode.c [ 32s] ln -s dialects/linux/dproc.c dproc.c [ 32s] ln -s dialects/linux/dproto.h dproto.h [ 32s] ln -s dialects/linux/dsock.c dsock.c [ 32s] ln -s dialects/linux/dstore.c dstore.c [ 32s] ln -s dialects/linux/machine.h machine.h [ 32s] Makefile and lib/Makefile created. [ 32s] ./tests/config.cc created [ 32s] ./tests/config.cflags created [ 32s] ./tests/config.ldflags created [ 32s] ./tests/config.xobj created [ 32s] + make 'DEBUG=-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g' -j4 [ 32s] (cd lib; make DEBUG="-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g" CFGF="-DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\"") [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o dfile.o dfile.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o dmnt.o dmnt.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o dnode.o dnode.c [ 32s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o ckkv.o ckkv.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o cvfs.o cvfs.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o dvch.o dvch.c [ 32s] In file included from dnode.c:39: [ 32s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 32s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 32s] | ^~~~~~~~~~ [ 32s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 32s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 32s] | ^~~~~ [ 32s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 32s] 33 | static char copyright[] = [ 32s] | ^~~~~~~~~ [ 32s] 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 -g -c -o fino.o fino.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o isfn.o isfn.c [ 32s] In file included from dfile.c:39: [ 32s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 32s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 32s] | ^~~~~~~~~~ [ 32s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 32s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 32s] | ^~~~~ [ 32s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 32s] 33 | static char copyright[] = [ 32s] | ^~~~~~~~~ [ 32s] In file included from dmnt.c:39: [ 32s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 32s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 32s] | ^~~~~~~~~~ [ 32s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 32s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 32s] | ^~~~~ [ 32s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 32s] 33 | static char copyright[] = [ 32s] | ^~~~~~~~~ [ 32s] 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 -g -c -o lkud.o lkud.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o pdvn.o pdvn.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o prfp.o prfp.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o ptti.o ptti.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o rdev.o rdev.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o regex.o regex.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o rmnt.o rmnt.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o rnam.o rnam.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o rnch.o rnch.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o rnmh.o rnmh.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o snpf.o snpf.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o dproc.o dproc.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o dsock.o dsock.c [ 32s] 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 [ 32s] ranlib liblsof.a [ 32s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o dstore.o dstore.c [ 32s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o arg.o arg.c [ 32s] dsock.c: In function 'get_icmp': [ 32s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 32s] 746 | MALLOC_S lal, ral, spl; [ 32s] | ^~~ [ 32s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 32s] 745 | unsigned long pr; [ 32s] | ^~ [ 32s] In file included from dstore.c:39: [ 32s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 32s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 32s] | ^~~~~~~~~~ [ 32s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 32s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 32s] | ^~~~~ [ 32s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 32s] 33 | static char copyright[] = [ 32s] | ^~~~~~~~~ [ 32s] In file included from dproc.c:38: [ 32s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 32s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 32s] | ^~~~~~~~~~ [ 32s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 32s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 32s] | ^~~~~ [ 32s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 32s] 33 | static char copyright[] = [ 32s] | ^~~~~~~~~ [ 32s] 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 -g -c -o main.o main.c [ 32s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 32s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 32s] | ^~~~~ [ 32s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 32s] 33 | static char copyright[] = [ 32s] | ^~~~~~~~~ [ 32s] In file included from dsock.c:39: [ 32s] At top level: [ 32s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 32s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 32s] | ^~~~~~~~~~ [ 32s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 32s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 32s] | ^~~~~ [ 32s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 32s] 33 | static char copyright[] = [ 32s] | ^~~~~~~~~ [ 32s] In file included from main.c:41: [ 32s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 32s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 32s] | ^~~~~~~~~~ [ 32s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 32s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 32s] | ^~~~~ [ 32s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 32s] 35 | static char copyright[] = [ 32s] | ^~~~~~~~~ [ 33s] dproc.c: In function 'process_id': [ 33s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 33s] 1121 | if (efs) { [ 33s] | ^ [ 33s] main.c: In function 'main': [ 33s] main.c:1317:39: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 33s] 1317 | (void) util_strftime(fmtr, fmtl - 1, fmt); [ 33s] | ~~~~~^~~ [ 33s] In file included from /usr/include/string.h:494, [ 33s] from dlsof.h:48, [ 33s] from lsof.h:195, [ 33s] from arg.c:39: [ 33s] In function 'strncpy', [ 33s] inlined from 'enter_dir' at arg.c:1135:10: [ 33s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] [ 33s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 33s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 33s] arg.c: In function 'enter_dir': [ 33s] arg.c:1110:23: note: length computed here [ 33s] 1110 | dnamlen = (MALLOC_S)strlen(dp->d_name); [ 33s] | ^~~~~~~~~~~~~~~~~~ [ 33s] 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 -g -c -o misc.o misc.c [ 33s] In file included from misc.c:39: [ 33s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 33s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 33s] | ^~~~~~~~~~ [ 33s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: misc.c,v 1.27 2013/01/02 17:14:59 abe Exp $"; [ 33s] | ^~~~~ [ 33s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o node.o node.c [ 33s] In file included from /usr/include/string.h:494, [ 33s] from dlsof.h:48, [ 33s] from lsof.h:195, [ 33s] from dsock.c:39: [ 33s] In function 'strncpy', [ 33s] inlined from 'get_sctpaddrs' at dsock.c:1761:13: [ 33s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] [ 33s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 33s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 33s] dsock.c: In function 'get_sctpaddrs': [ 33s] dsock.c:1745:51: note: length computed here [ 33s] 1745 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 33s] | ^~~~~~~~~~~~~ [ 33s] In file included from node.c:39: [ 33s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 33s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 33s] | ^~~~~~~~~~ [ 33s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 33s] | ^~~~~ [ 33s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o print.o print.c [ 33s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o proc.o proc.c [ 33s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 33s] | ^~~~~ [ 33s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] In file included from proc.c:39: [ 33s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 33s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 33s] | ^~~~~~~~~~ [ 33s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 33s] | ^~~~~ [ 33s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] print.c: In function 'printiproto': [ 33s] print.c:1992:49: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] [ 33s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 33s] | ^~ [ 33s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 33s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 33s] | ^~~~~~ [ 33s] In file included from /usr/include/stdio.h:867, [ 33s] from lsof.h:58, [ 33s] from print.c:39: [ 33s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 33s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 33s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 33s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 33s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 33s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o store.o store.c [ 33s] In file included from /usr/include/string.h:494, [ 33s] from dlsof.h:48, [ 33s] from lsof.h:195, [ 33s] from dsock.c:39: [ 33s] In function 'strncpy', [ 33s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 33s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 33s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 33s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 33s] dsock.c: In function 'process_proc_sock': [ 33s] dsock.c:2780:9: note: length computed here [ 33s] 2780 | len = strlen(ip->la); [ 33s] | ^~~~~~~~~~~~~~ [ 33s] In file included from store.c:39: [ 33s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 33s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 33s] | ^~~~~~~~~~ [ 33s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 33s] | ^~~~~ [ 33s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] Constructing version.h [ 33s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o util.o util.c [ 33s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 33s] | ^~~~~ [ 33s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 40 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -g -c -o usage.o usage.c [ 33s] usage.c: In function 'usage': [ 33s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 33s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 33s] | ^~~~~~~~~~ [ 33s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 33s] 64 | char *s; /* string pointer */ [ 33s] | ^ [ 33s] In file included from usage.c:39: [ 33s] At top level: [ 33s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 33s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 33s] | ^~~~~~~~~~ [ 33s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 33s] | ^~~~~ [ 33s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] 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 [ 33s] + exit 0 [ 33s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7JezHz [ 33s] + umask 022 [ 33s] + cd /home/abuild/rpmbuild/BUILD [ 33s] + cd lsof_4.87-linux-only [ 33s] + LANG=C [ 33s] + export LANG [ 33s] + unset DISPLAY [ 33s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.231.i386 [ 33s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.231.i386 [ 33s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.231.i386/usr/sbin/lsof [ 33s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.231.i386/usr/share/man/man8/lsof.8 [ 33s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 33s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.231.i386/usr/sbin/lsof [ 34s] 942 blocks [ 34s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debuginfo.manifest [ 34s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debugsource.manifest [ 34s] + /usr/lib/rpm/check-buildroot [ 34s] + /usr/lib/rpm//brp-compress [ 34s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 34s] + /usr/lib/rpm/brp-python-hardlink [ 34s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.231.i386 [ 34s] Processing files: lsof-4.87-2.231.i686 [ 34s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 34s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 34s] [ 34s] Provides: lsof = 4.87-2.231 lsof(x86-32) = 4.87-2.231 [ 34s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 34s] 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) [ 34s] Processing files: lsof-debugsource-4.87-2.231.i686 [ 34s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 34s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 34s] [ 34s] Provides: lsof-debugsource = 4.87-2.231 lsof-debugsource(x86-32) = 4.87-2.231 [ 34s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 34s] Processing files: lsof-docs-4.87-2.231.i686 [ 34s] Provides: lsof-docs = 4.87-2.231 lsof-docs(x86-32) = 4.87-2.231 [ 34s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 34s] Processing files: lsof-debuginfo-4.87-2.231.i686 [ 34s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 34s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 34s] [ 34s] Provides: lsof-debuginfo = 4.87-2.231 lsof-debuginfo(x86-32) = 4.87-2.231 [ 34s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 34s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.231.i386 [ 34s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.231.src.rpm [ 34s] 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-2.231.i686.rpm [ 34s] 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-2.231.i686.rpm [ 34s] 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-2.231.i686.rpm [ 34s] 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-2.231.i686.rpm [ 34s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YnaDJy [ 34s] + umask 022 [ 34s] + cd /home/abuild/rpmbuild/BUILD [ 34s] + cd lsof_4.87-linux-only [ 34s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.231.i386 [ 34s] + exit 0 [ 34s] ... checking for files with abuild user/group [ 34s] ... creating baselibs [ 34s] ... comparing built packages with the former built [ 34s] /usr/lib/build/pkg-diff.sh [ 34s] compare /.build.oldpackages/lsof-4.87-2.230.src.rpm /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.231.src.rpm [ 34s] This is not a prerelease project. Compare the project name. [ 34s] comparing rpmtags [ 34s] comparing RELEASE [ 34s] comparing PROVIDES [ 34s] comparing scripts [ 34s] comparing filelist [ 34s] comparing file checksum [ 35s] RPM meta information is identical [ 35s] compare /.build.oldpackages/lsof-4.87-2.230.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-4.87-2.231.i686.rpm [ 35s] Comparing lsof-4.87-2.230.i686.rpm to lsof-4.87-2.231.i686.rpm [ 35s] This is not a prerelease project. Compare the project name. [ 35s] comparing rpmtags [ 35s] comparing RELEASE [ 35s] comparing PROVIDES [ 35s] comparing scripts [ 35s] comparing filelist [ 35s] comparing file checksum [ 35s] creating rename script [ 35s] RPM file checksum differs. [ 35s] Extracting packages [ 35s] /usr/sbin/lsof differs in ELF section .rodata [ 35s] --- /tmp/tmp.lohkY43522/tmp.dUGrg43714 2020-06-09 00:17:53.798324954 +0000 [ 35s] +++ /tmp/tmp.lohkY43522/tmp.qouyb43715 2020-06-09 00:17:53.806324901 +0000 [ 35s] @@ -1012,7 +1012,7 @@ [ 35s] 806bef0 0a002020 2020636f 6e666967 75726174 .. configurat [ 35s] 806bf00 696f6e20 696e666f 3a202573 0a002020 ion info: %s.. [ 35s] 806bf10 2020636f 6e737472 75637465 643a2025 constructed: % [ 35s] - 806bf20 730a006f 62736e77 31390061 6275696c s..obsnw19.abuil [ 35s] + 806bf20 730a006f 62736e77 30370061 6275696c s..obsnw07.abuil [ 35s] 806bf30 64002020 2020636f 6e737472 75637465 d. constructe [ 35s] 806bf40 64202573 3a202573 25732573 0a002020 d %s: %s%s%s.. [ 35s] 806bf50 20206275 696c6465 72277320 636f6d6d builder's comm [ 35s] @@ -1138,7 +1138,7 @@ [ 35s] 806c6d0 202d666e 6f2d6f6d 69742d66 72616d65 -fno-omit-frame [ 35s] 806c6e0 2d706f69 6e746572 202d6d73 7461636b -pointer -mstack [ 35s] 806c6f0 7265616c 69676e20 2d670000 4c696e75 realign -g..Linu [ 35s] - 806c700 78206f62 736e7731 3920342e 342e302d x obsnw19 4.4.0- [ 35s] + 806c700 78206f62 736e7730 3720342e 342e302d x obsnw07 4.4.0- [ 35s] 806c710 3134322d 67656e65 72696320 23313638 142-generic #168 [ 35s] 806c720 2d556275 6e747520 534d5020 57656420 -Ubuntu SMP Wed [ 35s] 806c730 4a616e20 31362032 313a3030 3a343520 Jan 16 21:00:45 [ 35s] compare /.build.oldpackages/lsof-debuginfo-4.87-2.230.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-debuginfo-4.87-2.231.i686.rpm [ 35s] skipping -debuginfo package [ 35s] compare /.build.oldpackages/lsof-debugsource-4.87-2.230.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-debugsource-4.87-2.231.i686.rpm [ 35s] Comparing lsof-debugsource-4.87-2.230.i686.rpm to lsof-debugsource-4.87-2.231.i686.rpm [ 36s] This is not a prerelease project. Compare the project name. [ 36s] comparing rpmtags [ 36s] comparing RELEASE [ 36s] comparing PROVIDES [ 36s] comparing scripts [ 36s] comparing filelist [ 36s] comparing file checksum [ 36s] creating rename script [ 36s] RPM meta information is identical [ 36s] compare /.build.oldpackages/lsof-docs-4.87-2.230.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-docs-4.87-2.231.i686.rpm [ 36s] Comparing lsof-docs-4.87-2.230.i686.rpm to lsof-docs-4.87-2.231.i686.rpm [ 36s] This is not a prerelease project. Compare the project name. [ 36s] comparing rpmtags [ 36s] comparing RELEASE [ 36s] comparing PROVIDES [ 36s] comparing scripts [ 36s] comparing filelist [ 36s] comparing file checksum [ 36s] creating rename script [ 36s] RPM meta information is identical [ 36s] [ 36s] obsnw07 finished "build lsof.spec" at Tue Jun 9 00:17:54 UTC 2020. [ 36s]