Mock Version: 1.2.9 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-7086/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False sh: /opt/rh/rh-perl520/root/usr/bin/perl: No such file or directory sh: /opt/rh/rh-perl520/root/usr/bin/perl: No such file or directory sh: /opt/rh/rh-perl520/root/usr/bin/perl: No such file or directory warning: Could not canonicalize hostname: copr-builder-584492957 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-7086/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uu3Bj2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf DBD-mysql-4.029 + /usr/bin/gzip -dc /builddir/build/SOURCES/DBD-mysql-4.029.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-mysql-4.029 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + xargs chmod -x + find . -type f + for file in lib/DBD/mysql.pm ChangeLog + iconv -f iso-8859-1 -t utf-8 + touch -r lib/DBD/mysql.pm lib/DBD/mysql.pm_ + mv -f lib/DBD/mysql.pm_ lib/DBD/mysql.pm + for file in lib/DBD/mysql.pm ChangeLog + iconv -f iso-8859-1 -t utf-8 + touch -r ChangeLog ChangeLog_ + mv -f ChangeLog_ ChangeLog + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.R4e4yW + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.029 + scl enable rh-perl520 '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" --ssl && make -j2' 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 Warning: prerequisite Test::Deep 0 not found. Warning: prerequisite Test::More 0 not found. I will use the following settings for compiling and testing: cflags (mysql_config ) = -I/usr/include/mysql embedded (mysql_config ) = ldflags (mysql_config ) = libs (mysql_config ) = -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (User's choice) = 1 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... Warning: the following files are missing in your kit: META.json Please inform the author. Using DBI 1.633 (for perl 5.020001 on x86_64-linux-thread-multi) installed in /opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::mysql Running Mkbootstrap for DBD::mysql () chmod 644 "mysql.bs" gcc -c -I/opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -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.029\" -DXS_VERSION=\"4.029\" -fPIC "-I/opt/rh/rh-perl520/root/usr/lib64/perl5/CORE" dbdimp.c cp README.pod blib/lib/DBD/README.pod cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm 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 "/opt/rh/rh-perl520/root/usr/bin/perl" -p -e "s/~DRIVER~/mysql/g" /opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > mysql.xsi "/opt/rh/rh-perl520/root/usr/bin/perl" "/opt/rh/rh-perl520/root/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap "/opt/rh/rh-perl520/root/usr/share/perl5/ExtUtils/typemap" mysql.xs > mysql.xsc && mv mysql.xsc mysql.c In file included from dbdimp.h:20:0, from dbdimp.c:20: dbdimp.c: In function 'dbd_discon_all': Warning: duplicate function definition 'do' detected in mysql.xs, line 242 /opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:376:32: warning: unused variable 'imp_xxh' [-Wunused-variable] #define D_imp_xxh(h) D_impdata(imp_xxh, imp_xxh_t, h) ^ /opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:372:39: note: in definition of macro 'D_impdata' #define D_impdata(name,type,h) type *name = (type*)(DBIh_COM(h)) ^ dbdimp.c:2265:3: note: in expansion of macro 'D_imp_xxh' D_imp_xxh(drh); ^ Warning: duplicate function definition 'rows' detected in mysql.xs, line 754 dbdimp.c: In function 'mysql_db_FETCH_attrib': dbdimp.c:2514:9: warning: variable 'fine_key' set but not used [-Wunused-but-set-variable] char* fine_key = NULL; ^ gcc -c -I/opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -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.029\" -DXS_VERSION=\"4.029\" -fPIC "-I/opt/rh/rh-perl520/root/usr/lib64/perl5/CORE" mysql.c dbdimp.c: In function 'mysql_st_prepare': dbdimp.c:2715:33: warning: unused variable 'limit_flag' [-Wunused-variable] int col_type, prepare_retval, limit_flag=0; ^ mysql.c: In function 'XS_DBD__mysql__db__login': mysql.c:288:7: warning: variable 'attribs' set but not used [-Wunused-but-set-variable] SV * attribs; ^ mysql.xs: In function 'XS_DBD__mysql__db_do': mysql.xs:260:30: warning: unused variable 'statement_ptr' [-Wunused-variable] char *str_ptr, *statement_ptr, *buffer; ^ mysql.xs: In function 'XS_DBD__mysql__st_more_results': mysql.xs:691:7: warning: unused variable 'retval' [-Wunused-variable] int retval; ^ rm -f blib/arch/auto/DBD/mysql/mysql.so "/opt/rh/rh-perl520/root/usr/bin/perl" myld gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -L/opt/rh/rh-perl520/root/usr/lib64 -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl -lperl \ chmod 755 blib/arch/auto/DBD/mysql/mysql.so "/opt/rh/rh-perl520/root/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 Manifying 4 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VH9nkf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64 + cd DBD-mysql-4.029 + scl enable rh-perl520 'make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64' Running Mkbootstrap for DBD::mysql () chmod 644 "mysql.bs" Manifying 4 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/Bundle/DBD/mysql.pm Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/DBD/mysql.pm Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/DBD/README.pod Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/DBD/mysql/INSTALL.pod Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/lib64/perl5/vendor_perl/DBD/mysql/GetInfo.pm Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/man/man3/DBD::mysql::INSTALL.3pm Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/man/man3/DBD::mysql.3pm Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/man/man3/Bundle::DBD::mysql.3pm Installing /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/man/man3/DBD::README.3pm + find /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64 -type f -name '*.bs' -empty -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.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.029 extracting debug info from /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/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. 548 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/rh-perl520/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-perl520/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZJCkKz + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.029 + exit 0 Processing files: rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TyLTaU + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.029 + DOCDIR=/builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/doc/rh-perl520-perl-DBD-MySQL-4.029 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/doc/rh-perl520-perl-DBD-MySQL-4.029 + cp -pr ChangeLog /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/doc/rh-perl520-perl-DBD-MySQL-4.029 + cp -pr eg /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/doc/rh-perl520-perl-DBD-MySQL-4.029 + cp -pr README.pod /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/doc/rh-perl520-perl-DBD-MySQL-4.029 + cp -pr TODO /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64/opt/rh/rh-perl520/root/usr/share/doc/rh-perl520-perl-DBD-MySQL-4.029 + exit 0 Provides: rh-perl520-perl(Bundle::DBD::mysql) = 4.027 rh-perl520-perl(DBD::mysql) = 4.029 rh-perl520-perl(DBD::mysql::GetInfo) rh-perl520-perl(DBD::mysql::db) rh-perl520-perl(DBD::mysql::dr) rh-perl520-perl(DBD::mysql::st) rh-perl520-perl-DBD-MySQL = 4.029-1.el7.centos rh-perl520-perl-DBD-MySQL(x86-64) = 4.029-1.el7.centos rh-perl520-perl-DBD-mysql = 4.029-1.el7.centos scl-package(rh-perl520) 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.10()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmysqlclient.so.18()(64bit) libmysqlclient.so.18(libmysqlclient_18)(64bit) libperl.so.rh-perl520-5.20()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libssl.so.10()(64bit) libz.so.1()(64bit) rh-perl520-perl >= 0:5.008_001 rh-perl520-perl(Carp) rh-perl520-perl(DBD::mysql) rh-perl520-perl(DBI) rh-perl520-perl(DBI::Const::GetInfoType) rh-perl520-perl(DynaLoader) rh-perl520-perl(strict) rh-perl520-perl(warnings) rh-perl520-runtime rtld(GNU_HASH) Processing files: rh-perl520-perl-DBD-MySQL-debuginfo-4.029-1.el7.centos.x86_64 Provides: scl-package(rh-perl520) rh-perl520-perl-DBD-MySQL-debuginfo = 4.029-1.el7.centos rh-perl520-perl-DBD-MySQL-debuginfo(x86-64) = 4.029-1.el7.centos 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-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64 Wrote: /builddir/build/RPMS/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/rh-perl520-perl-DBD-MySQL-debuginfo-4.029-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Zt7aiX + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.029 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rh-perl520-perl-DBD-MySQL-4.029-1.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->