Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/i3status.spec'], chrootPath='/var/lib/mock/f40-build-750289-114883/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/i3status.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1693526400 Wrote: /builddir/build/SRPMS/i3status-2.14-6.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/i3status.spec'], chrootPath='/var/lib/mock/f40-build-750289-114883/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/i3status.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1693526400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VmHwfB + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/gpgkey-424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D.gpg --signature=/builddir/build/SOURCES/i3status-2.14.tar.xz.asc --data=/builddir/build/SOURCES/i3status-2.14.tar.xz gpgv: Signature made Thu Nov 11 12:03:51 2021 EST gpgv: using RSA key 424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D gpgv: Good signature from "Michael Stapelberg " gpgv: aka "Michael Stapelberg (RENT-A-GURU) " gpgv: aka "Michael Stapelberg " + cd /builddir/build/BUILD + rm -rf i3status-2.14 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/i3status-2.14.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd i3status-2.14 + rm -rf /builddir/build/BUILD/i3status-2.14-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/i3status-2.14-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.b8yJ7D + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd i3status-2.14 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build The Meson build system Version: 1.2.3 Source dir: /builddir/build/BUILD/i3status-2.14 Build dir: /builddir/build/BUILD/i3status-2.14/redhat-linux-build Build type: native build Project name: i3status Project version: 2.14 C compiler for the host machine: gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)") C linker for the host machine: gcc ld.bfd 2.41-5 Host machine cpu family: riscv64 Host machine cpu: riscv64 Compiler for C supports arguments -Wunused-value: YES Checking for function "strndup" : YES Checking for function "mkdirp" : NO Configuring config.h.in using configuration WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Library m found: YES Library rt found: YES Found pkg-config: /usr/bin/pkg-config (1.9.5) Run-time dependency libconfuse found: YES 3.3 Run-time dependency yajl found: YES 2.1.0 Run-time dependency threads found: YES Run-time dependency libpulse found: YES 16.1 Run-time dependency libnl-genl-3.0 found: YES 3.8.0 Run-time dependency alsa found: YES 1.2.10 Program bash found: YES (/usr/bin/bash) Program perl found: YES (/usr/bin/perl) Build targets in project: 3 i3status 2.14 build manpages (-Dmans) : False build pulseaudio support (-Dpulseaudio): True User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir : /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C redhat-linux-build -j 4 --verbose ninja: Entering directory `/builddir/build/BUILD/i3status-2.14/redhat-linux-build' [1/27] /usr/bin/bash -c 'sed -e '"'"'s,@abs_top_builddir@,/builddir/build/BUILD/i3status-2.14/redhat-linux-build,g;s,@abs_top_srcdir@,/builddir/build/BUILD/i3status-2.14,g'"'"' "$0" > "$1" && { [[ "${1##*.}" == pl ]] && chmod +x "$1" || true; }' ../travis/run-tests.pl.in run-tests.pl [2/27] /usr/bin/meson --internal vcstagger config.h.in config.h 2.14-non-git /builddir/build/BUILD/i3status-2.14 @VCS_TAG@ '(.*)' ' ' [3/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_format_placeholders.c.o -MF i3status.p/src_format_placeholders.c.o.d -o i3status.p/src_format_placeholders.c.o -c ../src/format_placeholders.c [4/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_first_network_device.c.o -MF i3status.p/src_first_network_device.c.o.d -o i3status.p/src_first_network_device.c.o -c ../src/first_network_device.c [5/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_auto_detect_format.c.o -MF i3status.p/src_auto_detect_format.c.o.d -o i3status.p/src_auto_detect_format.c.o -c ../src/auto_detect_format.c [6/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_general.c.o -MF i3status.p/src_general.c.o.d -o i3status.p/src_general.c.o -c ../src/general.c [7/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_output.c.o -MF i3status.p/src_output.c.o.d -o i3status.p/src_output.c.o -c ../src/output.c [8/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_cpu_temperature.c.o -MF i3status.p/src_print_cpu_temperature.c.o.d -o i3status.p/src_print_cpu_temperature.c.o -c ../src/print_cpu_temperature.c ../src/print_cpu_temperature.c: In function ‘print_cpu_temperature_info’: ../src/print_cpu_temperature.c:225:9: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 225 | asprintf(&thermal_zone, THERMAL_ZONE, ctx->zone); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/print_cpu_temperature.c:232:13: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 232 | asprintf(&thermal_zone, ctx->path, ctx->zone); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/print_cpu_temperature.c:235:13: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 235 | asprintf(&thermal_zone, "%s", globbuf.gl_pathv[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [9/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_cpu_usage.c.o -MF i3status.p/src_print_cpu_usage.c.o.d -o i3status.p/src_print_cpu_usage.c.o -c ../src/print_cpu_usage.c [10/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_battery_info.c.o -MF i3status.p/src_print_battery_info.c.o.d -o i3status.p/src_print_battery_info.c.o -c ../src/print_battery_info.c ../src/print_battery_info.c: In function ‘print_battery_info’: ../src/print_battery_info.c:692:59: warning: ‘%02d’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 3 and 7 [-Wformat-truncation=] 692 | snprintf(string_remaining, STRING_SIZE, "%02d:%02d:%02d", max(hours, 0), max(minutes, 0), max(seconds, 0)); | ^~~~ ../src/print_battery_info.c:692:53: note: directive argument in the range [0, 35791394] 692 | snprintf(string_remaining, STRING_SIZE, "%02d:%02d:%02d", max(hours, 0), max(minutes, 0), max(seconds, 0)); | ^~~~~~~~~~~~~~~~ ../src/print_battery_info.c:692:53: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:980, from ../src/print_battery_info.c:4: In function ‘snprintf’, inlined from ‘print_battery_info’ at ../src/print_battery_info.c:692:13: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 9 and 27 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/print_battery_info.c: In function ‘print_battery_info’: ../src/print_battery_info.c:690:59: warning: ‘%02d’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 3 and 7 [-Wformat-truncation=] 690 | snprintf(string_remaining, STRING_SIZE, "%02d:%02d", max(hours, 0), max(minutes, 0)); | ^~~~ ../src/print_battery_info.c:690:53: note: directive argument in the range [0, 35791394] 690 | snprintf(string_remaining, STRING_SIZE, "%02d:%02d", max(hours, 0), max(minutes, 0)); | ^~~~~~~~~~~ In function ‘snprintf’, inlined from ‘print_battery_info’ at ../src/print_battery_info.c:690:13: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 6 and 16 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/print_battery_info.c: In function ‘print_battery_info’: ../src/print_battery_info.c:702:58: warning: ‘:’ directive output may be truncated writing 1 byte into a region of size between 0 and 8 [-Wformat-truncation=] 702 | snprintf(string_emptytime, STRING_SIZE, "%02d:%02d:%02d", max(empty_tm->tm_hour, 0), max(empty_tm->tm_min, 0), max(empty_tm->tm_sec, 0)); | ^ ../src/print_battery_info.c:702:53: note: directive argument in the range [0, 2147483647] 702 | snprintf(string_emptytime, STRING_SIZE, "%02d:%02d:%02d", max(empty_tm->tm_hour, 0), max(empty_tm->tm_min, 0), max(empty_tm->tm_sec, 0)); | ^~~~~~~~~~~~~~~~ ../src/print_battery_info.c:702:53: note: directive argument in the range [0, 2147483647] In function ‘snprintf’, inlined from ‘print_battery_info’ at ../src/print_battery_info.c:702:13: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 9 and 33 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../src/print_battery_info.c: In function ‘print_battery_info’: ../src/print_battery_info.c:700:58: warning: ‘:’ directive output may be truncated writing 1 byte into a region of size between 0 and 8 [-Wformat-truncation=] 700 | snprintf(string_emptytime, STRING_SIZE, "%02d:%02d", max(empty_tm->tm_hour, 0), max(empty_tm->tm_min, 0)); | ^ ../src/print_battery_info.c:700:53: note: directive argument in the range [0, 2147483647] 700 | snprintf(string_emptytime, STRING_SIZE, "%02d:%02d", max(empty_tm->tm_hour, 0), max(empty_tm->tm_min, 0)); | ^~~~~~~~~~~ In function ‘snprintf’, inlined from ‘print_battery_info’ at ../src/print_battery_info.c:700:13: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 6 and 22 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [11/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_ddate.c.o -MF i3status.p/src_print_ddate.c.o.d -o i3status.p/src_print_ddate.c.o -c ../src/print_ddate.c [12/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_ip_addr.c.o -MF i3status.p/src_print_ip_addr.c.o.d -o i3status.p/src_print_ip_addr.c.o -c ../src/print_ip_addr.c [13/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_eth_info.c.o -MF i3status.p/src_print_eth_info.c.o.d -o i3status.p/src_print_eth_info.c.o -c ../src/print_eth_info.c [14/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_disk_info.c.o -MF i3status.p/src_print_disk_info.c.o.d -o i3status.p/src_print_disk_info.c.o -c ../src/print_disk_info.c [15/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_ipv6_addr.c.o -MF i3status.p/src_print_ipv6_addr.c.o.d -o i3status.p/src_print_ipv6_addr.c.o -c ../src/print_ipv6_addr.c [16/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_load.c.o -MF i3status.p/src_print_load.c.o.d -o i3status.p/src_print_load.c.o -c ../src/print_load.c [17/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_path_exists.c.o -MF i3status.p/src_print_path_exists.c.o.d -o i3status.p/src_print_path_exists.c.o -c ../src/print_path_exists.c [18/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_run_watch.c.o -MF i3status.p/src_print_run_watch.c.o.d -o i3status.p/src_print_run_watch.c.o -c ../src/print_run_watch.c [19/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_mem.c.o -MF i3status.p/src_print_mem.c.o.d -o i3status.p/src_print_mem.c.o -c ../src/print_mem.c ../src/print_mem.c: In function ‘print_memory’: ../src/print_mem.c:135:15: warning: ‘ram_total’ may be used uninitialized [-Wmaybe-uninitialized] 135 | ram_total *= 1024UL; | ~~~~~~~~~~^~~~~~~~~ ../src/print_mem.c:97:19: note: ‘ram_total’ was declared here 97 | unsigned long ram_total; | ^~~~~~~~~ ../src/print_mem.c:136:14: warning: ‘ram_free’ may be used uninitialized [-Wmaybe-uninitialized] 136 | ram_free *= 1024UL; | ~~~~~~~~~^~~~~~~~~ ../src/print_mem.c:98:19: note: ‘ram_free’ was declared here 98 | unsigned long ram_free; | ^~~~~~~~ ../src/print_mem.c:137:19: warning: ‘ram_available’ may be used uninitialized [-Wmaybe-uninitialized] 137 | ram_available *= 1024UL; | ~~~~~~~~~~~~~~^~~~~~~~~ ../src/print_mem.c:99:19: note: ‘ram_available’ was declared here 99 | unsigned long ram_available; | ^~~~~~~~~~~~~ ../src/print_mem.c:138:17: warning: ‘ram_buffers’ may be used uninitialized [-Wmaybe-uninitialized] 138 | ram_buffers *= 1024UL; | ~~~~~~~~~~~~^~~~~~~~~ ../src/print_mem.c:100:19: note: ‘ram_buffers’ was declared here 100 | unsigned long ram_buffers; | ^~~~~~~~~~~ ../src/print_mem.c:139:16: warning: ‘ram_cached’ may be used uninitialized [-Wmaybe-uninitialized] 139 | ram_cached *= 1024UL; | ~~~~~~~~~~~^~~~~~~~~ ../src/print_mem.c:101:19: note: ‘ram_cached’ was declared here 101 | unsigned long ram_cached; | ^~~~~~~~~~ ../src/print_mem.c:140:16: warning: ‘ram_shared’ may be used uninitialized [-Wmaybe-uninitialized] 140 | ram_shared *= 1024UL; | ~~~~~~~~~~~^~~~~~~~~ ../src/print_mem.c:102:19: note: ‘ram_shared’ was declared here 102 | unsigned long ram_shared; | ^~~~~~~~~~ [20/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_time.c.o -MF i3status.p/src_print_time.c.o.d -o i3status.p/src_print_time.c.o -c ../src/print_time.c [21/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_file_contents.c.o -MF i3status.p/src_print_file_contents.c.o.d -o i3status.p/src_print_file_contents.c.o -c ../src/print_file_contents.c [22/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_volume.c.o -MF i3status.p/src_print_volume.c.o.d -o i3status.p/src_print_volume.c.o -c ../src/print_volume.c ../src/print_volume.c: In function ‘print_volume’: ../src/print_volume.c:74:9: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 74 | asprintf(&instance, "%s.%s.%d", ctx->device, ctx->mixer, ctx->mixer_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [23/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_process_runs.c.o -MF i3status.p/src_process_runs.c.o.d -o i3status.p/src_process_runs.c.o -c ../src/process_runs.c [24/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_print_wireless_info.c.o -MF i3status.p/src_print_wireless_info.c.o.d -o i3status.p/src_print_wireless_info.c.o -c ../src/print_wireless_info.c [25/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/src_pulse.c.o -MF i3status.p/src_pulse.c.o.d -o i3status.p/src_pulse.c.o -c ../src/pulse.c ../src/pulse.c: In function ‘description_pulseaudio’: ../src/pulse.c:280:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 280 | strncpy(buffer, entry->description, sizeof(entry->description) - 1); | ^ [26/27] gcc -Ii3status.p -I. -I.. -I../include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_REENTRANT -pthread -MD -MQ i3status.p/i3status.c.o -MF i3status.p/i3status.c.o.d -o i3status.p/i3status.c.o -c ../i3status.c ../i3status.c: In function ‘main’: ../i3status.c:958:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 958 | write(STDOUT_FILENO, buf, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [27/27] gcc -o i3status i3status.p/i3status.c.o i3status.p/src_auto_detect_format.c.o i3status.p/src_first_network_device.c.o i3status.p/src_format_placeholders.c.o i3status.p/src_general.c.o i3status.p/src_output.c.o i3status.p/src_print_battery_info.c.o i3status.p/src_print_cpu_temperature.c.o i3status.p/src_print_cpu_usage.c.o i3status.p/src_print_ddate.c.o i3status.p/src_print_disk_info.c.o i3status.p/src_print_eth_info.c.o i3status.p/src_print_ip_addr.c.o i3status.p/src_print_ipv6_addr.c.o i3status.p/src_print_load.c.o i3status.p/src_print_mem.c.o i3status.p/src_print_path_exists.c.o i3status.p/src_print_run_watch.c.o i3status.p/src_print_time.c.o i3status.p/src_print_volume.c.o i3status.p/src_print_wireless_info.c.o i3status.p/src_print_file_contents.c.o i3status.p/src_process_runs.c.o i3status.p/src_pulse.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -Wl,--start-group -lm -lrt /usr/lib64/libconfuse.so /usr/lib64/libyajl.so /usr/lib64/libpulse.so /usr/lib64/libnl-genl-3.so /usr/lib64/libnl-3.so /usr/lib64/libasound.so -Wl,--end-group INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/i3status-2.14/redhat-linux-build -j 4 -v + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CyIWdH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd i3status-2.14 + DESTDIR=/builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64 + /usr/bin/meson install -C redhat-linux-build --no-rebuild Installing subdir /builddir/build/BUILD/i3status-2.14/etc to /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/etc Installing /builddir/build/BUILD/i3status-2.14/etc/i3status.conf to /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/etc Installing i3status to /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/usr/bin Installing /builddir/build/BUILD/i3status-2.14/man/i3status.1 to /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/usr/share/man/man1 + install -Dpm0644 /builddir/build/SOURCES/fedora-i3-status-config /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/etc/i3status.conf.fedora + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.14-6.fc40 --unique-debug-suffix -2.14-6.fc40.riscv64 --unique-debug-src-base i3status-2.14-6.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/i3status-2.14 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/i3status-2.14-6.fc40.riscv64 394 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0CGUjT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd i3status-2.14 + RPM_EC=0 Processing files: i3status-2.14-6.fc40.riscv64 ++ jobs -p + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.evTRhH + umask 022 + cd /builddir/build/BUILD + cd i3status-2.14 + DOCDIR=/builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/usr/share/doc/i3status + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/usr/share/doc/i3status + cp -pr /builddir/build/BUILD/i3status-2.14/CHANGELOG /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/usr/share/doc/i3status + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qDCMZM + umask 022 + cd /builddir/build/BUILD + cd i3status-2.14 + LICENSEDIR=/builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/usr/share/licenses/i3status + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/usr/share/licenses/i3status + cp -pr /builddir/build/BUILD/i3status-2.14/LICENSE /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64/usr/share/licenses/i3status + RPM_EC=0 ++ jobs -p + exit 0 Provides: i3status = 2.14-6.fc40 i3status(riscv-64) = 2.14-6.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libconfuse.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) libpulse.so.0()(64bit) libpulse.so.0(PULSE_0)(64bit) libyajl.so.2()(64bit) rtld(GNU_HASH) Recommends: i3status-config Processing files: i3status-config-2.14-6.fc40.noarch Provides: config(i3status-config) = 2.14-6.fc40 i3status-config = 2.14-6.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: i3status-config-fedora Processing files: i3status-config-fedora-2.14-6.fc40.noarch Provides: config(i3status-config-fedora) = 2.14-6.fc40 i3status-config-fedora = 2.14-6.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: i3status-config Processing files: i3status-debugsource-2.14-6.fc40.riscv64 Provides: i3status-debugsource = 2.14-6.fc40 i3status-debugsource(riscv-64) = 2.14-6.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: i3status-debuginfo-2.14-6.fc40.riscv64 Provides: debuginfo(build-id) = de022b675f423f4248bc1d71cd6f67e91f2f9939 i3status-debuginfo = 2.14-6.fc40 i3status-debuginfo(riscv-64) = 2.14-6.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: i3status-debugsource(riscv-64) = 2.14-6.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64 Wrote: /builddir/build/RPMS/i3status-config-fedora-2.14-6.fc40.noarch.rpm Wrote: /builddir/build/RPMS/i3status-config-2.14-6.fc40.noarch.rpm Wrote: /builddir/build/RPMS/i3status-2.14-6.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/i3status-debugsource-2.14-6.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/i3status-debuginfo-2.14-6.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0tu1lv + umask 022 + cd /builddir/build/BUILD + cd i3status-2.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/i3status-2.14-6.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.fOdLFQ + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/i3status-2.14-SPECPARTS + rm -rf i3status-2.14 i3status-2.14.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0