[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_8 [ 0s] Using BUILD_ARCH=aarch64:aarch64_ilp32:armv8l [ 0s] [ 0s] [ 0s] obsnw19 started "build _service:gbs:lsof.spec" at Tue May 31 03:46:28 UTC 2022. [ 0s] [ 0s] Building lsof for project 'Tizen:6.5:Unified' repository 'standard' arch 'aarch64' srcmd5 '8350c433ce0c9324d8a2208500727052' [ 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/41] preinstalling libmagic-data... [ 1s] [2/41] preinstalling libncurses... [ 1s] [3/41] preinstalling setup... [ 1s] [4/41] preinstalling filesystem... [ 1s] [5/41] preinstalling glibc... [ 1s] [6/41] preinstalling bash... [ 1s] [7/41] preinstalling diffutils... [ 1s] [8/41] preinstalling grep... [ 1s] [9/41] preinstalling libattr... [ 1s] [10/41] preinstalling libblkid... [ 1s] [11/41] preinstalling libbz2... [ 2s] [12/41] preinstalling libcap... [ 2s] [13/41] preinstalling libfreebl3... [ 2s] [14/41] preinstalling libgcc... [ 2s] [15/41] preinstalling liblua... [ 2s] [16/41] preinstalling liblzma... [ 2s] [17/41] preinstalling libpopt... [ 2s] [18/41] preinstalling libreadline... [ 2s] [19/41] preinstalling libsmack... [ 2s] [20/41] preinstalling libsqlite... [ 2s] [21/41] preinstalling libuuid... [ 2s] [22/41] preinstalling libzstd1... [ 2s] [23/41] preinstalling nspr... [ 2s] [24/41] preinstalling sed... [ 2s] [25/41] preinstalling zlib... [ 2s] [26/41] preinstalling qemu-accel-x86_64-aarch64... [ 7s] [27/41] preinstalling qemu-linux-user-x86_64-cross... [ 7s] [28/41] preinstalling coreutils... [ 7s] [29/41] preinstalling libacl... [ 8s] [30/41] preinstalling libelf... [ 8s] [31/41] preinstalling libmount... [ 8s] [32/41] preinstalling smack... [ 8s] [33/41] preinstalling bzip2... [ 8s] [34/41] preinstalling libmagic... [ 8s] [35/41] preinstalling libxml2... [ 8s] [36/41] preinstalling tar... [ 8s] [37/41] preinstalling util-linux... [ 8s] [38/41] preinstalling util-linux-su... [ 8s] [39/41] preinstalling nss... [ 8s] [40/41] preinstalling libsoftokn3... [ 8s] [41/41] 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 [ 9s] [1/96] installing libmagic-data-5.39-2.52 [ 9s] [2/96] installing setup-0.9-3.1 [ 9s] [3/96] installing filesystem-3.1-1.1 [ 9s] [4/96] installing glibc-2.30-2.10 [ 9s] [5/96] installing bash-3.2.57-2.1 [ 9s] [6/96] installing cpio-2.8-1.1 [ 9s] [7/96] installing diffutils-3.3-1.1 [ 9s] [8/96] installing findutils-4.3.8-2.61 [ 10s] [9/96] installing gdbm-1.8.3-2.140 [ 10s] [10/96] installing hostname-3.23-1.1 [ 10s] [11/96] installing libatomic-9.2.0-1.46 [ 10s] [12/96] installing libattr-2.4.48-1.142 [ 10s] [13/96] installing libblkid-2.36-1.7 [ 11s] [14/96] installing libbz2-1.0.8-2.24 [ 11s] [15/96] installing libcap-2.24-2.64 [ 11s] [16/96] installing libext2fs-1.46.0-1.8 [ 12s] [17/96] installing libfreebl3-3.34.1-1.91 [ 12s] [18/96] installing libgcc-9.2.0-1.46 [ 12s] [19/96] installing libgomp-9.2.0-1.46 [ 13s] [20/96] installing libitm-9.2.0-1.46 [ 13s] [21/96] installing libltdl-2.4.2-1.97 [ 13s] [22/96] installing liblua-5.1.5-1.46 [ 14s] [23/96] installing liblzma-5.2.5-3.10 [ 14s] [24/96] installing libopenssl11-1.1.1l-2.50 [ 14s] [25/96] installing libpcre-8.44-1.8 [ 15s] [26/96] installing libpopt-1.16-1.135 [ 15s] [27/96] installing libsmack-1.3.1-2.60 [ 15s] [28/96] installing libsmartcols-2.36-1.7 [ 16s] [29/96] installing libsqlite-3.33.0-1.114 [ 16s] [30/96] installing libuuid-2.36-1.7 [ 16s] [31/96] installing libzstd1-1.4.5-1.82 [ 16s] [32/96] installing m4-1.4.17-1.1 [ 17s] [33/96] installing net-tools-2.0_20121208git-1.1 [ 17s] [34/96] installing nspr-4.12-1.129 [ 17s] [35/96] installing patch-2.7-2.18 [ 17s] [36/96] installing pkg-config-0.28-1.120 [ 17s] [37/96] installing sed-4.1c-2.1 [ 17s] [38/96] installing update-alternatives-1.20.5-1.1 [ 17s] [39/96] installing which-2.17-1.1 [ 17s] [40/96] installing zlib-1.2.11-1.136 [ 17s] [41/96] installing build-compare-2015.04.28-1.38 [ 17s] [42/96] installing qemu-linux-user-x86_64-cross-2.7.0.1-1.7.1 [ 19s] [43/96] installing terminfo-base-full-6.2-1.98 [ 19s] [44/96] installing coreutils-6.9-1.28 [ 19s] [45/96] installing cpp-9.2.0-1.46 [ 20s] [46/96] installing gawk-3.1.5-1.1 [ 20s] [47/96] installing gcc-c++-9.2.0-1.46 [ 21s] [48/96] installing grep-2.5.2-2.1 [ 21s] [49/96] installing libacl-2.2.53-1.142 [ 21s] [50/96] installing libelf-0.178-2.20 [ 22s] [51/96] installing libgfortran-9.2.0-1.46 [ 22s] [52/96] installing libmount-2.36-1.7 [ 22s] [53/96] installing libstdc++-9.2.0-1.46 [ 23s] [54/96] installing make-4.0-1.23 [ 23s] [55/96] installing nss-certs-3.34.1-1.91 [ 23s] [56/96] installing smack-1.3.1-2.60 [ 23s] [57/96] installing bzip2-1.0.8-2.24 [ 23s] [58/96] installing libfdisk-2.36-1.7 [ 23s] [59/96] installing libmagic-5.39-2.52 [ 24s] [60/96] installing libxml2-2.9.12-1.34 [ 24s] [61/96] installing perl-5.32.0-2.8 [ 26s] [62/96] installing xz-5.2.5-3.10 [ 26s] [63/96] installing build-mkbaselibs-20120927-1.1 [ 27s] [64/96] installing libstdc++-devel-9.2.0-1.46 [ 27s] [65/96] installing file-5.39-2.52 [ 27s] [66/96] installing linux-glibc-devel-3.10-1.147 [ 27s] [67/96] installing tar-1.17-2.1 [ 28s] [68/96] installing autoconf-2.69-1.101 [ 28s] [69/96] installing binutils-2.33.1-2.12 [ 28s] [70/96] installing glibc-locale-2.30-2.10 [ 29s] [71/96] installing gzip-1.3.12-2.135 [ 29s] [72/96] installing libcc1-9.2.0-1.46 [ 29s] [73/96] installing libubsan-9.2.0-1.46 [ 30s] [74/96] installing pam-1.1.6-1.1 [ 30s] [75/96] installing libncurses6-6.2-1.98 [ 30s] [76/96] installing tzdata-2020a-4.1 [ 31s] [77/96] installing libdw-0.178-2.20 [ 31s] [78/96] installing libarchive-3.5.1-2.18 [ 31s] [79/96] installing libncurses-6.2-1.98 [ 31s] [80/96] installing glibc-devel-2.30-2.10 [ 31s] [81/96] installing less-466-1.1 [ 32s] [82/96] installing libreadline-5.2-1.39 [ 32s] [83/96] installing procps-ng-3.3.16-1.1 [ 32s] [84/96] installing automake-1.15.1-1.91 [ 33s] [85/96] installing libasm-0.178-2.20 [ 33s] [86/96] installing build-20120927-1.1 [ 33s] [87/96] installing gcc-9.2.0-1.46 [ 34s] [88/96] installing qemu-accel-x86_64-aarch64-0.4-2.12 [ 42s] [89/96] installing libtool-2.4.2-1.97 [ 42s] [90/96] installing elfutils-0.178-2.20 [ 42s] [91/96] installing util-linux-2.36-1.7 [ 42s] [92/96] installing util-linux-su-2.36-1.7 [ 42s] [93/96] installing nss-3.34.1-1.91 [ 42s] [94/96] installing libsoftokn3-3.34.1-1.91 [ 43s] [95/96] installing rpm-4.14.1.1-1.66 [ 43s] [96/96] installing rpm-build-4.14.1.1-1.66 [ 43s] removing nis flags from /var/cache/build/root_8/etc/nsswitch.conf... [ 43s] now finalizing build dir... [ 43s] Running build time source services... [ 44s] build target is aarch64-tizen-linux [ 44s] ----------------------------------------------------------------- [ 44s] I have the following modifications for lsof.spec: [ 44s] 4c4 [ 44s] < Release: 0 [ 44s] --- [ 44s] > Release: 2.4 [ 44s] 42a43 [ 44s] > %changelog [ 44s] ----------------------------------------------------------------- [ 44s] ----- building lsof.spec (user abuild) [ 44s] ----------------------------------------------------------------- [ 44s] ----------------------------------------------------------------- [ 44s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:6.5:Unified/standard/8350c433ce0c9324d8a2208500727052-lsof' -ba /home/abuild/rpmbuild/SOURCES/lsof.spec [ 44s] Building target platforms: aarch64-tizen-linux [ 44s] Building for target aarch64-tizen-linux [ 44s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3v6gIL [ 44s] + umask 022 [ 44s] + cd /home/abuild/rpmbuild/BUILD [ 44s] + cd /home/abuild/rpmbuild/BUILD [ 44s] + rm -rf lsof_4.87-linux-only [ 44s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 44s] + /bin/tar -xof - [ 44s] + STATUS=0 [ 44s] + '[' 0 -ne 0 ']' [ 44s] + cd lsof_4.87-linux-only [ 44s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 44s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 44s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 44s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 44s] patching file usage.c [ 44s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 44s] + exit 0 [ 44s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oiAAXJ [ 44s] + umask 022 [ 44s] + cd /home/abuild/rpmbuild/BUILD [ 44s] + cd lsof_4.87-linux-only [ 44s] ++ uname -m [ 44s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 44s] + ref=/usr/lib/rpm [ 44s] + for s in guess sub [ 44s] ++ find -maxdepth 8 -name config.guess [ 44s] + for s in guess sub [ 44s] ++ find -maxdepth 8 -name config.sub [ 44s] + LANG=C [ 44s] + export LANG [ 44s] + unset DISPLAY [ 44s] + 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' [ 44s] + export CFLAGS [ 44s] + 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' [ 44s] + export CXXFLAGS [ 44s] + 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' [ 44s] + export FFLAGS [ 44s] + LDFLAGS= [ 44s] + export LDFLAGS [ 44s] + LSOF_VSTR=2.6.16 [ 44s] + LINUX_BASE=/proc [ 44s] + ./Configure -n linux [ 44s] Testing C library type with cc ... done [ 44s] The C library type is glibc, version "-DGLIBCV=230". [ 44s] 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 [ 44s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 44s] Testing C library for localtime() and strftime(), using cc ... present [ 44s] ln -s dialects/linux/dfile.c dfile.c [ 44s] ln -s dialects/linux/dlsof.h dlsof.h [ 44s] ln -s dialects/linux/dmnt.c dmnt.c [ 44s] ln -s dialects/linux/dnode.c dnode.c [ 44s] ln -s dialects/linux/dproc.c dproc.c [ 44s] ln -s dialects/linux/dproto.h dproto.h [ 44s] ln -s dialects/linux/dsock.c dsock.c [ 44s] ln -s dialects/linux/dstore.c dstore.c [ 44s] ln -s dialects/linux/machine.h machine.h [ 44s] Makefile and lib/Makefile created. [ 44s] ./tests/config.cc created [ 44s] ./tests/config.cflags created [ 44s] ./tests/config.ldflags created [ 44s] ./tests/config.xobj created [ 44s] + 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 -fPIC' 'CFGL=-pie ' -j4 [ 44s] (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 -fPIC" CFGF="-DLINUXV=310000 -DGLIBCV=230 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAS_STRFTIME -DLSOF_VSTR=\"3.10.0\"") [ 44s] 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 -fPIC -c -o dfile.o dfile.c [ 44s] 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 -fPIC -c -o dmnt.o dmnt.c [ 44s] 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 -fPIC -c -o dnode.o dnode.c [ 44s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 44s] 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 -fPIC -c -o ckkv.o ckkv.c [ 44s] 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 -fPIC -c -o cvfs.o cvfs.c [ 44s] 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 -fPIC -c -o dvch.o dvch.c [ 44s] In file included from dfile.c:39: [ 44s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 44s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 44s] | ^~~~~~~~~~ [ 44s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 44s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 44s] | ^~~~~ [ 44s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 44s] 33 | static char copyright[] = [ 44s] | ^~~~~~~~~ [ 44s] 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 -fPIC -c -o fino.o fino.c [ 44s] In file included from dnode.c:39: [ 44s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 44s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 44s] | ^~~~~~~~~~ [ 44s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 44s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 44s] | ^~~~~ [ 44s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 44s] 33 | static char copyright[] = [ 44s] | ^~~~~~~~~ [ 44s] In file included from dmnt.c:39: [ 44s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 44s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 44s] | ^~~~~~~~~~ [ 44s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 44s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 44s] | ^~~~~ [ 44s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 44s] 33 | static char copyright[] = [ 44s] | ^~~~~~~~~ [ 44s] 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 -fPIC -c -o isfn.o isfn.c [ 44s] 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 -fPIC -c -o lkud.o lkud.c [ 44s] 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 -fPIC -c -o pdvn.o pdvn.c [ 45s] 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 -fPIC -c -o prfp.o prfp.c [ 45s] 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 -fPIC -c -o dproc.o dproc.c [ 45s] 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 -fPIC -c -o ptti.o ptti.c [ 45s] 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 -fPIC -c -o rdev.o rdev.c [ 45s] 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 -fPIC -c -o regex.o regex.c [ 45s] 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 -fPIC -c -o rmnt.o rmnt.c [ 45s] 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 -fPIC -c -o dsock.o dsock.c [ 45s] In file included from dproc.c:38: [ 45s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 45s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 45s] | ^~~~~~~~~~ [ 45s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 45s] | ^~~~~ [ 45s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 33 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] 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 -fPIC -c -o rnam.o rnam.c [ 45s] 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 -fPIC -c -o rnch.o rnch.c [ 45s] dsock.c: In function 'get_icmp': [ 45s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 45s] 746 | MALLOC_S lal, ral, spl; [ 45s] | ^~~ [ 45s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 45s] 745 | unsigned long pr; [ 45s] | ^~ [ 45s] 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 -fPIC -c -o rnmh.o rnmh.c [ 45s] 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 -fPIC -c -o snpf.o snpf.c [ 45s] 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 -fPIC -c -o dstore.o dstore.c [ 45s] 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 [ 45s] In file included from dsock.c:39: [ 45s] At top level: [ 45s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 45s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 45s] | ^~~~~~~~~~ [ 45s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 45s] | ^~~~~ [ 45s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 33 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] ranlib liblsof.a [ 45s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 45s] 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 -fPIC -c -o arg.o arg.c [ 45s] In file included from dstore.c:39: [ 45s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 45s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 45s] | ^~~~~~~~~~ [ 45s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 45s] | ^~~~~ [ 45s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 33 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] 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 -fPIC -c -o main.o main.c [ 45s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 45s] | ^~~~~ [ 45s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 33 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] In file included from main.c:41: [ 45s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 45s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 45s] | ^~~~~~~~~~ [ 45s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 45s] | ^~~~~ [ 45s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 35 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] dproc.c: In function 'process_id': [ 45s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 45s] 1121 | if (efs) { [ 45s] | ^ [ 45s] main.c: In function 'main': [ 45s] main.c:1318:11: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 45s] 1318 | fmtr[fmtl - 1] = '\0'; [ 45s] | ^ [ 45s] In file included from /usr/include/string.h:494, [ 45s] from dlsof.h:48, [ 45s] from lsof.h:195, [ 45s] from arg.c:39: [ 45s] In function 'strncpy', [ 45s] inlined from 'enter_dir' at arg.c:1135:10: [ 45s] /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] [ 45s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 45s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 45s] arg.c: In function 'enter_dir': [ 45s] arg.c:1110:23: note: length computed here [ 45s] 1110 | dnamlen = (MALLOC_S)strlen(dp->d_name); [ 45s] | ^~~~~~~~~~~~~~~~~~ [ 45s] 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 -fPIC -c -o misc.o misc.c [ 45s] In file included from misc.c:39: [ 45s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 45s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 45s] | ^~~~~~~~~~ [ 45s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 35 | static char *rcsid = "$Id: misc.c,v 1.27 2013/01/02 17:14:59 abe Exp $"; [ 45s] | ^~~~~ [ 45s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 33 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] In file included from /usr/include/string.h:494, [ 45s] from dlsof.h:48, [ 45s] from lsof.h:195, [ 45s] from dsock.c:39: [ 45s] In function 'strncpy', [ 45s] inlined from 'get_sctpaddrs' at dsock.c:1761:13: [ 45s] /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] [ 45s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 45s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 45s] dsock.c: In function 'get_sctpaddrs': [ 45s] dsock.c:1745:51: note: length computed here [ 45s] 1745 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 45s] | ^~~~~~~~~~~~~ [ 45s] 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 -fPIC -c -o node.o node.c [ 45s] In file included from node.c:39: [ 45s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 45s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 45s] | ^~~~~~~~~~ [ 45s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 45s] | ^~~~~ [ 45s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 33 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] 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 -fPIC -c -o print.o print.c [ 45s] 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 -fPIC -c -o proc.o proc.c [ 45s] 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 -fPIC -c -o store.o store.c [ 45s] In file included from proc.c:39: [ 45s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 45s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 45s] | ^~~~~~~~~~ [ 45s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 45s] | ^~~~~ [ 45s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 33 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] In file included from /usr/include/string.h:494, [ 45s] from dlsof.h:48, [ 45s] from lsof.h:195, [ 45s] from dsock.c:39: [ 45s] In function 'strncpy', [ 45s] inlined from 'process_proc_sock' at dsock.c:2783:10: [ 45s] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] [ 45s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 45s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 45s] dsock.c: In function 'process_proc_sock': [ 45s] dsock.c:2780:9: note: length computed here [ 45s] 2780 | len = strlen(ip->la); [ 45s] | ^~~~~~~~~~~~~~ [ 45s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 45s] | ^~~~~ [ 45s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 33 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] In file included from store.c:39: [ 45s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 45s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 45s] | ^~~~~~~~~~ [ 45s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 45s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 45s] | ^~~~~ [ 45s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 45s] 33 | static char copyright[] = [ 45s] | ^~~~~~~~~ [ 45s] Constructing version.h [ 46s] 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 -fPIC -c -o util.o util.c [ 46s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 46s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 46s] | ^~~~~ [ 46s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 46s] 40 | static char copyright[] = [ 46s] | ^~~~~~~~~ [ 46s] 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 -fPIC -c -o usage.o usage.c [ 46s] usage.c: In function 'usage': [ 46s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 46s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 46s] | ^~~~~~~~~~ [ 46s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 46s] 64 | char *s; /* string pointer */ [ 46s] | ^ [ 46s] In file included from usage.c:39: [ 46s] At top level: [ 46s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 46s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 46s] | ^~~~~~~~~~ [ 46s] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 46s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 46s] | ^~~~~ [ 46s] usage.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 46s] 33 | static char copyright[] = [ 46s] | ^~~~~~~~~ [ 46s] print.c: In function 'printiproto': [ 46s] 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=] [ 46s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 46s] | ^~ [ 46s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 46s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 46s] | ^~~~~~ [ 46s] In file included from /usr/include/stdio.h:867, [ 46s] from lsof.h:58, [ 46s] from print.c:39: [ 46s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 46s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 46s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 46s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 46s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 46s] print.c: In function 'printuid': [ 46s] 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=] [ 46s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 46s] | ^~~~ [ 46s] print.c:2421:34: note: directive argument in the range [0, 4294967295] [ 46s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 46s] | ^~~~~~ [ 46s] In file included from /usr/include/stdio.h:867, [ 46s] from lsof.h:58, [ 46s] from print.c:39: [ 46s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 11 bytes into a destination of size 9 [ 46s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 46s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 46s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 46s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 46s] 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 -pie [ 46s] + exit 0 [ 46s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YKn8mM [ 46s] + umask 022 [ 46s] + cd /home/abuild/rpmbuild/BUILD [ 46s] + cd lsof_4.87-linux-only [ 46s] + LANG=C [ 46s] + export LANG [ 46s] + unset DISPLAY [ 46s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.aarch64 [ 46s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.aarch64 [ 46s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.aarch64/usr/sbin/lsof [ 46s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.aarch64/usr/share/man/man8/lsof.8 [ 46s] + /usr/lib/rpm/find-debuginfo.sh -j4 --build-id-seed 4.87-2.4 --unique-debug-src-base lsof-4.87-2.4.aarch64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 46s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.aarch64/usr/sbin/lsof [ 46s] 942 blocks [ 46s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debuginfo.manifest [ 46s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debugsource.manifest [ 46s] + /usr/lib/rpm/check-buildroot [ 46s] + /usr/lib/rpm//brp-compress [ 46s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 46s] + /usr/lib/rpm/brp-python-hardlink [ 46s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.aarch64 [ 46s] Processing files: lsof-4.87-2.4.aarch64 [ 46s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 46s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 46s] [ 46s] Provides: lsof = 4.87-2.4 lsof(aarch-64) = 4.87-2.4 [ 46s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 46s] 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) [ 46s] Processing files: lsof-debugsource-4.87-2.4.aarch64 [ 46s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 46s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 46s] [ 46s] Provides: lsof-debugsource = 4.87-2.4 lsof-debugsource(aarch-64) = 4.87-2.4 [ 46s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 46s] Processing files: lsof-docs-4.87-2.4.aarch64 [ 46s] Provides: lsof-docs = 4.87-2.4 lsof-docs(aarch-64) = 4.87-2.4 [ 46s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 46s] Processing files: lsof-debuginfo-4.87-2.4.aarch64 [ 46s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 46s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 46s] [ 46s] Provides: lsof-debuginfo = 4.87-2.4 lsof-debuginfo(aarch-64) = 4.87-2.4 [ 46s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 46s] Recommends: lsof-debugsource(aarch-64) = 4.87-2.4 [ 46s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.aarch64 [ 47s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.4.src.rpm [ 47s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-4.87-2.4.aarch64.rpm [ 47s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-debugsource-4.87-2.4.aarch64.rpm [ 47s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-docs-4.87-2.4.aarch64.rpm [ 47s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-debuginfo-4.87-2.4.aarch64.rpm [ 47s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zEl58L [ 47s] + umask 022 [ 47s] + cd /home/abuild/rpmbuild/BUILD [ 47s] + cd lsof_4.87-linux-only [ 47s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-2.4.aarch64 [ 47s] + exit 0 [ 47s] ... checking for files with abuild user/group [ 47s] ... creating baselibs [ 48s] ... comparing built packages with the former built [ 48s] /usr/lib/build/pkg-diff.sh [ 48s] compare /.build.oldpackages/lsof-4.87-2.3.src.rpm /home/abuild/rpmbuild/SRPMS/lsof-4.87-2.4.src.rpm [ 48s] This is not a prerelease project. Compare the project name. [ 48s] comparing rpmtags [ 48s] comparing RELEASE [ 48s] comparing PROVIDES [ 48s] comparing scripts [ 48s] comparing filelist [ 48s] comparing file checksum [ 48s] RPM meta information is identical [ 48s] compare /.build.oldpackages/lsof-4.87-2.3.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/lsof-4.87-2.4.aarch64.rpm [ 48s] Comparing lsof-4.87-2.3.aarch64.rpm to lsof-4.87-2.4.aarch64.rpm [ 48s] This is not a prerelease project. Compare the project name. [ 48s] comparing rpmtags [ 48s] comparing RELEASE [ 48s] comparing PROVIDES [ 48s] comparing scripts [ 48s] comparing filelist [ 48s] comparing file checksum [ 48s] creating rename script [ 48s] RPM file checksum differs. [ 48s] Extracting packages [ 49s] /usr/sbin/lsof differs in ELF section .rodata [ 49s] --- /tmp/tmp.WWtl123316/tmp.sVAS123550 2022-05-31 03:47:17.282026932 +0000 [ 49s] +++ /tmp/tmp.WWtl123316/tmp.aiki123552 2022-05-31 03:47:17.286026957 +0000 [ 49s] @@ -1194,7 +1194,7 @@ [ 49s] 22e28 20202020 636f6e66 69677572 6174696f configuratio [ 49s] 22e38 6e20696e 666f3a20 25730a00 00000000 n info: %s...... [ 49s] 22e48 20202020 636f6e73 74727563 7465643a constructed: [ 49s] - 22e58 2025730a 00000000 6f62736e 77313600 %s.....obsnw16. [ 49s] + 22e58 2025730a 00000000 6f62736e 77313900 %s.....obsnw19. [ 49s] 22e68 61627569 6c640000 20202020 636f6e73 abuild.. cons [ 49s] 22e78 74727563 74656420 25733a20 25732573 tructed %s: %s%s [ 49s] 22e88 25730a00 00000000 20202020 6275696c %s...... buil [ 49s] @@ -1203,7 +1203,7 @@ [ 49s] 22eb8 20202020 636f6d70 696c6572 3a202573 compiler: %s [ 49s] 22ec8 0a000000 00000000 392e322e 30202854 ........9.2.0 (T [ 49s] 22ed8 697a656e 20474343 20392e32 2e302032 izen GCC 9.2.0 2 [ 49s] - 22ee8 30313930 38313220 322e3929 20000000 0190812 2.9) ... [ 49s] + 22ee8 30313930 38313220 322e3132 29200000 0190812 2.12) .. [ 49s] 22ef8 20202020 636f6d70 696c6572 20766572 compiler ver [ 49s] 22f08 73696f6e 3a202573 0a000000 00000000 sion: %s........ [ 49s] 22f18 2d444c49 4e555856 3d333130 30303020 -DLINUXV=310000 [ 49s] @@ -1235,7 +1235,7 @@ [ 49s] 230b8 67733a20 25730a00 2d706965 20000000 gs: %s..-pie ... [ 49s] 230c8 20202020 6c6f6164 65722066 6c616773 loader flags [ 49s] 230d8 3a202573 0a000000 4c696e75 78206f62 : %s....Linux ob [ 49s] - 230e8 736e7731 3620342e 342e302d 3134322d snw16 4.4.0-142- [ 49s] + 230e8 736e7731 3920342e 342e302d 3134322d snw19 4.4.0-142- [ 49s] 230f8 67656e65 72696320 23313638 2d556275 generic #168-Ubu [ 49s] 23108 6e747520 534d5020 57656420 4a616e20 ntu SMP Wed Jan [ 49s] 23118 31362032 313a3030 3a343520 55544320 16 21:00:45 UTC [ 49s] compare /.build.oldpackages/lsof-debuginfo-4.87-2.3.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/lsof-debuginfo-4.87-2.4.aarch64.rpm [ 49s] skipping -debuginfo package [ 49s] compare /.build.oldpackages/lsof-debugsource-4.87-2.3.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/lsof-debugsource-4.87-2.4.aarch64.rpm [ 49s] Comparing lsof-debugsource-4.87-2.3.aarch64.rpm to lsof-debugsource-4.87-2.4.aarch64.rpm [ 49s] This is not a prerelease project. Compare the project name. [ 49s] comparing rpmtags [ 49s] comparing RELEASE [ 49s] comparing PROVIDES [ 49s] comparing scripts [ 49s] comparing filelist [ 49s] comparing file checksum [ 49s] creating rename script [ 49s] RPM meta information is identical [ 49s] compare /.build.oldpackages/lsof-docs-4.87-2.3.aarch64.rpm /home/abuild/rpmbuild/RPMS/aarch64/lsof-docs-4.87-2.4.aarch64.rpm [ 49s] Comparing lsof-docs-4.87-2.3.aarch64.rpm to lsof-docs-4.87-2.4.aarch64.rpm [ 49s] This is not a prerelease project. Compare the project name. [ 49s] comparing rpmtags [ 49s] comparing RELEASE [ 49s] comparing PROVIDES [ 49s] comparing scripts [ 49s] comparing filelist [ 49s] comparing file checksum [ 50s] creating rename script [ 50s] RPM meta information is identical [ 50s] [ 50s] obsnw19 finished "build lsof.spec" at Tue May 31 03:47:18 UTC 2022. [ 50s]