Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'], chrootPath='/var/lib/mock/dist-oc9-build-43502-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-DBD-MySQL-4.050-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'], chrootPath='/var/lib/mock/dist-oc9-build-43502-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yrXmgC + 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 -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-mysql-4.050 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0QDj8R + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g' NO_PACKLIST=1 NO_PERLLOCAL=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' 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 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... Looks good. Checking if your kit is complete... Looks good Using DBI 1.643 (for perl 5.036000 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 + /usr/bin/make -O -j32 V=1 VERBOSE=1 "/usr/bin/perl" -p -e "s/~DRIVER~/mysql/g" /usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > mysql.xsi Running Mkbootstrap for mysql () chmod 644 "mysql.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 gcc -c -I/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -I/usr/include/mysql/mysql -DDBD_MYSQL_WITH_SSL -g -D_REENTRANT -D_GNU_SOURCE -O2 -g -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -g -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\" -fPIC "-I/usr/lib64/perl5/CORE" socket.c cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm "/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 Warning: duplicate function definition 'do' detected in mysql.xs, line 247 Warning: duplicate function definition 'rows' detected in mysql.xs, line 683 gcc -c -I/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -I/usr/include/mysql/mysql -DDBD_MYSQL_WITH_SSL -g -D_REENTRANT -D_GNU_SOURCE -O2 -g -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -g -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\" -fPIC "-I/usr/lib64/perl5/CORE" 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 -g -D_REENTRANT -D_GNU_SOURCE -O2 -g -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -g -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\" -fPIC "-I/usr/lib64/perl5/CORE" dbdimp.c dbdimp.c: In function 'mysql_st_prepare': dbdimp.c:3207:24: warning: assignment to 'my_bool *' {aka 'char *'} from incompatible pointer type '_Bool *' [-Wincompatible-pointer-types] 3207 | bind->is_null= (_Bool*) &(fbind->is_null); | ^ rm -f blib/arch/auto/DBD/mysql/mysql.so gcc -shared -L/usr/local/lib -fstack-protector-strong dbdimp.o mysql.o socket.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib64/ -lmariadb -lperl \ chmod 755 blib/arch/auto/DBD/mysql/mysql.so Manifying 3 pod documents + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bAsJtD + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64 + cd DBD-mysql-4.050 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64 'INSTALL=/usr/bin/install -p' "/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.050-3.oc9.x86_64/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/lib64/perl5/vendor_perl/Bundle/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/lib64/perl5/vendor_perl/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/lib64/perl5/vendor_perl/DBD/mysql/INSTALL.pod Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/lib64/perl5/vendor_perl/DBD/mysql/GetInfo.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/man/man3/DBD::mysql::INSTALL.3pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/man/man3/DBD::mysql.3pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/man/man3/Bundle::DBD::mysql.3pm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr + /usr/lib/rpm/brp-compress /usr + /usr/lib/rpm/brp-elfperms + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-remove-la-files Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BgNpDV + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Driver version is 4.050 t/00base.t .............................. ok # DBI connect('','mockbuild',...) failed: Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) at t/05dbcreate.t line 16. t/05dbcreate.t .......................... skipped: no database connection # DBI connect('test','mockbuild',...) failed: Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) at t/10connect.t line 14. t/10connect.t ........................... skipped: no database connection t/15reconnect.t ......................... skipped: no database connection t/16dbi-get_info.t ...................... skipped: no database connection t/20createdrop.t ........................ skipped: no database connection t/25lockunlock.t ........................ skipped: no database connection t/29warnings.t .......................... skipped: no database connection t/30insertfetch.t ....................... skipped: no database connection t/31insertid.t .......................... skipped: no database connection t/32insert_error.t ...................... skipped: no database connection t/35limit.t ............................. skipped: no database connection t/35prepare.t ........................... skipped: no database connection t/40bindparam.t ......................... skipped: no database connection t/40bindparam2.t ........................ skipped: no database connection t/40bit.t ............................... skipped: no database connection t/40blobs.t ............................. skipped: no database connection t/40catalog.t ........................... skipped: no database connection t/40keyinfo.t ........................... skipped: no database connection t/40listfields.t ........................ skipped: no database connection t/40nulls.t ............................. skipped: no database connection t/40nulls_prepare.t ..................... skipped: no database connection t/40numrows.t ........................... skipped: no database connection t/40server_prepare.t .................... skipped: no database connection t/40server_prepare_crash.t .............. skipped: no database connection t/40server_prepare_error.t .............. skipped: no database connection t/40types.t ............................. skipped: no database connection t/41bindparam.t ......................... skipped: no database connection t/41blobs_prepare.t ..................... skipped: no database connection t/41int_min_max.t ....................... skipped: no database connection t/42bindparam.t ......................... skipped: no database connection t/43count_params.t ...................... skipped: no database connection t/50chopblanks.t ........................ skipped: no database connection t/50commit.t ............................ skipped: no database connection t/51bind_type_guessing.t ................ skipped: no database connection t/52comment.t ........................... skipped: no database connection t/53comment.t ........................... skipped: no database connection t/55utf8.t .............................. skipped: no database connection t/55utf8mb4.t ........................... skipped: no database connection t/56connattr.t .......................... skipped: no database connection t/60leaks.t ............................. skipped: Skip $ENV{EXTENDED_TESTING} is not set t/65segfault.t .......................... skipped: no database connection t/65types.t ............................. skipped: no database connection t/70takeimp.t ........................... skipped: no database connection t/71impdata.t ........................... skipped: no database connection t/75supported_sql.t ..................... skipped: no database connection t/76multi_statement.t ................... skipped: no database connection t/80procs.t ............................. skipped: no database connection t/81procs.t ............................. skipped: no database connection t/85init_command.t ...................... skipped: no database connection t/86_bug_36972.t ........................ skipped: no database connection t/87async.t ............................. skipped: no database connection t/88async-multi-stmts.t ................. skipped: no database connection t/89async-method-check.t ................ skipped: no database connection t/91errcheck.t .......................... skipped: no database connection t/92ssl_backronym_vulnerability.t ....... skipped: no database connection: DBI connect('test','mockbuild',...) failed: Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) at t/lib.pl line 57. t/92ssl_optional.t ...................... skipped: no database connection: DBI connect('test','mockbuild',...) failed: Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) at t/lib.pl line 57. t/92ssl_riddle_vulnerability.t .......... skipped: no database connection: DBI connect('test','mockbuild',...) failed: Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) at t/lib.pl line 57. t/99_bug_server_prepare_blob_null.t ..... skipped: no database connection t/manifest.t ............................ skipped: these tests are for release testing t/pod.t ................................. skipped: Test::Pod 1.00 required for testing POD t/rt110983-valid-mysqlfd.t .............. skipped: no database connection t/rt118977-zerofill.t ................... skipped: no database connection t/rt25389-bin-case.t .................... skipped: no database connection t/rt50304-column_info_parentheses.t ..... skipped: no database connection t/rt61849-bind-param-buffer-overflow.t .. skipped: no database connection t/rt75353-innodb-lock-timeout.t ......... skipped: no database connection t/rt83494-quotes-comments.t ............. skipped: no database connection t/rt85919-fetch-lost-connection.t ....... skipped: no database connection t/rt86153-reconnect-fail-memory.t ....... skipped: $ENV{EXTENDED_TESTING} is not set t/rt88006-bit-prepare.t ................. skipped: no database connection t/rt91715.t ............................. skipped: no database connection t/version.t ............................. ok All tests successful. Files=73, Tests=9, 4 wallclock secs ( 0.10 usr 0.04 sys + 4.02 cusr 0.49 csys = 4.65 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-DBD-MySQL-4.050-3.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Uw9xW5 + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + DOCDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/doc/perl-DBD-MySQL-4.050 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/doc/perl-DBD-MySQL-4.050 + cp -pr Changes /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/doc/perl-DBD-MySQL-4.050 + cp -pr README.md /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/doc/perl-DBD-MySQL-4.050 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KgOc1v + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + LICENSEDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/licenses/perl-DBD-MySQL-4.050 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/licenses/perl-DBD-MySQL-4.050 + cp -pr LICENSE /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64/usr/share/licenses/perl-DBD-MySQL-4.050 + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Bundle::DBD::mysql) = 4.050 perl(DBD::mysql) = 4.050 perl(DBD::mysql::GetInfo) perl(DBD::mysql::db) perl(DBD::mysql::dr) perl(DBD::mysql::st) perl-DBD-MySQL = 4.050-3.oc9 perl-DBD-MySQL(x86-64) = 4.050-3.oc9 perl-DBD-mysql = 4.050-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) 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) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libperl.so.5.36()(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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-3.oc9.x86_64 Wrote: /builddir/build/RPMS/perl-DBD-MySQL-4.050-3.oc9.x86_64.rpm Child return code was: 0