Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pcre2.spec'], chrootPath='/var/lib/mock/f29-build-29789-16188/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pcre2.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/pcre2-10.31-11.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pcre2.spec'], chrootPath='/var/lib/mock/f29-build-29789-16188/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pcre2.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OFGtI6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcre2-10.31 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/pcre2-10.31.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pcre2-10.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (pcre2-10.10-Fix-multilib.patch): + echo 'Patch #0 (pcre2-10.10-Fix-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pcre2-config.in + echo 'Patch #1 (pcre2-10.31-Fix-the-value-passed-back-for-POSIX-unset-groups-whe.patch):' Patch #1 (pcre2-10.31-Fix-the-value-passed-back-for-POSIX-unset-groups-whe.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2posix.c patching file src/pcre2test.c patching file testdata/testinput18 patching file testdata/testoutput18 Patch #2 (pcre2-10.31-Fix-pcre2test-C-to-correctly-show-what-R-matches.patch): + echo 'Patch #2 (pcre2-10.31-Fix-pcre2test-C-to-correctly-show-what-R-matches.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2test.c Patch #3 (pcre2-10.31-Oops-forgot-about-C-bsr-in-previous-patch.patch): + echo 'Patch #3 (pcre2-10.31-Oops-forgot-about-C-bsr-in-previous-patch.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2test.c Patch #4 (pcre2-10.31-Fix-C-bug-with-repeated-character-classes-in-UTF-8-m.patch): + echo 'Patch #4 (pcre2-10.31-Fix-C-bug-with-repeated-character-classes-in-UTF-8-m.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2_match.c patching file testdata/testinput22 patching file testdata/testoutput22-16 patching file testdata/testoutput22-32 patching file testdata/testoutput22-8 Patch #5 (pcre2-10.31-Add-support-to-pcre2grep-for-binary-zeros-in-f-files.patch): + echo 'Patch #5 (pcre2-10.31-Add-support-to-pcre2grep-for-binary-zeros-in-f-files.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file RunGrepTest patching file doc/pcre2grep.1 patching file src/pcre2grep.c patching file testdata/grepoutput Patch #6 (pcre2-10.31-A-small-fix-to-pcre2grep-to-avoid-compiler-warnings-.patch): + echo 'Patch #6 (pcre2-10.31-A-small-fix-to-pcre2grep-to-avoid-compiler-warnings-.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2grep.c Patch #7 (pcre2-10.31-Set-error-offset-zero-for-early-errors-in-pcre2_patt.patch): + echo 'Patch #7 (pcre2-10.31-Set-error-offset-zero-for-early-errors-in-pcre2_patt.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2_convert.c Patch #8 (pcre2-10.31-Fix-bug-when-K-is-used-in-a-lookbehind-in-a-substitu.patch): + echo 'Patch #8 (pcre2-10.31-Fix-bug-when-K-is-used-in-a-lookbehind-in-a-substitu.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/html/pcre2api.html patching file doc/pcre2.txt patching file doc/pcre2api.3 patching file src/pcre2_error.c patching file src/pcre2_substitute.c patching file testdata/testinput2 patching file testdata/testoutput2 Patch #9 (pcre2-10.31-Fix-global-search-replace-in-pcre2test-and-pcre2_sub.patch): + echo 'Patch #9 (pcre2-10.31-Fix-global-search-replace-in-pcre2test-and-pcre2_sub.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file RunTest patching file doc/html/pcre2api.html Hunk #1 succeeded at 3117 (offset 9 lines). patching file doc/html/pcre2pattern.html patching file doc/pcre2.txt Hunk #1 succeeded at 3023 (offset 9 lines). Hunk #2 succeeded at 3102 (offset 9 lines). Hunk #3 succeeded at 6627 (offset 10 lines). Hunk #4 succeeded at 6648 (offset 10 lines). patching file doc/pcre2api.3 patching file src/pcre2.h.in patching file src/pcre2_error.c patching file src/pcre2_substitute.c patching file src/pcre2test.c patching file testdata/testinput1 patching file testdata/testinput2 Hunk #1 succeeded at 4938 (offset 3 lines). patching file testdata/testoutput1 patching file testdata/testoutput2 Hunk #1 succeeded at 15549 (offset 4 lines). Hunk #2 succeeded at 16584 (offset 4 lines). Patch #10 (pcre2-10.31-Ignore-qualifiers-on-lookaheads-within-lookbehinds-w.patch): + echo 'Patch #10 (pcre2-10.31-Ignore-qualifiers-on-lookaheads-within-lookbehinds-w.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2_compile.c patching file testdata/testinput1 patching file testdata/testinput2 patching file testdata/testoutput1 patching file testdata/testoutput2 + echo 'Patch #11 (pcre2-10.31-Fix-bug-in-VERSION-number-reading.patch):' Patch #11 (pcre2-10.31-Fix-bug-in-VERSION-number-reading.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2_compile.c patching file testdata/testinput2 patching file testdata/testoutput2 + echo 'Patch #12 (pcre2-10.31-Fixed-atomic-group-backtracking-bug.patch):' Patch #12 (pcre2-10.31-Fixed-atomic-group-backtracking-bug.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2_match.c patching file testdata/testinput1 patching file testdata/testoutput1 + echo 'Patch #13 (pcre2-10.31-Make-x-more-Perl-compatible-by-recognizing-all-of-Un.patch):' Patch #13 (pcre2-10.31-Make-x-more-Perl-compatible-by-recognizing-all-of-Un.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2_compile.c patching file testdata/testinput4 patching file testdata/testinput5 patching file testdata/testoutput4 patching file testdata/testoutput5 + echo 'Patch #14 (pcre2-10.31-Fix-dynamic-options-changing-bug.patch):' Patch #14 (pcre2-10.31-Fix-dynamic-options-changing-bug.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2_compile.c patching file testdata/testinput1 patching file testdata/testoutput1 + echo 'Patch #15 (pcre-10.32-RC1-Fix-bad-auto-possessification-of-certain-types-of-cl.patch):' Patch #15 (pcre-10.32-RC1-Fix-bad-auto-possessification-of-certain-types-of-cl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2_auto_possess.c patching file testdata/testinput4 Hunk #1 succeeded at 2316 (offset 7 lines). patching file testdata/testoutput4 Hunk #1 succeeded at 3747 (offset 17 lines). + echo 'Patch #16 (pcre2-10.31-Fix-anchoring-bug-in-conditionals-with-only-one-bran.patch):' Patch #16 (pcre2-10.31-Fix-anchoring-bug-in-conditionals-with-only-one-bran.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pcre2_compile.c patching file testdata/testinput2 patching file testdata/testoutput2 + libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' + autoreconf -vif BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force -I m4 BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: configure.ac:45: installing './compile' BUILDSTDERR: configure.ac:28: installing './missing' BUILDSTDERR: Makefile.am: installing './depcomp' BUILDSTDERR: autoreconf: Leaving directory `.' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iHNrPw + umask 022 + cd /builddir/build/BUILD + cd pcre2-10.31 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --disable-jit --disable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-jit --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-pcre2test-libreadline --disable-rebuild-chartables --enable-shared --disable-silent-rules --enable-static --enable-unicode --disable-valgrind checking for a BSD-compatible install... /usr/bin/install -c BUILDSTDERR: checking whether build environment is sane... configure: error: newly created file is older than distributed files! BUILDSTDERR: Check your system clock RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.iHNrPw (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.iHNrPw (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pcre2.spec