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-pgsql_perl5.spec'], chrootPath='/var/lib/mock/f37-build-634067-69531/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-pgsql_perl5.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1662422400 Wrote: /builddir/build/SRPMS/perl-pgsql_perl5-1.9.0-1.fc37.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-pgsql_perl5.spec'], chrootPath='/var/lib/mock/f37-build-634067-69531/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-pgsql_perl5.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=1662422400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HW5i1J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pgsql_perl5-1.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pgsql_perl5-1.9.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pgsql_perl5-1.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -r -i 's|^#!/usr/local/bin/perl\b|#!/usr/bin/perl|' eg/ApachePg.pl eg/example.pl eg/lo_demo.pl test.pl + chmod -v a+x eg/ApachePg.pl eg/example.pl eg/lo_demo.pl test.pl mode of 'eg/ApachePg.pl' retained as 0755 (rwxr-xr-x) mode of 'eg/example.pl' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) mode of 'eg/lo_demo.pl' retained as 0755 (rwxr-xr-x) mode of 'test.pl' retained as 0755 (rwxr-xr-x) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Nsb9Fc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/pgsql_perl5-1.9.0/.package_note-perl-pgsql_perl5-1.9.0-1.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh perl-pgsql_perl5 1.9.0-1.fc37 riscv64 + cd pgsql_perl5-1.9.0 + export POSTGRES_INCLUDE=/usr/include + POSTGRES_INCLUDE=/usr/include + export POSTGRES_LIB=/usr/lib64 + POSTGRES_LIB=/usr/lib64 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 '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 -fasynchronous-unwind-tables -fstack-clash-protection' Configuring Pg Remember to actually read the README file ! OS: linux Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Pg + /usr/bin/make -O -j4 V=1 VERBOSE=1 Running Mkbootstrap for Pg () chmod 644 "Pg.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/Pg/Pg.bs 644 cp Pg.pm blib/lib/Pg.pm AutoSplitting blib/lib/Pg.pm (blib/lib/auto/Pg) "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/pgsql_perl5-1.9.0/typemap' Pg.xs > Pg.xsc mv Pg.xsc Pg.c gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\" -fPIC "-I/usr/lib64/perl5/CORE" Pg.c Pg.xs: In function 'constant': Pg.xs:76:1: warning: label 'not_there' defined but not used [-Wunused-label] 76 | not_there: | ^~~~~~~~~ Pg.xs: In function 'XS_Pg_conndefaults': Pg.xs:162:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 162 | if (infoOption = PQconndefaults()) { | ^~~~~~~~~~ rm -f blib/arch/auto/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 -o blib/arch/auto/Pg/Pg.so \ -L/usr/lib64 -lpq -lperl \ chmod 755 blib/arch/auto/Pg/Pg.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Wc3pF5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64 + CFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/pgsql_perl5-1.9.0/.package_note-perl-pgsql_perl5-1.9.0-1.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pgsql_perl5-1.9.0 + /usr/bin/make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/Pg/Pg.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/lib64/perl5/vendor_perl/auto/Pg/Pg.so Installing /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/lib64/perl5/vendor_perl/Pg.pm Installing /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/lib64/perl5/vendor_perl/auto/Pg/autosplit.ix Installing /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/share/man/man3/Pg.3pm + find /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.9.0-1.fc37 --unique-debug-suffix -1.9.0-1.fc37.riscv64 --unique-debug-src-base perl-pgsql_perl5-1.9.0-1.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pgsql_perl5-1.9.0 extracting debug info from /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/lib64/perl5/vendor_perl/auto/Pg/Pg.so original debug info size: 656kB, size after compression: 648kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 149 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/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: perl-pgsql_perl5-1.9.0-1.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bs9BUg + umask 022 + cd /builddir/build/BUILD + cd pgsql_perl5-1.9.0 + DOCDIR=/builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/share/doc/perl-pgsql_perl5 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/share/doc/perl-pgsql_perl5 + cp -pr Changes /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/share/doc/perl-pgsql_perl5 + cp -pr README /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/share/doc/perl-pgsql_perl5 + cp -pr eg/ /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/share/doc/perl-pgsql_perl5 + cp -pr test.pl /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64/usr/share/doc/perl-pgsql_perl5 + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Pg) = 1.9.0 perl-pgsql_perl5 = 1.9.0-1.fc37 perl-pgsql_perl5(riscv-64) = 1.9.0-1.fc37 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) libperl.so.5.36()(64bit) libpq.so.5()(64bit) libpq.so.5(RHPG_9.6)(64bit) perl(:VERSION) >= 5.3.0 perl(AutoLoader) perl(Carp) perl(DynaLoader) perl(Exporter) perl(vars) rtld(GNU_HASH) Processing files: perl-pgsql_perl5-debugsource-1.9.0-1.fc37.riscv64 Provides: perl-pgsql_perl5-debugsource = 1.9.0-1.fc37 perl-pgsql_perl5-debugsource(riscv-64) = 1.9.0-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-pgsql_perl5-debuginfo-1.9.0-1.fc37.riscv64 Provides: debuginfo(build-id) = 9e227f310215d5637873a4603b34e1f20d1ac7a9 perl-pgsql_perl5-debuginfo = 1.9.0-1.fc37 perl-pgsql_perl5-debuginfo(riscv-64) = 1.9.0-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-pgsql_perl5-debugsource(riscv-64) = 1.9.0-1.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64 Wrote: /builddir/build/RPMS/perl-pgsql_perl5-1.9.0-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/perl-pgsql_perl5-debugsource-1.9.0-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/perl-pgsql_perl5-debuginfo-1.9.0-1.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ASV1zn + umask 022 + cd /builddir/build/BUILD + cd pgsql_perl5-1.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-pgsql_perl5-1.9.0-1.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.QcNOXc + umask 022 + cd /builddir/build/BUILD + rm -rf pgsql_perl5-1.9.0 pgsql_perl5-1.9.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0