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/centos-stream+epel-9-x86_64-1650333856.848500/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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1611705600 Wrote: /builddir/build/SRPMS/perl-Text-CHM-0.01-41.el9.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/centos-stream+epel-9-x86_64-1650333856.848500/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 setting SOURCE_DATE_EPOCH=1611705600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fiPWlR + 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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dwPY00 + umask 022 + cd /builddir/build/BUILD + cd Text-CHM-0.01 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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 237 | # define PERL_UNUSED_DECL | In file included from CHM.xs:2: /usr/lib64/perl5/CORE/perl.h:435: note: this is the location of the previous definition 435 | # 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] 100 | 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] 280 | content = perl_get_object(chmfile, filename, &len); | ^ In file included from /usr/lib64/perl5/CORE/perl.h:5547, 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] 367 | XPUSHs(sv_2mortal(newSVpv(buf, len))); | ^~~ | | | unsigned char * /usr/lib64/perl5/CORE/pp.h:462:61: note: in definition of macro 'XPUSHs' 462 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ CHM.xs:367:13: note: in expansion of macro 'sv_2mortal' 367 | XPUSHs(sv_2mortal(newSVpv(buf, len))); | ^~~~~~~~~~ CHM.xs:367:24: note: in expansion of macro 'newSVpv' 367 | XPUSHs(sv_2mortal(newSVpv(buf, len))); | ^~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5567, from CHM.xs:2: /usr/lib64/perl5/CORE/proto.h:2419:62: note: expected 'const char * const' but argument is of type 'unsigned char *' 2419 | 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:177:28: warning: unused variable 'targ' [-Wunused-variable] 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ /usr/lib64/perl5/CORE/XSUB.h:177:28: note: in definition of macro 'dXSTARG' 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ CHM.c:589:17: warning: unused variable 'RETVAL' [-Wunused-variable] 589 | void * RETVAL; | ^~~~~~ In file included from CHM.xs:3: CHM.c: In function 'XS_Text__CHM_get_filelist': /usr/lib64/perl5/CORE/XSUB.h:177:28: warning: unused variable 'targ' [-Wunused-variable] 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ /usr/lib64/perl5/CORE/XSUB.h:177:28: note: in definition of macro 'dXSTARG' 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ CHM.c:623:17: warning: unused variable 'RETVAL' [-Wunused-variable] 623 | void * RETVAL; | ^~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from CHM.xs:2: In function 'strncpy', inlined from 'perl_chm_init' at CHM.xs:110:5, inlined from 'XS_Text__CHM_new' at CHM.xs:326:15: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CHM.c: In function 'XS_Text__CHM_new': CHM.xs:110:5: note: length computed here 110 | strncpy(self->filename, filename, strlen(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib64/perl5/CORE/perl.h:1229, from CHM.xs:2: In function 'strncpy', inlined from 'my_strndup' at CHM.xs:138:3, inlined from 'chm_data_add' at CHM.xs:80:16: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CHM.xs: In function 'chm_data_add': CHM.xs:80:16: note: length computed here 80 | tmp->path = my_strndup(path, strlen(path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f blib/arch/auto/Text/CHM/CHM.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aDxkZw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64 + cd Text-CHM-0.01 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.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.el9.x86_64/usr/lib64/perl5/vendor_perl/auto/Text/CHM/CHM.so Installing /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64/usr/lib64/perl5/vendor_perl/Text/CHM.pm Installing /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64/usr/share/man/man3/Text::CHM.3pm + find /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.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.el9.x86_64/usr + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.01-41.el9 --unique-debug-suffix -0.01-41.el9.x86_64 --unique-debug-src-base perl-Text-CHM-0.01-41.el9.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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64/usr/lib64/perl5/vendor_perl/auto/Text/CHM/CHM.so extracting debug info from /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64/usr/lib64/perl5/vendor_perl/auto/Text/CHM/CHM.so original debug info size: 84kB, size after compression: 80kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 47 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5MatFN + 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 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Text-CHM-0.01-41.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WTDTLi + umask 022 + cd /builddir/build/BUILD + cd Text-CHM-0.01 + DOCDIR=/builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.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.el9.x86_64/usr/share/doc/perl-Text-CHM + cp -pr README /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64/usr/share/doc/perl-Text-CHM + cp -pr Changes /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64/usr/share/doc/perl-Text-CHM + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Text::CHM) = 0.01 perl-Text-CHM = 0.01-41.el9 perl-Text-CHM(x86-64) = 0.01-41.el9 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.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libchm.so.0()(64bit) libperl.so.5.32()(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.el9.x86_64 Provides: perl-Text-CHM-debugsource = 0.01-41.el9 perl-Text-CHM-debugsource(x86-64) = 0.01-41.el9 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.el9.x86_64 Provides: debuginfo(build-id) = 852956769292b736746a59e740731a9572877c42 perl-Text-CHM-debuginfo = 0.01-41.el9 perl-Text-CHM-debuginfo(x86-64) = 0.01-41.el9 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.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64 Wrote: /builddir/build/RPMS/perl-Text-CHM-0.01-41.el9.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Text-CHM-debuginfo-0.01-41.el9.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Text-CHM-debugsource-0.01-41.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dTXit8 + umask 022 + cd /builddir/build/BUILD + cd Text-CHM-0.01 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Text-CHM-0.01-41.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0