Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-clbanning-mxj.spec'], chrootPath='/var/lib/mock/f42-build-56452066-6543951/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2vhkxugy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2vhkxugy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b7f2d330b046438580d2d89295dccc56', '-D', '/var/lib/mock/f42-build-56452066-6543951/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2vhkxugy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-clbanning-mxj.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1630540800 Wrote: /builddir/build/SRPMS/golang-github-clbanning-mxj-2.5.5-9.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-clbanning-mxj.spec'], chrootPath='/var/lib/mock/f42-build-56452066-6543951/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2vhkxugy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2vhkxugy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '919f34781173479190f90c4eb3b68dc5', '-D', '/var/lib/mock/f42-build-56452066-6543951/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2vhkxugy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-clbanning-mxj.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1630540800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.qbiUb7 + umask 022 + cd /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + test -d /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + /usr/bin/rm -rf /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qyHiPn + umask 022 + cd /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + cd /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + rm -rf mxj-2.5.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mxj-2.5.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mxj-2.5.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/vendor + [[ ! -e /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/bin install: creating directory '/builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build' install: creating directory '/builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/bin' + export GOPATH=/builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src/github.com/clbanning/mxj ]] ++ dirname /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src/github.com/clbanning/mxj + install -m 0755 -vd /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src/github.com/clbanning install: creating directory '/builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src' install: creating directory '/builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src/github.com' install: creating directory '/builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src/github.com/clbanning' + ln -fs /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5 /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src/github.com/clbanning/mxj + cd /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src/github.com/clbanning/mxj + rm -rf deprecate/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ur4pui + umask 022 + cd /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + '[' /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/BUILDROOT ++ dirname /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/BUILDROOT + mkdir -p /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + mkdir /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/BUILDROOT + cd mxj-2.5.5 + cd /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src/github.com/clbanning/mxj + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/clbanning/mxj -b /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/bin -s /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build -o golang-github-clbanning-mxj-devel.file-list -O /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5 -V 2.5.5-9.fc42 -p /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/clbanning/mxj + IFS= +++ realpath -e --relative-base=. examples readme.md x2j-wrapper/README +++ sort -u ++ listfiles_include='examples readme.md x2j-wrapper/README' ++ echo 'examples readme.md x2j-wrapper/README' + godocs='examples readme.md x2j-wrapper/README' + [[ -n examples readme.md x2j-wrapper/README ]] + IFS= + read -r f + echo %doc '"examples"' + IFS= + read -r f + echo %doc '"readme.md"' + IFS= + read -r f + echo %doc '"x2j-wrapper/README"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE x2j-wrapper/LICENSE +++ sort -u ++ listfiles_include='LICENSE x2j-wrapper/LICENSE' ++ echo 'LICENSE x2j-wrapper/LICENSE' + golicenses='LICENSE x2j-wrapper/LICENSE' + [[ -n LICENSE x2j-wrapper/LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + echo %license '"x2j-wrapper/LICENSE"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/BUILDROOT Scanned 11 directories and 81 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.s3oPm9 + umask 022 + cd /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build + cd mxj-2.5.5 + GO_LDFLAGS=' -X github.com/clbanning/mxj/version=2.5.5' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i github.com/clbanning/mxj -b /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/bin -s /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build -V 2.5.5-9.fc42 -p /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/src PATH: /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/golang-github-clbanning-mxj-2.5.5-build/mxj-2.5.5/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/clbanning/mxj/version=2.5.5 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/clbanning/mxj github.com/clbanning/mxj # github.com/clbanning/mxj_test # [github.com/clbanning/mxj_test] ./example_test.go:19:1: ExampleHandleXmlReader refers to unknown identifier: HandleXmlReader ./example_test.go:78:1: ExampleHandleXmlReaderRaw refers to unknown identifier: HandleXmlReaderRaw ./example_test.go:89:1: ExampleHandleJsonReader refers to unknown identifier: HandleJsonReader ./example_test.go:100:1: ExampleHandleJsonReaderRaw refers to unknown identifier: HandleJsonReaderRaw ./example_test.go:151:1: ExampleMap_Struct refers to unknown identifier: Map ./example_test.go:178:1: ExampleMap_ValuesForPath refers to unknown identifier: Map ./example_test.go:257:1: ExampleMap_UpdateValuesForPath refers to unknown identifier: Map ./example_test.go:313:1: ExampleMap_Copy refers to unknown identifier: Map FAIL github.com/clbanning/mxj [build failed] RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.s3oPm9 (%check) Bad exit status from /var/tmp/rpm-tmp.s3oPm9 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 919f34781173479190f90c4eb3b68dc5 -D /var/lib/mock/f42-build-56452066-6543951/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2vhkxugy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-clbanning-mxj.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 919f34781173479190f90c4eb3b68dc5 -D /var/lib/mock/f42-build-56452066-6543951/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2vhkxugy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-clbanning-mxj.spec'