Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'], chrootPath='/var/lib/mock/c71804-00-armhfp/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1004) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --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"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: armhfp-03.bsys.centos.org Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/perl-DBD-MySQL-4.023-6.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'], chrootPath='/var/lib/mock/c71804-00-armhfp/root'shell=Falseuid=1004env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --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"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E7xa4f + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf DBD-mysql-4.023 + /usr/bin/gzip -dc /builddir/build/SOURCES/DBD-mysql-4.023.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-mysql-4.023 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (DBD-mysql-4.033_02-Fix-transferring-MYSQL_TYPE_LONG-values-on-64-bit-bi.patch): + echo 'Patch #0 (DBD-mysql-4.033_02-Fix-transferring-MYSQL_TYPE_LONG-values-on-64-bit-bi.patch):' patching file dbdimp.c Hunk #2 succeeded at 3630 (offset -123 lines). Hunk #3 succeeded at 3867 (offset -148 lines). Hunk #4 succeeded at 4645 (offset -142 lines). Hunk #5 succeeded at 4733 (offset -142 lines). patching file dbdimp.h Hunk #1 succeeded at 24 (offset 2 lines). Hunk #2 succeeded at 199 (offset -14 lines). Hunk #3 succeeded at 219 (offset -15 lines). + /usr/bin/cat /builddir/build/SOURCES/DBD-mysql-4.033_02-Fix-transferring-MYSQL_TYPE_LONG-values-on-64-bit-bi.patch + /usr/bin/patch -p1 --fuzz=0 + echo 'Patch #1 (DBD-mysql-4.023-Tests-for-little-endian-platform.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/DBD-mysql-4.023-Tests-for-little-endian-platform.patch Patch #1 (DBD-mysql-4.023-Tests-for-little-endian-platform.patch): patching file t/41int_min_max.t + 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 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a4ibSr + exit 0 + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.023 + 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 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' --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::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/lib/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 ) = testsocket (default ) = testuser (guessed ) = mockbuild To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Using DBI 1.627 (for perl 5.016003 on arm-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/auto/DBI/ Writing Makefile for DBD::mysql + make -j4 armv7hl-redhat-linux-gnueabi-gcc -c -I/usr/lib/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 -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 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DVERSION=\"4.023\" -DXS_VERSION=\"4.023\" -fPIC "-I/usr/lib/perl5/CORE" dbdimp.c /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/lib/perl5/vendor_perl/auto/DBI/Driver.xst > mysql.xsi Running Mkbootstrap for DBD::mysql () /usr/bin/perl /usr/share/perl5/vendor_perl/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c chmod 644 mysql.bs cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.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 mysql.bs blib/arch/auto/DBD/mysql/mysql.bs chmod 644 blib/arch/auto/DBD/mysql/mysql.bs Warning: duplicate function definition 'do' detected in mysql.xs, line 244 Warning: duplicate function definition 'rows' detected in mysql.xs, line 756 In file included from dbdimp.h:22:0, from dbdimp.c:20: dbdimp.c: In function 'dbd_discon_all': /usr/lib/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) ^ /usr/lib/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:2225:3: note: in expansion of macro 'D_imp_xxh' D_imp_xxh(drh); ^ armv7hl-redhat-linux-gnueabi-gcc -c -I/usr/lib/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 -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 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DVERSION=\"4.023\" -DXS_VERSION=\"4.023\" -fPIC "-I/usr/lib/perl5/CORE" mysql.c dbdimp.c: In function 'mysql_db_FETCH_attrib': dbdimp.c:2443:9: warning: variable 'fine_key' set but not used [-Wunused-but-set-variable] char* fine_key = NULL; ^ dbdimp.c: In function 'mysql_st_prepare': dbdimp.c:2634:33: warning: unused variable 'limit_flag' [-Wunused-variable] int col_type, prepare_retval, limit_flag=0; ^ dbdimp.c: In function 'mysql_describe': dbdimp.c:3650:22: warning: assignment from incompatible pointer type [enabled by default] buffer->is_null= &(fbh->is_null); ^ mysql.c: In function 'XS_DBD__mysql__db__login': mysql.c:290: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:262: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:693:7: warning: unused variable 'retval' [-Wunused-variable] int retval; ^ mysql.xs: In function 'XS_DBD__mysql__GetInfo_dbd_mysql_get_info': mysql.xs:935:4: warning: format '%i' expects argument of type 'int', but argument 2 has type 'struct SV *' [-Wformat=] croak("Unknown SQL Info type: %i",dbh); ^ rm -f blib/arch/auto/DBD/mysql/mysql.so /usr/bin/perl myld armv7hl-redhat-linux-gnueabi-gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib/mysql -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl \ chmod 755 blib/arch/auto/DBD/mysql/mysql.so Manifying blib/man3/DBD::mysql.3pm Manifying blib/man3/DBD::mysql::INSTALL.3pm Manifying blib/man3/Bundle::DBD::mysql.3pm Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L87Uvw + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm ++ dirname /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm + cd DBD-mysql-4.023 + make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/lib/perl5/vendor_perl/auto/DBD/mysql/mysql.so Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/lib/perl5/vendor_perl/auto/DBD/mysql/mysql.bs Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/lib/perl5/vendor_perl/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/lib/perl5/vendor_perl/DBD/mysql/GetInfo.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/lib/perl5/vendor_perl/DBD/mysql/INSTALL.pod Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/lib/perl5/vendor_perl/Bundle/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/share/man/man3/Bundle::DBD::mysql.3pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/share/man/man3/DBD::mysql.3pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/share/man/man3/DBD::mysql::INSTALL.3pm + find /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm -type f -name '*.bs' -empty -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/DBD-mysql-4.023 extracting debug info from /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/lib/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. 542 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0QduIw Processing files: perl-DBD-MySQL-4.023-6.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jfERaw + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.023 + exit 0 + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.023 + DOCDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/share/doc/perl-DBD-MySQL-4.023 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/share/doc/perl-DBD-MySQL-4.023 + cp -pr ChangeLog /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/share/doc/perl-DBD-MySQL-4.023 + cp -pr eg /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/share/doc/perl-DBD-MySQL-4.023 + cp -pr README /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/share/doc/perl-DBD-MySQL-4.023 + cp -pr TODO /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm/usr/share/doc/perl-DBD-MySQL-4.023 + exit 0 Provides: perl(Bundle::DBD::mysql) = 4.004 perl(DBD::mysql) = 4.023 perl(DBD::mysql::GetInfo) perl(DBD::mysql::db) perl(DBD::mysql::dr) perl(DBD::mysql::st) perl-DBD-MySQL = 4.023-6.el7 perl-DBD-MySQL(armv7hl-32) = 4.023-6.el7 perl-DBD-mysql = 4.023-6.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libcrypto.so.10 libdl.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libmysqlclient.so.18 libmysqlclient.so.18(libmysqlclient_18) libpthread.so.0 libpthread.so.0(GLIBC_2.4) libssl.so.10 libz.so.1 perl >= 0:5.005 perl(Carp) perl(DBD::mysql) perl(DBI) perl(DBI::Const::GetInfoType) perl(DynaLoader) perl(strict) perl(vars) rtld(GNU_HASH) Processing files: perl-DBD-MySQL-debuginfo-4.023-6.el7.armv7hl Provides: perl-DBD-MySQL-debuginfo = 4.023-6.el7 perl-DBD-MySQL-debuginfo(armv7hl-32) = 4.023-6.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/perl-DBD-MySQL-4.023-6.el7.arm Wrote: /builddir/build/RPMS/perl-DBD-MySQL-4.023-6.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/perl-DBD-MySQL-debuginfo-4.023-6.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nns5g0 + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.023 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-DBD-MySQL-4.023-6.el7.arm + exit 0 Child return code was: 0