[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_5 [ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel [ 0s] [ 0s] [ 0s] obsnw07 started "build _service:gbs:lsof.spec" at Tue Jun 9 05:47:24 UTC 2020. [ 0s] [ 0s] Building lsof for project 'Tizen:Unified' repository 'standard' arch 'armv7l' srcmd5 '3f12d9c4371d393fadf0bc41d0bb81ea' [ 0s] [ 0s] processing recipe /var/cache/build/root_5/.build-srcdir/_service:gbs:lsof.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_5/.build-srcdir/_service:gbs:lsof.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/5/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_5/.build.rpmlist /var/cache/build/root_5/.build-srcdir/_service:gbs:lsof.spec build rpmlint-Factory ... [ 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] registering binfmt handlers for cross build [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /var/run/obs/worker/5/build/qemu-reg: line 8: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P [ 1s] [ 1s] /.build/qemu-reg: No such file or directory [ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 1s] /usr/lib/build/qemu-reg: No such file or directory [ 1s] /usr/lib/build/qemu-reg: binfmt registration failed [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/40] preinstalling libmagic-data... [ 1s] [2/40] preinstalling libncurses... [ 1s] [3/40] preinstalling setup... [ 1s] [4/40] preinstalling filesystem... [ 1s] [5/40] preinstalling glibc... [ 1s] [6/40] preinstalling libbz2... [ 1s] [7/40] preinstalling libgcc... [ 1s] [8/40] preinstalling bash... [ 1s] [9/40] preinstalling diffutils... [ 1s] [10/40] preinstalling grep... [ 1s] [11/40] preinstalling libattr... [ 1s] [12/40] preinstalling libblkid... [ 1s] [13/40] preinstalling libcap... [ 1s] [14/40] preinstalling libfreebl3... [ 1s] [15/40] preinstalling liblua... [ 1s] [16/40] preinstalling liblzma... [ 1s] [17/40] preinstalling libpopt... [ 2s] [18/40] preinstalling libreadline... [ 2s] [19/40] preinstalling libsmack... [ 2s] [20/40] preinstalling libsqlite... [ 2s] [21/40] preinstalling libuuid... [ 2s] [22/40] preinstalling nspr... [ 2s] [23/40] preinstalling sed... [ 2s] [24/40] preinstalling zlib... [ 2s] [25/40] preinstalling qemu-accel-x86_64-armv7l... [ 6s] [26/40] preinstalling qemu-linux-user-x86_64-cross... [ 7s] [27/40] preinstalling coreutils... [ 7s] [28/40] preinstalling libacl... [ 7s] [29/40] preinstalling libelf... [ 7s] [30/40] preinstalling libmount... [ 7s] [31/40] preinstalling smack... [ 7s] [32/40] preinstalling bzip2... [ 7s] [33/40] preinstalling libmagic... [ 7s] [34/40] preinstalling libxml2... [ 7s] [35/40] preinstalling tar... [ 7s] [36/40] preinstalling util-linux... [ 7s] [37/40] preinstalling util-linux-su... [ 7s] [38/40] preinstalling nss... [ 7s] [39/40] preinstalling libsoftokn3... [ 7s] [40/40] preinstalling rpm... [ 8s] [ 8s] running qemu-linux-user-x86_64-cross postinstall script [ 8s] running qemu-accel-x86_64-armv7l postinstall script [ 8s] running setup postinstall script [ 8s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 8s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 8s] initializing rpm db... [ 8s] reordering...cycle: libsoftokn3 -> nss [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] done [ 8s] [1/94] installing libmagic-data-5.37-18.15 [ 8s] [2/94] installing setup-0.9-10.30 [ 8s] warning: /etc/profile created as /etc/profile.rpmnew [ 8s] [3/94] installing filesystem-3.1-8.1 [ 8s] [4/94] installing glibc-2.30-26.9 [ 9s] [5/94] installing libatomic-9.2.0-8.8 [ 9s] [6/94] installing libbz2-1.0.8-8.21 [ 9s] [7/94] installing libgcc-9.2.0-8.8 [ 10s] [8/94] installing bash-3.2.57-6.7 [ 10s] [9/94] installing cpio-2.11-3.7 [ 10s] [10/94] installing diffutils-3.3-3.7 [ 10s] [11/94] installing findutils-4.3.8-6.367 [ 10s] [12/94] installing gdbm-1.8.3-4.266 [ 10s] [13/94] installing hostname-3.23-7.4 [ 10s] [14/94] installing libattr-2.4.47-5.620 [ 10s] [15/94] installing libblkid-2.34-17.8 [ 11s] [16/94] installing libcap-2.24-4.826 [ 11s] [17/94] installing libext2fs-1.43.4-7.3 [ 11s] [18/94] installing libfreebl3-3.34.1-6.143 [ 11s] [19/94] installing libgfortran-9.2.0-8.8 [ 12s] [20/94] installing libgomp-9.2.0-8.8 [ 12s] [21/94] installing libitm-9.2.0-8.8 [ 12s] [22/94] installing libltdl-2.4.2-5.238 [ 13s] [23/94] installing liblua-5.1.5-5.109 [ 13s] [24/94] installing liblzma-5.2.4-6.307 [ 13s] [25/94] installing libpcre-8.43-7.31 [ 14s] [26/94] installing libpopt-1.16-4.253 [ 14s] [27/94] installing libsmack-1.3.1-5.384 [ 14s] [28/94] installing libsmartcols-2.34-17.8 [ 14s] [29/94] installing libsqlite-3.31.1-20.30 [ 15s] [30/94] installing libstdc++-9.2.0-8.8 [ 15s] [31/94] installing libuuid-2.34-17.8 [ 15s] [32/94] installing m4-1.4.17-4.4 [ 15s] [33/94] installing net-tools-2.0_20121208git-4.1 [ 15s] [34/94] installing nspr-4.12-4.231 [ 16s] [35/94] installing patch-2.7-3.251 [ 16s] [36/94] installing pkg-config-0.28-6.150 [ 16s] [37/94] installing sed-4.1c-4.7 [ 16s] [38/94] installing update-alternatives-1.18.15-5.4 [ 16s] [39/94] installing which-2.20-6.7 [ 16s] [40/94] installing zlib-1.2.11-5.523 [ 16s] [41/94] installing build-compare-2015.04.28-3.343 [ 16s] [42/94] installing libstdc++-devel-9.2.0-8.8 [ 16s] [43/94] installing qemu-linux-user-x86_64-cross-2.7.0.1-1.2.1 [ 18s] [44/94] installing terminfo-base-full-6.1_20191207-12.160 [ 18s] [45/94] installing cpp-9.2.0-8.8 [ 19s] [46/94] installing gcc-c++-9.2.0-8.8 [ 19s] [47/94] installing binutils-2.33.1-19.37 [ 19s] [48/94] installing coreutils-6.9-4.45 [ 20s] [49/94] installing db4-4.8.30.NC-4.162 [ 20s] [50/94] installing gawk-3.1.5-6.4 [ 20s] [51/94] installing grep-2.5.2-6.7 [ 20s] [52/94] installing libacl-2.2.52-5.639 [ 20s] [53/94] installing libcc1-9.2.0-8.8 [ 21s] [54/94] installing libelf-0.178-6.4 [ 21s] [55/94] installing libmount-2.34-17.8 [ 21s] [56/94] installing libubsan-9.2.0-8.8 [ 22s] [57/94] installing make-4.0-5.45 [ 22s] [58/94] installing nss-certs-3.34.1-6.143 [ 22s] [59/94] installing smack-1.3.1-5.384 [ 22s] [60/94] installing bzip2-1.0.8-8.21 [ 22s] [61/94] installing libfdisk-2.34-17.8 [ 22s] [62/94] installing libmagic-5.37-18.15 [ 23s] [63/94] installing libxml2-2.9.10-11.3 [ 23s] [64/94] installing xz-5.2.4-6.307 [ 23s] [65/94] installing linux-glibc-devel-3.10-10.63 [ 23s] [66/94] installing file-5.37-18.15 [ 23s] [67/94] installing glibc-locale-2.30-26.9 [ 24s] [68/94] installing tar-1.17-4.8 [ 24s] [69/94] installing gzip-1.3.12-7.592 [ 24s] [70/94] installing libncurses6-6.1_20191207-12.160 [ 24s] [71/94] installing pam-1.1.6-8.5 [ 25s] [72/94] installing perl-5.30.0-10.86 [ 26s] [73/94] installing tzdata-2019c-12.4 [ 27s] [74/94] installing libdw-0.178-6.4 [ 27s] [75/94] installing gcc-9.2.0-8.8 [ 28s] [76/94] installing build-mkbaselibs-20120927-3.1 [ 28s] [77/94] installing libncurses-6.1_20191207-12.160 [ 28s] [78/94] installing glibc-devel-2.30-26.9 [ 28s] [79/94] installing qemu-accel-x86_64-armv7l-0.4-17.2 [ 33s] [80/94] installing autoconf-2.69-5.327 [ 33s] [81/94] installing less-466-8.12 [ 33s] [82/94] installing libreadline-5.2-5.162 [ 34s] [83/94] installing procps-ng-3.3.15-9.5 [ 34s] [84/94] installing libasm-0.178-6.4 [ 34s] [85/94] installing automake-1.15.1-6.483 [ 34s] [86/94] installing build-20120927-3.1 [ 34s] [87/94] installing elfutils-0.178-6.4 [ 35s] [88/94] installing util-linux-2.34-17.8 [ 35s] [89/94] installing libtool-2.4.2-5.238 [ 35s] [90/94] installing util-linux-su-2.34-17.8 [ 35s] [91/94] installing nss-3.34.1-6.143 [ 35s] [92/94] installing libsoftokn3-3.34.1-6.143 [ 35s] [93/94] installing rpm-4.11.0.1-17.8 [ 36s] [94/94] installing rpm-build-4.11.0.1-17.8 [ 36s] removing nis flags from /var/cache/build/root_5/etc/nsswitch.conf... [ 36s] now finalizing build dir... [ 36s] Running build time source services... [ 36s] build target is armv7l-tizen-linux [ 36s] ----------------------------------------------------------------- [ 36s] I have the following modifications for lsof.spec: [ 36s] 4c4 [ 36s] < Release: 0 [ 36s] --- [ 36s] > Release: 2.238 [ 36s] 42a43 [ 36s] > %changelog [ 36s] ----------------------------------------------------------------- [ 36s] ----- building lsof.spec (user abuild) [ 36s] ----------------------------------------------------------------- [ 36s] ----------------------------------------------------------------- [ 37s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Unified/standard/3f12d9c4371d393fadf0bc41d0bb81ea-lsof' -ba /home/abuild/rpmbuild/SOURCES/lsof.spec [ 37s] Building target platforms: armv7l-tizen-linux [ 37s] Building for target armv7l-tizen-linux [ 37s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qikeMS [ 37s] + umask 022 [ 37s] + cd /home/abuild/rpmbuild/BUILD [ 37s] + cd /home/abuild/rpmbuild/BUILD [ 37s] + rm -rf lsof_4.87-linux-only [ 37s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 37s] + /bin/tar -xf - [ 37s] + STATUS=0 [ 37s] + '[' 0 -ne 0 ']' [ 37s] + cd lsof_4.87-linux-only [ 37s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 37s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 37s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 37s] + /bin/cat /home/abuild/rpmbuild/SOURCES/0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch [ 37s] + /bin/patch -p1 --fuzz=2 [ 37s] patching file usage.c [ 37s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 37s] + exit 0 [ 37s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kCKeBV [ 37s] + umask 022 [ 37s] + cd /home/abuild/rpmbuild/BUILD [ 37s] + cd lsof_4.87-linux-only [ 37s] + [[ arm == \a\a\r\c\h\6\4 ]] [ 37s] + LANG=C [ 37s] + export LANG [ 37s] + unset DISPLAY [ 37s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 37s] + export CFLAGS [ 37s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 37s] + export CXXFLAGS [ 37s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -I%_fmoddir' [ 37s] + export FFLAGS [ 37s] + LDFLAGS= [ 37s] + export LDFLAGS [ 37s] + LSOF_VSTR=2.6.16 [ 37s] + LINUX_BASE=/proc [ 37s] + ./Configure -n linux [ 37s] Testing C library type with cc ... done [ 37s] The C library type is glibc, version "-DGLIBCV=230". [ 37s] rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c dzfs.h kernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile Makefile.zfs ./tests/config.cflags [ 37s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 37s] Testing C library for localtime() and strftime(), using cc ... present [ 37s] ln -s dialects/linux/dfile.c dfile.c [ 37s] ln -s dialects/linux/dlsof.h dlsof.h [ 37s] ln -s dialects/linux/dmnt.c dmnt.c [ 37s] ln -s dialects/linux/dnode.c dnode.c [ 37s] ln -s dialects/linux/dproc.c dproc.c [ 37s] ln -s dialects/linux/dproto.h dproto.h [ 37s] ln -s dialects/linux/dsock.c dsock.c [ 37s] ln -s dialects/linux/dstore.c dstore.c [ 37s] ln -s dialects/linux/machine.h machine.h [ 37s] Makefile and lib/Makefile created. [ 37s] ./tests/config.cc created [ 37s] ./tests/config.cflags created [ 37s] ./tests/config.ldflags created [ 37s] ./tests/config.xobj created [ 37s] + make 'DEBUG=-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' -j4 [ 37s] (cd lib; make DEBUG="-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g" CFGF="-DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\"") [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o dfile.o dfile.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o dmnt.o dmnt.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o dnode.o dnode.c [ 37s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o ckkv.o ckkv.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o cvfs.o cvfs.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o dvch.o dvch.c [ 37s] In file included from dfile.c:39: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 37s] | ^~~~~ [ 37s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] In file included from dnode.c:39: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 37s] | ^~~~~ [ 37s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] In file included from dmnt.c:39: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 37s] | ^~~~~ [ 37s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o fino.o fino.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o isfn.o isfn.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o lkud.o lkud.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o pdvn.o pdvn.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o prfp.o prfp.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o dproc.o dproc.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o ptti.o ptti.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o rdev.o rdev.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o dsock.o dsock.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o regex.o regex.c [ 37s] In file included from dproc.c:38: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 37s] | ^~~~~ [ 37s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o rmnt.o rmnt.c [ 37s] dsock.c: In function 'get_icmp': [ 37s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 37s] 746 | MALLOC_S lal, ral, spl; [ 37s] | ^~~ [ 37s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 37s] 745 | unsigned long pr; [ 37s] | ^~ [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o rnam.o rnam.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o dstore.o dstore.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o rnch.o rnch.c [ 37s] In file included from dsock.c:39: [ 37s] At top level: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 37s] | ^~~~~ [ 37s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o rnmh.o rnmh.c [ 37s] In file included from dstore.c:39: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 37s] | ^~~~~ [ 37s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o snpf.o snpf.c [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o arg.o arg.c [ 37s] 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 [ 37s] ranlib liblsof.a [ 37s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 37s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o main.o main.c [ 37s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 37s] | ^~~~~ [ 37s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 33 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 37s] dproc.c: In function 'process_id': [ 37s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 37s] 1121 | if (efs) { [ 37s] | ^ [ 37s] In file included from main.c:41: [ 37s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 37s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 37s] | ^~~~~~~~~~ [ 37s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 37s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 37s] | ^~~~~ [ 37s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 37s] 35 | static char copyright[] = [ 37s] | ^~~~~~~~~ [ 38s] main.c: In function 'main': [ 38s] main.c:1317:39: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 38s] 1317 | (void) util_strftime(fmtr, fmtl - 1, fmt); [ 38s] | ~~~~~^~~ [ 38s] In file included from /usr/include/string.h:494, [ 38s] from dlsof.h:48, [ 38s] from lsof.h:195, [ 38s] from arg.c:39: [ 38s] In function 'strncpy', [ 38s] inlined from 'enter_dir' at arg.c:1135:10: [ 38s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] [ 38s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] arg.c: In function 'enter_dir': [ 38s] arg.c:1110:23: note: length computed here [ 38s] 1110 | dnamlen = (MALLOC_S)strlen(dp->d_name); [ 38s] | ^~~~~~~~~~~~~~~~~~ [ 38s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o misc.o misc.c [ 38s] In file included from misc.c:39: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: misc.c,v 1.27 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] In file included from /usr/include/string.h:494, [ 38s] from dlsof.h:48, [ 38s] from lsof.h:195, [ 38s] from dsock.c:39: [ 38s] In function 'strncpy', [ 38s] inlined from 'get_sctpaddrs' at dsock.c:1761:13: [ 38s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] [ 38s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] dsock.c: In function 'get_sctpaddrs': [ 38s] dsock.c:1745:51: note: length computed here [ 38s] 1745 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 38s] | ^~~~~~~~~~~~~ [ 38s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o node.o node.c [ 38s] In file included from node.c:39: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 38s] | ^~~~~ [ 38s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o print.o print.c [ 38s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o proc.o proc.c [ 38s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] In file included from proc.c:39: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o store.o store.c [ 38s] In file included from /usr/include/string.h:494, [ 38s] from dlsof.h:48, [ 38s] from lsof.h:195, [ 38s] from dsock.c:39: [ 38s] In function 'strncpy', [ 38s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 38s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 38s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] dsock.c: In function 'process_proc_sock': [ 38s] dsock.c:2780:9: note: length computed here [ 38s] 2780 | len = strlen(ip->la); [ 38s] | ^~~~~~~~~~~~~~ [ 38s] In file included from store.c:39: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] Constructing version.h [ 38s] print.c: In function 'printiproto': [ 38s] print.c:1992:49: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] [ 38s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 38s] | ^~ [ 38s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 38s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 38s] | ^~~~~~ [ 38s] In file included from /usr/include/stdio.h:867, [ 38s] from lsof.h:58, [ 38s] from print.c:39: [ 38s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 38s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 38s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 38s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38s] 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 --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o util.o util.c [ 38s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 38s] | ^~~~~ [ 38s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 40 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -c -o usage.o usage.c [ 38s] usage.c: In function 'usage': [ 38s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 38s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 38s] | ^~~~~~~~~~ [ 38s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 38s] 64 | char *s; /* string pointer */ [ 38s] | ^ [ 38s] In file included from usage.c:39: [ 38s] At top level: [ 38s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 38s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 38s] | ^~~~~~~~~~ [ 38s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 38s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 38s] | ^~~~~ [ 38s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 38s] 33 | static char copyright[] = [ 38s] | ^~~~~~~~~ [ 38s] 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 [ 38s] + exit 0 [ 38s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.psCnoV [ 38s] + umask 022 [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + cd lsof_4.87-linux-only [ 38s] + LANG=C [ 38s] + export LANG [ 38s] + unset DISPLAY [ 38s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.arm [ 38s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.arm [ 38s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.arm/usr/sbin/lsof [ 39s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.arm/usr/share/man/man8/lsof.8 [ 39s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 39s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.arm/usr/sbin/lsof [ 39s] 942 blocks [ 39s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debuginfo.manifest [ 39s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debugsource.manifest [ 39s] + /usr/lib/rpm/check-buildroot [ 39s] + /usr/lib/rpm//brp-compress [ 39s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 39s] + /usr/lib/rpm/brp-python-hardlink [ 39s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.arm [ 39s] Processing files: lsof-4.87-2.238.armv7l [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: lsof = 4.87-2.238 lsof(armv7l-32) = 4.87-2.238 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] Requires: ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) [ 39s] Processing files: lsof-debugsource-4.87-2.238.armv7l [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: lsof-debugsource = 4.87-2.238 lsof-debugsource(armv7l-32) = 4.87-2.238 [ 39s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 39s] Processing files: lsof-docs-4.87-2.238.armv7l [ 39s] Provides: lsof-docs = 4.87-2.238 lsof-docs(armv7l-32) = 4.87-2.238 [ 39s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 39s] Processing files: lsof-debuginfo-4.87-2.238.armv7l [ 39s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 39s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 39s] [ 39s] Provides: lsof-debuginfo = 4.87-2.238 lsof-debuginfo(armv7l-32) = 4.87-2.238 [ 39s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 39s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.arm [ 39s] warning: Could not canonicalize hostname: obsnw07 [ 39s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.238.src.rpm [ 39s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/lsof-4.87-2.238.armv7l.rpm [ 39s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/lsof-debugsource-4.87-2.238.armv7l.rpm [ 39s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/lsof-docs-4.87-2.238.armv7l.rpm [ 40s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/lsof-debuginfo-4.87-2.238.armv7l.rpm [ 40s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NFJBfU [ 40s] + umask 022 [ 40s] + cd /home/abuild/rpmbuild/BUILD [ 40s] + cd lsof_4.87-linux-only [ 40s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.arm [ 40s] + exit 0 [ 40s] ... checking for files with abuild user/group [ 40s] ... creating baselibs [ 40s] ... comparing built packages with the former built [ 40s] /usr/lib/build/pkg-diff.sh [ 40s] compare /.build.oldpackages/lsof-4.87-2.237.src.rpm /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.238.src.rpm [ 40s] This is not a prerelease project. Compare the project name. [ 40s] comparing rpmtags [ 40s] comparing RELEASE [ 40s] comparing PROVIDES [ 40s] comparing scripts [ 40s] comparing filelist [ 40s] comparing file checksum [ 41s] RPM meta information is identical [ 41s] compare /.build.oldpackages/lsof-4.87-2.237.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/lsof-4.87-2.238.armv7l.rpm [ 41s] Comparing lsof-4.87-2.237.armv7l.rpm to lsof-4.87-2.238.armv7l.rpm [ 41s] This is not a prerelease project. Compare the project name. [ 41s] comparing rpmtags [ 41s] comparing RELEASE [ 41s] comparing PROVIDES [ 41s] comparing scripts [ 41s] comparing filelist [ 41s] comparing file checksum [ 41s] creating rename script [ 41s] RPM file checksum differs. [ 41s] Extracting packages [ 41s] /usr/sbin/lsof differs in ELF section .rodata [ 41s] --- /tmp/tmp.MqOj105696/tmp.pDPV106944 2020-06-09 05:48:05.853557793 +0000 [ 41s] +++ /tmp/tmp.MqOj105696/tmp.oAoQ106991 2020-06-09 05:48:05.857557814 +0000 [ 41s] @@ -1077,7 +1077,7 @@ [ 41s] 2a16c 20202020 636f6e66 69677572 6174696f configuratio [ 41s] 2a17c 6e20696e 666f3a20 25730a00 20202020 n info: %s.. [ 41s] 2a18c 636f6e73 74727563 7465643a 2025730a constructed: %s. [ 41s] - 2a19c 00000000 6f62736e 77303400 61627569 ....obsnw04.abui [ 41s] + 2a19c 00000000 6f62736e 77303700 61627569 ....obsnw07.abui [ 41s] 2a1ac 6c640000 20202020 636f6e73 74727563 ld.. construc [ 41s] 2a1bc 74656420 25733a20 25732573 25730a00 ted %s: %s%s%s.. [ 41s] 2a1cc 20202020 6275696c 64657227 7320636f builder's co [ 41s] @@ -1121,7 +1121,7 @@ [ 41s] 2a42c 67733a20 25730a00 2d4c2e2f 6c696220 gs: %s..-L./lib [ 41s] 2a43c 2d6c6c73 6f662000 20202020 6c6f6164 -llsof . load [ 41s] 2a44c 65722066 6c616773 3a202573 0a000000 er flags: %s.... [ 41s] - 2a45c 4c696e75 78206f62 736e7730 3420342e Linux obsnw04 4. [ 41s] + 2a45c 4c696e75 78206f62 736e7730 3720342e Linux obsnw07 4. [ 41s] 2a46c 342e302d 3134322d 67656e65 72696320 4.0-142-generic [ 41s] 2a47c 23313638 2d556275 6e747520 534d5020 #168-Ubuntu SMP [ 41s] 2a48c 57656420 4a616e20 31362032 313a3030 Wed Jan 16 21:00 [ 41s] compare /.build.oldpackages/lsof-debuginfo-4.87-2.237.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/lsof-debuginfo-4.87-2.238.armv7l.rpm [ 41s] skipping -debuginfo package [ 41s] compare /.build.oldpackages/lsof-debugsource-4.87-2.237.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/lsof-debugsource-4.87-2.238.armv7l.rpm [ 42s] Comparing lsof-debugsource-4.87-2.237.armv7l.rpm to lsof-debugsource-4.87-2.238.armv7l.rpm [ 42s] This is not a prerelease project. Compare the project name. [ 42s] comparing rpmtags [ 42s] comparing RELEASE [ 42s] comparing PROVIDES [ 42s] comparing scripts [ 42s] comparing filelist [ 42s] comparing file checksum [ 42s] creating rename script [ 42s] RPM meta information is identical [ 42s] compare /.build.oldpackages/lsof-docs-4.87-2.237.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/lsof-docs-4.87-2.238.armv7l.rpm [ 42s] Comparing lsof-docs-4.87-2.237.armv7l.rpm to lsof-docs-4.87-2.238.armv7l.rpm [ 42s] This is not a prerelease project. Compare the project name. [ 42s] comparing rpmtags [ 42s] comparing RELEASE [ 42s] comparing PROVIDES [ 42s] comparing scripts [ 42s] comparing filelist [ 42s] comparing file checksum [ 42s] creating rename script [ 42s] RPM meta information is identical [ 42s] [ 42s] obsnw07 finished "build lsof.spec" at Tue Jun 9 05:48:06 UTC 2020. [ 42s]