D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/perl-DBD-MariaDB.spec line 58: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/perl-DBD-MariaDB-1.230.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VAcQ6y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZXKaXH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + rm -rf DBD-MariaDB-1.23 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/DBD-MariaDB-1.23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-MariaDB-1.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VF767s + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + cd DBD-MariaDB-1.23 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor PLEASE NOTE: For 'make test' to run properly, you must ensure that the database user 'pterjan' can connect to your MariaDB or 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 'pterjan'@'localhost' identified by 's3kr1t'; For MySQL 8 it is needed to use different syntax: mysql> create user 'pterjan'@'localhost' identified by 's3kr1t'; mysql> grant all privileges on test.* to 'pterjan'@'localhost'; You can also optionally set the user to run 'make test' with: perl Makefile.PL --testuser=username I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/include/mysql -I/usr/include/mysql/mysql libs (mysql_config) = -L/usr/lib64/ -lmariadb mysql_config (guessed ) = mariadb_config testauthplugin (default ) = testdb (default ) = test testhost (default ) = testpassword (default ) = testport (default ) = testsocket (default ) = testuser (guessed ) = pterjan To change these settings, see 'perl Makefile.PL --help' and 'perldoc DBD::MariaDB::INSTALL'. Checking if libs and header files are available for compiling... Checking if correct version of MariaDB or MySQL client is present... Looks good. Embedded server: not supported by client library WARNING: Older versions of ExtUtils::MakeMaker may errantly install README.pod as part of this distribution. It is recommended to avoid using this path in CPAN modules. Client library deinitialize OpenSSL library functions: no Checking if your kit is complete... Looks good Using DBI 1.645 (for perl 5.040000 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/vendor_perl/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::MariaDB Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 'OPTIMIZE=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' "/usr/bin/perl5.40.0" -p -e "s/~DRIVER~/MariaDB/g" /usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > MariaDB.xsi cp lib/DBD/MariaDB/INSTALL.pod blib/lib/DBD/MariaDB/INSTALL.pod cp lib/DBD/MariaDB.pm blib/lib/DBD/MariaDB.pm cp README.pod blib/lib/DBD/MariaDB/README.pod cp lib/DBD/MariaDB.pod blib/lib/DBD/MariaDB.pod Running Mkbootstrap for MariaDB () chmod 644 "MariaDB.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- MariaDB.bs blib/arch/auto/DBD/MariaDB/MariaDB.bs 644 "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' MariaDB.xs > MariaDB.xsc Warning: duplicate function definition 'do' detected in MariaDB.xs, line 104 Warning: duplicate function definition 'rows' detected in MariaDB.xs, line 231 Warning: duplicate function definition 'last_insert_id' detected in MariaDB.xs, line 250 mv MariaDB.xsc MariaDB.c gcc -c -I/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -I/usr/include/mysql/mysql -DHAVE_DBI_1_634 -DHAVE_DBI_1_642 -DHAVE_GET_OPTION -DHAVE_DEINITIALIZE_SSL -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/usr/lib64/perl5/CORE" MariaDB.c gcc -c -I/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql -I/usr/include/mysql/mysql -DHAVE_DBI_1_634 -DHAVE_DBI_1_642 -DHAVE_GET_OPTION -DHAVE_DEINITIALIZE_SSL -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/usr/lib64/perl5/CORE" dbdimp.c rm -f blib/arch/auto/DBD/MariaDB/MariaDB.so gcc -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong MariaDB.o dbdimp.o -o blib/arch/auto/DBD/MariaDB/MariaDB.so \ -L/usr/lib64/ -lmariadb -lperl \ chmod 755 blib/arch/auto/DBD/MariaDB/MariaDB.so Manifying 3 pod documents + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fO4D8j + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT + cd DBD-MariaDB-1.23 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- MariaDB.bs blib/arch/auto/DBD/MariaDB/MariaDB.bs 644 Manifying 3 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/DBD/MariaDB/MariaDB.so Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/DBD/MariaDB.pm Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/DBD/MariaDB.pod Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/DBD/MariaDB/INSTALL.pod Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/DBD/MariaDB/README.pod Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/share/man/man3/DBD::MariaDB::INSTALL.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/share/man/man3/DBD::MariaDB.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/share/man/man3/DBD::MariaDB::README.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.230.0-3.mga10 --unique-debug-suffix -1.230.0-3.mga10.x86_64 --unique-debug-src-base perl-DBD-MariaDB-1.230.0-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/DBD-MariaDB-1.23 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-DBD-MariaDB-1.230.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/DBD/MariaDB/MariaDB.so'; reason: Permission denied *** ERROR:: GDB exited with exit status 1 during index generation error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.fO4D8j (%install) RPM build warnings: /home/pterjan/rpmbuild/SPECS/perl-DBD-MariaDB.spec line 58: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.fO4D8j (%install) I: [iurt_root_command] ERROR: chroot