Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mysql.spec'], chrootPath='/var/lib/mock/dist-an23-build-91332-45353/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mysql.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: extra tokens at the end of %endif directive in line 970: %endif #scl Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1595376000 Wrote: /builddir/build/SRPMS/mysql-8.0.21-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mysql.spec'], chrootPath='/var/lib/mock/dist-an23-build-91332-45353/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mysql.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: extra tokens at the end of %endif directive in line 970: %endif #scl Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1595376000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1l08Cn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mysql-8.0.21 + /usr/bin/gzip -dc /builddir/build/SOURCES/mysql-boost-8.0.21.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mysql-8.0.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (mysql-install-test.patch):' Patch #1 (mysql-install-test.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mysql-test/README + echo 'Patch #2 (mysql-s390-tsc.patch):' Patch #2 (mysql-s390-tsc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file include/my_rdtsc.h patching file mysys/my_rdtsc.cc Hunk #2 succeeded at 510 (offset -2 lines). + echo 'Patch #3 (mysql-file-contents.patch):' Patch #3 (mysql-file-contents.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mysql-test/t/file_contents.test + echo 'Patch #4 (mysql-scripts.patch):' Patch #4 (mysql-scripts.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scripts/CMakeLists.txt + echo 'Patch #5 (mysql-paths.patch):' Patch #5 (mysql-paths.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file cmake/install_layout.cmake Hunk #2 succeeded at 197 (offset 8 lines). patching file mysys/my_default.cc Hunk #1 succeeded at 1571 (offset 1 line). patching file scripts/CMakeLists.txt Hunk #1 succeeded at 257 (offset -31 lines). patching file scripts/mysqld_multi.pl.in + echo 'Patch #51 (mysql-chain-certs.patch):' Patch #51 (mysql-chain-certs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vio/viosslfactories.cc Hunk #1 succeeded at 251 (offset 53 lines). Patch #52 (mysql-sharedir.patch): + echo 'Patch #52 (mysql-sharedir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mysql-test/CMakeLists.txt Hunk #1 succeeded at 56 (offset -1 lines). patching file mysql-test/mysql-test-run.pl Hunk #1 succeeded at 1771 (offset 115 lines). Patch #75 (mysql-arm32-timer.patch): + echo 'Patch #75 (mysql-arm32-timer.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mysql-test/include/mtr_warnings.sql + echo 'Patch #77 (mysql-certs-expired.patch):' Patch #77 (mysql-certs-expired.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mysql-test/std_data/crl-ca-cert.pem patching file mysql-test/std_data/crl-certificate-readme.txt patching file mysql-test/std_data/crl-client-cert.pem patching file mysql-test/std_data/crl-client-key.pem patching file mysql-test/std_data/crl-client-revoked-cert.pem patching file mysql-test/std_data/crl-client-revoked-key.pem patching file mysql-test/std_data/crl-client-revoked.crl patching file mysql-test/std_data/crl-server-cert.pem patching file mysql-test/std_data/crl-server-key.pem patching file mysql-test/std_data/crldir/5df06fcb.r0 patching file mysql-test/std_data/crldir/b23bb52f.r0 + echo 'Patch #126 (mysql-logrotate-log-path.patch):' Patch #126 (mysql-logrotate-log-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file support-files/mysql-log-rotate.in ++ echo 1.72.0 ++ tr . _ + pushd boost/boost_1_72_0 ~/build/BUILD/mysql-8.0.21/boost/boost_1_72_0 ~/build/BUILD/mysql-8.0.21 Patch #115 (boost-1.58.0-pool.patch): + echo 'Patch #115 (boost-1.58.0-pool.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file boost/pool/pool.hpp Hunk #2 succeeded at 358 (offset -2 lines). Hunk #3 succeeded at 384 (offset -2 lines). Hunk #4 succeeded at 409 (offset -2 lines). Hunk #5 succeeded at 419 (offset -2 lines). Hunk #6 succeeded at 721 (offset -4 lines). Hunk #7 succeeded at 761 (offset -4 lines). Hunk #8 succeeded at 805 (offset -4 lines). Hunk #9 succeeded at 855 (offset -4 lines). patching file libs/pool/test/test_bug_6701.cpp Patch #125 (boost-1.57.0-mpl-print.patch): + echo 'Patch #125 (boost-1.57.0-mpl-print.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file boost/mpl/print.hpp Hunk #1 succeeded at 55 (offset 3 lines). + popd ~/build/BUILD/mysql-8.0.21 ++ grep -e '^#define ZSTD_VERSION_\(MAJOR\|MINOR\|RELEASE\)' extra/zstd/lib/zstd.h ++ awk '{print $3}' ++ xargs ++ sed -e 's/ /./g' + test 1.4.3 == 1.4.3 ++ grep -e '^#define U_ICU_VERSION_\(MAJOR\|MINOR\|PATCHLEVEL_NUM\)' extra/icu/source/common/unicode/uvernum.h ++ awk '{print $3}' ++ xargs ++ sed -e 's/ /./g' + test 65.1.0 == 65.1.0 + test -f extra/protobuf/protobuf-3.11.4/src/google/protobuf/port_def.inc ~/build/BUILD/mysql-8.0.21/mysql-test ~/build/BUILD/mysql-8.0.21 + test -f extra/libevent/libevent-2.1.11-stable/CMakeLists.txt + pushd mysql-test + touch platform-specific-tests.list + add_test gis.srs : 8.0 issue + echo gis.srs : 8.0 issue '$' + add_test main.import : 8.0 issue + echo main.import : 8.0 issue '$' + add_test main.no_binlog_related_options : 8.0 issue + echo main.no_binlog_related_options : 8.0 issue '$' + add_test main.regular_expressions_func_icu_54 : 8.0 issue + echo main.regular_expressions_func_icu_54 : 8.0 issue '$' + add_test main.regular_expressions_utf-8_icu_58 : 8.0 issue + echo main.regular_expressions_utf-8_icu_58 : 8.0 issue '$' + add_test main.regular_expressions_utf-8 : 8.0 issue + echo main.regular_expressions_utf-8 : 8.0 issue '$' + add_test main.regular_expressions_utf-8_icu_59 : 8.0 issue + echo main.regular_expressions_utf-8_icu_59 : 8.0 issue '$' + add_test perfschema.histograms : 8.0 issue + echo perfschema.histograms : 8.0 issue '$' + add_test main.log_options_cmdline : 8.0 issue + echo main.log_options_cmdline : 8.0 issue '$' + add_test auth_sec.keyring_file_data_qa : sporadic since 8.0.19 + echo auth_sec.keyring_file_data_qa : sporadic since 8.0.19 '$' + add_test collations.chinese : sporadic since 8.0.19 ~/build/BUILD/mysql-8.0.21 + echo collations.chinese : sporadic since 8.0.19 '$' + add_test main.mysql_load_data_local_dir : local infile on + echo main.mysql_load_data_local_dir : local infile on '$' + add_test x.crud_insert_cast : + echo x.crud_insert_cast : '$' + add_test x.insert_table : + echo x.insert_table : '$' + add_test x.insert_table_bad_column : + echo x.insert_table_bad_column : '$' + add_test x.insert_table_bad_column_type : + echo x.insert_table_bad_column_type : '$' + add_test x.insert_table_bad_numcolumns : + echo x.insert_table_bad_numcolumns : '$' + add_test x.update_crud_arrayappend_o : + echo x.update_crud_arrayappend_o : '$' + add_test x.update_crud_arrayinsert_o : + echo x.update_crud_arrayinsert_o : '$' + add_test innodb.innodb : missing correct value + echo innodb.innodb : missing correct value '$' + add_test innodb.innodb_cats : + echo innodb.innodb_cats : '$' + add_test innodb.log_corruption : + echo innodb.log_corruption : '$' + add_test main.dd_upgrade_test : + echo main.dd_upgrade_test : '$' + add_test main.disabled_replication : + echo main.disabled_replication : '$' + add_test main.flush2 : + echo main.flush2 : '$' + add_test main.import : + echo main.import : '$' + add_test main.mysqldump-no-binlog : + echo main.mysqldump-no-binlog : '$' + add_test main.skip_log_bin : + echo main.skip_log_bin : '$' + add_test main.window_functions_explain : + echo main.window_functions_explain : '$' + add_test rpl_gtid.rpl_gtid_perfschema_applier_xa_status : + echo rpl_gtid.rpl_gtid_perfschema_applier_xa_status : '$' + add_test gis.gis_bugs_crashes : + echo gis.gis_bugs_crashes : '$' + add_test perfschema.histograms : + echo perfschema.histograms : '$' + add_test main.log_options_cmdline : + echo main.log_options_cmdline : '$' + popd + cp /builddir/build/SOURCES/mysql_config_multilib.sh /builddir/build/SOURCES/my.cnf.in /builddir/build/SOURCES/mysql.tmpfiles.d.in /builddir/build/SOURCES/mysql.service.in /builddir/build/SOURCES/mysql-prepare-db-dir.sh /builddir/build/SOURCES/mysql-wait-ready.sh /builddir/build/SOURCES/mysql-check-socket.sh /builddir/build/SOURCES/mysql-scripts-common.sh /builddir/build/SOURCES/mysql-check-upgrade.sh /builddir/build/SOURCES/mysql-wait-stop.sh /builddir/build/SOURCES/mysql@.service.in /builddir/build/SOURCES/mysql.init.in /builddir/build/SOURCES/server.cnf.in scripts + cp /builddir/build/SOURCES/mysql-sysnice.te mysql-sysnice.te + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NfQsGW + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mysql-8.0.21 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + make -f /usr/share/selinux/devel/Makefile mysql-sysnice.te mysql-sysnice.pp make: Nothing to be done for 'mysql-sysnice.te'. Compiling minimum mysql-sysnice module Creating minimum mysql-sysnice.pp policy package rm tmp/mysql-sysnice.mod tmp/mysql-sysnice.mod.fc ++ id -u + '[' x989 = x0 ']' + set -ex + mkdir -p build + pushd build ~/build/BUILD/mysql-8.0.21/build ~/build/BUILD/mysql-8.0.21 + cmake .. -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DINSTALL_LAYOUT=RPM -DDAEMON_NAME=mysqld -DDAEMON_NO_PREFIX=mysqld -DLOG_LOCATION=/var/log/mysql/mysqld.log -DPID_FILE_DIR=/run/mysqld -DNICE_PROJECT_NAME=MySQL -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DSYSCONF2DIR=/etc/my.cnf.d -DINSTALL_DOCDIR=share/doc/mysql -DINSTALL_DOCREADMEDIR=share/doc/mysql -DINSTALL_INCLUDEDIR=include/mysql -DINSTALL_INFODIR=share/info -DINSTALL_LIBEXECDIR=libexec -DINSTALL_LIBDIR=lib64/mysql -DRPATH_LIBDIR=/usr/lib64 -DINSTALL_MANDIR=share/man -DINSTALL_MYSQLSHAREDIR=share/mysql -DINSTALL_MYSQLTESTDIR=share/mysql-test -DINSTALL_PLUGINDIR=lib64/mysql/plugin -DINSTALL_SBINDIR=bin -DINSTALL_SECURE_FILE_PRIVDIR=/var/lib/mysql-files -DINSTALL_SUPPORTFILESDIR=share/mysql -DMYSQL_DATADIR=/var/lib/mysql -DMYSQL_KEYRINGDIR=/var/lib/mysql-keyring -DMYSQL_UNIX_ADDR=/var/lib/mysql/mysql.sock -DENABLED_LOCAL_INFILE=ON -DWITH_INNODB_MEMCACHED=ON -DWITH_NUMA=ON -DWITH_ROUTER=OFF -DWITH_SYSTEM_LIBS=ON -DWITH_ICU=bundled -DWITH_PROTOBUF=bundled -DWITH_MECAB=system -DWITH_BOOST=../boost -DWITH_ZSTD=bundled -DWITH_LIBEVENT=bundled -DREPRODUCIBLE_BUILD=OFF '-DCMAKE_C_FLAGS=-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pie ' '-DCMAKE_CXX_FLAGS=-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pie ' '-DCMAKE_EXE_LINKER_FLAGS=-pie -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' -DTMPDIR=/var/tmp '-DWITH_MYSQLD_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' '-DCMAKE_C_LINK_FLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' '-DCMAKE_CXX_LINK_FLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' -- Running cmake version 3.22.3 CMake Deprecation Warning at CMakeLists.txt:132 (CMAKE_POLICY): The OLD behavior for policy CMP0075 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Found Git: /usr/bin/git (found version "2.36.1") -- MySQL 8.0.21 -- The C compiler identification is GNU 12.1.0 -- The CXX compiler identification is GNU 12.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Source directory /builddir/build/BUILD/mysql-8.0.21 -- Binary directory /builddir/build/BUILD/mysql-8.0.21/build -- CMAKE_GENERATOR: Unix Makefiles -- Looking for SHM_HUGETLB -- Looking for SHM_HUGETLB - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void * -- Check size of void * - done -- SIZEOF_VOIDP 8 -- Performing Test HAVE_C_FLOATING_POINT_FUSED_MADD -- Performing Test HAVE_C_FLOATING_POINT_FUSED_MADD - Failed -- Performing Test HAVE_CXX_FLOATING_POINT_FUSED_MADD -- Performing Test HAVE_CXX_FLOATING_POINT_FUSED_MADD - Failed -- Packaging as: mysql-8.0.21-Linux-x86_64 -- Performing Test C_LD_LLD_RESULT -- Performing Test C_LD_LLD_RESULT - Failed -- Performing Test CXX_LD_LLD_RESULT -- Performing Test CXX_LD_LLD_RESULT - Failed -- Performing Test C_LD_GOLD_RESULT -- Performing Test C_LD_GOLD_RESULT - Success -- Performing Test CXX_LD_GOLD_RESULT -- Performing Test CXX_LD_GOLD_RESULT - Success -- Local boost dir /builddir/build/BUILD/mysql-8.0.21/boost/boost_1_72_0 -- Found /builddir/build/BUILD/mysql-8.0.21/boost/boost_1_72_0/boost/version.hpp -- BOOST_VERSION_NUMBER is #define BOOST_VERSION 107200 -- BOOST_INCLUDE_DIR /builddir/build/BUILD/mysql-8.0.21/boost/boost_1_72_0 -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for floor -- Looking for floor - not found -- Looking for floor in m -- Looking for floor in m - found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - found -- Looking for bind -- Looking for bind - found -- Looking for crypt -- Looking for crypt - not found -- Looking for crypt in crypt -- Looking for crypt in crypt - found -- Looking for setsockopt -- Looking for setsockopt - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dlsym -- Looking for dlsym - found -- Looking for sched_yield -- Looking for sched_yield - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for timer_create -- Looking for timer_create - found -- Looking for atomic_thread_fence -- Looking for atomic_thread_fence - not found -- Looking for atomic_thread_fence in atomic -- Looking for atomic_thread_fence in atomic - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for include file alloca.h -- Looking for include file alloca.h - found -- Looking for include file arpa/inet.h -- Looking for include file arpa/inet.h - found -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file endian.h -- Looking for include file endian.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for include file fpu_control.h -- Looking for include file fpu_control.h - found -- Looking for include file grp.h -- Looking for include file grp.h - found -- Looking for include file langinfo.h -- Looking for include file langinfo.h - found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for include file netinet/in.h -- Looking for include file netinet/in.h - found -- Looking for include file poll.h -- Looking for include file poll.h - found -- Looking for include file pwd.h -- Looking for include file pwd.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file sys/mman.h -- Looking for include file sys/mman.h - found -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for include file sys/resource.h -- Looking for include file sys/resource.h - found -- Looking for include file sys/select.h -- Looking for include file sys/select.h - found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include files curses.h, term.h -- Looking for include files curses.h, term.h - found -- Looking for include file termios.h -- Looking for include file termios.h - found -- Looking for include file termio.h -- Looking for include file termio.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file sys/wait.h -- Looking for include file sys/wait.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file fnmatch.h -- Looking for include file fnmatch.h - found -- Looking for include file sys/un.h -- Looking for include file sys/un.h - found -- Looking for include files sys/types.h, sasl/sasl.h -- Looking for include files sys/types.h, sasl/sasl.h - not found -- Looking for _aligned_malloc -- Looking for _aligned_malloc - not found -- Looking for backtrace -- Looking for backtrace - found -- Looking for index -- Looking for index - found -- Looking for chown -- Looking for chown - found -- Looking for cuserid -- Looking for cuserid - found -- Looking for directio -- Looking for directio - not found -- Looking for ftruncate -- Looking for ftruncate - found -- Looking for fchmod -- Looking for fchmod - found -- Looking for fcntl -- Looking for fcntl - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for fedisableexcept -- Looking for fedisableexcept - found -- Looking for fsync -- Looking for fsync - found -- Looking for gethrtime -- Looking for gethrtime - not found -- Looking for getpass -- Looking for getpass - found -- Looking for getpassphrase -- Looking for getpassphrase - not found -- Looking for getpwnam -- Looking for getpwnam - found -- Looking for getpwuid -- Looking for getpwuid - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for initgroups -- Looking for initgroups - found -- Looking for issetugid -- Looking for issetugid - not found -- Looking for getuid -- Looking for getuid - found -- Looking for geteuid -- Looking for geteuid - found -- Looking for getgid -- Looking for getgid - found -- Looking for getegid -- Looking for getegid - found -- Looking for madvise -- Looking for madvise - found -- Looking for malloc_info -- Looking for malloc_info - found -- Looking for mlock -- Looking for mlock - found -- Looking for mlockall -- Looking for mlockall - found -- Looking for mmap64 -- Looking for mmap64 - found -- Looking for poll -- Looking for poll - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for pthread_condattr_setclock -- Looking for pthread_condattr_setclock - found -- Looking for pthread_getaffinity_np -- Looking for pthread_getaffinity_np - found -- Looking for pthread_sigmask -- Looking for pthread_sigmask - found -- Looking for sleep -- Looking for sleep - found -- Looking for stpcpy -- Looking for stpcpy - found -- Looking for stpncpy -- Looking for stpncpy - found -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for strndup -- Looking for strndup - found -- Looking for strlcat -- Looking for strlcat - not found -- Looking for strsignal -- Looking for strsignal - found -- Looking for tell -- Looking for tell - not found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for memalign -- Looking for memalign - found -- Looking for nl_langinfo -- Looking for nl_langinfo - found -- Looking for ntohll -- Looking for ntohll - not found -- Looking for epoll_create -- Looking for epoll_create - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/times.h -- Looking for include file sys/times.h - found -- Looking for times -- Looking for times - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for lrand48 -- Looking for lrand48 - found -- Looking for TIOCGWINSZ -- Looking for TIOCGWINSZ - found -- Looking for FIONREAD -- Looking for FIONREAD - found -- Looking for FIONREAD -- Looking for FIONREAD - not found -- Looking for MADV_DONTDUMP -- Looking for MADV_DONTDUMP - found -- Performing Test HAVE_O_TMPFILE -- Performing Test HAVE_O_TMPFILE - Success -- Looking for timer_create -- Looking for timer_create - found -- Looking for timer_settime -- Looking for timer_settime - found -- Looking for kqueue -- Looking for kqueue - not found -- Performing Test HAVE_SETNS -- Performing Test HAVE_SETNS - Success -- Looking for EVFILT_TIMER -- Looking for EVFILT_TIMER - not found -- Looking for le64toh -- Looking for le64toh - found -- Looking for le32toh -- Looking for le32toh - found -- Looking for le16toh -- Looking for le16toh - found -- Looking for htole64 -- Looking for htole64 - found -- Looking for htole32 -- Looking for htole32 - found -- Looking for htole16 -- Looking for htole16 - found -- Check size of char * -- Check size of char * - done -- Check size of long -- Check size of long - done -- Check size of short -- Check size of short - done -- Check size of int -- Check size of int - done -- Check size of long long -- Check size of long long - done -- Check size of time_t -- Check size of time_t - done -- Performing Test HAVE_TM_GMTOFF -- Performing Test HAVE_TM_GMTOFF - Success -- Check size of ulong -- Check size of ulong - done -- Check size of u_int32_t -- Check size of u_int32_t - done -- Performing Test HAVE_VISIBILITY_HIDDEN -- Performing Test HAVE_VISIBILITY_HIDDEN - Success -- Performing Test HAVE_CLOCK_GETTIME -- Performing Test HAVE_CLOCK_GETTIME - Success -- Performing Test HAVE_CLOCK_REALTIME -- Performing Test HAVE_CLOCK_REALTIME - Success -- Checking stack direction : -1 -- Looking for include files time.h, sys/time.h -- Looking for include files time.h, sys/time.h - found -- Looking for O_NONBLOCK -- Looking for O_NONBLOCK - found -- Performing Test HAVE_PAUSE_INSTRUCTION -- Performing Test HAVE_PAUSE_INSTRUCTION - Success -- Looking for C++ include cxxabi.h -- Looking for C++ include cxxabi.h - found -- Performing Test HAVE_ABI_CXA_DEMANGLE -- Performing Test HAVE_ABI_CXA_DEMANGLE - Success -- Performing Test HAVE_BUILTIN_UNREACHABLE -- Performing Test HAVE_BUILTIN_UNREACHABLE - Success -- Performing Test HAVE_BUILTIN_EXPECT -- Performing Test HAVE_BUILTIN_EXPECT - Success -- Looking for __builtin_stpcpy -- Looking for __builtin_stpcpy - found -- Performing Test HAVE_GCC_SYNC_BUILTINS -- Performing Test HAVE_GCC_SYNC_BUILTINS - Success -- Performing Test HAVE_SYS_GETTID -- Performing Test HAVE_SYS_GETTID - Success -- Performing Test HAVE_PTHREAD_GETTHREADID_NP -- Performing Test HAVE_PTHREAD_GETTHREADID_NP - Failed -- Performing Test HAVE_PTHREAD_THREADID_NP -- Performing Test HAVE_PTHREAD_THREADID_NP - Failed -- Performing Test HAVE_INTEGER_PTHREAD_SELF -- Performing Test HAVE_INTEGER_PTHREAD_SELF - Success -- Looking for netinet/in6.h -- Looking for netinet/in6.h - not found -- Check size of struct in6_addr -- Check size of struct in6_addr - failed -- Performing Test HAVE_SOCKADDR_IN_SIN_LEN -- Performing Test HAVE_SOCKADDR_IN_SIN_LEN - Failed -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed -- Looking for include file numa.h -- Looking for include file numa.h - found -- Looking for include file numaif.h -- Looking for include file numaif.h - found -- Performing Test HAVE_LIBNUMA -- Performing Test HAVE_LIBNUMA - Success -- Adding -DWITH_CURL=system -- Adding -DWITH_EDITLINE=system -- Found WITH_ICU=bundled on command line -- Found WITH_LIBEVENT=bundled on command line -- Adding -DWITH_LZ4=system -- Found WITH_PROTOBUF=bundled on command line -- Adding -DWITH_SSL=system -- Adding -DWITH_ZLIB=system -- Found WITH_ZSTD=bundled on command line -- Looking for crc32 -- Looking for crc32 - found -- Looking for compressBound -- Looking for compressBound - found -- Looking for deflateBound -- Looking for deflateBound - found -- ZSTD_LIBRARY(Bundled) zstd CMake Deprecation Warning at extra/zstd/CMakeLists.txt:11 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- ZSTD_LEGACY_SUPPORT not defined! -- OPENSSL_INCLUDE_DIR = /usr/include -- OPENSSL_LIBRARY = /usr/lib64/libssl.so -- CRYPTO_LIBRARY = /usr/lib64/libcrypto.so -- OPENSSL_MAJOR_VERSION = -- OPENSSL_MINOR_VERSION = -- OPENSSL_FIX_VERSION = -- Looking for SHA512_DIGEST_LENGTH -- Looking for SHA512_DIGEST_LENGTH - found -- Cannot find appropriate system libraries for WITH_SSL=system. Make sure you have specified a supported SSL version. Valid options are : system (use the OS openssl library), yes (synonym for system), CMake Error at cmake/ssl.cmake:61 (MESSAGE): Please install the appropriate openssl developer package. Call Stack (most recent call first): cmake/ssl.cmake:315 (FATAL_SSL_NOT_FOUND_ERROR) CMakeLists.txt:1287 (MYSQL_CHECK_SSL) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/mysql-8.0.21/build/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/mysql-8.0.21/build/CMakeFiles/CMakeError.log". error: Bad exit status from /var/tmp/rpm-tmp.NfQsGW (%build) RPM build errors: extra tokens at the end of %endif directive in line 970: %endif #scl Bad exit status from /var/tmp/rpm-tmp.NfQsGW (%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 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 x86_64 --nodeps /builddir/build/SPECS/mysql.spec