Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/licensecheck.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-558813-25840/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/licensecheck.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 setting SOURCE_DATE_EPOCH=1674950400 Wrote: /builddir/build/SRPMS/licensecheck-3.3.8-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/licensecheck.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-558813-25840/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/licensecheck.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 setting SOURCE_DATE_EPOCH=1674950400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HdFGwA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf App-Licensecheck-v3.3.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/App-Licensecheck-v3.3.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd App-Licensecheck-v3.3.8 + /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.mmjVgQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-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 -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 App-Licensecheck-v3.3.8 + perl Makefile.PL INSTALLDIRS=vendor Warning: prerequisite Log::Any::Adapter::Screen 0 not found. Argument "v0.0.4" isn't numeric in numeric gt (>) at /usr/share/perl5/vendor_perl/ExtUtils/MakeMaker.pm line 644. Warning: prerequisite Test::Without::Module 0 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for App::Licensecheck + /usr/bin/make -O -j8 V=1 VERBOSE=1 cp lib/App/Licensecheck.pm blib/lib/App/Licensecheck.pm cp bin/licensecheck blib/script/licensecheck "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/licensecheck Manifying 1 pod document Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kGpPQG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch ++ dirname /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-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 -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 App-Licensecheck-v3.3.8 + make pure_install DESTDIR=/builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch Manifying 1 pod document Manifying 1 pod document Installing /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch/usr/share/perl5/vendor_perl/App/Licensecheck.pm Installing /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch/usr/share/man/man1/licensecheck.1 Installing /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch/usr/share/man/man3/App::Licensecheck.3pm Installing /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch/usr/bin/licensecheck + rm -f /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch/usr/lib64/perl5/vendor_perl/auto/App/Licensecheck/.packlist + install -Dpm 0644 scripts/licensecheck.bash_completion /builddir/build/BUILDROOT/licensecheck-3.3.8-1.fc38.noarch/usr/share/bash-completion/completions/licensecheck + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.3.8-1.fc38 --unique-debug-suffix -3.3.8-1.fc38.noarch --unique-debug-src-base licensecheck-3.3.8-1.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/App-Licensecheck-v3.3.8 + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.092aeV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-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 -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 App-Licensecheck-v3.3.8 + make 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/20-script-encoding.t .. skipped: locale encoding is ANSI_X3.4-1968 - we need UTF-8 # Failed test 'exit - blib/script/licensecheck -m t/devscripts/beerware.cpp' # at t/20-script-report.t line 19. # code 0 signal 0 iscore 0 want # code 2 signal 0 iscore 0 got # Failed test 'stdout - blib/script/licensecheck -m t/devscripts/beerware.cpp' # at t/20-script-report.t line 19. # expected match on (?^:Beerware License) # Failed test 'stderr - blib/script/licensecheck -m t/devscripts/beerware.cpp' # at t/20-script-report.t line 19. # expected equality with q{} # Failed test 'machine-readable output; short-form option' # at t/20-script-report.t line 24. # Failed test 'exit - blib/script/licensecheck --machine t/devscripts/gpl-2' # at t/20-script-report.t line 27. # code 0 signal 0 iscore 0 want # code 2 signal 0 iscore 0 got # Failed test 'stdout - blib/script/licensecheck --machine t/devscripts/gpl-2' # at t/20-script-report.t line 27. # expected match on (?^:GNU General Public License, Version 2$) # Failed test 'stderr - blib/script/licensecheck --machine t/devscripts/gpl-2' # at t/20-script-report.t line 27. # expected equality with q{} # Failed test 'machine-readable output; long-form option' # at t/20-script-report.t line 32. # Failed test 'exit - blib/script/licensecheck -m --copyright t/devscripts/gpl-2' # at t/20-script-report.t line 35. # code 0 signal 0 iscore 0 want # code 2 signal 0 iscore 0 got # Failed test 'stdout - blib/script/licensecheck -m --copyright t/devscripts/gpl-2' # at t/20-script-report.t line 35. # expected match on (?^:GNU General Public License, Version 2\t2012 Devscripts developers\n$) # Failed test 'stderr - blib/script/licensecheck -m --copyright t/devscripts/gpl-2' # at t/20-script-report.t line 35. # expected equality with q{} # Failed test 'machine-readable output w/ copyright' # at t/20-script-report.t line 41. # Seeded srand with seed '20230503' from local date. t/20-script-report.t .... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/3 subtests # Failed test 'exit - blib/script/licensecheck --list-licenses --help' # at t/20-script-resolve.t line 19. # code 1 signal 0 iscore 0 want # code 2 signal 0 iscore 0 got # Failed test 'stdout - blib/script/licensecheck --list-licenses --help' # at t/20-script-resolve.t line 19. # expected match on (?^:\[OPTION\.\.\.) # Failed test 'stderr - blib/script/licensecheck --list-licenses --help' # at t/20-script-resolve.t line 19. # expected equality with q{} # Failed test '--help, ignoring earlier --list-licenses' # at t/20-script-resolve.t line 27. # Failed test 'exit - blib/script/licensecheck --help --list-licenses' # at t/20-script-resolve.t line 30. # code 1 signal 0 iscore 0 want # code 2 signal 0 iscore 0 got # Failed test 'stdout - blib/script/licensecheck --help --list-licenses' # at t/20-script-resolve.t line 30. # expected match on (?^:\[OPTION\.\.\.) # Failed test 'stderr - blib/script/licensecheck --help --list-licenses' # at t/20-script-resolve.t line 30. # expected equality with q{} # Failed test '--help, ignoring later --list-licenses' # at t/20-script-resolve.t line 38. # Failed test 'exit - blib/script/licensecheck --list-licenses foobar.txt' # at t/20-script-resolve.t line 41. # code 0 signal 0 iscore 0 want # code 2 signal 0 iscore 0 got # Failed test 'stdout - blib/script/licensecheck --list-licenses foobar.txt' # at t/20-script-resolve.t line 41. # expected match on (?^m:^WTFPL-1\.0$) # Failed test 'stderr - blib/script/licensecheck --list-licenses foobar.txt' # at t/20-script-resolve.t line 41. # expected equality with q{} # Failed test '--list-licenses' # at t/20-script-resolve.t line 46. # Failed test 'exit - blib/script/licensecheck --list-licenses foobar.txt my/baz.xml' # at t/20-script-resolve.t line 49. # code 0 signal 0 iscore 0 want # code 2 signal 0 iscore 0 got # Failed test 'stdout - blib/script/licensecheck --list-licenses foobar.txt my/baz.xml' # at t/20-script-resolve.t line 49. # expected match on (?^m:^WTFPL-1\.0$) # Failed test 'stderr - blib/script/licensecheck --list-licenses foobar.txt my/baz.xml' # at t/20-script-resolve.t line 49. # expected equality with q{} # Failed test '--list-licenses, ignoring paths' # at t/20-script-resolve.t line 54. # Seeded srand with seed '20230503' from local date. t/20-script-resolve.t ... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/4 subtests t/devscripts.t .......... ok t/reading.t ............. ok Test Summary Report ------------------- t/20-script-report.t (Wstat: 768 (exited 3) Tests: 3 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 t/20-script-resolve.t (Wstat: 1024 (exited 4) Tests: 4 Failed: 4) Failed tests: 1-4 Non-zero exit status: 4 Files=5, Tests=31, 187 wallclock secs ( 0.71 usr 0.36 sys + 164.89 cusr 16.42 csys = 182.38 CPU) Result: FAIL Failed 2/5 test programs. 7/31 subtests failed. make: *** [Makefile:795: test_dynamic] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.092aeV (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.092aeV (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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 --target noarch --nodeps /builddir/build/SPECS/licensecheck.spec