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/cronolog.spec'], chrootPath='/var/lib/mock/f40-build-801254-143719/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cronolog.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/cronolog-1.6.2-39.fc40.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cronolog.spec'], chrootPath='/var/lib/mock/f40-build-801254-143719/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cronolog.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dvuuxQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cronolog-1.6.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cronolog-1.6.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cronolog-1.6.2 + rm -rf /builddir/build/BUILD/cronolog-1.6.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/cronolog-1.6.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (cronolog-largefile.patch):' Patch #1 (cronolog-largefile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/cronolog.c Patch #2 (cronolog-configure-c99.patch): + echo 'Patch #2 (cronolog-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure Patch #3 (cronolog-c99.patch): + echo 'Patch #3 (cronolog-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/cronoutils.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EUcHUi + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 CFLAGS + CXXFLAGS='-O2 -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 -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 -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=-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-errors -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 cronolog-1.6.2 + CFLAGS='-O2 -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 CFLAGS + CXXFLAGS='-O2 -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 -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 -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=-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-errors -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 + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc -O2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 ) works... yes checking whether the C compiler (gcc -O2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking for perl... /usr/bin/perl checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for fcntl.h... yes checking for limits.h... yes checking for unistd.h... yes checking for working const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for strftime... yes checking for vprintf... yes checking for mkdir... yes checking for mktime... yes checking for putenv... yes checking for strptime... yes checking for localtime_r... yes updating cache ./config.cache creating ./config.status creating Makefile creating lib/Makefile creating src/Makefile creating doc/Makefile creating testsuite/Makefile creating src/cronosplit + /usr/bin/make -O -j4 V=1 VERBOSE=1 Making all in lib make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/lib' gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -O2 -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 -c getopt1.c make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/lib' make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/lib' gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -O2 -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 -c getopt.c make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/lib' make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/lib' rm -f libutil.a ar cru libutil.a getopt.o getopt1.o ranlib libutil.a make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/lib' Making all in src make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/src' gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -I../lib -O2 -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 -c cronotest.c cronotest.c: In function ‘main’: cronotest.c:161:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 161 | || (periodicity == PER_SECOND) && (60 % period_multiple) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronotest.c:162:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 162 | || (periodicity == PER_MINUTE) && (60 % period_multiple) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronotest.c:163:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 163 | || (periodicity == HOURLY) && (24 % period_multiple) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronotest.c:164:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 164 | || (periodicity == DAILY) && (period_multiple > 365) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cronotest.c:165:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 165 | || (periodicity == WEEKLY) && (period_multiple > 52) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronotest.c:166:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 166 | || (periodicity == MONTHLY) && (12 % period_multiple)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronotest.c:228:29: warning: too many arguments for format [-Wformat-extra-args] 228 | fprintf(stderr, "%s: period delay cannot be larger than the rollover period\n", argv[0], start_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/src' make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/src' gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -I../lib -O2 -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 -c cronolog.c make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/src' cronolog.c: In function ‘main’: cronolog.c:214:33: warning: too many arguments for format [-Wformat-extra-args] 214 | fprintf(stderr, "A current log symlink is needed to mantain a symlink to the previous log\n", argv[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cronolog.c:228:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 228 | || (periodicity == PER_SECOND) && (60 % period_multiple) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronolog.c:229:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 229 | || (periodicity == PER_MINUTE) && (60 % period_multiple) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronolog.c:230:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 230 | || (periodicity == HOURLY) && (24 % period_multiple) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronolog.c:231:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 231 | || (periodicity == DAILY) && (period_multiple > 365) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cronolog.c:232:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 232 | || (periodicity == WEEKLY) && (period_multiple > 52) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronolog.c:233:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 233 | || (periodicity == MONTHLY) && (12 % period_multiple)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cronolog.c:302:29: warning: too many arguments for format [-Wformat-extra-args] 302 | fprintf(stderr, "%s: period delay cannot be larger than the rollover period\n", argv[0], start_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/src' gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -I../lib -O2 -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 -c cronoutils.c cronoutils.c: In function ‘create_link’: cronoutils.c:218:9: warning: ignoring return value of ‘symlink’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 218 | symlink(pfilename, linkname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cronoutils.c:222:9: warning: ignoring return value of ‘link’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 222 | link(pfilename, linkname); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/src' make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/src' gcc -O2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -o cronotest cronotest.o cronoutils.o ../lib/libutil.a make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/src' make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/src' gcc -O2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -o cronolog cronolog.o cronoutils.o ../lib/libutil.a make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/src' Making all in doc make[1]: Nothing to be done for 'all'. Making all in testsuite make[1]: Nothing to be done for 'all'. make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.So9Dp0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64 + CFLAGS='-O2 -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 CFLAGS + CXXFLAGS='-O2 -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 -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 -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=-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-errors -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 cronolog-1.6.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64 'INSTALL=/usr/bin/install -p' Making install in lib make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/lib' make[2]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/lib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/lib' make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/lib' Making install in src make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/src' make[2]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/sbin mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/sbin /usr/bin/install -p cronolog /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/sbin/cronolog /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/sbin /usr/bin/install -p cronosplit /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/sbin/cronosplit make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/src' make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/doc' make[2]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/doc' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/info mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/info /usr/bin/install -p -m 644 ./cronolog.info /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/info/cronolog.info install-info --info-dir=/builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/info /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/info/cronolog.info /usr/bin/make install-man1 make[3]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/doc' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ./cronolog.1m /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/man/man1/cronolog.1m /usr/bin/install -p -m 644 ./cronosplit.1m /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/man/man1/cronosplit.1m make[3]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/doc' make[2]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/doc' make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/doc' Making install in testsuite make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/testsuite' make[2]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/testsuite' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/testsuite' make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/testsuite' make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2' make[2]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2' make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2' + sed -i 's|/www/sbin|/usr/sbin|g' /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64//usr/share/man/man1/cronolog.1m /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64//usr/share/man/man1/cronosplit.1m + mkdir -p /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64//usr/bin + mv /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64//usr/sbin/cronosplit /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64//usr/bin + rm -f /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/info/dir + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.6.2-39.fc40 --unique-debug-suffix -1.6.2-39.fc40.riscv64 --unique-debug-src-base cronolog-1.6.2-39.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cronolog-1.6.2 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/cronolog-1.6.2-39.fc40.riscv64 84 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 Processing files: cronolog-1.6.2-39.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EZKpln + umask 022 + cd /builddir/build/BUILD + cd cronolog-1.6.2 + DOCDIR=/builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/doc/cronolog + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/doc/cronolog + cp -pr /builddir/build/BUILD/cronolog-1.6.2/AUTHORS /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/doc/cronolog + cp -pr /builddir/build/BUILD/cronolog-1.6.2/COPYING /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/doc/cronolog + cp -pr /builddir/build/BUILD/cronolog-1.6.2/ChangeLog /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/doc/cronolog + cp -pr /builddir/build/BUILD/cronolog-1.6.2/NEWS /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/doc/cronolog + cp -pr /builddir/build/BUILD/cronolog-1.6.2/README /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/doc/cronolog + cp -pr /builddir/build/BUILD/cronolog-1.6.2/TODO /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64/usr/share/doc/cronolog + RPM_EC=0 ++ jobs -p + exit 0 Provides: cronolog = 1.6.2-39.fc40 cronolog(riscv-64) = 1.6.2-39.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(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) perl(Getopt::Long) rtld(GNU_HASH) Processing files: cronolog-debugsource-1.6.2-39.fc40.riscv64 Provides: cronolog-debugsource = 1.6.2-39.fc40 cronolog-debugsource(riscv-64) = 1.6.2-39.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cronolog-debuginfo-1.6.2-39.fc40.riscv64 Provides: cronolog-debuginfo = 1.6.2-39.fc40 cronolog-debuginfo(riscv-64) = 1.6.2-39.fc40 debuginfo(build-id) = b5d3a1c6ed977c27b48194aaf19bbc3b9ba4bbd1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cronolog-debugsource(riscv-64) = 1.6.2-39.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64 Wrote: /builddir/build/RPMS/cronolog-debugsource-1.6.2-39.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/cronolog-debuginfo-1.6.2-39.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/cronolog-1.6.2-39.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2sMJap + umask 022 + cd /builddir/build/BUILD + cd cronolog-1.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cronolog-1.6.2-39.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.fPfPRb + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/cronolog-1.6.2-SPECPARTS + rm -rf cronolog-1.6.2 cronolog-1.6.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0