Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-Text-CHM.spec'], chrootPath='/var/lib/mock/oraclelinux-8-x86_64-1650216182.570488/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-Text-CHM.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: perl: command not found sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-Text-CHM-0.01-41.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-Text-CHM.spec'], chrootPath='/var/lib/mock/oraclelinux-8-x86_64-1650216182.570488/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-Text-CHM.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fGV3Jj + 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.zAefLk + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' NO_PACKLIST=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Text::CHM + make -j2 Running Mkbootstrap for CHM () chmod 644 "CHM.bs" "/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 cp lib/Text/CHM.pm blib/lib/Text/CHM.pm "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CHM.bs blib/arch/auto/Text/CHM/CHM.bs 644 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib64/perl5/CORE" CHM.c In file included from CHM.xs:5: ppport.h:237: warning: "PERL_UNUSED_DECL" redefined # define PERL_UNUSED_DECL In file included from CHM.xs:2: /usr/lib64/perl5/CORE/perl.h:323: 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] content = perl_get_object(chmfile, filename, &len); ^ In file included from /usr/lib64/perl5/CORE/perl.h:5589, 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, 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: /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: 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 -Wl,-z,now -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.Ulyxbk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64 + cd Text-CHM-0.01 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64 "/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-41.el8.x86_64/usr/lib64/perl5/vendor_perl/auto/Text/CHM/CHM.so Installing /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64/usr/lib64/perl5/vendor_perl/Text/CHM.pm Installing /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64/usr/share/man/man3/Text::CHM.3pm + find /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64 -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-41.el8.x86_64/usr + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.01-41.el8 --unique-debug-suffix -0.01-41.el8.x86_64 --unique-debug-src-base perl-Text-CHM-0.01-41.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/Text-CHM-0.01 extracting debug info from /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64/usr/lib64/perl5/vendor_perl/auto/Text/CHM/CHM.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 47 blocks + /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.r1R5Hk + umask 022 + cd /builddir/build/BUILD + cd Text-CHM-0.01 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CHM.bs blib/arch/auto/Text/CHM/CHM.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Text-CHM.t .. ok All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU) Result: PASS + exit 0 Processing files: perl-Text-CHM-0.01-41.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9ObbXj + umask 022 + cd /builddir/build/BUILD + cd Text-CHM-0.01 + DOCDIR=/builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64/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-41.el8.x86_64/usr/share/doc/perl-Text-CHM + cp -pr README /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64/usr/share/doc/perl-Text-CHM + cp -pr Changes /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64/usr/share/doc/perl-Text-CHM + exit 0 Provides: perl(Text::CHM) = 0.01 perl-Text-CHM = 0.01-41.el8 perl-Text-CHM(x86-64) = 0.01-41.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libchm.so.0()(64bit) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) perl(:VERSION) >= 5.6.0 perl(Exporter) perl(XSLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Text-CHM-debugsource-0.01-41.el8.x86_64 Provides: perl-Text-CHM-debugsource = 0.01-41.el8 perl-Text-CHM-debugsource(x86-64) = 0.01-41.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Text-CHM-debuginfo-0.01-41.el8.x86_64 Provides: debuginfo(build-id) = b0229f24199ab536c52722679aee004db38b58f9 perl-Text-CHM-debuginfo = 0.01-41.el8 perl-Text-CHM-debuginfo(x86-64) = 0.01-41.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Text-CHM-debugsource(x86-64) = 0.01-41.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64 Wrote: /builddir/build/RPMS/perl-Text-CHM-0.01-41.el8.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Text-CHM-debugsource-0.01-41.el8.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Text-CHM-debuginfo-0.01-41.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iCZLOk + umask 022 + cd /builddir/build/BUILD + cd Text-CHM-0.01 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el8.x86_64 + exit 0 Child return code was: 0