[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_3 [ 0s] Using BUILD_ARCH=aarch64:aarch64_ilp32:armv8l [ 0s] [ 1s] [ 1s] obsnw02 started "build _service:gbs:lsof.spec" at Tue Jun 9 05:46:21 UTC 2020. [ 1s] [ 1s] Building lsof for project 'Tizen:Unified' repository 'standard' arch 'aarch64' srcmd5 '3f12d9c4371d393fadf0bc41d0bb81ea' [ 1s] [ 1s] processing recipe /var/cache/build/root_3/.build-srcdir/_service:gbs:lsof.spec ... [ 1s] running changelog2spec --target rpm --file /var/cache/build/root_3/.build-srcdir/_service:gbs:lsof.spec [ 1s] init_buildsystem --configdir /var/run/obs/worker/3/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_3/.build.rpmlist /var/cache/build/root_3/.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/3/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 bash... [ 1s] [7/40] preinstalling diffutils... [ 1s] [8/40] preinstalling grep... [ 1s] [9/40] preinstalling libattr... [ 1s] [10/40] preinstalling libblkid... [ 2s] [11/40] preinstalling libbz2... [ 2s] [12/40] preinstalling libcap... [ 2s] [13/40] preinstalling libfreebl3... [ 2s] [14/40] preinstalling libgcc... [ 2s] [15/40] preinstalling liblua... [ 2s] [16/40] preinstalling liblzma... [ 2s] [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-aarch64... [ 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... [ 8s] [38/40] preinstalling nss... [ 8s] [39/40] preinstalling libsoftokn3... [ 8s] [40/40] preinstalling rpm... [ 8s] [ 8s] running qemu-linux-user-x86_64-cross postinstall script [ 8s] running qemu-accel-x86_64-aarch64 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] [3/94] installing filesystem-3.1-8.1 [ 8s] [4/94] installing glibc-2.30-26.9 [ 9s] [5/94] installing bash-3.2.57-6.7 [ 9s] [6/94] installing cpio-2.11-3.7 [ 9s] [7/94] installing diffutils-3.3-3.7 [ 9s] [8/94] installing findutils-4.3.8-6.367 [ 9s] [9/94] installing gdbm-1.8.3-4.266 [ 10s] [10/94] installing hostname-3.23-7.4 [ 10s] [11/94] installing libatomic-9.2.0-8.8 [ 11s] [12/94] installing libattr-2.4.47-5.620 [ 11s] [13/94] installing libblkid-2.34-17.8 [ 13s] [14/94] installing libbz2-1.0.8-8.21 [ 17s] [15/94] installing libcap-2.24-4.826 [ 18s] [16/94] installing libext2fs-1.43.4-7.3 [ 18s] [17/94] installing libfreebl3-3.34.1-6.143 [ 19s] [18/94] installing libgcc-9.2.0-8.8 [ 19s] [19/94] installing libgomp-9.2.0-8.8 [ 19s] [20/94] installing libitm-9.2.0-8.8 [ 20s] [21/94] installing libltdl-2.4.2-5.238 [ 20s] [22/94] installing liblua-5.1.5-5.109 [ 20s] [23/94] installing liblzma-5.2.4-6.307 [ 21s] [24/94] installing libpcre-8.43-7.31 [ 21s] [25/94] installing libpopt-1.16-4.253 [ 21s] [26/94] installing libsmack-1.3.1-5.384 [ 21s] [27/94] installing libsmartcols-2.34-17.8 [ 22s] [28/94] installing libsqlite-3.31.1-20.30 [ 22s] [29/94] installing libuuid-2.34-17.8 [ 22s] [30/94] installing m4-1.4.17-4.4 [ 22s] [31/94] installing net-tools-2.0_20121208git-4.1 [ 22s] [32/94] installing nspr-4.12-4.231 [ 23s] [33/94] installing patch-2.7-3.251 [ 23s] [34/94] installing pkg-config-0.28-6.150 [ 23s] [35/94] installing sed-4.1c-4.7 [ 23s] [36/94] installing update-alternatives-1.18.15-5.4 [ 23s] [37/94] installing which-2.20-6.7 [ 23s] [38/94] installing zlib-1.2.11-5.523 [ 23s] [39/94] installing build-compare-2015.04.28-3.343 [ 23s] [40/94] installing qemu-linux-user-x86_64-cross-2.7.0.1-1.2.1 [ 24s] [41/94] installing terminfo-base-full-6.1_20191207-12.160 [ 25s] [42/94] installing coreutils-6.9-4.45 [ 25s] [43/94] installing cpp-9.2.0-8.8 [ 25s] [44/94] installing gawk-3.1.5-6.4 [ 25s] [45/94] installing gcc-c++-9.2.0-8.8 [ 26s] [46/94] installing grep-2.5.2-6.7 [ 26s] [47/94] installing libacl-2.2.52-5.639 [ 26s] [48/94] installing libelf-0.178-6.4 [ 27s] [49/94] installing libgfortran-9.2.0-8.8 [ 27s] [50/94] installing libmount-2.34-17.8 [ 27s] [51/94] installing libstdc++-9.2.0-8.8 [ 28s] [52/94] installing make-4.0-5.45 [ 28s] [53/94] installing nss-certs-3.34.1-6.143 [ 28s] [54/94] installing smack-1.3.1-5.384 [ 28s] [55/94] installing bzip2-1.0.8-8.21 [ 28s] [56/94] installing libfdisk-2.34-17.8 [ 28s] [57/94] installing libmagic-5.37-18.15 [ 30s] [58/94] installing libxml2-2.9.10-11.3 [ 31s] [59/94] installing xz-5.2.4-6.307 [ 31s] [60/94] installing libstdc++-devel-9.2.0-8.8 [ 31s] [61/94] installing file-5.37-18.15 [ 31s] [62/94] installing linux-glibc-devel-3.10-10.63 [ 32s] [63/94] installing tar-1.17-4.8 [ 32s] [64/94] installing binutils-2.33.1-19.37 [ 32s] [65/94] installing db4-4.8.30.NC-4.162 [ 33s] [66/94] installing glibc-locale-2.30-26.9 [ 33s] [67/94] installing gzip-1.3.12-7.592 [ 33s] [68/94] installing libcc1-9.2.0-8.8 [ 34s] [69/94] installing libubsan-9.2.0-8.8 [ 34s] [70/94] installing pam-1.1.6-8.5 [ 34s] [71/94] installing libncurses6-6.1_20191207-12.160 [ 35s] [72/94] installing tzdata-2019c-12.4 [ 35s] [73/94] installing libdw-0.178-6.4 [ 35s] [74/94] installing libncurses-6.1_20191207-12.160 [ 35s] [75/94] installing glibc-devel-2.30-26.9 [ 36s] [76/94] installing less-466-8.12 [ 36s] [77/94] installing libreadline-5.2-5.162 [ 36s] [78/94] installing procps-ng-3.3.15-9.5 [ 36s] [79/94] installing libasm-0.178-6.4 [ 36s] [80/94] installing perl-5.30.0-10.86 [ 39s] [81/94] installing gcc-9.2.0-8.8 [ 41s] [82/94] installing build-mkbaselibs-20120927-3.1 [ 41s] [83/94] installing qemu-accel-x86_64-aarch64-0.4-17.2 [ 50s] [84/94] installing autoconf-2.69-5.327 [ 50s] [85/94] installing elfutils-0.178-6.4 [ 50s] [86/94] installing util-linux-2.34-17.8 [ 51s] [87/94] installing automake-1.15.1-6.483 [ 51s] [88/94] installing util-linux-su-2.34-17.8 [ 51s] [89/94] installing build-20120927-3.1 [ 51s] [90/94] installing libtool-2.4.2-5.238 [ 51s] [91/94] installing nss-3.34.1-6.143 [ 51s] [92/94] installing libsoftokn3-3.34.1-6.143 [ 52s] [93/94] installing rpm-4.11.0.1-17.8 [ 52s] [94/94] installing rpm-build-4.11.0.1-17.8 [ 52s] removing nis flags from /var/cache/build/root_3/etc/nsswitch.conf... [ 52s] now finalizing build dir... [ 53s] Running build time source services... [ 53s] build target is aarch64-tizen-linux [ 53s] ----------------------------------------------------------------- [ 53s] I have the following modifications for lsof.spec: [ 53s] 4c4 [ 53s] < Release: 0 [ 53s] --- [ 53s] > Release: 2.238 [ 53s] 42a43 [ 53s] > %changelog [ 53s] ----------------------------------------------------------------- [ 53s] ----- building lsof.spec (user abuild) [ 53s] ----------------------------------------------------------------- [ 53s] ----------------------------------------------------------------- [ 53s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-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 [ 53s] Building target platforms: aarch64-tizen-linux [ 53s] Building for target aarch64-tizen-linux [ 53s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6gXB0b [ 53s] + umask 022 [ 53s] + cd /home/abuild/rpmbuild/BUILD [ 53s] + cd /home/abuild/rpmbuild/BUILD [ 53s] + rm -rf lsof_4.87-linux-only [ 53s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 53s] + /bin/tar -xf - [ 53s] + STATUS=0 [ 53s] + '[' 0 -ne 0 ']' [ 53s] + cd lsof_4.87-linux-only [ 53s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 53s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 53s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 53s] + /bin/cat /home/abuild/rpmbuild/SOURCES/0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch [ 53s] + /bin/patch -p1 --fuzz=2 [ 53s] patching file usage.c [ 53s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 53s] + exit 0 [ 53s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Gj02h8 [ 53s] + umask 022 [ 53s] + cd /home/abuild/rpmbuild/BUILD [ 53s] + cd lsof_4.87-linux-only [ 53s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 53s] + ref=/usr/lib/rpm [ 53s] + for s in guess sub [ 53s] ++ find -maxdepth 8 -name config.guess [ 53s] + for s in guess sub [ 53s] ++ find -maxdepth 8 -name config.sub [ 53s] + LANG=C [ 53s] + export LANG [ 53s] + unset DISPLAY [ 53s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 53s] + export CFLAGS [ 53s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 53s] + export CXXFLAGS [ 53s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 53s] + export FFLAGS [ 53s] + LDFLAGS= [ 53s] + export LDFLAGS [ 53s] + LSOF_VSTR=2.6.16 [ 53s] + LINUX_BASE=/proc [ 53s] + ./Configure -n linux [ 53s] Testing C library type with cc ... done [ 53s] The C library type is glibc, version "-DGLIBCV=230". [ 53s] 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 [ 53s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 54s] Testing C library for localtime() and strftime(), using cc ... present [ 54s] ln -s dialects/linux/dfile.c dfile.c [ 54s] ln -s dialects/linux/dlsof.h dlsof.h [ 54s] ln -s dialects/linux/dmnt.c dmnt.c [ 54s] ln -s dialects/linux/dnode.c dnode.c [ 54s] ln -s dialects/linux/dproc.c dproc.c [ 54s] ln -s dialects/linux/dproto.h dproto.h [ 54s] ln -s dialects/linux/dsock.c dsock.c [ 54s] ln -s dialects/linux/dstore.c dstore.c [ 54s] ln -s dialects/linux/machine.h machine.h [ 54s] Makefile and lib/Makefile created. [ 54s] ./tests/config.cc created [ 54s] ./tests/config.cflags created [ 54s] ./tests/config.ldflags created [ 54s] ./tests/config.xobj created [ 54s] + make 'DEBUG=-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' -j4 [ 54s] (cd lib; make DEBUG="-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g" CFGF="-DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\"") [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o dfile.o dfile.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o dmnt.o dmnt.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o dnode.o dnode.c [ 54s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o ckkv.o ckkv.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o cvfs.o cvfs.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o dvch.o dvch.c [ 54s] In file included from dfile.c:39: [ 54s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 54s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 54s] | ^~~~~~~~~~ [ 54s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 54s] | ^~~~~ [ 54s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 54s] 33 | static char copyright[] = [ 54s] | ^~~~~~~~~ [ 54s] In file included from dnode.c:39: [ 54s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 54s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 54s] | ^~~~~~~~~~ [ 54s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 54s] | ^~~~~ [ 54s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 54s] 33 | static char copyright[] = [ 54s] | ^~~~~~~~~ [ 54s] In file included from dmnt.c:39: [ 54s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 54s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 54s] | ^~~~~~~~~~ [ 54s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 54s] | ^~~~~ [ 54s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 54s] 33 | static char copyright[] = [ 54s] | ^~~~~~~~~ [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o fino.o fino.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o isfn.o isfn.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o lkud.o lkud.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o dproc.o dproc.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o pdvn.o pdvn.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o prfp.o prfp.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o ptti.o ptti.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o dsock.o dsock.c [ 54s] In file included from dproc.c:38: [ 54s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 54s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 54s] | ^~~~~~~~~~ [ 54s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 54s] | ^~~~~ [ 54s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 54s] 33 | static char copyright[] = [ 54s] | ^~~~~~~~~ [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o rdev.o rdev.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o regex.o regex.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o dstore.o dstore.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o rmnt.o rmnt.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o rnam.o rnam.c [ 54s] dsock.c: In function 'get_icmp': [ 54s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 54s] 746 | MALLOC_S lal, ral, spl; [ 54s] | ^~~ [ 54s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 54s] 745 | unsigned long pr; [ 54s] | ^~ [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o rnch.o rnch.c [ 54s] In file included from dstore.c:39: [ 54s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 54s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 54s] | ^~~~~~~~~~ [ 54s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 54s] | ^~~~~ [ 54s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 54s] 33 | static char copyright[] = [ 54s] | ^~~~~~~~~ [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o arg.o arg.c [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o rnmh.o rnmh.c [ 54s] In file included from dsock.c:39: [ 54s] At top level: [ 54s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 54s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 54s] | ^~~~~~~~~~ [ 54s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 54s] | ^~~~~ [ 54s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 54s] 33 | static char copyright[] = [ 54s] | ^~~~~~~~~ [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR="3.10.0" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o snpf.o snpf.c [ 54s] 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 [ 54s] ranlib liblsof.a [ 54s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o main.o main.c [ 54s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 54s] | ^~~~~ [ 54s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 54s] 33 | static char copyright[] = [ 54s] | ^~~~~~~~~ [ 54s] dproc.c: In function 'process_id': [ 54s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 54s] 1121 | if (efs) { [ 54s] | ^ [ 54s] In file included from main.c:41: [ 54s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 54s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 54s] | ^~~~~~~~~~ [ 54s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 54s] | ^~~~~ [ 54s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 54s] 35 | static char copyright[] = [ 54s] | ^~~~~~~~~ [ 54s] main.c: In function 'main': [ 54s] main.c:1318:11: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 54s] 1318 | fmtr[fmtl - 1] = '\0'; [ 54s] | ^ [ 54s] In file included from /usr/include/string.h:494, [ 54s] from dlsof.h:48, [ 54s] from lsof.h:195, [ 54s] from arg.c:39: [ 54s] In function 'strncpy', [ 54s] inlined from 'enter_dir' at arg.c:1135:10: [ 54s] /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] [ 54s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 54s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] arg.c: In function 'enter_dir': [ 54s] arg.c:1110:23: note: length computed here [ 54s] 1110 | dnamlen = (MALLOC_S)strlen(dp->d_name); [ 54s] | ^~~~~~~~~~~~~~~~~~ [ 54s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o misc.o misc.c [ 54s] In file included from misc.c:39: [ 54s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 54s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 54s] | ^~~~~~~~~~ [ 54s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 35 | static char *rcsid = "$Id: misc.c,v 1.27 2013/01/02 17:14:59 abe Exp $"; [ 54s] | ^~~~~ [ 54s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 54s] 33 | static char copyright[] = [ 54s] | ^~~~~~~~~ [ 55s] In file included from /usr/include/string.h:494, [ 55s] from dlsof.h:48, [ 55s] from lsof.h:195, [ 55s] from dsock.c:39: [ 55s] In function 'strncpy', [ 55s] inlined from 'get_sctpaddrs' at dsock.c:1761:13: [ 55s] /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] [ 55s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 55s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 55s] dsock.c: In function 'get_sctpaddrs': [ 55s] dsock.c:1745:51: note: length computed here [ 55s] 1745 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 55s] | ^~~~~~~~~~~~~ [ 55s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o node.o node.c [ 55s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o print.o print.c [ 55s] In file included from node.c:39: [ 55s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 55s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 55s] | ^~~~~~~~~~ [ 55s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 55s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 55s] | ^~~~~ [ 55s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 55s] 33 | static char copyright[] = [ 55s] | ^~~~~~~~~ [ 55s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o proc.o proc.c [ 55s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o store.o store.c [ 55s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 55s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 55s] | ^~~~~ [ 55s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 55s] 33 | static char copyright[] = [ 55s] | ^~~~~~~~~ [ 55s] In file included from store.c:39: [ 55s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 55s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 55s] | ^~~~~~~~~~ [ 55s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 55s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 55s] | ^~~~~ [ 55s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 55s] 33 | static char copyright[] = [ 55s] | ^~~~~~~~~ [ 55s] In file included from proc.c:39: [ 55s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 55s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 55s] | ^~~~~~~~~~ [ 55s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 55s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 55s] | ^~~~~ [ 55s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 55s] 33 | static char copyright[] = [ 55s] | ^~~~~~~~~ [ 55s] Constructing version.h [ 55s] In file included from /usr/include/string.h:494, [ 55s] from dlsof.h:48, [ 55s] from lsof.h:195, [ 55s] from dsock.c:39: [ 55s] In function 'strncpy', [ 55s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 55s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 55s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 55s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 55s] dsock.c: In function 'process_proc_sock': [ 55s] dsock.c:2780:9: note: length computed here [ 55s] 2780 | len = strlen(ip->la); [ 55s] | ^~~~~~~~~~~~~~ [ 55s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o util.o util.c [ 55s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 55s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 55s] | ^~~~~ [ 55s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 55s] 40 | static char copyright[] = [ 55s] | ^~~~~~~~~ [ 55s] cc -DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\" -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -c -o usage.o usage.c [ 55s] print.c: In function 'printiproto': [ 55s] 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=] [ 55s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 55s] | ^~ [ 55s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 55s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 55s] | ^~~~~~ [ 55s] In file included from /usr/include/stdio.h:867, [ 55s] from lsof.h:58, [ 55s] from print.c:39: [ 55s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 55s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 55s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 55s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 55s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 55s] usage.c: In function 'usage': [ 55s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 55s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 55s] | ^~~~~~~~~~ [ 55s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 55s] 64 | char *s; /* string pointer */ [ 55s] | ^ [ 55s] In file included from usage.c:39: [ 55s] At top level: [ 55s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 55s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 55s] | ^~~~~~~~~~ [ 55s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 55s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 55s] | ^~~~~ [ 55s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 55s] 33 | static char copyright[] = [ 55s] | ^~~~~~~~~ [ 55s] print.c: In function 'printuid': [ 55s] print.c:2421:35: warning: '%*lu' directive output may be truncated writing between 8 and 10 bytes into a region of size 9 [-Wformat-truncation=] [ 55s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 55s] | ^~~~ [ 55s] print.c:2421:34: note: directive argument in the range [0, 4294967295] [ 55s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 55s] | ^~~~~~ [ 55s] In file included from /usr/include/stdio.h:867, [ 55s] from lsof.h:58, [ 55s] from print.c:39: [ 55s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 11 bytes into a destination of size 9 [ 55s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 55s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 55s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 55s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 55s] 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 [ 55s] + exit 0 [ 55s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rqCCeb [ 55s] + umask 022 [ 55s] + cd /home/abuild/rpmbuild/BUILD [ 55s] + cd lsof_4.87-linux-only [ 55s] + LANG=C [ 55s] + export LANG [ 55s] + unset DISPLAY [ 55s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.aarch64 [ 55s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.aarch64 [ 55s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.aarch64/usr/sbin/lsof [ 55s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.aarch64/usr/share/man/man8/lsof.8 [ 55s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 55s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.aarch64/usr/sbin/lsof [ 56s] 942 blocks [ 56s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debuginfo.manifest [ 56s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debugsource.manifest [ 56s] + /usr/lib/rpm/check-buildroot [ 56s] + /usr/lib/rpm//brp-compress [ 56s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 56s] + /usr/lib/rpm/brp-python-hardlink [ 56s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.aarch64 [ 56s] Processing files: lsof-4.87-2.238.aarch64 [ 56s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 56s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 56s] [ 56s] Provides: lsof = 4.87-2.238 lsof(aarch-64) = 4.87-2.238 [ 56s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 56s] Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) [ 56s] Processing files: lsof-debugsource-4.87-2.238.aarch64 [ 56s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 56s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 56s] [ 56s] Provides: lsof-debugsource = 4.87-2.238 lsof-debugsource(aarch-64) = 4.87-2.238 [ 56s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 56s] Processing files: lsof-docs-4.87-2.238.aarch64 [ 56s] Provides: lsof-docs = 4.87-2.238 lsof-docs(aarch-64) = 4.87-2.238 [ 56s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 56s] Processing files: lsof-debuginfo-4.87-2.238.aarch64 [ 56s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 56s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 56s] [ 56s] Provides: lsof-debuginfo = 4.87-2.238 lsof-debuginfo(aarch-64) = 4.87-2.238 [ 56s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 56s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.aarch64 [ 57s] warning: Could not canonicalize hostname: obsnw02 [ 57s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.238.src.rpm [ 57s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-4.87-2.238.aarch64.rpm [ 57s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-debugsource-4.87-2.238.aarch64.rpm [ 57s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-docs-4.87-2.238.aarch64.rpm [ 57s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-debuginfo-4.87-2.238.aarch64.rpm [ 57s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jU0mn8 [ 57s] + umask 022 [ 57s] + cd /home/abuild/rpmbuild/BUILD [ 57s] + cd lsof_4.87-linux-only [ 57s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.238.aarch64 [ 57s] + exit 0 [ 57s] ... checking for files with abuild user/group [ 57s] ... creating baselibs [ 58s] ... comparing built packages with the former built [ 58s] /usr/lib/build/pkg-diff.sh [ 58s] compare /.build.oldpackages/lsof-4.87-2.237.src.rpm /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.238.src.rpm [ 58s] This is not a prerelease project. Compare the project name. [ 58s] comparing rpmtags [ 58s] comparing RELEASE [ 58s] comparing PROVIDES [ 58s] comparing scripts [ 58s] comparing filelist [ 58s] comparing file checksum [ 58s] RPM meta information is identical [ 58s] compare /.build.oldpackages/lsof-4.87-2.237.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/lsof-4.87-2.238.aarch64.rpm [ 58s] Comparing lsof-4.87-2.237.aarch64.rpm to lsof-4.87-2.238.aarch64.rpm [ 58s] This is not a prerelease project. Compare the project name. [ 58s] comparing rpmtags [ 58s] comparing RELEASE [ 58s] comparing PROVIDES [ 58s] comparing scripts [ 58s] comparing filelist [ 58s] comparing file checksum [ 58s] creating rename script [ 58s] RPM file checksum differs. [ 59s] Extracting packages [ 59s] /usr/sbin/lsof differs in ELF section .rodata [ 59s] --- /tmp/tmp.oQJZLm6694/tmp.inbztl6943 2020-06-09 05:47:19.553560613 +0000 [ 59s] +++ /tmp/tmp.oQJZLm6694/tmp.AEnasR6957 2020-06-09 05:47:19.557560574 +0000 [ 59s] @@ -1200,7 +1200,7 @@ [ 59s] 41fca8 20202020 636f6e66 69677572 6174696f configuratio [ 59s] 41fcb8 6e20696e 666f3a20 25730a00 00000000 n info: %s...... [ 59s] 41fcc8 20202020 636f6e73 74727563 7465643a constructed: [ 59s] - 41fcd8 2025730a 00000000 6f62736e 77313600 %s.....obsnw16. [ 59s] + 41fcd8 2025730a 00000000 6f62736e 77303200 %s.....obsnw02. [ 59s] 41fce8 61627569 6c640000 20202020 636f6e73 abuild.. cons [ 59s] 41fcf8 74727563 74656420 25733a20 25732573 tructed %s: %s%s [ 59s] 41fd08 25730a00 00000000 20202020 6275696c %s...... buil [ 59s] @@ -1209,7 +1209,7 @@ [ 59s] 41fd38 20202020 636f6d70 696c6572 3a202573 compiler: %s [ 59s] 41fd48 0a000000 00000000 392e322e 30202854 ........9.2.0 (T [ 59s] 41fd58 697a656e 20474343 20392e32 2e302032 izen GCC 9.2.0 2 [ 59s] - 41fd68 30313930 38313220 372e3429 20000000 0190812 7.4) ... [ 59s] + 41fd68 30313930 38313220 382e3129 20000000 0190812 8.1) ... [ 59s] 41fd78 20202020 636f6d70 696c6572 20766572 compiler ver [ 59s] 41fd88 73696f6e 3a202573 0a000000 00000000 sion: %s........ [ 59s] 41fd98 2d444c49 4e555856 3d333130 30303020 -DLINUXV=310000 [ 59s] @@ -1241,7 +1241,7 @@ [ 59s] 41ff38 2d4c2e2f 6c696220 2d6c6c73 6f662000 -L./lib -llsof . [ 59s] 41ff48 20202020 6c6f6164 65722066 6c616773 loader flags [ 59s] 41ff58 3a202573 0a000000 4c696e75 78206f62 : %s....Linux ob [ 59s] - 41ff68 736e7731 3620342e 342e302d 3134322d snw16 4.4.0-142- [ 59s] + 41ff68 736e7730 3220342e 342e302d 3134322d snw02 4.4.0-142- [ 59s] 41ff78 67656e65 72696320 23313638 2d556275 generic #168-Ubu [ 59s] 41ff88 6e747520 534d5020 57656420 4a616e20 ntu SMP Wed Jan [ 59s] 41ff98 31362032 313a3030 3a343520 55544320 16 21:00:45 UTC [ 59s] compare /.build.oldpackages/lsof-debuginfo-4.87-2.237.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/lsof-debuginfo-4.87-2.238.aarch64.rpm [ 59s] skipping -debuginfo package [ 59s] compare /.build.oldpackages/lsof-debugsource-4.87-2.237.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/lsof-debugsource-4.87-2.238.aarch64.rpm [ 59s] Comparing lsof-debugsource-4.87-2.237.aarch64.rpm to lsof-debugsource-4.87-2.238.aarch64.rpm [ 59s] This is not a prerelease project. Compare the project name. [ 59s] comparing rpmtags [ 59s] comparing RELEASE [ 59s] comparing PROVIDES [ 59s] comparing scripts [ 59s] comparing filelist [ 59s] comparing file checksum [ 59s] creating rename script [ 59s] RPM meta information is identical [ 59s] compare /.build.oldpackages/lsof-docs-4.87-2.237.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/lsof-docs-4.87-2.238.aarch64.rpm [ 60s] Comparing lsof-docs-4.87-2.237.aarch64.rpm to lsof-docs-4.87-2.238.aarch64.rpm [ 60s] This is not a prerelease project. Compare the project name. [ 60s] comparing rpmtags [ 60s] comparing RELEASE [ 60s] comparing PROVIDES [ 60s] comparing scripts [ 60s] comparing filelist [ 60s] comparing file checksum [ 60s] creating rename script [ 60s] RPM meta information is identical [ 60s] [ 60s] obsnw02 finished "build lsof.spec" at Tue Jun 9 05:47:20 UTC 2020. [ 60s]