[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.20 [ 0s] Using BUILD_ARCH=aarch64:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-191 started "build lsof.spec" at Sun Dec 1 23:15:59 UTC 2024. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.0_unified_standard/lsof-4.87-0/lsof.spec ... [ 1s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_6.0_unified_standard/aarch64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.0/Tizen-6.0-Base/tizen-6.0-base_20241128.013536/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen-6.0/Tizen-6.0-Base/tizen-6.0-base_20241128.013536/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_6.0_unified_standard/lsof-4.87-0/lsof.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.20/.srcfiles.cache ... [ 2s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.20/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_6.0_unified_standard/aarch64/RPMS [ 3s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-6.0/Tizen-6.0-Base/tizen-6.0-base_20241128.013536/repos/standard/packages/ [ 5s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen-6.0/Tizen-6.0-Base/tizen-6.0-base_20241128.013536/repos/standard/debug/ [ 6s] expanding package dependencies... [ 7s] copying qemu [ 7s] [ 7s] registering binfmt handlers for cross build [ 7s] calculating packages to download... [ 29s] reordering...cycle: libsoftokn3 -> nss [ 29s] breaking dependency nss -> libsoftokn3 [ 29s] reordering done [ 34s] deleting capi-base-common [ 34s] deleting capi-base-common-devel [ 34s] deleting cmake [ 34s] deleting db4 [ 35s] deleting dlog-common [ 35s] deleting dlog-config-persistent-logs [ 35s] deleting dlog-logger [ 35s] deleting gtest [ 36s] deleting gtest-devel [ 36s] deleting iniparser [ 37s] deleting iniparser-devel [ 37s] deleting libarchive [ 37s] deleting libdlog [ 38s] deleting libdlog-devel [ 38s] deleting libexpat [ 39s] deleting libopenssl11 [ 39s] deleting libpython [ 40s] deleting libtzplatform-config [ 40s] deleting libtzplatform-config-devel [ 40s] deleting python [ 41s] deleting python-devel [ 41s] deleting tizen-platform-config [ 42s] [1/91] keeping libmagic-data-5.37-1.13 [ 42s] [2/91] keeping setup-0.9-1.4 [ 42s] [3/91] keeping filesystem-3.1-1.1 [ 42s] [4/91] keeping glibc-2.30-1.15 [ 42s] [5/91] keeping bash-3.2.57-1.1 [ 42s] [6/91] keeping cpio-2.11-3.1 [ 42s] [7/91] keeping diffutils-3.3-1.1 [ 42s] [8/91] keeping findutils-4.3.8-1.14 [ 42s] [9/91] keeping gdbm-1.8.3-1.14 [ 42s] [10/91] keeping hostname-3.23-1.1 [ 42s] [11/91] keeping libatomic-9.2.0-1.13 [ 42s] [12/91] keeping libattr-2.4.47-1.14 [ 42s] [13/91] keeping libblkid-2.34-1.4 [ 42s] [14/91] keeping libbz2-1.0.8-1.12 [ 42s] [15/91] keeping libcap-2.24-1.13 [ 42s] [16/91] keeping libfreebl3-3.87-1.12 [ 42s] [17/91] keeping libgcc-9.2.0-1.13 [ 42s] [18/91] keeping libgomp-9.2.0-1.13 [ 42s] [19/91] keeping libitm-9.2.0-1.13 [ 42s] [20/91] keeping libltdl-2.4.2-1.14 [ 42s] [21/91] keeping liblua-5.1.5-1.12 [ 42s] [22/91] keeping liblzma-5.2.4-1.13 [ 42s] [23/91] keeping libpcre-8.43-1.4 [ 42s] [24/91] keeping libpopt-1.16-1.15 [ 42s] [25/91] keeping libsmack-1.3.1-1.11 [ 42s] [26/91] keeping libsmartcols-2.34-1.4 [ 42s] [27/91] keeping libsqlite-3.33.0-1.14 [ 42s] [28/91] keeping libuuid-2.34-1.4 [ 42s] [29/91] keeping m4-1.4.17-1.1 [ 42s] [30/91] keeping net-tools-2.0_20121208git-1.1 [ 42s] [31/91] keeping nspr-4.35-1.12 [ 43s] [32/91] keeping patch-2.7-1.15 [ 43s] [33/91] keeping pkg-config-0.28-1.12 [ 43s] [34/91] keeping sed-4.1c-1.1 [ 43s] [35/91] keeping update-alternatives-1.18.15-1.1 [ 43s] [36/91] keeping which-2.20-4.1 [ 43s] [37/91] keeping zlib-1.2.11-1.14 [ 43s] [38/91] keeping build-compare-2015.04.28-1.6 [ 43s] [39/91] keeping qemu-linux-user-x86_64-cross-5.2.0-20.6 [ 43s] [40/91] keeping terminfo-base-full-6.1_20191207-1.12 [ 43s] [41/91] keeping coreutils-6.9-14.6 [ 43s] [42/91] keeping cpp-9.2.0-1.13 [ 43s] [43/91] keeping gawk-3.1.5-1.1 [ 43s] [44/91] keeping gcc-c++-9.2.0-1.13 [ 43s] [45/91] keeping grep-2.5.2-1.1 [ 43s] [46/91] keeping libacl-2.2.52-1.14 [ 43s] [47/91] keeping libelf-0.178-1.13 [ 43s] [48/91] keeping libgfortran-9.2.0-1.13 [ 43s] [49/91] keeping libmount-2.34-1.4 [ 43s] [50/91] keeping libstdc++-9.2.0-1.13 [ 43s] [51/91] keeping make-4.0-1.14 [ 43s] [52/91] keeping nss-certs-3.87-1.12 [ 43s] [53/91] keeping smack-1.3.1-1.11 [ 43s] [54/91] keeping bzip2-1.0.8-1.12 [ 43s] [55/91] keeping libfdisk-2.34-1.4 [ 43s] [56/91] keeping libmagic-5.37-1.13 [ 43s] [57/91] keeping libxml2-2.9.10-1.12 [ 43s] [58/91] keeping perl-5.30.0-1.14 [ 43s] [59/91] keeping xz-5.2.4-1.13 [ 43s] [60/91] keeping build-mkbaselibs-20120927-1.1 [ 43s] [61/91] keeping libstdc++-devel-9.2.0-1.13 [ 43s] [62/91] keeping file-5.37-1.13 [ 43s] [63/91] keeping linux-glibc-devel-3.10-1.14 [ 43s] [64/91] keeping tar-1.17-1.1 [ 43s] [65/91] keeping autoconf-2.69-1.14 [ 43s] [66/91] keeping binutils-2.33.1-1.14 [ 43s] [67/91] keeping glibc-locale-2.30-1.15 [ 43s] [68/91] keeping gzip-1.3.12-1.14 [ 43s] [69/91] keeping libcc1-9.2.0-1.13 [ 43s] [70/91] keeping libubsan-9.2.0-1.13 [ 43s] [71/91] keeping pam-1.1.6-1.1 [ 43s] [72/91] keeping libncurses6-6.1_20191207-1.12 [ 43s] [73/91] keeping tzdata-2023c-1.1 [ 43s] [74/91] keeping libdw-0.178-1.13 [ 43s] [75/91] keeping libncurses-6.1_20191207-1.12 [ 43s] [76/91] keeping glibc-devel-2.30-1.15 [ 43s] [77/91] keeping less-466-1.1 [ 43s] [78/91] keeping libreadline-5.2-1.14 [ 43s] [79/91] keeping automake-1.15.1-1.14 [ 43s] [80/91] keeping libasm-0.178-1.13 [ 43s] [81/91] keeping build-20120927-1.1 [ 43s] [82/91] keeping gcc-9.2.0-1.13 [ 43s] [83/91] keeping qemu-accel-x86_64-aarch64-0.4-1.4 [ 43s] [84/91] keeping libtool-2.4.2-1.14 [ 43s] [85/91] keeping elfutils-0.178-1.13 [ 43s] [86/91] keeping util-linux-2.34-1.4 [ 44s] [87/91] keeping util-linux-su-2.34-1.4 [ 44s] [88/91] keeping nss-3.87-1.12 [ 44s] [89/91] keeping libsoftokn3-3.87-1.12 [ 44s] [90/91] keeping rpm-4.11.0.1-2.8 [ 44s] [91/91] keeping rpm-build-4.11.0.1-2.8 [ 44s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.20/etc/nsswitch.conf... [ 44s] now finalizing build dir... [ 47s] ----------------------------------------------------------------- [ 47s] ----- building lsof.spec (user abuild) [ 47s] ----------------------------------------------------------------- [ 47s] ----------------------------------------------------------------- [ 48s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/lsof.spec [ 48s] Building target platforms: aarch64-tizen-linux [ 48s] Building for target aarch64-tizen-linux [ 48s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1YQ55g [ 48s] + umask 022 [ 48s] + cd /home/abuild/rpmbuild/BUILD [ 48s] + cd /home/abuild/rpmbuild/BUILD [ 48s] + rm -rf lsof_4.87-linux-only [ 48s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/lsof_4.87-linux-only.tar.xz [ 48s] + /bin/tar -xf - [ 48s] + STATUS=0 [ 48s] + '[' 0 -ne 0 ']' [ 48s] + cd lsof_4.87-linux-only [ 48s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 48s] + echo 'Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch):' [ 48s] Patch #0 (0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch): [ 48s] + /bin/patch -p1 --fuzz=2 [ 48s] + /bin/cat /home/abuild/rpmbuild/SOURCES/0001-Store-build_date-in-.tizen.build-id-section-to-avoid.patch [ 48s] patching file usage.c [ 48s] + cp /home/abuild/rpmbuild/SOURCES/lsof.manifest . [ 48s] + exit 0 [ 48s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lJw3Nf [ 48s] + umask 022 [ 48s] + cd /home/abuild/rpmbuild/BUILD [ 48s] + cd lsof_4.87-linux-only [ 48s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 48s] + ref=/usr/lib/rpm [ 48s] + for s in guess sub [ 48s] ++ find -maxdepth 8 -name config.guess [ 48s] + for s in guess sub [ 48s] ++ find -maxdepth 8 -name config.sub [ 48s] + LANG=C [ 48s] + export LANG [ 48s] + unset DISPLAY [ 48s] + 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' [ 48s] + export CFLAGS [ 48s] + 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' [ 48s] + export CXXFLAGS [ 48s] + 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' [ 48s] + export FFLAGS [ 48s] + LDFLAGS= [ 48s] + export LDFLAGS [ 48s] + LSOF_VSTR=2.6.16 [ 48s] + LINUX_BASE=/proc [ 48s] + ./Configure -n linux [ 49s] Testing C library type with cc ... done [ 49s] The C library type is glibc, version "-DGLIBCV=230". [ 49s] 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 [ 49s] rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags [ 50s] Testing C library for localtime() and strftime(), using cc ... present [ 50s] ln -s dialects/linux/dfile.c dfile.c [ 50s] ln -s dialects/linux/dlsof.h dlsof.h [ 50s] ln -s dialects/linux/dmnt.c dmnt.c [ 50s] ln -s dialects/linux/dnode.c dnode.c [ 50s] ln -s dialects/linux/dproc.c dproc.c [ 50s] ln -s dialects/linux/dproto.h dproto.h [ 51s] ln -s dialects/linux/dsock.c dsock.c [ 51s] ln -s dialects/linux/dstore.c dstore.c [ 51s] ln -s dialects/linux/machine.h machine.h [ 51s] Makefile and lib/Makefile created. [ 51s] ./tests/config.cc created [ 51s] ./tests/config.cflags created [ 51s] ./tests/config.ldflags created [ 51s] ./tests/config.xobj created [ 51s] + 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' -j8 [ 51s] (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\"") [ 51s] 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 [ 51s] 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 [ 51s] 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 [ 51s] 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 [ 51s] 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 [ 51s] 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 [ 51s] 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 [ 51s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 51s] 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 [ 51s] 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 [ 51s] 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 [ 51s] In file included from dstore.c:39: [ 51s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 51s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 51s] | ^~~~~~~~~~ [ 51s] dstore.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 51s] 35 | static char *rcsid = "$Id: dstore.c,v 1.4 2011/09/07 19:07:45 abe Exp $"; [ 51s] | ^~~~~ [ 51s] dstore.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 51s] 33 | static char copyright[] = [ 51s] | ^~~~~~~~~ [ 51s] In file included from dfile.c:39: [ 51s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 51s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 51s] | ^~~~~~~~~~ [ 51s] dfile.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 51s] 35 | static char *rcsid = "$Id: dfile.c,v 1.8 2012/04/10 16:39:50 abe Exp $"; [ 51s] | ^~~~~ [ 51s] dfile.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 51s] 33 | static char copyright[] = [ 51s] | ^~~~~~~~~ [ 51s] 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 [ 51s] dsock.c: In function 'get_icmp': [ 51s] dsock.c:746:21: warning: unused variable 'spl' [-Wunused-variable] [ 51s] 746 | MALLOC_S lal, ral, spl; [ 51s] | ^~~ [ 51s] dsock.c:745:16: warning: unused variable 'pr' [-Wunused-variable] [ 51s] 745 | unsigned long pr; [ 51s] | ^~ [ 51s] 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 [ 51s] In file included from dmnt.c:39: [ 51s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 51s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 51s] | ^~~~~~~~~~ [ 51s] dmnt.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 51s] 35 | static char *rcsid = "$Id: dmnt.c,v 1.19 2012/04/10 16:39:50 abe Exp $"; [ 51s] | ^~~~~ [ 51s] dmnt.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 51s] 33 | static char copyright[] = [ 51s] | ^~~~~~~~~ [ 51s] arg.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 51s] 35 | static char *rcsid = "$Id: arg.c,v 1.51 2012/04/10 16:30:06 abe Exp $"; [ 51s] | ^~~~~ [ 51s] arg.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 51s] 33 | static char copyright[] = [ 51s] | ^~~~~~~~~ [ 51s] In file included from dproc.c:38: [ 51s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 51s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 51s] | ^~~~~~~~~~ [ 51s] dproc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 51s] 35 | static char *rcsid = "$Id: dproc.c,v 1.27 2013/01/02 17:02:36 abe Exp $"; [ 51s] | ^~~~~ [ 51s] dproc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 51s] 33 | static char copyright[] = [ 51s] | ^~~~~~~~~ [ 51s] In file included from dnode.c:39: [ 51s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 51s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 51s] | ^~~~~~~~~~ [ 51s] dnode.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 51s] 35 | static char *rcsid = "$Id: dnode.c,v 1.23 2013/01/02 17:02:36 abe Exp $"; [ 51s] | ^~~~~ [ 51s] dnode.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 51s] 33 | static char copyright[] = [ 51s] | ^~~~~~~~~ [ 51s] 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 [ 51s] In file included from dsock.c:39: [ 51s] At top level: [ 51s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 51s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 51s] | ^~~~~~~~~~ [ 51s] dsock.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 51s] 35 | static char *rcsid = "$Id: dsock.c,v 1.39 2013/01/02 17:02:36 abe Exp $"; [ 51s] | ^~~~~ [ 51s] dsock.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 51s] 33 | static char copyright[] = [ 51s] | ^~~~~~~~~ [ 52s] 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 [ 52s] In file included from main.c:41: [ 52s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 52s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 52s] | ^~~~~~~~~~ [ 52s] main.c:37:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 52s] 37 | static char *rcsid = "$Id: main.c,v 1.55 2011/09/07 19:13:49 abe Exp $"; [ 52s] | ^~~~~ [ 52s] main.c:35:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 52s] 35 | static char copyright[] = [ 52s] | ^~~~~~~~~ [ 52s] 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 [ 52s] 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 [ 52s] 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 [ 52s] 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 [ 52s] 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 [ 52s] 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 [ 52s] In file included from misc.c:39: [ 52s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 52s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 52s] | ^~~~~~~~~~ [ 52s] misc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 52s] 35 | static char *rcsid = "$Id: misc.c,v 1.27 2013/01/02 17:14:59 abe Exp $"; [ 52s] | ^~~~~ [ 52s] misc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 52s] 33 | static char copyright[] = [ 52s] | ^~~~~~~~~ [ 52s] 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 [ 52s] 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 [ 52s] 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 [ 52s] 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 [ 52s] 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 [ 52s] dproc.c: In function 'process_id': [ 52s] dproc.c:1121:7: warning: 'efs' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 52s] 1121 | if (efs) { [ 52s] | ^ [ 53s] In file included from node.c:39: [ 53s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 53s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 53s] | ^~~~~~~~~~ [ 53s] node.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 53s] 35 | static char *rcsid = "$Id: node.c,v 1.5 2000/08/01 17:08:05 abe Exp $"; [ 53s] | ^~~~~ [ 53s] node.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 53s] 33 | static char copyright[] = [ 53s] | ^~~~~~~~~ [ 53s] 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 [ 53s] 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 [ 53s] main.c: In function 'main': [ 53s] main.c:1318:11: warning: 'fmtl' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 53s] 1318 | fmtr[fmtl - 1] = '\0'; [ 53s] | ^ [ 53s] print.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 53s] 35 | static char *rcsid = "$Id: print.c,v 1.55 2013/01/02 17:14:59 abe Exp $"; [ 53s] | ^~~~~ [ 53s] print.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 53s] 33 | static char copyright[] = [ 53s] | ^~~~~~~~~ [ 53s] In file included from /usr/include/string.h:494, [ 53s] from dlsof.h:48, [ 53s] from lsof.h:195, [ 53s] from arg.c:39: [ 53s] In function 'strncpy', [ 53s] inlined from 'enter_dir' at arg.c:1135:10: [ 53s] /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] [ 53s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 53s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 53s] arg.c: In function 'enter_dir': [ 53s] arg.c:1110:23: note: length computed here [ 53s] 1110 | dnamlen = (MALLOC_S)strlen(dp->d_name); [ 53s] | ^~~~~~~~~~~~~~~~~~ [ 53s] 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 [ 53s] 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 [ 53s] In file included from proc.c:39: [ 53s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 53s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 53s] | ^~~~~~~~~~ [ 53s] proc.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 53s] 35 | static char *rcsid = "$Id: proc.c,v 1.47 2013/01/02 17:14:59 abe Exp $"; [ 53s] | ^~~~~ [ 53s] proc.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 53s] 33 | static char copyright[] = [ 53s] | ^~~~~~~~~ [ 53s] ranlib liblsof.a [ 53s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lib' [ 53s] 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 [ 53s] In file included from store.c:39: [ 53s] lsof.h:273:20: warning: 'dummy_utmp' defined but not used [-Wunused-variable] [ 53s] 273 | static struct utmp dummy_utmp; /* to get login name length */ [ 53s] | ^~~~~~~~~~ [ 53s] store.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 53s] 35 | static char *rcsid = "$Id: store.c,v 1.41 2013/01/02 17:14:59 abe Exp $"; [ 53s] | ^~~~~ [ 53s] store.c:33:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 53s] 33 | static char copyright[] = [ 53s] | ^~~~~~~~~ [ 53s] Constructing version.h [ 53s] In file included from /usr/include/string.h:494, [ 53s] from dlsof.h:48, [ 53s] from lsof.h:195, [ 53s] from dsock.c:39: [ 53s] In function 'strncpy', [ 53s] inlined from 'get_sctpaddrs' at dsock.c:1761:13: [ 53s] /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] [ 53s] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); [ 53s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 53s] dsock.c: In function 'get_sctpaddrs': [ 53s] dsock.c:1745:51: note: length computed here [ 53s] 1745 | if ((i >= nf) || !fp[i] || !*fp[i] || !(tl = strlen(fp[i]))) [ 53s] | ^~~~~~~~~~~~~ [ 53s] 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 [ 53s] util.c:42:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 53s] 42 | static char *rcsid = "$Id: util.c,v 1.1 2008/04/01 11:56:53 abe Exp $"; [ 53s] | ^~~~~ [ 53s] util.c:40:13: warning: 'copyright' defined but not used [-Wunused-variable] [ 53s] 40 | static char copyright[] = [ 53s] | ^~~~~~~~~ [ 54s] print.c: In function 'printiproto': [ 54s] 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=] [ 54s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 54s] | ^~ [ 54s] print.c:1992:47: note: directive argument in the range [-214748363, 214748363] [ 54s] 1992 | (void) snpf(Lf->iproto, sizeof(Lf->iproto), "*%d?", p % (m/10)); [ 54s] | ^~~~~~ [ 54s] In file included from /usr/include/stdio.h:867, [ 54s] from lsof.h:58, [ 54s] from print.c:39: [ 54s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 13 bytes into a destination of size 8 [ 54s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 54s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 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 usage.o usage.c [ 54s] print.c: In function 'printuid': [ 54s] 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=] [ 54s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 54s] | ^~~~ [ 54s] print.c:2421:34: note: directive argument in the range [0, 4294967295] [ 54s] 2421 | (void) snpf(user, sizeof(user), "%*lu", USERPRTL, (unsigned long)uid); [ 54s] | ^~~~~~ [ 54s] In file included from /usr/include/stdio.h:867, [ 54s] from lsof.h:58, [ 54s] from print.c:39: [ 54s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 11 bytes into a destination of size 9 [ 54s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 54s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 54s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 54s] usage.c: In function 'usage': [ 54s] usage.c:921:26: warning: passing argument 1 of 'isnullstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [ 54s] 921 | if ((cp = isnullstr(BUILD_DATE))) [ 54s] | ^~~~~~~~~~ [ 54s] usage.c:64:8: note: expected 'char *' but argument is of type 'const char *' [ 54s] 64 | char *s; /* string pointer */ [ 54s] | ^ [ 54s] In file included from usage.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] usage.c:35:14: warning: 'rcsid' defined but not used [-Wunused-variable] [ 54s] 35 | static char *rcsid = "$Id: usage.c,v 1.31 2013/01/02 17:14:59 abe Exp $"; [ 54s] | ^~~~~ [ 54s] usage.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 '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] | ^~~~~~~~~~~~~~ [ 57s] 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 [ 57s] + exit 0 [ 57s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7Nrd4f [ 57s] + umask 022 [ 57s] + cd /home/abuild/rpmbuild/BUILD [ 57s] + cd lsof_4.87-linux-only [ 57s] + LANG=C [ 57s] + export LANG [ 57s] + unset DISPLAY [ 57s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.aarch64 [ 57s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.aarch64 [ 57s] + install -Dm755 lsof /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.aarch64/usr/sbin/lsof [ 57s] + install -Dm644 lsof.8 /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.aarch64/usr/share/man/man8/lsof.8 [ 57s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only [ 57s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.aarch64/usr/sbin/lsof [ 58s] 942 blocks [ 58s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debuginfo.manifest [ 58s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/lsof-debugsource.manifest [ 58s] + /usr/lib/rpm/check-buildroot [ 58s] + /usr/lib/rpm//brp-compress [ 58s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 59s] + /usr/lib/rpm/brp-python-hardlink [ 59s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.aarch64 [ 59s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/lsof_4.87-linux-only/isu.list [ 59s] ~/rpmbuild/BUILDROOT/lsof-4.87-0.aarch64 ~/rpmbuild/BUILD/lsof_4.87-linux-only [ 59s] ~/rpmbuild/BUILD/lsof_4.87-linux-only [ 59s] Processing files: lsof-4.87-0.aarch64 [ 59s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 59s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 59s] [ 59s] Provides: lsof = 4.87-0 lsof(aarch-64) = 4.87-0 [ 59s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 59s] 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) [ 59s] Processing files: lsof-debugsource-4.87-0.aarch64 [ 59s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 59s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 59s] [ 59s] Provides: lsof-debugsource = 4.87-0 lsof-debugsource(aarch-64) = 4.87-0 [ 59s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 59s] Processing files: lsof-docs-4.87-0.aarch64 [ 59s] Provides: lsof-docs = 4.87-0 lsof-docs(aarch-64) = 4.87-0 [ 59s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 59s] Processing files: lsof-debuginfo-4.87-0.aarch64 [ 59s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 59s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 59s] [ 59s] Provides: lsof-debuginfo = 4.87-0 lsof-debuginfo(aarch-64) = 4.87-0 [ 59s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 59s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.aarch64 [ 60s] warning: Could not canonicalize hostname: ip-192-168-56-191 [ 60s] Wrote: /home/abuild/rpmbuild/SRPMS/lsof-4.87-0.src.rpm [ 60s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-4.87-0.aarch64.rpm [ 61s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-debugsource-4.87-0.aarch64.rpm [ 61s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-docs-4.87-0.aarch64.rpm [ 62s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/lsof-debuginfo-4.87-0.aarch64.rpm [ 62s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LQQyne [ 62s] + umask 022 [ 62s] + cd /home/abuild/rpmbuild/BUILD [ 62s] + cd lsof_4.87-linux-only [ 62s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/lsof-4.87-0.aarch64 [ 62s] + exit 0 [ 62s] ... checking for files with abuild user/group [ 62s] ... creating baselibs [ 65s] [ 65s] ip-192-168-56-191 finished "build lsof.spec" at Sun Dec 1 23:17:03 UTC 2024. [ 65s]