+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/perl-Cache-Mmap.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qqTrRt
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf Cache-Mmap-0.11
+ /usr/bin/gzip -dc /builddir/build/SOURCES/Cache-Mmap-0.11.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Cache-Mmap-0.11
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (Cache-Mmap-0.11-Avoid-Copy-On-Write-problems-with-Perl-5.20.patch):'
Patch #0 (Cache-Mmap-0.11-Avoid-Copy-On-Write-problems-with-Perl-5.20.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file Mmap.pm
+ chmod a-x cmmtest
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HHNNpq
+ umask 022
+ cd /builddir/build/BUILD
+ cd Cache-Mmap-0.11
+ perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' NO_PACKLIST=1
WARNING! I can't test for the existence of mmap() yet.
         If your system does not provide mmap(), you will be unable
         to compile this module.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Cache::Mmap
Writing MYMETA.yml and MYMETA.json
+ make -j4
Running Mkbootstrap for Mmap ()
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Cache-Mmap-0.11/typemap'  Mmap.xs > Mmap.xsc
chmod 644 "Mmap.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Mmap.bs blib/arch/auto/Cache/Mmap/Mmap.bs 644
cp Mmap.pm blib/lib/Cache/Mmap.pm
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Mmap.xs, line 107
mv Mmap.xsc Mmap.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1    -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC "-I/usr/lib64/perl5/CORE"   Mmap.c
In file included from Mmap.xs:40:0:
ppport.h:227:0: warning: "PERL_UNUSED_DECL" redefined
 #  define PERL_UNUSED_DECL
 
In file included from Mmap.xs:8:0:
/usr/lib64/perl5/CORE/perl.h:323:0: note: this is the location of the previous definition
 #    define PERL_UNUSED_DECL __attribute__unused__
 
In file included from Mmap.xs:9:0:
Mmap.c: In function 'XS_Cache__Mmap__lock_xs':
/usr/lib64/perl5/CORE/XSUB.h:183:28: warning: unused variable 'targ' [-Wunused-variable]
 #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \
                            ^
Mmap.c:283:2: note: in expansion of macro 'dXSTARG'
  dXSTARG;
  ^~~~~~~
Mmap.c:282:6: warning: variable 'RETVAL' set but not used [-Wunused-but-set-variable]
  int RETVAL;
      ^~~~~~
rm -f blib/arch/auto/Cache/Mmap/Mmap.so
gcc  -lpthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong  Mmap.o  -o blib/arch/auto/Cache/Mmap/Mmap.so  \
    -lperl   \
  
chmod 755 blib/arch/auto/Cache/Mmap/Mmap.so
Manifying 1 pod document
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XpZAVz
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64
+ cd Cache-Mmap-0.11
+ make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Mmap.bs blib/arch/auto/Cache/Mmap/Mmap.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-Cache-Mmap-0.11-27.fc28.riscv64/usr/lib64/perl5/vendor_perl/auto/Cache/Mmap/Mmap.so
Installing /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64/usr/lib64/perl5/vendor_perl/Cache/Mmap.pm
Installing /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64/usr/share/man/man3/Cache::Mmap.3pm
+ find /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64 -type f -name '*.bs' -size 0 -exec rm -f '{}' +
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64/usr
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: perl-Cache-Mmap-0.11-27.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XXIGC1
+ umask 022
+ cd /builddir/build/BUILD
+ cd Cache-Mmap-0.11
+ DOCDIR=/builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64/usr/share/doc/perl-Cache-Mmap
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64/usr/share/doc/perl-Cache-Mmap
+ cp -pr Changes /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64/usr/share/doc/perl-Cache-Mmap
+ cp -pr cmmtest /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64/usr/share/doc/perl-Cache-Mmap
+ cp -pr README /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64/usr/share/doc/perl-Cache-Mmap
+ cp -pr Todo /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64/usr/share/doc/perl-Cache-Mmap
+ exit 0
Provides: perl(Cache::Mmap) = 0.11 perl-Cache-Mmap = 0.11-27.fc28 perl-Cache-Mmap(riscv-64) = 0.11-27.fc28
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.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(Carp) perl(DynaLoader) perl(Exporter) perl(Fcntl) perl(IO::Seekable) perl(Storable) perl(Symbol) perl(constant) perl(integer) perl(strict) perl(vars) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64
Wrote: /builddir/build/SRPMS/perl-Cache-Mmap-0.11-27.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/perl-Cache-Mmap-0.11-27.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fnyfbb
+ umask 022
+ cd /builddir/build/BUILD
+ cd Cache-Mmap-0.11
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Cache-Mmap-0.11-27.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff