+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/perl-Text-CHM.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.TqbU6w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Text-CHM-0.01 + /usr/bin/gzip -dc /builddir/build/SOURCES/Text-CHM-0.01.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Text-CHM-0.01 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jYd8xE + umask 022 + cd /builddir/build/BUILD + cd Text-CHM-0.01 + 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 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Text::CHM Writing MYMETA.yml and MYMETA.json + make -j4 Running Mkbootstrap for CHM () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Text-CHM-0.01/typemap' CHM.xs > CHM.xsc chmod 644 "CHM.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CHM.bs blib/arch/auto/Text/CHM/CHM.bs 644 cp lib/Text/CHM.pm blib/lib/Text/CHM.pm mv CHM.xsc CHM.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=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib64/perl5/CORE" CHM.c In file included from CHM.xs:5:0: ppport.h:237:0: warning: "PERL_UNUSED_DECL" redefined # define PERL_UNUSED_DECL In file included from CHM.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__ CHM.xs: In function 'perl_chm_init': CHM.xs:100:8: warning: operation on 'self' may be undefined [-Wsequence-point] self = Newz(1, self, 1, ChmObj); CHM.xs: In function 'get_html_title': CHM.xs:280:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] content = perl_get_object(chmfile, filename, &len); ^ In file included from /usr/lib64/perl5/CORE/perl.h:5589:0, from CHM.xs:2: CHM.xs: In function 'XS_Text__CHM_get_object': CHM.xs:367:32: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness [-Wpointer-sign] XPUSHs(sv_2mortal(newSVpv(buf, len))); ^ /usr/lib64/perl5/CORE/pp.h:428:55: note: in definition of macro 'XPUSHs' #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END ^ CHM.xs:367:13: note: in expansion of macro 'sv_2mortal' XPUSHs(sv_2mortal(newSVpv(buf, len))); ^~~~~~~~~~ CHM.xs:367:24: note: in expansion of macro 'newSVpv' XPUSHs(sv_2mortal(newSVpv(buf, len))); ^~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609:0, from CHM.xs:2: /usr/lib64/perl5/CORE/proto.h:2304:19: note: expected 'const char * const' but argument is of type 'unsigned char *' PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len) ^~~~~~~~~~~~ In file included from CHM.xs:3:0: /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) \ ^ CHM.c:590:2: note: in expansion of macro 'dXSTARG' dXSTARG; ^~~~~~~ CHM.c:589:9: warning: unused variable 'RETVAL' [-Wunused-variable] void * RETVAL; ^~~~~~ In file included from CHM.xs:3:0: CHM.c: In function 'XS_Text__CHM_get_filelist': /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) \ ^ CHM.c:624:2: note: in expansion of macro 'dXSTARG' dXSTARG; ^~~~~~~ CHM.c:623:9: warning: unused variable 'RETVAL' [-Wunused-variable] void * RETVAL; ^~~~~~ rm -f blib/arch/auto/Text/CHM/CHM.so gcc -lpthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong CHM.o -o blib/arch/auto/Text/CHM/CHM.so \ -lchm -lperl \ chmod 755 blib/arch/auto/Text/CHM/CHM.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Mw0mCZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64 + cd Text-CHM-0.01 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CHM.bs blib/arch/auto/Text/CHM/CHM.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-Text-CHM-0.01-31.fc28.riscv64/usr/lib64/perl5/vendor_perl/auto/Text/CHM/CHM.so Installing /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64/usr/lib64/perl5/vendor_perl/Text/CHM.pm Installing /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64/usr/share/man/man3/Text::CHM.3pm + find /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64 -type f -name '*.bs' -a -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.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-Text-CHM-0.01-31.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.m7qAEI + umask 022 + cd /builddir/build/BUILD + cd Text-CHM-0.01 + DOCDIR=/builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64/usr/share/doc/perl-Text-CHM + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64/usr/share/doc/perl-Text-CHM + cp -pr README /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64/usr/share/doc/perl-Text-CHM + cp -pr Changes /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64/usr/share/doc/perl-Text-CHM + exit 0 Provides: perl(Text::CHM) = 0.01 perl-Text-CHM = 0.01-31.fc28 perl-Text-CHM(riscv-64) = 0.01-31.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) libchm.so.0()(64bit) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(:VERSION) >= 5.6.0 perl(Exporter) perl(XSLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.fc28.riscv64 Wrote: /builddir/build/SRPMS/perl-Text-CHM-0.01-31.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/perl-Text-CHM-0.01-31.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.i9oZfA + umask 022 + cd /builddir/build/BUILD + cd Text-CHM-0.01 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Text-CHM-0.01-31.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