+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/perl-Cache-FastMmap.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.7BWicq
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf Cache-FastMmap-1.46
+ /usr/bin/gzip -dc /builddir/build/SOURCES/Cache-FastMmap-1.46.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Cache-FastMmap-1.46
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CDA0Ye
+ umask 022
+ cd /builddir/build/BUILD
+ cd Cache-FastMmap-1.46
+ 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 '
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Cache::FastMmap
Writing MYMETA.yml and MYMETA.json
+ make -j4
Running Mkbootstrap for FastMmap ()
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap'  FastMmap.xs > FastMmap.xsc
gcc -c  -I. -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=\"1.46\" -DXS_VERSION=\"1.46\" -fPIC "-I/usr/lib64/perl5/CORE"   mmap_cache.c
chmod 644 "FastMmap.bs"
gcc -c  -I. -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=\"1.46\" -DXS_VERSION=\"1.46\" -fPIC "-I/usr/lib64/perl5/CORE"   unix.c
cp lib/Cache/FastMmap.pm blib/lib/Cache/FastMmap.pm
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FastMmap.bs blib/arch/auto/Cache/FastMmap/FastMmap.bs 644
mmap_cache.c: In function 'mmc_init':
mmap_cache.c:120:42: warning: variable 'start_slots' set but not used [-Wunused-but-set-variable]
   MU32 c_num_pages, c_page_size, c_size, start_slots;
                                          ^~~~~~~~~~~
mmap_cache.c: In function 'mmc_calc_expunge':
mmap_cache.c:640:25: warning: variable 'flags' set but not used [-Wunused-but-set-variable]
       MU32 expire_time, flags, kvlen;
                         ^~~~~
mv FastMmap.xsc FastMmap.c
gcc -c  -I. -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=\"1.46\" -DXS_VERSION=\"1.46\" -fPIC "-I/usr/lib64/perl5/CORE"   FastMmap.c
unix.c: In function 'mmc_lock_page':
unix.c:183:7: warning: 'old_alarm' may be used uninitialized in this function [-Wmaybe-uninitialized]
       alarm(old_alarm);
       ^~~~~~~~~~~~~~~~
In file included from FastMmap.xs:5:0:
ppport.h:227:0: warning: "PERL_UNUSED_DECL" redefined
 #  define PERL_UNUSED_DECL
 
In file included from FastMmap.xs:2: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 FastMmap.xs:3:0:
FastMmap.c: In function 'XS_Cache__FastMmap_fc_set_param':
/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) \
                            ^
FastMmap.c:229:2: note: in expansion of macro 'dXSTARG'
  dXSTARG;
  ^~~~~~~
FastMmap.c: In function 'XS_Cache__FastMmap_fc_init':
/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) \
                            ^
FastMmap.c:257:2: note: in expansion of macro 'dXSTARG'
  dXSTARG;
  ^~~~~~~
FastMmap.c: In function 'XS_Cache__FastMmap_fc_lock':
/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) \
                            ^
FastMmap.c:348:2: note: in expansion of macro 'dXSTARG'
  dXSTARG;
  ^~~~~~~
FastMmap.c: In function 'XS_Cache__FastMmap_fc_unlock':
/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) \
                            ^
FastMmap.c:376:2: note: in expansion of macro 'dXSTARG'
  dXSTARG;
  ^~~~~~~
FastMmap.c: In function 'XS_Cache__FastMmap_fc_delete':
/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) \
                            ^
FastMmap.c:568:2: note: in expansion of macro 'dXSTARG'
  dXSTARG;
  ^~~~~~~
FastMmap.c:567:6: warning: unused variable 'RETVAL' [-Wunused-variable]
  int RETVAL;
      ^~~~~~
FastMmap.c: In function 'XS_Cache__FastMmap_fc_reset_page_details':
FastMmap.xs:303:22: warning: unused variable 'nreadhits' [-Wunused-variable]
     MU32 nreads = 0, nreadhits = 0;
                      ^~~~~~~~~
FastMmap.xs:303:10: warning: unused variable 'nreads' [-Wunused-variable]
     MU32 nreads = 0, nreadhits = 0;
          ^~~~~~
FastMmap.xs: In function 'XS_Cache__FastMmap_fc_get_keys':
FastMmap.xs:400:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     while (entry_ptr = mmc_iterate_next(it)) {
            ^~~~~~~~~
FastMmap.c: In function 'XS_Cache__FastMmap_fc_set':
FastMmap.xs:503:27: warning: unused variable 'found' [-Wunused-variable]
     int key_len, val_len, found;
                           ^~~~~
rm -f blib/arch/auto/Cache/FastMmap/FastMmap.so
gcc  -lpthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong  FastMmap.o mmap_cache.o unix.o  -o blib/arch/auto/Cache/FastMmap/FastMmap.so  \
    -lperl   \
  
chmod 755 blib/arch/auto/Cache/FastMmap/FastMmap.so
Manifying 1 pod document
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6MepLh
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64
+ cd Cache-FastMmap-1.46
+ make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FastMmap.bs blib/arch/auto/Cache/FastMmap/FastMmap.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-FastMmap-1.46-3.fc28.riscv64/usr/lib64/perl5/vendor_perl/auto/Cache/FastMmap/FastMmap.so
Installing /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64/usr/lib64/perl5/vendor_perl/Cache/FastMmap.pm
Installing /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64/usr/share/man/man3/Cache::FastMmap.3pm
+ find /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64 -type f -name .packlist -exec rm -f '{}' ';'
+ find /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.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-FastMmap-1.46-3.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-FastMmap-1.46-3.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Vw78gR
+ umask 022
+ cd /builddir/build/BUILD
+ cd Cache-FastMmap-1.46
+ DOCDIR=/builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64/usr/share/doc/perl-Cache-FastMmap
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64/usr/share/doc/perl-Cache-FastMmap
+ cp -pr Changes /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64/usr/share/doc/perl-Cache-FastMmap
+ cp -pr README /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64/usr/share/doc/perl-Cache-FastMmap
+ exit 0
Provides: perl(Cache::FastMmap) = 1.46 perl(Cache::FastMmap::OnLeave) perl-Cache-FastMmap = 1.46-3.fc28 perl-Cache-FastMmap(riscv-64) = 1.46-3.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(:VERSION) >= 5.6.0 perl(File::Spec) perl(XSLoader) perl(bytes) perl(constant) perl(strict) perl(warnings) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64
Wrote: /builddir/build/SRPMS/perl-Cache-FastMmap-1.46-3.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/perl-Cache-FastMmap-1.46-3.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jB8FcW
+ umask 022
+ cd /builddir/build/BUILD
+ cd Cache-FastMmap-1.46
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Cache-FastMmap-1.46-3.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
++ sleep 5
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff