[ 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] obsnw14 started "build _service:gbs:lsof.spec" at Mon May 3 14:57:33 UTC 2021. [ 0s] [ 0s] Building lsof for project 'Tizen:Unified' repository 'emulator' arch 'i586' srcmd5 '3f12d9c4371d393fadf0bc41d0bb81ea' [ 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 ... [ 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/36] preinstalling libmagic-data... [ 1s] [2/36] preinstalling libncurses... [ 1s] [3/36] preinstalling setup... [ 1s] [4/36] preinstalling filesystem... [ 1s] [5/36] preinstalling glibc... [ 1s] [6/36] preinstalling bash... [ 1s] [7/36] preinstalling diffutils... [ 1s] [8/36] preinstalling grep... [ 1s] [9/36] preinstalling libattr... [ 1s] [10/36] preinstalling libbz2... [ 1s] [11/36] preinstalling libcap... [ 1s] [12/36] preinstalling libfreebl3... [ 1s] [13/36] preinstalling libgcc... [ 1s] [14/36] preinstalling liblua... [ 1s] [15/36] preinstalling liblzma... [ 1s] [16/36] preinstalling libpopt... [ 1s] [17/36] preinstalling libreadline... [ 2s] [18/36] preinstalling libsmack... [ 2s] [19/36] preinstalling libsqlite... [ 2s] [20/36] preinstalling libzstd1... [ 2s] [21/36] preinstalling nspr... [ 2s] [22/36] preinstalling sed... [ 2s] [23/36] preinstalling zlib... [ 2s] [24/36] preinstalling coreutils... [ 2s] [25/36] preinstalling libacl... [ 2s] [26/36] preinstalling libelf... [ 2s] [27/36] preinstalling smack... [ 2s] [28/36] preinstalling bzip2... [ 2s] [29/36] preinstalling libmagic... [ 2s] [30/36] preinstalling libxml2... [ 2s] [31/36] preinstalling util-linux... [ 2s] [32/36] preinstalling tar... [ 2s] [33/36] preinstalling util-linux-su... [ 2s] [34/36] preinstalling nss... [ 2s] [35/36] preinstalling libsoftokn3... [ 2s] [36/36] preinstalling rpm... [ 2s] [ 2s] running setup postinstall script [ 2s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 2s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 2s] initializing rpm db... [ 2s] reordering...cycle: libsoftokn3 -> nss [ 2s] breaking dependency nss -> libsoftokn3 [ 2s] done [ 3s] [1/95] installing libmagic-data-5.39-4.129 [ 3s] [2/95] installing setup-0.9-4.31 [ 3s] [3/95] installing filesystem-3.1-3.2 [ 3s] [4/95] installing glibc-2.30-7.6 [ 3s] [5/95] installing bash-3.2.57-4.4 [ 3s] [6/95] installing cpio-2.8-5.2 [ 3s] [7/95] installing diffutils-3.3-4.2 [ 4s] [8/95] installing findutils-4.3.8-4.23 [ 4s] [9/95] installing gdbm-1.8.3-3.221 [ 4s] [10/95] installing hostname-3.23-3.3 [ 4s] [11/95] installing libatomic-9.2.0-9.14 [ 4s] [12/95] installing libattr-2.4.48-4.131 [ 5s] [13/95] installing libblkid-2.36-7.25 [ 5s] [14/95] installing libbz2-1.0.8-4.159 [ 5s] [15/95] installing libcap-2.24-3.197 [ 5s] [16/95] installing libext2fs-1.46.0-4.10 [ 6s] [17/95] installing libfreebl3-3.34.1-3.145 [ 6s] [18/95] installing libgcc-9.2.0-9.14 [ 7s] [19/95] installing libgomp-9.2.0-9.14 [ 7s] [20/95] installing libitm-9.2.0-9.14 [ 7s] [21/95] installing libltdl-2.4.2-3.177 [ 8s] [22/95] installing liblua-5.1.5-3.122 [ 8s] [23/95] installing liblzma-5.2.5-4.78 [ 8s] [24/95] installing libopenssl11-1.1.1k-5.7 [ 9s] [25/95] installing libpcre-8.44-4.36 [ 9s] [26/95] installing libpopt-1.16-3.191 [ 9s] [27/95] installing libquadmath-9.2.0-9.14 [ 10s] [28/95] installing libsmack-1.3.1-3.193 [ 10s] [29/95] installing libsmartcols-2.36-7.25 [ 10s] [30/95] installing libsqlite-3.33.0-4.107 [ 11s] [31/95] installing libuuid-2.36-7.25 [ 11s] [32/95] installing libzstd1-1.4.5-1.82 [ 11s] [33/95] installing m4-1.4.17-3.2 [ 12s] [34/95] installing net-tools-2.0_20121208git-4.3 [ 12s] [35/95] installing nspr-4.12-3.191 [ 12s] [36/95] installing patch-2.7-6.22 [ 12s] [37/95] installing pkg-config-0.28-3.197 [ 12s] [38/95] installing sed-4.1c-4.1 [ 12s] [39/95] installing update-alternatives-1.20.5-3.3 [ 12s] [40/95] installing which-2.17-4.3 [ 12s] [41/95] installing zlib-1.2.11-3.203 [ 12s] [42/95] installing build-compare-2015.04.28-3.69 [ 12s] [43/95] installing terminfo-base-full-6.2-5.106 [ 13s] [44/95] installing coreutils-6.9-5.8 [ 13s] [45/95] installing cpp-9.2.0-9.14 [ 14s] [46/95] installing gawk-3.1.5-4.4 [ 14s] [47/95] installing gcc-c++-9.2.0-9.14 [ 15s] [48/95] installing grep-2.5.2-3.4 [ 15s] [49/95] installing libacl-2.2.53-4.129 [ 16s] [50/95] installing libelf-0.178-3.118 [ 16s] [51/95] installing libmount-2.36-7.25 [ 16s] [52/95] installing libstdc++-9.2.0-9.14 [ 17s] [53/95] installing make-4.0-2.54 [ 17s] [54/95] installing nss-certs-3.34.1-3.145 [ 17s] [55/95] installing smack-1.3.1-3.193 [ 17s] [56/95] installing bzip2-1.0.8-4.159 [ 17s] [57/95] installing libfdisk-2.36-7.25 [ 18s] [58/95] installing libgfortran-9.2.0-9.14 [ 18s] [59/95] installing libmagic-5.39-4.129 [ 19s] [60/95] installing libxml2-2.9.10-4.19 [ 19s] [61/95] installing perl-5.32.0-4.74 [ 22s] [62/95] installing xz-5.2.5-4.78 [ 22s] [63/95] installing build-mkbaselibs-20120927-3.2 [ 22s] [64/95] installing libstdc++-devel-9.2.0-9.14 [ 22s] [65/95] installing file-5.39-4.129 [ 22s] [66/95] installing linux-glibc-devel-3.10-4.45 [ 23s] [67/95] installing tar-1.17-3.1 [ 23s] [68/95] installing autoconf-2.69-3.140 [ 24s] [69/95] installing binutils-2.33.1-9.3 [ 24s] [70/95] installing glibc-locale-2.30-7.6 [ 25s] [71/95] installing gzip-1.3.12-3.190 [ 25s] [72/95] installing libcc1-9.2.0-9.14 [ 25s] [73/95] installing libubsan-9.2.0-9.14 [ 26s] [74/95] installing pam-1.1.6-3.4 [ 26s] [75/95] installing libncurses6-6.2-5.106 [ 27s] [76/95] installing tzdata-2020a-3.3 [ 27s] [77/95] installing libdw-0.178-3.118 [ 27s] [78/95] installing libarchive-3.5.1-2.31 [ 28s] [79/95] installing libncurses-6.2-5.106 [ 28s] [80/95] installing glibc-devel-2.30-7.6 [ 28s] [81/95] installing less-466-3.4 [ 28s] [82/95] installing libreadline-5.2-3.46 [ 28s] [83/95] installing procps-ng-3.3.16-3.3 [ 29s] [84/95] installing automake-1.15.1-3.159 [ 29s] [85/95] installing libasm-0.178-3.118 [ 29s] [86/95] installing build-20120927-3.2 [ 29s] [87/95] installing gcc-9.2.0-9.14 [ 30s] [88/95] installing libtool-2.4.2-3.177 [ 30s] [89/95] installing elfutils-0.178-3.118 [ 31s] [90/95] installing util-linux-2.36-7.25 [ 31s] [91/95] installing util-linux-su-2.36-7.25 [ 31s] [92/95] installing nss-3.34.1-3.145 [ 31s] [93/95] installing libsoftokn3-3.34.1-3.145 [ 31s] [94/95] installing rpm-4.14.1.1-8.11 [ 32s] [95/95] installing rpm-build-4.14.1.1-8.11 [ 32s] removing nis flags from /var/cache/build/root_4/etc/nsswitch.conf... [ 32s] now finalizing build dir... [ 32s] Running build time source services... [ 33s] build target is i686-tizen-linux [ 33s] ----------------------------------------------------------------- [ 33s] I have the following modifications for lsof.spec: [ 33s] 4c4 [ 33s] < Release: 0 [ 33s] --- [ 33s] > Release: 2.303 [ 33s] 42a43 [ 33s] > %changelog [ 33s] ----------------------------------------------------------------- [ 33s] ----- building lsof.spec (user abuild) [ 33s] ----------------------------------------------------------------- [ 33s] ----------------------------------------------------------------- [ 33s] + 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 [ 33s] Building target platforms: i686-tizen-linux [ 33s] Building for target i686-tizen-linux [ 33s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3yLdHd [ 33s] + umask 022 [ 33s] + cd /home/abuild/rpmbuild/BUILD [ 33s] + cd /home/abuild/rpmbuild/BUILD [ 33s] + rm -rf lsof_4.87-linux-only [ 33s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 33s] + /bin/tar -xof - [ 33s] + STATUS=0 [ 33s] + '[' 0 -ne 0 ']' [ 33s] + cd lsof_4.87-linux-only [ 33s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 33s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 33s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 33s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 33s] patching file usage.c [ 33s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 33s] + exit 0 [ 33s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HQhIRe [ 33s] + umask 022 [ 33s] + cd /home/abuild/rpmbuild/BUILD [ 33s] + cd lsof_4.87-linux-only [ 33s] ++ uname -m [ 33s] + [[ i686 == \a\a\r\c\h\6\4 ]] [ 33s] + LANG=C [ 33s] + export LANG [ 33s] + unset DISPLAY [ 33s] + 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' [ 33s] + export CFLAGS [ 33s] + 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' [ 33s] + export CXXFLAGS [ 33s] + 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' [ 33s] + export FFLAGS [ 33s] + LDFLAGS= [ 33s] + export LDFLAGS [ 33s] + LSOF_VSTR=2.6.16 [ 33s] + LINUX_BASE=/proc [ 33s] + ./Configure -n linux [ 33s] Testing C library type with cc ... done [ 33s] The C library type is glibc, version "-DGLIBCV=230". [ 33s] 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 [ 33s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 33s] Testing C library for localtime() and strftime(), using cc ... present [ 33s] ln -s dialects/linux/dfile.c dfile.c [ 33s] ln -s dialects/linux/dlsof.h dlsof.h [ 33s] ln -s dialects/linux/dmnt.c dmnt.c [ 33s] ln -s dialects/linux/dnode.c dnode.c [ 33s] ln -s dialects/linux/dproc.c dproc.c [ 33s] ln -s dialects/linux/dproto.h dproto.h [ 33s] ln -s dialects/linux/dsock.c dsock.c [ 33s] ln -s dialects/linux/dstore.c dstore.c [ 33s] ln -s dialects/linux/machine.h machine.h [ 33s] Makefile and lib/Makefile created. [ 33s] ./tests/config.cc created [ 33s] ./tests/config.cflags created [ 33s] ./tests/config.ldflags created [ 33s] ./tests/config.xobj created [ 33s] + 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 [ 33s] (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\"") [ 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 -Wl,-z,noseparate-code -g -c -o dfile.o dfile.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 -Wl,-z,noseparate-code -g -c -o dmnt.o dmnt.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 -Wl,-z,noseparate-code -g -c -o dnode.o dnode.c [ 33s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 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 -Wl,-z,noseparate-code -g -c -o ckkv.o ckkv.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 -Wl,-z,noseparate-code -g -c -o cvfs.o cvfs.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 -Wl,-z,noseparate-code -g -c -o dvch.o dvch.c [ 33s] In file included from dfile.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] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 33s] | ^~~~~ [ 33s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] In file included from dnode.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] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 33s] | ^~~~~ [ 33s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] In file included from dmnt.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] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 33s] | ^~~~~ [ 33s] dmnt.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 -Wl,-z,noseparate-code -g -c -o fino.o fino.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 -Wl,-z,noseparate-code -g -c -o isfn.o isfn.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 -Wl,-z,noseparate-code -g -c -o lkud.o lkud.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 -Wl,-z,noseparate-code -g -c -o pdvn.o pdvn.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 -Wl,-z,noseparate-code -g -c -o prfp.o prfp.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 -Wl,-z,noseparate-code -g -c -o ptti.o ptti.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 -Wl,-z,noseparate-code -g -c -o rdev.o rdev.c [ 33s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -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 [ 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 -Wl,-z,noseparate-code -g -c -o regex.o regex.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 -Wl,-z,noseparate-code -g -c -o rmnt.o rmnt.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 -Wl,-z,noseparate-code -g -c -o dsock.o dsock.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 -Wl,-z,noseparate-code -g -c -o rnam.o rnam.c [ 33s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -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 [ 33s] In file included from dproc.c:38: [ 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] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 33s] | ^~~~~ [ 33s] dproc.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 -Wl,-z,noseparate-code -g -c -o rnmh.o rnmh.c [ 33s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -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 [ 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 -Wl,-z,noseparate-code -g -c -o dstore.o dstore.c [ 33s] dsock.c: In function 'get_icmp': [ 33s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 33s] 746 | MALLOC_S lal, ral, spl; [ 33s] | ^~~ [ 33s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 33s] 745 | unsigned long pr; [ 33s] | ^~ [ 33s] 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 [ 33s] ranlib liblsof.a [ 33s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 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 -Wl,-z,noseparate-code -g -c -o arg.o arg.c [ 33s] In file included from dsock.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] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 33s] | ^~~~~ [ 33s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] In file included from dstore.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] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 33s] | ^~~~~ [ 33s] dstore.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 -Wl,-z,noseparate-code -g -c -o main.o main.c [ 33s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 33s] | ^~~~~ [ 33s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 33 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] In file included from main.c:41: [ 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] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 33s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 33s] | ^~~~~ [ 33s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 33s] 35 | static char copyright[] = [ 33s] | ^~~~~~~~~ [ 33s] dproc.c: In function 'process_id': [ 33s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 33s] 1121 | if (efs) { [ 33s] | ^ [ 33s] 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 -Wl,-z,noseparate-code -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] 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] | ^~~~~~~~~~~~~ [ 34s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -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 [ 34s] In file included from node.c:39: [ 34s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 34s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 34s] | ^~~~~~~~~~ [ 34s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 34s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 34s] | ^~~~~ [ 34s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 34s] 33 | static char copyright[] = [ 34s] | ^~~~~~~~~ [ 34s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -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 [ 34s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -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 [ 34s] In file included from proc.c:39: [ 34s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 34s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 34s] | ^~~~~~~~~~ [ 34s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 34s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 34s] | ^~~~~ [ 34s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 34s] 33 | static char copyright[] = [ 34s] | ^~~~~~~~~ [ 34s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 34s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 34s] | ^~~~~ [ 34s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 34s] 33 | static char copyright[] = [ 34s] | ^~~~~~~~~ [ 34s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -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 [ 34s] In file included from /usr/include/string.h:494, [ 34s] from dlsof.h:48, [ 34s] from lsof.h:195, [ 34s] from dsock.c:39: [ 34s] In function 'strncpy', [ 34s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 34s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 34s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 34s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 34s] dsock.c: In function 'process_proc_sock': [ 34s] dsock.c:2780:9: note: length computed here [ 34s] 2780 | len = strlen(ip->la); [ 34s] | ^~~~~~~~~~~~~~ [ 34s] In file included from store.c:39: [ 34s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 34s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 34s] | ^~~~~~~~~~ [ 34s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 34s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 34s] | ^~~~~ [ 34s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 34s] 33 | static char copyright[] = [ 34s] | ^~~~~~~~~ [ 34s] Constructing version.h [ 34s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -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 [ 34s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 34s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 34s] | ^~~~~ [ 34s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 34s] 40 | static char copyright[] = [ 34s] | ^~~~~~~~~ [ 34s] print.c: In function 'printiproto': [ 34s] 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=] [ 34s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 34s] | ^~ [ 34s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 34s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 34s] | ^~~~~~ [ 34s] In file included from /usr/include/stdio.h:867, [ 34s] from lsof.h:58, [ 34s] from print.c:39: [ 34s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 34s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 34s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 34s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 34s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 34s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -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 [ 34s] usage.c: In function 'usage': [ 34s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 34s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 34s] | ^~~~~~~~~~ [ 34s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 34s] 64 | char *s; /* string pointer */ [ 34s] | ^ [ 34s] In file included from usage.c:39: [ 34s] At top level: [ 34s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 34s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 34s] | ^~~~~~~~~~ [ 34s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 34s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 34s] | ^~~~~ [ 34s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 34s] 33 | static char copyright[] = [ 34s] | ^~~~~~~~~ [ 34s] 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 [ 34s] + exit 0 [ 34s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WUZFye [ 34s] + umask 022 [ 34s] + cd /home/abuild/rpmbuild/BUILD [ 34s] + cd lsof_4.87-linux-only [ 34s] + LANG=C [ 34s] + export LANG [ 34s] + unset DISPLAY [ 34s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.303.i386 [ 34s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.303.i386 [ 34s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.303.i386/usr/sbin/lsof [ 34s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.303.i386/usr/share/man/man8/lsof.8 [ 34s] + /usr/lib/rpm/find-debuginfo.sh -j4 --build-id-seed 4.87-2.303 --unique-debug-src-base lsof-4.87-2.303.i386 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 34s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.303.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.303.i386 [ 34s] Processing files: lsof-4.87-2.303.i686 [ 34s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 34s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 34s] [ 34s] Provides: lsof = 4.87-2.303 lsof(x86-32) = 4.87-2.303 [ 34s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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.303.i686 [ 34s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 34s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 34s] [ 34s] Provides: lsof-debugsource = 4.87-2.303 lsof-debugsource(x86-32) = 4.87-2.303 [ 34s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 34s] Processing files: lsof-docs-4.87-2.303.i686 [ 34s] Provides: lsof-docs = 4.87-2.303 lsof-docs(x86-32) = 4.87-2.303 [ 34s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 34s] Processing files: lsof-debuginfo-4.87-2.303.i686 [ 34s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 34s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 34s] [ 34s] Provides: lsof-debuginfo = 4.87-2.303 lsof-debuginfo(x86-32) = 4.87-2.303 [ 34s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 34s] Recommends: lsof-debugsource(x86-32) = 4.87-2.303 [ 34s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.303.i386 [ 34s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.303.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.303.i686.rpm [ 35s] 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.303.i686.rpm [ 35s] 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.303.i686.rpm [ 35s] 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.303.i686.rpm [ 35s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vJscng [ 35s] + umask 022 [ 35s] + cd /home/abuild/rpmbuild/BUILD [ 35s] + cd lsof_4.87-linux-only [ 35s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.303.i386 [ 35s] + exit 0 [ 35s] ... checking for files with abuild user/group [ 35s] ... creating baselibs [ 35s] ... comparing built packages with the former built [ 35s] /usr/lib/build/pkg-diff.sh [ 35s] compare /.build.oldpackages/lsof-4.87-2.302.src.rpm /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.303.src.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] RPM meta information is identical [ 35s] compare /.build.oldpackages/lsof-4.87-2.302.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-4.87-2.303.i686.rpm [ 35s] Comparing lsof-4.87-2.302.i686.rpm to lsof-4.87-2.303.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 [ 36s] /usr/sbin/lsof differs in ELF section .rodata [ 36s] --- /tmp/tmp.ZyxVD68055/tmp.DjsKh68174 2021-05-03 14:58:09.107284096 +0000 [ 36s] +++ /tmp/tmp.ZyxVD68055/tmp.PeddK68175 2021-05-03 14:58:09.111284091 +0000 [ 36s] @@ -1106,7 +1106,7 @@ [ 36s] 806b4f8 616e2070 6167653a 2025736c 736f665f an page: %slsof_ [ 36s] 806b508 6d616e0a 00000000 392e322e 30202854 man.....9.2.0 (T [ 36s] 806b518 697a656e 20474343 20392e32 2e302032 izen GCC 9.2.0 2 [ 36s] - 806b528 30313930 38313220 392e3130 29200000 0190812 9.10) .. [ 36s] + 806b528 30313930 38313220 392e3134 29200000 0190812 9.14) .. [ 36s] 806b538 2d444c49 4e555856 3d333130 30303020 -DLINUXV=310000 [ 36s] 806b548 2d44474c 49424356 3d323330 202d4448 -DGLIBCV=230 -DH [ 36s] 806b558 41534950 7636202d 445f4649 4c455f4f ASIPv6 -D_FILE_O [ 36s] compare /.build.oldpackages/lsof-debuginfo-4.87-2.302.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-debuginfo-4.87-2.303.i686.rpm [ 36s] skipping -debuginfo package [ 36s] compare /.build.oldpackages/lsof-debugsource-4.87-2.302.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-debugsource-4.87-2.303.i686.rpm [ 36s] Comparing lsof-debugsource-4.87-2.302.i686.rpm to lsof-debugsource-4.87-2.303.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.302.i686.rpm /home/abuild/rpmbuild/RPMS/i686/lsof-docs-4.87-2.303.i686.rpm [ 36s] Comparing lsof-docs-4.87-2.302.i686.rpm to lsof-docs-4.87-2.303.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] obsnw14 finished "build lsof.spec" at Mon May 3 14:58:09 UTC 2021. [ 36s]