[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_8 [ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel [ 0s] [ 0s] [ 0s] obsnw14 started "build _service:gbs:lsof.spec" at Wed Nov 4 03:11:48 UTC 2020. [ 0s] [ 0s] Building lsof for project 'Tizen:6.0:Unified:Hotfix' repository 'standard' arch 'armv7l' srcmd5 '5dbcf74d6bc9a6fdc3f91e638daf40ac' [ 0s] [ 0s] processing recipe /var/cache/build/root_8/.build-srcdir/_service:gbs:lsof.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_8/.build-srcdir/_service:gbs:lsof.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/8/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_8/.build.rpmlist /var/cache/build/root_8/.build-srcdir/_service:gbs:lsof.spec build rpmlint-Factory ... [ 1s] copying qemu [ 1s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 1s] [ 1s] registering binfmt handlers for cross build [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /var/run/obs/worker/8/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 libgcc... [ 1s] [7/40] preinstalling bash... [ 1s] [8/40] preinstalling diffutils... [ 1s] [9/40] preinstalling grep... [ 1s] [10/40] preinstalling libattr... [ 1s] [11/40] preinstalling libblkid... [ 1s] [12/40] preinstalling libbz2... [ 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... [ 1s] [18/40] preinstalling libreadline... [ 1s] [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/93] installing libmagic-data-5.37-1.50 [ 8s] [2/93] installing setup-0.9-1.1 [ 8s] warning: /etc/profile created as /etc/profile.rpmnew [ 8s] [3/93] installing filesystem-3.1-1.1 [ 8s] [4/93] installing glibc-2.30-1.16 [ 9s] [5/93] installing libatomic-9.2.0-1.11 [ 9s] [6/93] installing libgcc-9.2.0-1.11 [ 9s] [7/93] installing bash-3.2.57-1.1 [ 9s] [8/93] installing cpio-2.11-1.1 [ 9s] [9/93] installing diffutils-3.3-1.1 [ 9s] [10/93] installing findutils-4.3.8-1.74 [ 9s] [11/93] installing gdbm-1.8.3-1.79 [ 10s] [12/93] installing hostname-3.23-1.1 [ 10s] [13/93] installing libattr-2.4.47-1.81 [ 10s] [14/93] installing libblkid-2.34-1.1 [ 10s] [15/93] installing libbz2-1.0.8-1.73 [ 11s] [16/93] installing libcap-2.24-1.69 [ 11s] [17/93] installing libext2fs-1.43.4-1.1 [ 12s] [18/93] installing libfreebl3-3.34.1-1.44 [ 12s] [19/93] installing libgfortran-9.2.0-1.11 [ 13s] [20/93] installing libgomp-9.2.0-1.11 [ 14s] [21/93] installing libitm-9.2.0-1.11 [ 14s] [22/93] installing libltdl-2.4.2-1.55 [ 14s] [23/93] installing liblua-5.1.5-1.26 [ 15s] [24/93] installing liblzma-5.2.4-1.50 [ 16s] [25/93] installing libpcre-8.43-1.2 [ 16s] [26/93] installing libpopt-1.16-1.76 [ 17s] [27/93] installing libsmack-1.3.1-1.69 [ 17s] [28/93] installing libsmartcols-2.34-1.1 [ 18s] [29/93] installing libsqlite-3.31.1-1.61 [ 19s] [30/93] installing libstdc++-9.2.0-1.11 [ 19s] [31/93] installing libuuid-2.34-1.1 [ 20s] [32/93] installing m4-1.4.17-1.1 [ 20s] [33/93] installing net-tools-2.0_20121208git-1.1 [ 20s] [34/93] installing nspr-4.12-1.76 [ 20s] [35/93] installing patch-2.7-1.75 [ 20s] [36/93] installing pkg-config-0.28-1.64 [ 21s] [37/93] installing sed-4.1c-1.1 [ 21s] [38/93] installing update-alternatives-1.18.15-1.1 [ 21s] [39/93] installing which-2.20-1.1 [ 21s] [40/93] installing zlib-1.2.11-1.74 [ 22s] [41/93] installing build-compare-2015.04.28-1.16 [ 22s] [42/93] installing libstdc++-devel-9.2.0-1.11 [ 23s] [43/93] installing qemu-linux-user-x86_64-cross-2.7.0.1-1.2.1 [ 34s] [44/93] installing terminfo-base-full-6.1_20191207-1.48 [ 34s] [45/93] installing cpp-9.2.0-1.11 [ 37s] [46/93] installing gcc-c++-9.2.0-1.11 [ 38s] [47/93] installing binutils-2.33.1-1.29 [ 42s] [48/93] installing coreutils-6.9-1.9 [ 42s] [49/93] installing gawk-3.1.5-1.1 [ 42s] [50/93] installing grep-2.5.2-1.1 [ 43s] [51/93] installing libacl-2.2.52-1.80 [ 51s] [52/93] installing libcc1-9.2.0-1.11 [ 55s] [53/93] installing libelf-0.178-1.7 [ 58s] [54/93] installing libmount-2.34-1.1 [ 65s] [55/93] installing libubsan-9.2.0-1.11 [ 70s] [56/93] installing make-4.0-1.7 [ 71s] [57/93] installing nss-certs-3.34.1-1.44 [ 72s] [58/93] installing smack-1.3.1-1.69 [ 75s] [59/93] installing bzip2-1.0.8-1.73 [ 75s] [60/93] installing libfdisk-2.34-1.1 [ 76s] [61/93] installing libmagic-5.37-1.50 [ 78s] [62/93] installing libxml2-2.9.10-1.18 [ 78s] [63/93] installing perl-5.30.0-1.26 [ 81s] [64/93] installing xz-5.2.4-1.50 [ 81s] [65/93] installing build-mkbaselibs-20120927-1.1 [ 81s] [66/93] installing linux-glibc-devel-3.10-1.72 [ 82s] [67/93] installing autoconf-2.69-1.30 [ 82s] [68/93] installing file-5.37-1.50 [ 82s] [69/93] installing glibc-locale-2.30-1.16 [ 83s] [70/93] installing tar-1.17-1.1 [ 83s] [71/93] installing gzip-1.3.12-1.77 [ 83s] [72/93] installing libncurses6-6.1_20191207-1.48 [ 84s] [73/93] installing pam-1.1.6-1.1 [ 85s] [74/93] installing tzdata-2019c-1.1 [ 85s] [75/93] installing libdw-0.178-1.7 [ 86s] [76/93] installing gcc-9.2.0-1.11 [ 88s] [77/93] installing libncurses-6.1_20191207-1.48 [ 88s] [78/93] installing glibc-devel-2.30-1.16 [ 88s] [79/93] installing qemu-accel-x86_64-armv7l-0.4-1.1 [ 98s] [80/93] installing automake-1.15.1-1.37 [ 99s] [81/93] installing less-466-1.1 [ 99s] [82/93] installing libreadline-5.2-1.21 [ 100s] [83/93] installing procps-ng-3.3.15-1.1 [ 100s] [84/93] installing libasm-0.178-1.7 [ 100s] [85/93] installing build-20120927-1.1 [ 101s] [86/93] installing libtool-2.4.2-1.55 [ 101s] [87/93] installing elfutils-0.178-1.7 [ 101s] [88/93] installing util-linux-2.34-1.1 [ 101s] [89/93] installing util-linux-su-2.34-1.1 [ 101s] [90/93] installing nss-3.34.1-1.44 [ 101s] [91/93] installing libsoftokn3-3.34.1-1.44 [ 101s] [92/93] installing rpm-4.11.0.1-1.42 [ 102s] [93/93] installing rpm-build-4.11.0.1-1.42 [ 102s] removing nis flags from /var/cache/build/root_8/etc/nsswitch.conf... [ 102s] now finalizing build dir... [ 103s] Running build time source services... [ 104s] build target is armv7l-tizen-linux [ 104s] ----------------------------------------------------------------- [ 104s] I have the following modifications for lsof.spec: [ 104s] 4c4 [ 104s] < Release: 0 [ 104s] --- [ 104s] > Release: 1.2 [ 104s] 42a43 [ 104s] > %changelog [ 104s] ----------------------------------------------------------------- [ 104s] ----- building lsof.spec (user abuild) [ 104s] ----------------------------------------------------------------- [ 104s] ----------------------------------------------------------------- [ 105s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:6.0:Unified:Hotfix/standard/5dbcf74d6bc9a6fdc3f91e638daf40ac-lsof' -ba /home/abuild/rpmbuild/SOURCES/lsof.spec [ 105s] Building target platforms: armv7l-tizen-linux [ 105s] Building for target armv7l-tizen-linux [ 105s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D43LBP [ 105s] + umask 022 [ 105s] + cd /home/abuild/rpmbuild/BUILD [ 105s] + cd /home/abuild/rpmbuild/BUILD [ 105s] + rm -rf lsof_4.87-linux-only [ 105s] + /bin/tar -xf - [ 105s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 105s] + STATUS=0 [ 105s] + '[' 0 -ne 0 ']' [ 105s] + cd lsof_4.87-linux-only [ 105s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 105s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 105s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 105s] + /bin/cat /home/abuild/rpmbuild/SOURCES/0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch [ 105s] + /bin/patch -p1 --fuzz=2 [ 105s] patching file usage.c [ 105s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 105s] + exit 0 [ 105s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JnNGZM [ 105s] + umask 022 [ 105s] + cd /home/abuild/rpmbuild/BUILD [ 105s] + cd lsof_4.87-linux-only [ 105s] + [[ arm == \a\a\r\c\h\6\4 ]] [ 105s] + LANG=C [ 105s] + export LANG [ 105s] + unset DISPLAY [ 105s] + 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' [ 105s] + export CFLAGS [ 105s] + 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' [ 105s] + export CXXFLAGS [ 105s] + 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' [ 105s] + export FFLAGS [ 105s] + LDFLAGS= [ 105s] + export LDFLAGS [ 105s] + LSOF_VSTR=2.6.16 [ 105s] + LINUX_BASE=/proc [ 105s] + ./Configure -n linux [ 106s] Testing C library type with cc ... done [ 106s] The C library type is glibc, version "-DGLIBCV=230". [ 106s] 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 [ 106s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 106s] Testing C library for localtime() and strftime(), using cc ... present [ 106s] ln -s dialects/linux/dfile.c dfile.c [ 106s] ln -s dialects/linux/dlsof.h dlsof.h [ 106s] ln -s dialects/linux/dmnt.c dmnt.c [ 106s] ln -s dialects/linux/dnode.c dnode.c [ 106s] ln -s dialects/linux/dproc.c dproc.c [ 106s] ln -s dialects/linux/dproto.h dproto.h [ 106s] ln -s dialects/linux/dsock.c dsock.c [ 106s] ln -s dialects/linux/dstore.c dstore.c [ 106s] ln -s dialects/linux/machine.h machine.h [ 106s] Makefile and lib/Makefile created. [ 106s] ./tests/config.cc created [ 106s] ./tests/config.cflags created [ 106s] ./tests/config.ldflags created [ 106s] ./tests/config.xobj created [ 106s] + 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 [ 106s] (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\"") [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] In file included from dfile.c:39: [ 106s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 106s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 106s] | ^~~~~~~~~~ [ 106s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 106s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 106s] | ^~~~~ [ 106s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 106s] 33 | static char copyright[] = [ 106s] | ^~~~~~~~~ [ 106s] In file included from dnode.c:39: [ 106s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 106s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 106s] | ^~~~~~~~~~ [ 106s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 106s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 106s] | ^~~~~ [ 106s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 106s] 33 | static char copyright[] = [ 106s] | ^~~~~~~~~ [ 106s] In file included from dmnt.c:39: [ 106s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 106s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 106s] | ^~~~~~~~~~ [ 106s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 106s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 106s] | ^~~~~ [ 106s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 106s] 33 | static char copyright[] = [ 106s] | ^~~~~~~~~ [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] In file included from dproc.c:38: [ 106s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 106s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 106s] | ^~~~~~~~~~ [ 106s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 106s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 106s] | ^~~~~ [ 106s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 106s] 33 | static char copyright[] = [ 106s] | ^~~~~~~~~ [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] 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 [ 106s] dsock.c: In function 'get_icmp': [ 106s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 106s] 746 | MALLOC_S lal, ral, spl; [ 106s] | ^~~ [ 106s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 106s] 745 | unsigned long pr; [ 106s] | ^~ [ 106s] 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 [ 106s] ranlib liblsof.a [ 106s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 106s] 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 [ 106s] In file included from dstore.c:39: [ 106s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 106s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 106s] | ^~~~~~~~~~ [ 106s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 106s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 106s] | ^~~~~ [ 106s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 106s] 33 | static char copyright[] = [ 106s] | ^~~~~~~~~ [ 106s] 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 [ 106s] In file included from dsock.c:39: [ 106s] At top level: [ 106s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 106s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 106s] | ^~~~~~~~~~ [ 106s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 106s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 106s] | ^~~~~ [ 106s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 106s] 33 | static char copyright[] = [ 106s] | ^~~~~~~~~ [ 106s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 106s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 106s] | ^~~~~ [ 106s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 106s] 33 | static char copyright[] = [ 106s] | ^~~~~~~~~ [ 106s] dproc.c: In function 'process_id': [ 106s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 106s] 1121 | if (efs) { [ 106s] | ^ [ 106s] In file included from main.c:41: [ 106s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 106s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 106s] | ^~~~~~~~~~ [ 106s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 106s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 106s] | ^~~~~ [ 106s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 106s] 35 | static char copyright[] = [ 106s] | ^~~~~~~~~ [ 106s] main.c: In function 'main': [ 106s] main.c:1317:39: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 106s] 1317 | (void) util_strftime(fmtr, fmtl - 1, fmt); [ 106s] | ~~~~~^~~ [ 107s] In file included from /usr/include/string.h:494, [ 107s] from dlsof.h:48, [ 107s] from lsof.h:195, [ 107s] from arg.c:39: [ 107s] In function 'strncpy', [ 107s] inlined from 'enter_dir' at arg.c:1135:10: [ 107s] /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] [ 107s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 107s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 107s] arg.c: In function 'enter_dir': [ 107s] arg.c:1110:23: note: length computed here [ 107s] 1110 | dnamlen = (MALLOC_S)strlen(dp->d_name); [ 107s] | ^~~~~~~~~~~~~~~~~~ [ 107s] 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 [ 107s] In file included from misc.c:39: [ 107s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 107s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 107s] | ^~~~~~~~~~ [ 107s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 107s] 35 | static char *rcsid = "$Id: misc.c,v 1.27 2013/01/02 17:14:59 abe Exp $"; [ 107s] | ^~~~~ [ 107s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 107s] 33 | static char copyright[] = [ 107s] | ^~~~~~~~~ [ 107s] In file included from /usr/include/string.h:494, [ 107s] from dlsof.h:48, [ 107s] from lsof.h:195, [ 107s] from dsock.c:39: [ 107s] In function 'strncpy', [ 107s] inlined from 'get_sctpaddrs' at dsock.c:1761:13: [ 107s] /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] [ 107s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 107s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 107s] dsock.c: In function 'get_sctpaddrs': [ 107s] dsock.c:1745:51: note: length computed here [ 107s] 1745 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 107s] | ^~~~~~~~~~~~~ [ 107s] 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 [ 107s] 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 [ 107s] In file included from node.c:39: [ 107s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 107s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 107s] | ^~~~~~~~~~ [ 107s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 107s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 107s] | ^~~~~ [ 107s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 107s] 33 | static char copyright[] = [ 107s] | ^~~~~~~~~ [ 107s] 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 [ 107s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 107s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 107s] | ^~~~~ [ 107s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 107s] 33 | static char copyright[] = [ 107s] | ^~~~~~~~~ [ 107s] In file included from proc.c:39: [ 107s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 107s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 107s] | ^~~~~~~~~~ [ 107s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 107s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 107s] | ^~~~~ [ 107s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 107s] 33 | static char copyright[] = [ 107s] | ^~~~~~~~~ [ 107s] 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 [ 107s] In file included from store.c:39: [ 107s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 107s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 107s] | ^~~~~~~~~~ [ 107s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 107s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 107s] | ^~~~~ [ 107s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 107s] 33 | static char copyright[] = [ 107s] | ^~~~~~~~~ [ 107s] Constructing version.h [ 107s] In file included from /usr/include/string.h:494, [ 107s] from dlsof.h:48, [ 107s] from lsof.h:195, [ 107s] from dsock.c:39: [ 107s] In function 'strncpy', [ 107s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 107s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 107s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 107s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 107s] dsock.c: In function 'process_proc_sock': [ 107s] dsock.c:2780:9: note: length computed here [ 107s] 2780 | len = strlen(ip->la); [ 107s] | ^~~~~~~~~~~~~~ [ 107s] print.c: In function 'printiproto': [ 107s] 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=] [ 107s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 107s] | ^~ [ 107s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 107s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 107s] | ^~~~~~ [ 107s] In file included from /usr/include/stdio.h:867, [ 107s] from lsof.h:58, [ 107s] from print.c:39: [ 107s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 107s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 107s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 107s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 107s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 107s] 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 [ 107s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 107s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 107s] | ^~~~~ [ 107s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 107s] 40 | static char copyright[] = [ 107s] | ^~~~~~~~~ [ 107s] 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 [ 107s] usage.c: In function 'usage': [ 107s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 107s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 107s] | ^~~~~~~~~~ [ 107s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 107s] 64 | char *s; /* string pointer */ [ 107s] | ^ [ 107s] In file included from usage.c:39: [ 107s] At top level: [ 107s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 107s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 107s] | ^~~~~~~~~~ [ 107s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 107s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 107s] | ^~~~~ [ 107s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 107s] 33 | static char copyright[] = [ 107s] | ^~~~~~~~~ [ 107s] 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 [ 107s] + exit 0 [ 107s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cHMnpM [ 107s] + umask 022 [ 107s] + cd /home/abuild/rpmbuild/BUILD [ 107s] + cd lsof_4.87-linux-only [ 107s] + LANG=C [ 107s] + export LANG [ 107s] + unset DISPLAY [ 107s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.arm [ 107s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.arm [ 107s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.arm/usr/sbin/lsof [ 107s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.arm/usr/share/man/man8/lsof.8 [ 107s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 107s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.arm/usr/sbin/lsof [ 109s] 942 blocks [ 109s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debuginfo.manifest [ 109s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debugsource.manifest [ 109s] + /usr/lib/rpm/check-buildroot [ 109s] + /usr/lib/rpm//brp-compress [ 109s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 109s] + /usr/lib/rpm/brp-python-hardlink [ 109s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.arm [ 109s] Processing files: lsof-4.87-1.2.armv7l [ 109s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 109s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 109s] [ 109s] Provides: lsof = 4.87-1.2 lsof(armv7l-32) = 4.87-1.2 [ 109s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 109s] 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) [ 109s] Processing files: lsof-debugsource-4.87-1.2.armv7l [ 109s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 109s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 109s] [ 109s] Provides: lsof-debugsource = 4.87-1.2 lsof-debugsource(armv7l-32) = 4.87-1.2 [ 109s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 109s] Processing files: lsof-docs-4.87-1.2.armv7l [ 109s] Provides: lsof-docs = 4.87-1.2 lsof-docs(armv7l-32) = 4.87-1.2 [ 109s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 109s] Processing files: lsof-debuginfo-4.87-1.2.armv7l [ 109s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 109s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 109s] [ 109s] Provides: lsof-debuginfo = 4.87-1.2 lsof-debuginfo(armv7l-32) = 4.87-1.2 [ 109s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 109s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.arm [ 110s] warning: Could not canonicalize hostname: obsnw14 [ 110s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-1.2.src.rpm [ 110s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/lsof-4.87-1.2.armv7l.rpm [ 110s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/lsof-debugsource-4.87-1.2.armv7l.rpm [ 110s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/lsof-docs-4.87-1.2.armv7l.rpm [ 111s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/lsof-debuginfo-4.87-1.2.armv7l.rpm [ 111s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FmphHP [ 111s] + umask 022 [ 111s] + cd /home/abuild/rpmbuild/BUILD [ 111s] + cd lsof_4.87-linux-only [ 111s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-1.2.arm [ 111s] + exit 0 [ 111s] ... checking for files with abuild user/group [ 111s] ... creating baselibs [ 113s] ... comparing built packages with the former built [ 113s] /usr/lib/build/pkg-diff.sh [ 113s] compare /.build.oldpackages/lsof-4.87-1.1.src.rpm /home/abuild/rpmbuild/SRPMS/lsof-4.87-1.2.src.rpm [ 113s] This is not a prerelease project. Compare the project name. [ 113s] comparing rpmtags [ 113s] comparing RELEASE [ 113s] comparing PROVIDES [ 113s] comparing scripts [ 113s] comparing filelist [ 113s] comparing file checksum [ 113s] RPM meta information is identical [ 113s] compare /.build.oldpackages/lsof-4.87-1.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/lsof-4.87-1.2.armv7l.rpm [ 113s] Comparing lsof-4.87-1.1.armv7l.rpm to lsof-4.87-1.2.armv7l.rpm [ 113s] This is not a prerelease project. Compare the project name. [ 113s] comparing rpmtags [ 113s] comparing RELEASE [ 113s] comparing PROVIDES [ 113s] comparing scripts [ 113s] comparing filelist [ 113s] comparing file checksum [ 113s] creating rename script [ 113s] RPM file checksum differs. [ 113s] Extracting packages [ 114s] /usr/sbin/lsof differs in ELF section .rodata [ 114s] --- /tmp/tmp.WKepSk1802/tmp.LbWrRe1980 2020-11-04 03:13:42.583746901 +0000 [ 114s] +++ /tmp/tmp.WKepSk1802/tmp.GIWicr1984 2020-11-04 03:13:42.595747133 +0000 [ 114s] @@ -1077,7 +1077,7 @@ [ 114s] 2a16c 20202020 636f6e66 69677572 6174696f configuratio [ 114s] 2a17c 6e20696e 666f3a20 25730a00 20202020 n info: %s.. [ 114s] 2a18c 636f6e73 74727563 7465643a 2025730a constructed: %s. [ 114s] - 2a19c 00000000 6f627370 77323600 61627569 ....obspw26.abui [ 114s] + 2a19c 00000000 6f62736e 77313400 61627569 ....obsnw14.abui [ 114s] 2a1ac 6c640000 20202020 636f6e73 74727563 ld.. construc [ 114s] 2a1bc 74656420 25733a20 25732573 25730a00 ted %s: %s%s%s.. [ 114s] 2a1cc 20202020 6275696c 64657227 7320636f builder's co [ 114s] @@ -1085,7 +1085,7 @@ [ 114s] 2a1ec 20202020 636f6d70 696c6572 3a202573 compiler: %s [ 114s] 2a1fc 0a000000 392e322e 30202854 697a656e ....9.2.0 (Tizen [ 114s] 2a20c 20474343 20392e32 2e302032 30313930 GCC 9.2.0 20190 [ 114s] - 2a21c 38313220 322e3129 20000000 20202020 812 2.1) ... [ 114s] + 2a21c 38313220 312e3129 20000000 20202020 812 1.1) ... [ 114s] 2a22c 636f6d70 696c6572 20766572 73696f6e compiler version [ 114s] 2a23c 3a202573 0a000000 2d444c49 4e555856 : %s....-DLINUXV [ 114s] 2a24c 3d333130 30303020 2d44474c 49424356 =310000 -DGLIBCV [ 114s] @@ -1121,7 +1121,7 @@ [ 114s] 2a42c 67733a20 25730a00 2d4c2e2f 6c696220 gs: %s..-L./lib [ 114s] 2a43c 2d6c6c73 6f662000 20202020 6c6f6164 -llsof . load [ 114s] 2a44c 65722066 6c616773 3a202573 0a000000 er flags: %s.... [ 114s] - 2a45c 4c696e75 78206f62 73707732 3620342e Linux obspw26 4. [ 114s] + 2a45c 4c696e75 78206f62 736e7731 3420342e Linux obsnw14 4. [ 114s] 2a46c 342e302d 3134322d 67656e65 72696320 4.0-142-generic [ 114s] 2a47c 23313638 2d556275 6e747520 534d5020 #168-Ubuntu SMP [ 114s] 2a48c 57656420 4a616e20 31362032 313a3030 Wed Jan 16 21:00 [ 114s] compare /.build.oldpackages/lsof-debuginfo-4.87-1.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/lsof-debuginfo-4.87-1.2.armv7l.rpm [ 114s] skipping -debuginfo package [ 114s] compare /.build.oldpackages/lsof-debugsource-4.87-1.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/lsof-debugsource-4.87-1.2.armv7l.rpm [ 115s] Comparing lsof-debugsource-4.87-1.1.armv7l.rpm to lsof-debugsource-4.87-1.2.armv7l.rpm [ 115s] This is not a prerelease project. Compare the project name. [ 115s] comparing rpmtags [ 115s] comparing RELEASE [ 115s] comparing PROVIDES [ 115s] comparing scripts [ 115s] comparing filelist [ 115s] comparing file checksum [ 115s] creating rename script [ 115s] RPM meta information is identical [ 115s] compare /.build.oldpackages/lsof-docs-4.87-1.1.armv7l.rpm /home/abuild/rpmbuild/RPMS/armv7l/lsof-docs-4.87-1.2.armv7l.rpm [ 115s] Comparing lsof-docs-4.87-1.1.armv7l.rpm to lsof-docs-4.87-1.2.armv7l.rpm [ 115s] This is not a prerelease project. Compare the project name. [ 115s] comparing rpmtags [ 115s] comparing RELEASE [ 115s] comparing PROVIDES [ 115s] comparing scripts [ 115s] comparing filelist [ 115s] comparing file checksum [ 115s] creating rename script [ 115s] RPM meta information is identical [ 115s] [ 115s] obsnw14 finished "build lsof.spec" at Wed Nov 4 03:13:43 UTC 2020. [ 115s]