Mock Version: 1.1.41 Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-DBD-MySQL.spec'], False, '/var/lib/mock/sclo6-perl516-rh-el6-build-8945-12611/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-DBD-MySQL.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} sh: scl: command not found sh: scl: command not found sh: /opt/rh/perl516/root/usr/bin/perl: No such file or directory sh: /opt/rh/perl516/root/usr/bin/perl: No such file or directory sh: /opt/rh/perl516/root/usr/bin/perl: No such file or directory warning: Could not canonicalize hostname: c1bk.rdu2.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/perl-DBD-MySQL.spec'], False, '/var/lib/mock/sclo6-perl516-rh-el6-build-8945-12611/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/perl-DBD-MySQL.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UgPF8F + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf DBD-mysql-4.025 + /usr/bin/gzip -dc /builddir/build/SOURCES/DBD-mysql-4.025.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-mysql-4.025 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type f + xargs chmod -x + 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.RUyxU7 + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.025 + LANG=C + export LANG + unset DISPLAY + scl enable perl516 ' perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic" --ssl ' 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 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX -DUNIV_LINUX embedded (mysql_config ) = ldflags (mysql_config ) = -rdynamic libs (mysql_config ) = -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto 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 t/mem_leak.pl Please inform the author. Using DBI 1.63 (for perl 5.016003 on x86_64-linux-thread-multi) installed in /opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::mysql + scl enable perl516 ' make -j16 ' gcc -c -I/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX -DUNIV_LINUX -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -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 --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"4.025\" -DXS_VERSION=\"4.025\" -fPIC "-I/opt/rh/perl516/root/usr/lib64/perl5/CORE" dbdimp.c /opt/rh/perl516/root/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > mysql.xsi /opt/rh/perl516/root/usr/bin/perl /opt/rh/perl516/root/usr/share/perl5/ExtUtils/xsubpp -typemap /opt/rh/perl516/root/usr/share/perl5/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp README.pod blib/lib/DBD/README.pod cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm dbdimp.c: In function 'dbd_discon_all': dbdimp.c:2229: warning: unused variable 'imp_xxh' dbdimp.c: In function 'mysql_db_STORE_attrib': dbdimp.c:2405: warning: value computed is not used dbdimp.c: In function 'mysql_db_FETCH_attrib': dbdimp.c:2518: warning: value computed is not used dbdimp.c:2525: warning: value computed is not used Warning: duplicate function definition 'do' detected in mysql.xs, line 242 dbdimp.c: In function 'mysql_st_prepare': dbdimp.c:2643: warning: unused variable 'limit_flag' dbdimp.c: In function 'mysql_st_next_results': dbdimp.c:3079: warning: value computed is not used dbdimp.c:3080: warning: value computed is not used dbdimp.c:3081: warning: value computed is not used dbdimp.c:3082: warning: value computed is not used dbdimp.c:3083: warning: value computed is not used dbdimp.c:3084: warning: value computed is not used dbdimp.c:3085: warning: value computed is not used dbdimp.c:3086: warning: value computed is not used dbdimp.c:3087: warning: value computed is not used dbdimp.c:3088: warning: value computed is not used dbdimp.c:3089: warning: value computed is not used dbdimp.c:3090: warning: value computed is not used dbdimp.c:3091: warning: value computed is not used dbdimp.c:3092: warning: value computed is not used dbdimp.c:3093: warning: value computed is not used dbdimp.c:3094: warning: value computed is not used dbdimp.c:3095: warning: value computed is not used dbdimp.c:3096: warning: value computed is not used dbdimp.c: In function 'mysql_describe': dbdimp.c:3661: warning: assignment from incompatible pointer type Warning: duplicate function definition 'rows' detected in mysql.xs, line 754 dbdimp.c: In function 'mysql_st_FETCH_attrib': dbdimp.c:4491: warning: value computed is not used gcc -c -I/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX -DUNIV_LINUX -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -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 --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"4.025\" -DXS_VERSION=\"4.025\" -fPIC "-I/opt/rh/perl516/root/usr/lib64/perl5/CORE" mysql.c mysql.xs: In function 'XS_DBD__mysql__db_do': mysql.xs:309: warning: value computed is not used mysql.xs:260: warning: unused variable 'statement_ptr' mysql.xs: In function 'XS_DBD__mysql__st_more_results': mysql.xs:691: warning: unused variable 'retval' rm -f blib/arch/auto/DBD/mysql/mysql.so /opt/rh/perl516/root/usr/bin/perl myld gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto \ chmod 755 blib/arch/auto/DBD/mysql/mysql.so /opt/rh/perl516/root/usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 Manifying blib/man3/DBD::README.3pm Manifying blib/man3/Bundle::DBD::mysql.3pm Manifying blib/man3/DBD::mysql.3pm Manifying blib/man3/DBD::mysql::INSTALL.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OJTNjS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 + cd DBD-mysql-4.025 + LANG=C + export LANG + unset DISPLAY + scl enable perl516 ' make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 ' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/DBD/README.pod Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/DBD/mysql/INSTALL.pod Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/DBD/mysql/GetInfo.pm Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Bundle/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/share/man/man3/Bundle::DBD::mysql.3pm Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/share/man/man3/DBD::mysql.3pm Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/share/man/man3/DBD::README.3pm Installing /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/share/man/man3/DBD::mysql::INSTALL.3pm + find /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 -type f -name '*.bs' -empty -exec rm -f '{}' ';' + /bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/DBD-mysql-4.025 extracting debug info from /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so 542 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/perl516/root + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python /opt/rh/perl516/root + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bhOrTD + umask 022 + cd /builddir/build/BUILD Processing files: perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 + cd DBD-mysql-4.025 + unset DISPLAY + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.A1dJtp + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.025 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-DBD-MySQL-4.025 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-DBD-MySQL-4.025 + /bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-DBD-MySQL-4.025 + cp -pr ChangeLog eg README.pod TODO /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-DBD-MySQL-4.025 + exit 0 Finding Provides: /bin/sh -c " /bin/grep -v '/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/.*\.so$' | /bin/grep -v -P '/opt/rh/perl516/root/usr/lib64/perl5/(?!CORE/libperl).*\.so$' | /bin/grep -v '/opt/rh/perl516/root/usr/share/doc' | while read FILE; do /usr/lib/rpm/rpmdeps -P ${FILE}; done | /bin/sort -u | /bin/sed -e '/perl(UNIVERSAL)/d; /perl(DB)/d'" Finding Requires: /bin/sh -c " /bin/grep -v '/opt/rh/perl516/root/usr/share/doc' | while read FILE; do /usr/lib/rpm/rpmdeps -R ${FILE}; done | /bin/sort -u " Provides: perl516-perl-DBD-mysql = 4.025-2.sc1.el6 perl516-perl(Bundle::DBD::mysql) = 4.025 perl516-perl(DBD::mysql) = 4.025 perl516-perl(DBD::mysql::db) perl516-perl(DBD::mysql::dr) perl516-perl(DBD::mysql::GetInfo) perl516-perl(DBD::mysql::st) Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: libcrypto.so.10()(64bit) libcrypt.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libmysqlclient.so.16()(64bit) libmysqlclient.so.16(libmysqlclient_16)(64bit) libnsl.so.1()(64bit) libssl.so.10()(64bit) libz.so.1()(64bit) perl516-perl >= 0:5.008_001 perl516-perl(Carp) perl516-perl(DBD::mysql) perl516-perl(DBI) perl516-perl(DBI::Const::GetInfoType) perl516-perl(DynaLoader) perl516-perl(strict) perl516-perl(warnings) rpmlib(VersionedDependencies) <= 3.0.3-1 rtld(GNU_HASH) Processing files: perl516-perl-DBD-MySQL-debuginfo-4.025-2.sc1.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 warning: Could not canonicalize hostname: c1bk.rdu2.centos.org Wrote: /builddir/build/RPMS/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-perl-DBD-MySQL-debuginfo-4.025-2.sc1.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lJd3sU + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.025 + /bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-DBD-MySQL-4.025-2.sc1.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->