Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/mariadb.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-412647-72800/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=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/mariadb.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: Macro expanded in comment on line 169: %{version}/source/mariadb-%{version}.tar.gz Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mariadb-10.5.27-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mariadb.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-412647-72800/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=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mariadb.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: Macro expanded in comment on line 169: %{version}/source/mariadb-%{version}.tar.gz Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I33Q6V + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mariadb-10.5.27-downstream_modified + /usr/bin/gzip -dc /builddir/build/SOURCES/mariadb-10.5.27-downstream_modified.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mariadb-10.5.27-downstream_modified + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.jar' -type f -exec rm --verbose -f '{}' ';' removed './storage/connect/mysql-test/connect/std_data/JdbcMariaDB.jar' removed './storage/connect/mysql-test/connect/std_data/Mongo3.jar' removed './storage/connect/mysql-test/connect/std_data/Mongo2.jar' removed './storage/connect/mysql-test/connect/std_data/JavaWrappers.jar' + rm -rf libmariadb/unittest + rm -r storage/rocksdb/ + echo 'Patch #4 (mariadb-logrotate.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #4 (mariadb-logrotate.patch): patching file support-files/mysql-log-rotate.sh Patch #7 (mariadb-scripts.patch): + echo 'Patch #7 (mariadb-scripts.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scripts/CMakeLists.txt Hunk #1 succeeded at 379 (offset 2 lines). Patch #9 (mariadb-ownsetup.patch): + echo 'Patch #9 (mariadb-ownsetup.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file support-files/CMakeLists.txt Hunk #1 succeeded at 206 (offset 19 lines). patching file support-files/rpm/server.cnf Patch #14 (mariadb-mtr.patch): + echo 'Patch #14 (mariadb-mtr.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mysql-test/mysql-test-run.pl Hunk #1 succeeded at 1474 (offset -17 lines). Hunk #2 succeeded at 1701 (offset -17 lines). Hunk #3 succeeded at 1711 (offset -17 lines). Hunk #4 succeeded at 1735 (offset -17 lines). Hunk #5 succeeded at 1744 (offset -17 lines). Hunk #6 succeeded at 2941 (offset -25 lines). Patch #16 (mariadb-auth_pam_tool_dir.patch): + echo 'Patch #16 (mariadb-auth_pam_tool_dir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scripts/mysql_install_db.sh Patch #17 (upstream_5cc2096f93b7f130b36f8bc0fc43440db9a848e4.patch): + echo 'Patch #17 (upstream_5cc2096f93b7f130b36f8bc0fc43440db9a848e4.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 -R patching file Docs/INSTALL-BINARY patching file man/mysql_convert_table_format.1 patching file man/mysql_setpermission.1 patching file mysql-test/include/have_dbi_dbd-mysql.inc (renamed from mysql-test/include/have_dbi_dbd-mariadb.inc) patching file mysql-test/include/mysqlhotcopy.inc patching file mysql-test/std_data/checkDBI_DBD-mysql.pl (renamed from mysql-test/std_data/checkDBI_DBD-MariaDB.pl) patching file plugin/handler_socket/client/hspool_test.pl patching file plugin/handler_socket/client/hstest.pl patching file plugin/handler_socket/regtest/common/hstest.pm patching file scripts/mysql_convert_table_format.sh patching file scripts/mysqlhotcopy.sh patching file sql-bench/server-cfg.sh patching file storage/maria/ma_ft_test1.h patching file tests/big_record.pl patching file tests/check_async_queries.pl patching file tests/consistent_snapshot.pl patching file tests/drop_test.pl patching file tests/fork_big.pl patching file tests/fork_big2.pl patching file tests/index_corrupt.pl patching file tests/insert_and_repair.pl patching file tests/mail_to_db.pl patching file tests/pmail.pl patching file tests/rename_test.pl patching file tests/test_delayed_insert.pl patching file tests/truncate.pl Patch #1001 (1001-Support-xfs-atomic-write.patch): + echo 'Patch #1001 (1001-Support-xfs-atomic-write.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mysys/my_atomic_writes.c Hunk #2 succeeded at 263 (offset 4 lines). Hunk #3 succeeded at 361 (offset 4 lines). Hunk #4 succeeded at 411 (offset 4 lines). Hunk #5 succeeded at 456 (offset 4 lines). Patch #1002 (1002-Only-do-atomic-write-for-user-tablespace-in-case-xfs.patch): + echo 'Patch #1002 (1002-Only-do-atomic-write-for-user-tablespace-in-case-xfs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file storage/innobase/os/os0file.cc Hunk #1 FAILED at 4155. Hunk #2 succeeded at 4074 (offset -141 lines). 1 out of 2 hunks FAILED -- saving rejects to file storage/innobase/os/os0file.cc.rej error: Bad exit status from /var/tmp/rpm-tmp.I33Q6V (%prep) RPM build errors: Macro expanded in comment on line 169: %{version}/source/mariadb-%{version}.tar.gz Bad exit status from /var/tmp/rpm-tmp.I33Q6V (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mariadb.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mariadb.spec'