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/f37-build-650012-72752/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/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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/cronolog-1.6.2-34.fc37.src.rpm 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/f37-build-650012-72752/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/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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fx3UHr + 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 + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S4TTri + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 cronolog-1.6.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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' ']' ++ find . -name ltmain.sh + ./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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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) works... yes checking whether the C compiler (gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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) 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c cronotest.c make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/src' 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]: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c cronoutils.c make[1]: Leaving directory '/builddir/build/BUILD/cronolog-1.6.2/src' cronoutils.c: In function 'parse_time': cronoutils.c:673:36: warning: implicit declaration of function 'strptime'; did you mean 'strftime'? [-Wimplicit-function-declaration] 673 | if (check_end((const char *)strptime(time_str, *date_formats, &tm))) | ^~~~~~~~ | strftime cronoutils.c:673:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 673 | if (check_end((const char *)strptime(time_str, *date_formats, &tm))) | ^ cronoutils.c: In function 'create_link': cronoutils.c:214:9: warning: ignoring return value of 'symlink' declared with attribute 'warn_unused_result' [-Wunused-result] 214 | symlink(pfilename, linkname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cronoutils.c:218:9: warning: ignoring return value of 'link' declared with attribute 'warn_unused_result' [-Wunused-result] 218 | link(pfilename, linkname); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/cronolog-1.6.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -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 -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.agRNDh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 cronolog-1.6.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.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-34.fc37.riscv64/usr/sbin mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/sbin /usr/bin/install -p cronolog /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/sbin/cronolog /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/sbin /usr/bin/install -p cronosplit /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.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-34.fc37.riscv64/usr/share/info mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/info /usr/bin/install -p -m 644 ./cronolog.info /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/info/cronolog.info install-info --info-dir=/builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/info /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.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-34.fc37.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ./cronolog.1m /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/man/man1/cronolog.1m /usr/bin/install -p -m 644 ./cronosplit.1m /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.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-34.fc37.riscv64//usr/share/man/man1/cronolog.1m /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64//usr/share/man/man1/cronosplit.1m + mkdir -p /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64//usr/bin + mv /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64//usr/sbin/cronosplit /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64//usr/bin + rm -f /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/info/dir + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.6.2-34.fc37 --unique-debug-suffix -1.6.2-34.fc37.riscv64 --unique-debug-src-base cronolog-1.6.2-34.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cronolog-1.6.2 extracting debug info from /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/sbin/cronolog original debug info size: 120kB, size after compression: 120kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 84 blocks + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: cronolog-1.6.2-34.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TwIL4V + umask 022 + cd /builddir/build/BUILD + cd cronolog-1.6.2 + DOCDIR=/builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/doc/cronolog + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/doc/cronolog + cp -pr AUTHORS /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/doc/cronolog + cp -pr COPYING /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/doc/cronolog + cp -pr ChangeLog /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/doc/cronolog + cp -pr NEWS /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/doc/cronolog + cp -pr README /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/doc/cronolog + cp -pr TODO /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64/usr/share/doc/cronolog + RPM_EC=0 ++ jobs -p + exit 0 Provides: cronolog = 1.6.2-34.fc37 cronolog(riscv-64) = 1.6.2-34.fc37 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-34.fc37.riscv64 Provides: cronolog-debugsource = 1.6.2-34.fc37 cronolog-debugsource(riscv-64) = 1.6.2-34.fc37 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-34.fc37.riscv64 Provides: cronolog-debuginfo = 1.6.2-34.fc37 cronolog-debuginfo(riscv-64) = 1.6.2-34.fc37 debuginfo(build-id) = 2fd18c14ddb929027e92ef9cf77ed596bdd07c14 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-34.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64 Wrote: /builddir/build/RPMS/cronolog-debugsource-1.6.2-34.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/cronolog-1.6.2-34.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/cronolog-debuginfo-1.6.2-34.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jxA0FY + umask 022 + cd /builddir/build/BUILD + cd cronolog-1.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cronolog-1.6.2-34.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.IX50ec + umask 022 + cd /builddir/build/BUILD + rm -rf cronolog-1.6.2 cronolog-1.6.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0