Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/perl-MIME-Charset.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-18597-1041/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/perl-MIME-Charset.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/perl-MIME-Charset-1.012.2-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-MIME-Charset.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-18597-1041/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-MIME-Charset.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sPYsrt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf MIME-Charset-1.012.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/MIME-Charset-1.012.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd MIME-Charset-1.012.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/MIME-Charset-1.012-Do-not-install-modules-from-the-Internet.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf ./inc + sed -i -e '/^inc\//d' MANIFEST + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8EkwL2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd MIME-Charset-1.012.2 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 include /builddir/build/BUILD/MIME-Charset-1.012.2/inc/Module/Install.pm include inc/Module/Install/Metadata.pm include inc/Module/Install/Base.pm include inc/Module/Install/Makefile.pm include inc/Module/Install/Win32.pm include inc/Module/Install/Can.pm include inc/Module/Install/Fetch.pm include inc/Module/Install/WriteAll.pm Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for MIME::Charset Writing MYMETA.yml and MYMETA.json Writing META.yml + /usr/bin/make -O -j32 V=1 VERBOSE=1 cp lib/MIME/Charset/UTF.pm blib/lib/MIME/Charset/UTF.pm cp lib/MIME/Charset.pm blib/lib/MIME/Charset.pm cp lib/POD2/JA/MIME/Charset.pod blib/lib/POD2/JA/MIME/Charset.pod cp lib/MIME/Charset/_Compat.pm blib/lib/MIME/Charset/_Compat.pm cp lib/MIME/Charset/Defaults.pm.sample blib/lib/MIME/Charset/Defaults.pm.sample Manifying 2 pod documents + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.srKSyg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch + cd MIME-Charset-1.012.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch 'INSTALL=/usr/bin/install -p' Manifying 2 pod documents Installing /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch/usr/share/perl5/vendor_perl/POD2/JA/MIME/Charset.pod Installing /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch/usr/share/perl5/vendor_perl/MIME/Charset.pm Installing /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch/usr/share/perl5/vendor_perl/MIME/Charset/Defaults.pm.sample Installing /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch/usr/share/perl5/vendor_perl/MIME/Charset/_Compat.pm Installing /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch/usr/share/perl5/vendor_perl/MIME/Charset/UTF.pm Installing /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch/usr/share/man/man3/MIME::Charset.3pm Installing /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch/usr/share/man/man3/POD2::JA::MIME::Charset.3pm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-MIME-Charset-1.012.2-3.ocs23.noarch/usr + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.012.2-3.ocs23 --unique-debug-suffix -1.012.2-3.ocs23.noarch --unique-debug-src-base perl-MIME-Charset-1.012.2-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/MIME-Charset-1.012.2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Tz2Gso + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd MIME-Charset-1.012.2 + make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01encode.t .... ok t/01ooencode.t .. ok t/02enclen.t .... ok t/02ooenclen.t .. ok t/03info.t ...... ok t/03ooinfo.t .... ok # Failed test 'ISO-8859-8-I' # at t/04alias.t line 31. # got: 'ISO-8859-8' # expected: 'ISO-8859-8-I' # UTF-16 is decoded by 'x-utf16auto' encoding # UTF-32 is decoded by 'x-utf32auto' encoding # HZ-GB-2312 is decoded by 'hz' encoding # TIS-620 is decoded by 'cp874' encoding # Looks like you failed 1 test of 33. t/04alias.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/33 subtests t/05jp.t ........ skipped: Encode::EUCJPASCII required t/06utf.t ....... ok t/pod.t ......... ok Test Summary Report ------------------- t/04alias.t (Wstat: 256 (exited 1) Tests: 33 Failed: 1) Failed test: 21 Non-zero exit status: 1 Files=10, Tests=104, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.53 cusr 0.03 csys = 0.61 CPU) Result: FAIL Failed 1/10 test programs. 1/104 subtests failed. make: *** [Makefile:760: test_dynamic] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.Tz2Gso (%check) Bad exit status from /var/tmp/rpm-tmp.Tz2Gso (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-MIME-Charset.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-MIME-Charset.spec