Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/module-perl-DBD-MySQL-4.046-8010020191114030811-073fa5fe-build-27442-2646/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False sh: perl: command not found sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/module-perl-DBD-MySQL-4.046-8010020191114030811-073fa5fe-build-27442-2646/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OstgDo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf DBD-mysql-4.046 + /usr/bin/gzip -dc /builddir/build/SOURCES/DBD-mysql-4.046.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-mysql-4.046 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (DBD-mysql-4.043-Fix-build-failures-for-MariaDB-10.2.patch): + echo 'Patch #0 (DBD-mysql-4.043-Fix-build-failures-for-MariaDB-10.2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mysql.xs + find . -type f + xargs chmod -x + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KNOyC6 + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.046 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' NO_PACKLIST=1 PLEASE NOTE: For 'make test' to run properly, you must ensure that the database user 'mockbuild' can connect to your MySQL server and has the proper privileges that these tests require such as 'drop table', 'create table', 'drop procedure', 'create procedure' as well as others. mysql> grant all privileges on test.* to 'mockbuild'@'localhost' identified by 's3kr1t'; You can also optionally set the user to run 'make test' with: perl Makefile.PL --testuser=username mysql_config: unrecognized option '--embedded' Warning: prerequisite Test::Deep 0 not found. Warning: prerequisite Test::Simple 0.90 not found. Warning: prerequisite Time::HiRes 0 not found. I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/include/mysql -I/usr/include/mysql/mysql embedded (guessed ) = ldflags (guessed ) = libs (mysql_config) = -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 nossl (default ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testport (default ) = testsocket (default ) = testuser (guessed ) = mockbuild To change these settings, see 'perl Makefile.PL --help' and 'perldoc DBD::mysql::INSTALL'. Checking if your kit is complete... Looks good Using DBI 1.641 (for perl 5.026003 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/vendor_perl/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::mysql + make -j40 gcc -c -I/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -I/usr/include/mysql/mysql -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DVERSION=\"4.046\" -DXS_VERSION=\"4.046\" -fPIC "-I/usr/lib64/perl5/CORE" dbdimp.c Running Mkbootstrap for mysql () "/usr/bin/perl" -p -e "s/~DRIVER~/mysql/g" /usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > mysql.xsi "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' mysql.xs > mysql.xsc chmod 644 "mysql.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm Warning: duplicate function definition 'do' detected in mysql.xs, line 249 Warning: duplicate function definition 'rows' detected in mysql.xs, line 670 mv mysql.xsc mysql.c gcc -c -I/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -I/usr/include/mysql/mysql -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DVERSION=\"4.046\" -DXS_VERSION=\"4.046\" -fPIC "-I/usr/lib64/perl5/CORE" mysql.c dbdimp.c: In function 'mysql_dr_connect': dbdimp.c:1954:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((svp = hv_fetch(hv, "mysql_ssl_optional", 18, FALSE)) && *svp) ^~ dbdimp.c:1957:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((svp = hv_fetch(hv, "mysql_ssl_client_key", 20, FALSE)) && *svp) ^~ dbdimp.c:1940:19: warning: unused variable 'ssl_mode' [-Wunused-variable] unsigned int ssl_mode; ^~~~~~~~ rm -f blib/arch/auto/DBD/mysql/mysql.so gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lperl \ chmod 755 blib/arch/auto/DBD/mysql/mysql.so Manifying 3 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.d7OrWU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 + cd DBD-mysql-4.046 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 Manifying 3 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/lib64/perl5/vendor_perl/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/lib64/perl5/vendor_perl/DBD/mysql/GetInfo.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/lib64/perl5/vendor_perl/DBD/mysql/INSTALL.pod Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/lib64/perl5/vendor_perl/Bundle/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/man/man3/DBD::mysql.3pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/man/man3/Bundle::DBD::mysql.3pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/man/man3/DBD::mysql::INSTALL.3pm + find /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 -type f -name '*.bs' -empty -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr + /usr/lib/rpm/find-debuginfo.sh -j40 --strict-build-id -m -i --build-id-seed 4.046-3.module_el8.1.0+203+e45423dc --unique-debug-suffix -4.046-3.module_el8.1.0+203+e45423dc.x86_64 --unique-debug-src-base perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/DBD-mysql-4.046 extracting debug info from /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 570 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.H3U5dK + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.046 + exit 0 Processing files: perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dRR1vz + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.046 + DOCDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/doc/perl-DBD-MySQL + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/doc/perl-DBD-MySQL + cp -pr Changes /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/doc/perl-DBD-MySQL + cp -pr README.md /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/doc/perl-DBD-MySQL + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PETFOo + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.046 + LICENSEDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/licenses/perl-DBD-MySQL + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/licenses/perl-DBD-MySQL + cp -pr LICENSE /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64/usr/share/licenses/perl-DBD-MySQL + exit 0 Provides: perl(Bundle::DBD::mysql) = 4.046 perl(DBD::mysql) = 4.046 perl(DBD::mysql::GetInfo) perl(DBD::mysql::db) perl(DBD::mysql::dr) perl(DBD::mysql::st) perl-DBD-MySQL = 4.046-3.module_el8.1.0+203+e45423dc perl-DBD-MySQL(x86-64) = 4.046-3.module_el8.1.0+203+e45423dc perl-DBD-mysql = 4.046-3.module_el8.1.0+203+e45423dc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.1.1()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libssl.so.1.1()(64bit) libz.so.1()(64bit) perl(:VERSION) >= 5.8.0 perl(Carp) perl(DBD::mysql) perl(DBI) perl(DBI::Const::GetInfoType) perl(DynaLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-DBD-MySQL-debugsource-4.046-3.module_el8.1.0+203+e45423dc.x86_64 Provides: perl-DBD-MySQL-debugsource = 4.046-3.module_el8.1.0+203+e45423dc perl-DBD-MySQL-debugsource(x86-64) = 4.046-3.module_el8.1.0+203+e45423dc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-DBD-MySQL-debuginfo-4.046-3.module_el8.1.0+203+e45423dc.x86_64 Provides: debuginfo(build-id) = 6e773c9f8db3250fed8ba9dcf5ba208e2e8acd58 perl-DBD-MySQL-debuginfo = 4.046-3.module_el8.1.0+203+e45423dc perl-DBD-MySQL-debuginfo(x86-64) = 4.046-3.module_el8.1.0+203+e45423dc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-DBD-MySQL-debugsource(x86-64) = 4.046-3.module_el8.1.0+203+e45423dc Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 Wrote: /builddir/build/RPMS/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64.rpm Wrote: /builddir/build/RPMS/perl-DBD-MySQL-debugsource-4.046-3.module_el8.1.0+203+e45423dc.x86_64.rpm Wrote: /builddir/build/RPMS/perl-DBD-MySQL-debuginfo-4.046-3.module_el8.1.0+203+e45423dc.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ay5JHe + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.046 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-DBD-MySQL-4.046-3.module_el8.1.0+203+e45423dc.x86_64 + exit 0 Child return code was: 0