Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-DBD-Pg.spec'], chrootPath='/var/lib/mock/f40-build-757736-119385/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-DBD-Pg.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1701907200 Wrote: /builddir/build/SRPMS/perl-DBD-Pg-3.18.0-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-DBD-Pg.spec'], chrootPath='/var/lib/mock/f40-build-757736-119385/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-DBD-Pg.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1701907200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fbSVGr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf DBD-Pg-3.18.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/DBD-Pg-3.18.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-Pg-3.18.0 + rm -rf /builddir/build/BUILD/DBD-Pg-3.18.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/DBD-Pg-3.18.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/00_signature.t + chmod +x t/00_signature.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/00basic.t + chmod +x t/00basic.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/01connect.t + chmod +x t/01connect.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/01constants.t + chmod +x t/01constants.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/02attribs.t + chmod +x t/02attribs.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/03dbmethod.t + chmod +x t/03dbmethod.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/03smethod.t + chmod +x t/03smethod.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/04misc.t + chmod +x t/04misc.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/06bytea.t + chmod +x t/06bytea.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/07copy.t + chmod +x t/07copy.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/08async.t + chmod +x t/08async.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/09arrays.t + chmod +x t/09arrays.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/10_pg_error_field.t + chmod +x t/10_pg_error_field.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/12placeholders.t + chmod +x t/12placeholders.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/20savepoints.t + chmod +x t/20savepoints.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/30unicode.t + chmod +x t/30unicode.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/99cleanup.t + chmod +x t/99cleanup.t + for F in t/*.t t/*.pl + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/dbdpg_test_setup.pl + chmod +x t/dbdpg_test_setup.pl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eY4tEi + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd DBD-Pg-3.18.0 + unset AUTOMATED_TESTING DBDPG_GCCDEBUG PERL_MM_USE_DEFAULT POSTGRES_HOME POSTGRES_INCLUDE POSTGRES_LIB + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' NO_PACKLIST=1 NO_PERLLOCAL=1 Configuring DBD::Pg 3.18.0 PostgreSQL version: 150000 (default port: 5432) POSTGRES_HOME: (not set) POSTGRES_INCLUDE: /usr/include POSTGRES_LIB: /usr/lib64 OS: linux Checking if your kit is complete... Looks good Using DBI 1.643 (for perl 5.038000 on riscv64-linux-thread-multi) installed in /usr/lib64/perl5/vendor_perl/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::Pg + /usr/bin/make -O -j4 V=1 VERBOSE=1 "/usr/bin/perl" -p -e "s/~DRIVER~/Pg/g; s/^do\(/dontdo\(/" /usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > Pg.xsi Running Mkbootstrap for Pg () chmod 644 "Pg.bs" cp Pg.pm blib/lib/DBD/Pg.pm cp lib/Bundle/DBD/Pg.pm blib/lib/Bundle/DBD/Pg.pm "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/DBD/Pg/Pg.bs 644 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Pg.xs > Pg.xsc mv Pg.xsc Pg.c gcc -c -I/usr/include -I/usr/lib64/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPGLIBVERSION=150000 -DPGDEFPORT=5432 -DHAS64BITLO -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"3.18.0\" -DXS_VERSION=\"3.18.0\" -fPIC "-I/usr/lib64/perl5/CORE" types.c In file included from Pg.h:58, from types.c:15: /usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:493:25: warning: ‘dbi_get_state’ defined but not used [-Wunused-function] 493 | static dbistate_t** dbi_get_state(pTHX) { \ | ^~~~~~~~~~~~~ /usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:506:27: note: in expansion of macro ‘_DBISTATE_DECLARE_COMMON’ 506 | # define DBISTATE_DECLARE _DBISTATE_DECLARE_COMMON | ^~~~~~~~~~~~~~~~~~~~~~~~ Pg.h:64:1: note: in expansion of macro ‘DBISTATE_DECLARE’ 64 | DBISTATE_DECLARE; | ^~~~~~~~~~~~~~~~ gcc -c -I/usr/include -I/usr/lib64/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPGLIBVERSION=150000 -DPGDEFPORT=5432 -DHAS64BITLO -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"3.18.0\" -DXS_VERSION=\"3.18.0\" -fPIC "-I/usr/lib64/perl5/CORE" quote.c In file included from Pg.h:58, from quote.c:10: /usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:493:25: warning: ‘dbi_get_state’ defined but not used [-Wunused-function] 493 | static dbistate_t** dbi_get_state(pTHX) { \ | ^~~~~~~~~~~~~ /usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:506:27: note: in expansion of macro ‘_DBISTATE_DECLARE_COMMON’ 506 | # define DBISTATE_DECLARE _DBISTATE_DECLARE_COMMON | ^~~~~~~~~~~~~~~~~~~~~~~~ Pg.h:64:1: note: in expansion of macro ‘DBISTATE_DECLARE’ 64 | DBISTATE_DECLARE; | ^~~~~~~~~~~~~~~~ gcc -c -I/usr/include -I/usr/lib64/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPGLIBVERSION=150000 -DPGDEFPORT=5432 -DHAS64BITLO -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"3.18.0\" -DXS_VERSION=\"3.18.0\" -fPIC "-I/usr/lib64/perl5/CORE" Pg.c ./Pg.xsi: In function ‘XS_DBD__Pg__db_selectrow_arrayref’: ./Pg.xsi:234:9: warning: ‘Perl_dowantarray’ is deprecated [-Wdeprecated-declarations] 234 | if (GIMME == G_SCALAR) | ^~ In file included from /usr/lib64/perl5/CORE/perl.h:6188, from /usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:23, from Pg.h:58, from Pg.xs:14: /usr/lib64/perl5/CORE/proto.h:1019:1: note: declared here 1019 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ ./Pg.xsi:240:9: warning: ‘Perl_dowantarray’ is deprecated [-Wdeprecated-declarations] 240 | if (GIMME == G_SCALAR) | ^~ /usr/lib64/perl5/CORE/proto.h:1019:1: note: declared here 1019 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ In file included from /usr/lib64/perl5/vendor_perl/auto/DBI/DBIXS.h:24: Pg.c: In function ‘XS_DBD__Pg__db_pg_lo_lseek’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ Pg.c:1997:5: note: in expansion of macro ‘dXSI32’ 1997 | dXSI32; | ^~~~~~ Pg.c: In function ‘XS_DBD__Pg__db_pg_lo_tell’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ Pg.c:2022:5: note: in expansion of macro ‘dXSI32’ 2022 | dXSI32; | ^~~~~~ Pg.c: In function ‘XS_DBD__Pg__db_pg_lo_truncate’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ Pg.c:2043:5: note: in expansion of macro ‘dXSI32’ 2043 | dXSI32; | ^~~~~~ gcc -c -I/usr/include -I/usr/lib64/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPGLIBVERSION=150000 -DPGDEFPORT=5432 -DHAS64BITLO -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"3.18.0\" -DXS_VERSION=\"3.18.0\" -fPIC "-I/usr/lib64/perl5/CORE" dbdimp.c dbdimp.c: In function ‘_sqlstate’: dbdimp.c:461:5: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 5 [-Wstringop-truncation] 461 | strncpy(imp_dbh->sqlstate, sqlstate, 5); | ^ dbdimp.c: In function ‘pg_st_deallocate_statement’: dbdimp.c:4013:17: warning: ‘strncpy’ specified bound 6 equals destination size [-Wstringop-truncation] 4013 | strncpy(tempsqlstate, imp_dbh->sqlstate, 6); | ^ rm -f blib/arch/auto/DBD/Pg/Pg.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong Pg.o dbdimp.o quote.o types.o -o blib/arch/auto/DBD/Pg/Pg.so \ -L/usr/lib64 -lpq -lm -lperl \ chmod 755 blib/arch/auto/DBD/Pg/Pg.so Manifying 2 pod documents + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tJrAPQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd DBD-Pg-3.18.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/DBD/Pg/Pg.bs 644 Manifying 2 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/lib64/perl5/vendor_perl/auto/DBD/Pg/Pg.so Installing /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/lib64/perl5/vendor_perl/DBD/Pg.pm Installing /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/lib64/perl5/vendor_perl/Bundle/DBD/Pg.pm Installing /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/man/man3/DBD::Pg.3pm Installing /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/man/man3/Bundle::DBD::Pg.3pm + find /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64 -type f -name '*.bs' -empty -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr + mkdir -p /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/libexec/perl-DBD-Pg + cp -a t /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/libexec/perl-DBD-Pg + cat + chmod +x /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/libexec/perl-DBD-Pg/test + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.18.0-1.fc40 --unique-debug-suffix -3.18.0-1.fc40.riscv64 --unique-debug-src-base perl-DBD-Pg-3.18.0-1.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/DBD-Pg-3.18.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/perl-DBD-Pg-3.18.0-1.fc40.riscv64 953 blocks find-debuginfo: done + /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 mangling shebang in /usr/libexec/perl-DBD-Pg/test from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BkoWf9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd DBD-Pg-3.18.0 + unset DBI_DSN DBI_USER DBI_PASS + unset DBDPG_DEBUG DBDPG_INITDB DBDPG_NOCLEANUP DBDPG_TEST_ALWAYS_ENV DBDPG_TESTINITDB PGDATABASE PGINITDB POSTGRES_HOME POSTGRES_LIB TEST_OUTPUT TEST_SIGNATURE + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/DBD/Pg/Pg.bs 644 PGINITDB="/usr/bin/initdb" 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 t/00_signature.t ....... skipped: Set the environment variable TEST_SIGNATURE to enable this test t/00basic.t ............ ok Please wait, creating new database (version 16.1) for testing netstat call failed, trying port 5442 # # DBI Version 1.643 # DBD::Pg Version 3.18.0 # Perl Version 5.38.0 # OS linux # PostgreSQL (compiled) 150000 # PostgreSQL (target) 160001 # PostgreSQL (reported) PostgreSQL 16.1 on riscv64-redhat-linux-gnu, compiled by gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1), 64-bit # Default port 5432 # DBI_DSN dbi:Pg:db="postgres";port=5442;host=/dbdpg_test_database/data/socket # DBI_USER mockbuild # Test schema dbd_pg_testschema # LANG C # Adjusted: initdb t/01connect.t .......... ok t/01constants.t ........ ok t/02attribs.t .......... ok t/03dbmethod.t ......... ok t/03smethod.t .......... ok t/04misc.t ............. ok t/06bytea.t ............ ok t/07copy.t ............. ok t/08async.t ............ ok t/09arrays.t ........... ok t/10_pg_error_field.t .. ok t/12placeholders.t ..... ok t/20savepoints.t ....... ok t/30unicode.t .......... ok t/99cleanup.t .......... ok All tests successful. Files=17, Tests=3041, 73 wallclock secs ( 1.68 usr 0.13 sys + 29.99 cusr 6.31 csys = 38.11 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-DBD-Pg-3.18.0-1.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.viDB3T + umask 022 + cd /builddir/build/BUILD + cd DBD-Pg-3.18.0 + DOCDIR=/builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/doc/perl-DBD-Pg + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/doc/perl-DBD-Pg + cp -pr /builddir/build/BUILD/DBD-Pg-3.18.0/Changes /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/doc/perl-DBD-Pg + cp -pr /builddir/build/BUILD/DBD-Pg-3.18.0/README /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/doc/perl-DBD-Pg + cp -pr /builddir/build/BUILD/DBD-Pg-3.18.0/README.dev /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/doc/perl-DBD-Pg + cp -pr /builddir/build/BUILD/DBD-Pg-3.18.0/TODO /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/doc/perl-DBD-Pg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cfAmvT + umask 022 + cd /builddir/build/BUILD + cd DBD-Pg-3.18.0 + LICENSEDIR=/builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/licenses/perl-DBD-Pg + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/licenses/perl-DBD-Pg + cp -pr /builddir/build/BUILD/DBD-Pg-3.18.0/LICENSES/artistic.txt /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/licenses/perl-DBD-Pg + cp -pr /builddir/build/BUILD/DBD-Pg-3.18.0/LICENSES/gpl-2.0.txt /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64/usr/share/licenses/perl-DBD-Pg + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Bundle::DBD::Pg) = 3.18.0 perl(DBD::Pg) = 3.18.0 perl(DBD::Pg::DefaultValue) perl(DBD::Pg::db) perl(DBD::Pg::dr) perl(DBD::Pg::st) perl-DBD-Pg = 3.18.0-1.fc40 perl-DBD-Pg(riscv-64) = 3.18.0-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.38)(64bit) libperl.so.5.38()(64bit) libpq.so.5()(64bit) libpq.so.5(RHPG_9.6)(64bit) perl(:MODULE_COMPAT_5.38.0) perl(:VERSION) >= 5.8.1 perl(DBI) >= 1.614 perl(Exporter) perl(XSLoader) perl(constant) perl(strict) perl(version) perl(warnings) perl-libs rtld(GNU_HASH) Processing files: perl-DBD-Pg-tests-3.18.0-1.fc40.riscv64 Provides: perl-DBD-Pg-tests = 3.18.0-1.fc40 perl-DBD-Pg-tests(riscv-64) = 3.18.0-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/perl perl(:VERSION) >= 5.8.1 perl(Carp) perl(Config) perl(Cwd) perl(DBD::Pg) perl(Data::Dumper) perl(Encode) perl(Fcntl) perl(File::Spec) perl(File::Temp) perl(POSIX) perl(Test::More) perl(Time::HiRes) perl(charnames) perl(constant) perl(lib) perl(open) perl(strict) perl(utf8) perl(warnings) Processing files: perl-DBD-Pg-debugsource-3.18.0-1.fc40.riscv64 Provides: perl-DBD-Pg-debugsource = 3.18.0-1.fc40 perl-DBD-Pg-debugsource(riscv-64) = 3.18.0-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-DBD-Pg-debuginfo-3.18.0-1.fc40.riscv64 Provides: debuginfo(build-id) = 9ab988ea31af2f74bd47ee78d485540dfe1cd45f perl-DBD-Pg-debuginfo = 3.18.0-1.fc40 perl-DBD-Pg-debuginfo(riscv-64) = 3.18.0-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-DBD-Pg-debugsource(riscv-64) = 3.18.0-1.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64 Wrote: /builddir/build/RPMS/perl-DBD-Pg-3.18.0-1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/perl-DBD-Pg-debuginfo-3.18.0-1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/perl-DBD-Pg-tests-3.18.0-1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/perl-DBD-Pg-debugsource-3.18.0-1.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Si7KHG + umask 022 + cd /builddir/build/BUILD + cd DBD-Pg-3.18.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-DBD-Pg-3.18.0-1.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.M5I1jI + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/DBD-Pg-3.18.0-SPECPARTS + rm -rf DBD-Pg-3.18.0 DBD-Pg-3.18.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0