+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/perl-Linux-Inotify2.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.ieE7vu
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf Linux-Inotify2-1.22
+ /usr/bin/gzip -dc /builddir/build/SOURCES/Linux-Inotify2-1.22.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Linux-Inotify2-1.22
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find . -type f -exec chmod -c -x '{}' ';'
mode of './eg/event' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './eg/simple' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
+ find eg/ -type f -exec perl -MConfig -pi -e 's|^#!/opt/bin/perl|$Config{startperl}|' '{}' ';'
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.psFy6r
+ umask 022
+ cd /builddir/build/BUILD
+ cd Linux-Inotify2-1.22
+ 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 Linux::Inotify2
Writing MYMETA.yml and MYMETA.json
+ make -j4
Running Mkbootstrap for Inotify2 ()
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap'  Inotify2.xs > Inotify2.xsc
chmod 644 "Inotify2.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Inotify2.bs blib/arch/auto/Linux/Inotify2/Inotify2.bs 644
cp Inotify2.pm blib/lib/Linux/Inotify2.pm
mv Inotify2.xsc Inotify2.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=\"1.22\" -DXS_VERSION=\"1.22\" -fPIC "-I/usr/lib64/perl5/CORE"   Inotify2.c
In file included from Inotify2.xs:5:0:
Inotify2.c: In function 'XS_Linux__Inotify2_inotify_blocking':
/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) \
                            ^
Inotify2.c:253:2: note: in expansion of macro 'dXSTARG'
  dXSTARG;
  ^~~~~~~
Inotify2.c:252:6: warning: unused variable 'RETVAL' [-Wunused-variable]
  int RETVAL;
      ^~~~~~
Inotify2.xs: In function 'XS_Linux__Inotify2_inotify_read':
Inotify2.xs:71:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
         if (got < 0)
            ^
rm -f blib/arch/auto/Linux/Inotify2/Inotify2.so
gcc  -lpthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong  Inotify2.o  -o blib/arch/auto/Linux/Inotify2/Inotify2.so  \
    -lperl   \
  
chmod 755 blib/arch/auto/Linux/Inotify2/Inotify2.so
Manifying 1 pod document
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j5t7Bc
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64
+ cd Linux-Inotify2-1.22
+ make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Inotify2.bs blib/arch/auto/Linux/Inotify2/Inotify2.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-Linux-Inotify2-1.22-19.fc28.riscv64/usr/lib64/perl5/vendor_perl/auto/Linux/Inotify2/Inotify2.so
Installing /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/lib64/perl5/vendor_perl/Linux/Inotify2.pm
Installing /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/share/man/man3/Linux::Inotify2.3pm
+ find /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64 -type f -name .packlist -exec rm -f '{}' ';'
+ find /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64 -type f -name '*.bs' -a -size 0 -exec rm -f '{}' ';'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.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-Linux-Inotify2-1.22-19.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4TieQj
+ umask 022
+ cd /builddir/build/BUILD
+ cd Linux-Inotify2-1.22
+ DOCDIR=/builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/share/doc/perl-Linux-Inotify2
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/share/doc/perl-Linux-Inotify2
+ cp -pr Changes /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/share/doc/perl-Linux-Inotify2
+ cp -pr README /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/share/doc/perl-Linux-Inotify2
+ cp -pr eg/ /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/share/doc/perl-Linux-Inotify2
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QFr6WJ
+ umask 022
+ cd /builddir/build/BUILD
+ cd Linux-Inotify2-1.22
+ LICENSEDIR=/builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/share/licenses/perl-Linux-Inotify2
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/share/licenses/perl-Linux-Inotify2
+ cp -pr COPYING /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64/usr/share/licenses/perl-Linux-Inotify2
+ exit 0
Provides: perl(Linux::Inotify2) = 1.22 perl(Linux::Inotify2::Event) perl(Linux::Inotify2::Watch) perl-Linux-Inotify2 = 1.22-19.fc28 perl-Linux-Inotify2(riscv-64) = 1.22-19.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(Exporter) perl(Fcntl) perl(Scalar::Util) perl(base) perl(common::sense) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.fc28.riscv64
Wrote: /builddir/build/SRPMS/perl-Linux-Inotify2-1.22-19.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/perl-Linux-Inotify2-1.22-19.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dIGh2s
+ umask 022
+ cd /builddir/build/BUILD
+ cd Linux-Inotify2-1.22
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Linux-Inotify2-1.22-19.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