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-Email-Valid.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22072-1041/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f9e96952b00>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-Email-Valid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Wrote: /builddir/build/SRPMS/perl-Email-Valid-1.202-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-Email-Valid.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22072-1041/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f9e96952b00>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-Email-Valid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.nHme6K
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf Email-Valid-1.202
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Email-Valid-1.202.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Email-Valid-1.202
+ /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.75lgkh
+ 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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 Email-Valid-1.202
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
Warning: prerequisite Mail::Address 0 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Email::Valid
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
cp lib/Email/Valid.pm blib/lib/Email/Valid.pm
Manifying 1 pod document
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h6SQvE
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch
++ dirname /builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch
+ cd Email-Valid-1.202
+ make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch
Manifying 1 pod document
Installing /builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch/usr/share/perl5/vendor_perl/Email/Valid.pm
Installing /builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch/usr/share/man/man3/Email::Valid.3pm
+ find /builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch -type f -name .packlist -exec rm -f '{}' ';'
+ find /builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch -type d -depth -exec rmdir '{}' ';'
+ chmod -R u+w /builddir/build/BUILDROOT/perl-Email-Valid-1.202-3.ocs23.noarch/usr
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.202-3.ocs23 --unique-debug-suffix -1.202-3.ocs23.noarch --unique-debug-src-base perl-Email-Valid-1.202-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/Email-Valid-1.202
+ /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.8mHV11
+ 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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 Email-Valid-1.202
+ /usr/bin/make -O -j32 V=1 VERBOSE=1 test
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/00-report-prereqs.t .. ok
t/resolver.t ........... 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/4 subtests 
t/utf-8.t .............. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests 
t/valid.t .............. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 39/39 subtests 
Test Summary Report
-------------------
t/resolver.t         (Wstat: 768 (exited 3) Tests: 4 Failed: 3)
  Failed tests:  2-4
  Non-zero exit status: 3
t/utf-8.t            (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/valid.t            (Wstat: 65280 (exited 255) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 39 tests but ran 1.
Files=4, Tests=6,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.24 cusr  0.03 csys =  0.29 CPU)
Result: FAIL
RPM build errors:
# 
# Versions for all modules listed in static metadata (including optional ones):
# 
# === Test Requires ===
# 
#     Module              Want     Have
#     ------------------- ---- --------
#     ExtUtils::MakeMaker  any     7.70
#     File::Spec           any     3.75
#     Test::More          0.96 1.302195
# 
# === Test Recommends ===
# 
#     Module         Want    Have
#     ---------- -------- -------
#     CPAN::Meta 2.120900 missing
# 
# === Runtime Requires ===
# 
#     Module            Want    Have
#     ----------------- ---- -------
#     Carp               any    1.50
#     File::Spec         any    3.75
#     IO::CaptureOutput  any  1.1105
#     IO::File           any    1.48
#     Mail::Address      any missing
#     Net::DNS           any    1.39
#     Net::Domain::TLD  1.65    1.75
#     Scalar::Util       any    1.63
#     strict             any    1.12
#     warnings           any    1.58
# 
# 
# *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
# 
# The following REQUIRED prerequisites were not satisfied:
# 
# Mail::Address is not installed (any version required)
# 
#   Failed test 'use Email::Valid;'
#   at t/resolver.t line 16.
#     Tried to use 'Email::Valid'.
#     Error:  Can't locate Mail/Address.pm in @INC (you may need to install the Mail::Address module) (@INC contains: /builddir/build/BUILD/Email-Valid-1.202/blib/lib /builddir/build/BUILD/Email-Valid-1.202/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /builddir/build/BUILD/Email-Valid-1.202/blib/lib/Email/Valid.pm line 15.
# BEGIN failed--compilation aborted at /builddir/build/BUILD/Email-Valid-1.202/blib/lib/Email/Valid.pm line 15.
# Compilation failed in require at t/resolver.t line 16.
# BEGIN failed--compilation aborted at t/resolver.t line 16.
#   Failed test 'resover initialized'
#   at t/resolver.t line 19.
#   Failed test 'undef isa 'Net::DNS::Resolver''
#   at t/resolver.t line 20.
#     undef isn't defined
# Looks like you failed 3 tests of 4.
Can't locate Mail/Address.pm in @INC (you may need to install the Mail::Address module) (@INC contains: /builddir/build/BUILD/Email-Valid-1.202/blib/lib /builddir/build/BUILD/Email-Valid-1.202/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /builddir/build/BUILD/Email-Valid-1.202/blib/lib/Email/Valid.pm line 15.
BEGIN failed--compilation aborted at /builddir/build/BUILD/Email-Valid-1.202/blib/lib/Email/Valid.pm line 15.
Compilation failed in require at t/utf-8.t line 6.
BEGIN failed--compilation aborted at t/utf-8.t line 6.
# Looks like your test exited with 2 before it could output anything.
#   Failed test 'use Email::Valid;'
#   at t/valid.t line 7.
#     Tried to use 'Email::Valid'.
#     Error:  Can't locate Mail/Address.pm in @INC (you may need to install the Mail::Address module) (@INC contains: /builddir/build/BUILD/Email-Valid-1.202/blib/lib /builddir/build/BUILD/Email-Valid-1.202/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /builddir/build/BUILD/Email-Valid-1.202/blib/lib/Email/Valid.pm line 15.
# BEGIN failed--compilation aborted at /builddir/build/BUILD/Email-Valid-1.202/blib/lib/Email/Valid.pm line 15.
# Compilation failed in require at t/valid.t line 7.
# BEGIN failed--compilation aborted at t/valid.t line 7.
Can't locate object method "new" via package "Email::Valid" at t/valid.t line 10.
# Looks like your test exited with 255 just after 1.
Failed 3/4 test programs. 4/6 subtests failed.
make: *** [Makefile:770: test_dynamic] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.8mHV11 (%check)
    Bad exit status from /var/tmp/rpm-tmp.8mHV11 (%check)
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-Email-Valid.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-Email-Valid.spec