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/sclo7-rh-perl530-rh-el7-build-75297-406604/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: /opt/rh/rh-perl530/root/usr/bin/perl: No such file or directory sh: /opt/rh/rh-perl530/root/usr/bin/perl: No such file or directory sh: /opt/rh/rh-perl530/root/usr/bin/perl: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rh-perl530-perl-DBD-MySQL-4.050-5.el7.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/sclo7-rh-perl530-rh-el7-build-75297-406604/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.A7i4I0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf DBD-mysql-4.050 + /usr/bin/gzip -dc /builddir/build/SOURCES/DBD-mysql-4.050.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-mysql-4.050 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type f + xargs chmod -x + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6j4L8v + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + scl enable rh-perl530 'perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic" NO_PACKLIST=1 && make -j32' 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 I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/include/mysql embedded (mysql_config) = ldflags (guessed ) = libs (mysql_config) = -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm -ldl -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 libs are available for compiling... Warning: prerequisite Test::Deep 0 not found. Warning: prerequisite Test::Simple 0.90 not found. Warning: prerequisite bigint 0 not found. Looks good. Checking if your kit is complete... Looks good Using DBI 1.642 (for perl 5.030001 on x86_64-linux-thread-multi) installed in /opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::mysql Writing MYMETA.yml and MYMETA.json Running Mkbootstrap for mysql () gcc -c -I/opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -DDBD_MYSQL_WITH_SSL -g -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\" -fPIC "-I/opt/rh/rh-perl530/root/usr/lib64/perl5/CORE" dbdimp.c "/opt/rh/rh-perl530/root/usr/bin/perl" -p -e "s/~DRIVER~/mysql/g" /opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > mysql.xsi gcc -c -I/opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -DDBD_MYSQL_WITH_SSL -g -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\" -fPIC "-I/opt/rh/rh-perl530/root/usr/lib64/perl5/CORE" socket.c "/opt/rh/rh-perl530/root/usr/bin/perl" "/opt/rh/rh-perl530/root/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/opt/rh/rh-perl530/root/usr/share/perl5/ExtUtils/typemap' mysql.xs > mysql.xsc chmod 644 "mysql.bs" "/opt/rh/rh-perl530/root/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 247 Warning: duplicate function definition 'rows' detected in mysql.xs, line 683 mv mysql.xsc mysql.c gcc -c -I/opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -DDBD_MYSQL_WITH_SSL -g -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\" -fPIC "-I/opt/rh/rh-perl530/root/usr/lib64/perl5/CORE" mysql.c In file included from /opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:38:0, from dbdimp.h:20, from dbdimp.c:15: /opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI/dbipport.h:4471:0: warning: "WIDEST_UTYPE" redefined [enabled by default] # define WIDEST_UTYPE U64TYPE ^ In file included from /opt/rh/rh-perl530/root/usr/lib64/perl5/CORE/perl.h:2525:0, from /opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:23, from dbdimp.h:20, from dbdimp.c:15: /opt/rh/rh-perl530/root/usr/lib64/perl5/CORE/handy.h:1072:0: note: this is the location of the previous definition # define WIDEST_UTYPE U64 ^ dbdimp.c: In function 'mysql_dr_connect': dbdimp.c:1939:19: warning: unused variable 'ssl_mode' [-Wunused-variable] unsigned int ssl_mode; ^ dbdimp.c: In function 'mysql_st_prepare': dbdimp.c:3207:24: warning: assignment from incompatible pointer type [enabled by default] bind->is_null= (_Bool*) &(fbind->is_null); ^ In file included from /opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:38:0, from dbdimp.h:20, from mysql.xs:12: /opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI/dbipport.h:4471:0: warning: "WIDEST_UTYPE" redefined [enabled by default] # define WIDEST_UTYPE U64TYPE ^ In file included from /opt/rh/rh-perl530/root/usr/lib64/perl5/CORE/perl.h:2525:0, from /opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:23, from dbdimp.h:20, from mysql.xs:12: /opt/rh/rh-perl530/root/usr/lib64/perl5/CORE/handy.h:1072:0: note: this is the location of the previous definition # define WIDEST_UTYPE U64 ^ rm -f blib/arch/auto/DBD/mysql/mysql.so gcc -lpthread -shared -Wl,-z,relro -L/opt/rh/rh-perl530/root/usr/lib64 -L/usr/local/lib -fstack-protector-strong dbdimp.o mysql.o socket.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm -ldl -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.P5fMaa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64 + cd DBD-mysql-4.050 + scl enable rh-perl530 'make pure_install DESTDIR=/builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64' "/opt/rh/rh-perl530/root/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/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so Installing /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/DBD/mysql.pm Installing /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/DBD/mysql/GetInfo.pm Installing /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/DBD/mysql/INSTALL.pod Installing /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/Bundle/DBD/mysql.pm Installing /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/share/man/man3/DBD::mysql.3pm Installing /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/share/man/man3/DBD::mysql::INSTALL.3pm Installing /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/share/man/man3/Bundle::DBD::mysql.3pm + find /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64 -type f -name '*.bs' -empty -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/DBD-mysql-4.050 extracting debug info from /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 581 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/rh-perl530/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /opt/rh/rh-perl530/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.9xYhaQ + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + exit 0 Processing files: rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.doE99v + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + DOCDIR=/builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/share/doc/rh-perl530-perl-DBD-MySQL-4.050 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/share/doc/rh-perl530-perl-DBD-MySQL-4.050 + cp -pr LICENSE /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/share/doc/rh-perl530-perl-DBD-MySQL-4.050 + cp -pr Changes /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/share/doc/rh-perl530-perl-DBD-MySQL-4.050 + cp -pr README.md /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64/opt/rh/rh-perl530/root/usr/share/doc/rh-perl530-perl-DBD-MySQL-4.050 + exit 0 Provides: rh-perl530-perl(Bundle::DBD::mysql) = 4.050 rh-perl530-perl(DBD::mysql) = 4.050 rh-perl530-perl(DBD::mysql::GetInfo) rh-perl530-perl(DBD::mysql::db) rh-perl530-perl(DBD::mysql::dr) rh-perl530-perl(DBD::mysql::st) rh-perl530-perl-DBD-MySQL = 4.050-5.el7 rh-perl530-perl-DBD-MySQL(x86-64) = 4.050-5.el7 rh-perl530-perl-DBD-mysql = 4.050-5.el7 scl-package(rh-perl530) 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.14)(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.10()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmysqlclient.so.18()(64bit) libmysqlclient.so.18(libmysqlclient_18)(64bit) libperl.so.rh-perl530-5.30()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libssl.so.10()(64bit) libz.so.1()(64bit) rh-perl530-perl(:VERSION) >= 5.8.0 rh-perl530-perl(Carp) rh-perl530-perl(DBD::mysql) rh-perl530-perl(DBI) rh-perl530-perl(DBI::Const::GetInfoType) rh-perl530-perl(DynaLoader) rh-perl530-perl(strict) rh-perl530-perl(warnings) rh-perl530-runtime rtld(GNU_HASH) Processing files: rh-perl530-perl-DBD-MySQL-debuginfo-4.050-5.el7.x86_64 Provides: scl-package(rh-perl530) rh-perl530-perl-DBD-MySQL-debuginfo = 4.050-5.el7 rh-perl530-perl-DBD-MySQL-debuginfo(x86-64) = 4.050-5.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64 Wrote: /builddir/build/RPMS/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rh-perl530-perl-DBD-MySQL-debuginfo-4.050-5.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EBLyQA + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rh-perl530-perl-DBD-MySQL-4.050-5.el7.x86_64 + exit 0 Child return code was: 0