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/pg_repack.spec'], chrootPath='/var/lib/mock/f33-build-471503-63733/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=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/pg_repack.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 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/pg_repack-1.4.5-2.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/pg_repack.spec'], chrootPath='/var/lib/mock/f33-build-471503-63733/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=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/pg_repack.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 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qm5kxD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pg_repack-ver_1.4.5 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ver_1.4.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pg_repack-ver_1.4.5 + /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.WJOFkH + umask 022 + cd /builddir/build/BUILD + cd pg_repack-ver_1.4.5 + make -j4 make[1]: Entering directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/bin' 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 -I/usr/include -DREPACK_VERSION=1.4.5 -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pg_repack.o pg_repack.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 -I/usr/include -DREPACK_VERSION=1.4.5 -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut.o pgut/pgut.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 -I/usr/include -DREPACK_VERSION=1.4.5 -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut-fe.o pgut/pgut-fe.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 pg_repack.o pgut/pgut.o pgut/pgut-fe.o -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -lpq -L/usr/lib64/pgsql -lpgcommon -lpgport -lpthread -lssl -lcrypto -lz -lreadline -lrt -lcrypt -ldl -lm -o pg_repack make[1]: Leaving directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/bin' make[1]: Entering directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/lib' 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 -DREPACK_VERSION=1.4.5 -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repack.o repack.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 -DREPACK_VERSION=1.4.5 -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut-spi.o pgut/pgut-spi.c ( echo '{ global:'; gawk '/^[^#]/ {printf "%s;\n",$1}' exports.txt; echo ' local: *; };' ) >exports.list sed 's,REPACK_VERSION,1.4.5,g' pg_repack.sql.in \ | sed 's,relhasoids,false,g'> pg_repack--1.4.5.sql; sed 's,REPACK_VERSION,1.4.5,g' pg_repack.control.in > pg_repack.control 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 -Wl,--version-script=exports.list -o pg_repack.so repack.o pgut/pgut-spi.o -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed make[1]: Leaving directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/lib' make[1]: Entering directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/regress' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/regress' + cd doc + make /usr/bin/rst2html --stylesheet-path=style.css,html4css1.css --initial-header-level=2 pg_repack.rst pg_repack.html /usr/bin/rst2html --stylesheet-path=style.css,html4css1.css --initial-header-level=2 pg_repack_jp.rst pg_repack_jp.html /usr/bin/rst2html --stylesheet-path=style.css,html4css1.css --initial-header-level=2 release.rst release.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fFAJcH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64 + cd pg_repack-ver_1.4.5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/bin' /usr/bin/install -p pg_repack '/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/bin' make[1]: Leaving directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/bin' make[1]: Entering directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/pgsql/extension' /usr/bin/install -p -m 755 pg_repack.so '/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql/pg_repack.so' /usr/bin/install -p -m 644 .//pg_repack.control '/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/pgsql/extension/' /usr/bin/install -p -m 644 pg_repack--1.4.5.sql pg_repack.control '/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/pgsql/extension/' make[1]: Leaving directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/lib' make[1]: Entering directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/regress' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/pg_repack-ver_1.4.5/regress' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.4.5-2.fc33 --unique-debug-suffix -1.4.5-2.fc33.riscv64 --unique-debug-src-base pg_repack-1.4.5-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pg_repack-ver_1.4.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql/pg_repack.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/bin/pg_repack extracting debug info from /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/bin/pg_repack extracting debug info from /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql/pg_repack.so original debug info size: 408kB, size after compression: 400kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 326 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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pg_repack-1.4.5-2.fc33.riscv64 error: File not found: /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql/bitcode/pg_repack.index.bc error: File not found: /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql/bitcode/pg_repack/pgut/pgut-spi.bc error: File not found: /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql/bitcode/pg_repack/repack.bc Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CcRuaG + umask 022 + cd /builddir/build/BUILD + cd pg_repack-ver_1.4.5 + DOCDIR=/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/doc/pg_repack + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/doc/pg_repack + cp -pr README.rst /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/doc/pg_repack + cp -pr doc/pg_repack.html /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/doc/pg_repack + cp -pr doc/pg_repack.rst /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/doc/pg_repack + cp -pr doc/pg_repack_jp.html /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/doc/pg_repack + cp -pr doc/pg_repack_jp.rst /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/doc/pg_repack + cp -pr doc/release.html /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/doc/pg_repack + cp -pr doc/release.rst /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/doc/pg_repack + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Es6gUG + umask 022 + cd /builddir/build/BUILD + cd pg_repack-ver_1.4.5 + LICENSEDIR=/builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/licenses/pg_repack + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/licenses/pg_repack + cp -pr COPYRIGHT /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/share/licenses/pg_repack + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql/bitcode/pg_repack.index.bc File not found: /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql/bitcode/pg_repack/pgut/pgut-spi.bc File not found: /builddir/build/BUILDROOT/pg_repack-1.4.5-2.fc33.riscv64/usr/lib64/pgsql/bitcode/pg_repack/repack.bc 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/pg_repack.spec