Mock Version: 2.11 Mock Version: 2.11 Mock Version: 2.11 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'], chrootPath='/var/lib/mock/f35-build-28681286-3876031/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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 sh: line 1: perl: command not found Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1626912000 Wrote: /builddir/build/SRPMS/perl-DBD-MySQL-4.050-12.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/perl-DBD-MySQL.spec'], chrootPath='/var/lib/mock/f35-build-28681286-3876031/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1626912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LqBRvT + 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 . + echo 'Patch #0 (DBD-mysql-4.050-Remove-a-useless-shebang-from-DBD-mysql.patch):' Patch #0 (DBD-mysql-4.050-Remove-a-useless-shebang-from-DBD-mysql.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/DBD/mysql.pm + find . -type f + xargs chmod -x + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AshGY1 + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' 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... Warning: prerequisite Test::Deep 0 not found. Warning: prerequisite Test::Simple 0.90 not found. Warning: prerequisite Time::HiRes 0 not found. Warning: prerequisite bigint 0 not found. Looks good. Checking if your kit is complete... Looks good Using DBI 1.643 (for perl 5.034000 on s390x-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 -j2 V=1 VERBOSE=1 cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm Running Mkbootstrap for mysql () chmod 644 "mysql.bs" "/usr/bin/perl" -p -e "s/~DRIVER~/mysql/g" /usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > mysql.xsi 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\" -fPIC "-I/usr/lib64/perl5/CORE" socket.c "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 "/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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\" -fPIC "-I/usr/lib64/perl5/CORE" dbdimp.c dbdimp.c: In function 'mysql_dr_connect': dbdimp.c:1939:26: warning: unused variable 'ssl_mode' [-Wunused-variable] 1939 | unsigned int ssl_mode; | ^~~~~~~~ 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); | ^ dbdimp.c: In function 'mysql_st_fetch': dbdimp.c:4327:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4327 | if ((imp_dbh->enable_utf8 || imp_dbh->enable_utf8mb4) && fbh->charsetnr != 63) | ^~ dbdimp.c:4332:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4332 | break; | ^~~~~ dbdimp.c:4482:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4482 | if ((imp_dbh->enable_utf8 || imp_dbh->enable_utf8mb4) && fields[i].charsetnr != 63) | ^~ dbdimp.c:4484:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4484 | break; | ^~~~~ rm -f blib/arch/auto/DBD/mysql/mysql.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.kA3ESC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x ++ dirname /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x + cd DBD-mysql-4.050 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x '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-12.fc35.s390x/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/lib64/perl5/vendor_perl/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/lib64/perl5/vendor_perl/DBD/mysql/INSTALL.pod Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/lib64/perl5/vendor_perl/DBD/mysql/GetInfo.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/lib64/perl5/vendor_perl/Bundle/DBD/mysql.pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/man/man3/Bundle::DBD::mysql.3pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/man/man3/DBD::mysql.3pm Installing /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/man/man3/DBD::mysql::INSTALL.3pm + find /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x -type f -name '*.bs' -empty -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.050-12.fc35 --unique-debug-suffix -4.050-12.fc35.s390x --unique-debug-src-base perl-DBD-MySQL-4.050-12.fc35.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/DBD-mysql-4.050 extracting debug info from /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so original debug info size: 396kB, size after compression: 344kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 581 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6YgtDp + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-DBD-MySQL-4.050-12.fc35.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cPp7zE + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + DOCDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/doc/perl-DBD-MySQL + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/doc/perl-DBD-MySQL + cp -pr Changes /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/doc/perl-DBD-MySQL + cp -pr README.md /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/doc/perl-DBD-MySQL + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FYpUaF + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + LICENSEDIR=/builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/licenses/perl-DBD-MySQL + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/licenses/perl-DBD-MySQL + cp -pr LICENSE /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x/usr/share/licenses/perl-DBD-MySQL + 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-12.fc35 perl-DBD-MySQL(s390-64) = 4.050-12.fc35 perl-DBD-mysql = 4.050-12.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: glibc >= 2.33.9000-43.fc35 libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libperl.so.5.34()(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) Processing files: perl-DBD-MySQL-debugsource-4.050-12.fc35.s390x Provides: perl-DBD-MySQL-debugsource = 4.050-12.fc35 perl-DBD-MySQL-debugsource(s390-64) = 4.050-12.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-DBD-MySQL-debuginfo-4.050-12.fc35.s390x Provides: debuginfo(build-id) = 5b1b5bf2214edc98fe1bd624b8678e3f9ad1eacd perl-DBD-MySQL-debuginfo = 4.050-12.fc35 perl-DBD-MySQL-debuginfo(s390-64) = 4.050-12.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-DBD-MySQL-debugsource(s390-64) = 4.050-12.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x Wrote: /builddir/build/RPMS/perl-DBD-MySQL-debuginfo-4.050-12.fc35.s390x.rpm Wrote: /builddir/build/RPMS/perl-DBD-MySQL-4.050-12.fc35.s390x.rpm Wrote: /builddir/build/RPMS/perl-DBD-MySQL-debugsource-4.050-12.fc35.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XV5syf + umask 022 + cd /builddir/build/BUILD + cd DBD-mysql-4.050 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-DBD-MySQL-4.050-12.fc35.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0