Mock Version: 1.4.21
Mock Version: 1.4.21
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/postgres-decoderbufs.spec'], chrootPath='/var/lib/mock/f33-build-179637-45106/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fbd4e0700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/postgres-decoderbufs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1585526400
Wrote: /builddir/build/SRPMS/postgres-decoderbufs-1.1.0-0.1.Final.fc33.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/postgres-decoderbufs.spec'], chrootPath='/var/lib/mock/f33-build-179637-45106/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fbd4e0700>timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/postgres-decoderbufs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1585526400
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Dj1DGU
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf postgres-decoderbufs-1.1.0.Final
+ /usr/bin/gzip -dc /builddir/build/SOURCES/v1.1.0.Final.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd postgres-decoderbufs-1.1.0.Final
+ /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.Ej2F5T
+ umask 022
+ cd /builddir/build/BUILD
+ cd postgres-decoderbufs-1.1.0.Final
+ /usr/bin/make -O -j4 V=1 VERBOSE=1
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -std=c11  -I/usr/local/include  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/proto/pg_logicaldec.pb-c.o src/proto/pg_logicaldec.pb-c.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -std=c11  -I/usr/local/include  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/decoderbufs.o src/decoderbufs.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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 -fPIC -shared -o decoderbufs.so src/decoderbufs.o src/proto/pg_logicaldec.pb-c.o -L/usr/lib64  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -Wl,--as-needed  -lprotobuf-c  
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h1Jt6R
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64
++ dirname /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64
+ cd postgres-decoderbufs-1.1.0.Final
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64 'INSTALL=/usr/bin/install -p'
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/lib64/pgsql'
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/share/pgsql/extension'
/usr/bin/install -p -m 755  decoderbufs.so '/builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/lib64/pgsql/decoderbufs.so'
/usr/bin/install -p -m 644 .//decoderbufs.control '/builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/share/pgsql/extension/'
+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.0-0.1.Final.fc33 --unique-debug-suffix -1.1.0-0.1.Final.fc33.riscv64 --unique-debug-src-base postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/postgres-decoderbufs-1.1.0.Final
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/lib64/pgsql/decoderbufs.so
extracting debug info from /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/lib64/pgsql/decoderbufs.so
original debug info size: 148kB, size after compression: 148kB
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
103 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/redhat/brp-python-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rYSwxR
+ umask 022
+ cd /builddir/build/BUILD
+ cd postgres-decoderbufs-1.1.0.Final
+ DOCDIR=/builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/share/doc/postgres-decoderbufs
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/share/doc/postgres-decoderbufs
+ cp -pr README.md /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/share/doc/postgres-decoderbufs
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SJ5JvR
+ umask 022
+ cd /builddir/build/BUILD
+ cd postgres-decoderbufs-1.1.0.Final
+ LICENSEDIR=/builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/share/licenses/postgres-decoderbufs
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/share/licenses/postgres-decoderbufs
+ cp -pr LICENSE /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/share/licenses/postgres-decoderbufs
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: postgres-decoderbufs = 1.1.0-0.1.Final.fc33 postgres-decoderbufs(riscv-64) = 1.1.0-0.1.Final.fc33
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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libprotobuf-c.so.1()(64bit) libprotobuf-c.so.1(LIBPROTOBUF_C_1.0.0)(64bit) rtld(GNU_HASH)
Processing files: postgres-decoderbufs-llvmjit-1.1.0-0.1.Final.fc33.riscv64
RPM build errors:
error: File not found: /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/lib64/pgsql/bitcode/decoderbufs.index.bc
error: Directory not found: /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/lib64/pgsql/bitcode/decoderbufs
    File not found: /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/lib64/pgsql/bitcode/decoderbufs.index.bc
    Directory not found: /builddir/build/BUILDROOT/postgres-decoderbufs-1.1.0-0.1.Final.fc33.riscv64/usr/lib64/pgsql/bitcode/decoderbufs
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status
    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/postgres-decoderbufs.spec